NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Sunday May 26th at 12PM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


Go Back   NinjaTrader Support Forum > NinjaScript Development Support > Indicator Development

Indicator Development Support for the development of custom indicators using NinjaScript.

Reply
 
Thread Tools Display Modes
Old 02-24-2010, 04:12 AM   #1
FlyerLV
Junior Member
 
Join Date: Dec 2009
Posts: 9
Thanks: 0
Thanked 0 times in 0 posts
Default Volume alerter

Hello everyone,

i found volume alerter for Trade Station and wanted to ask - maybe somoone can help to make it for ninja trader or maybe its easy and fast to make new one..


Here is explanation:

I am looking to creat an alert when , say, the volume histogram reaches 1500 on a 5 minute chart.. or 2000 on 15 minutes chart... or like that..

It would be great if i could add how much i want alerts.

I would appreciate if someone could make this indicator.

Attaching also Trade Station code ( i made .zip archive for it, otherwise couldn't attach it)

Thanks for Your help !!!

Best wishes,
Tom
Attached Files
File Type: zip VOLUMEALERT.zip (2.4 KB, 20 views)
FlyerLV is offline  
Reply With Quote
Old 02-24-2010, 05:08 AM   #2
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
Default

FlyerLV, thanks for sharing - hopefully a community member can assist you converting, I'm not aware of a Volume Alert already shared - http://www.ninjatrader-support2.com/...=volume&desc=1

You could add an alert condition to the posted volume indicators with custom coding and the Alert() method -

http://www.ninjatrader-support.com/H...eV6/Alert.html
NinjaTrader_Bertrand is offline  
Reply With Quote
Old 02-24-2010, 06:38 AM   #3
FlyerLV
Junior Member
 
Join Date: Dec 2009
Posts: 9
Thanks: 0
Thanked 0 times in 0 posts
Default

Thank You for replying.
Unfortunataly there is not such volume alerter.
Or.. i just couldnt find it..

Thanks one more time and hope someone can help tomake this simple script .

Best wishes,
Tom
FlyerLV is offline  
Reply With Quote
Old 02-25-2010, 01:41 AM   #4
FlyerLV
Junior Member
 
Join Date: Dec 2009
Posts: 9
Thanks: 0
Thanked 0 times in 0 posts
Default

Hello, is there anyone who can help ?

Thank You!

Best,
Tom
FlyerLV is offline  
Reply With Quote
Old 02-25-2010, 01:48 AM   #5
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
Default

Tom, to get this custom coded for you, you could consider a NinjaScript consultant as well -

http://www.ninjatrader.com/webnew/pa...injaScript.htm
NinjaTrader_Bertrand is offline  
Reply With Quote
Old 02-25-2010, 07:14 AM   #6
MJT
Senior Member
 
Join Date: Jun 2006
Posts: 111
Thanks: 0
Thanked 1 time in 1 post
Default

Try this simple indicator.
Attached Files
File Type: zip VolumeAlert.zip (1.7 KB, 72 views)
MJT is offline  
Reply With Quote
Old 02-25-2010, 08:20 AM   #7
FlyerLV
Junior Member
 
Join Date: Dec 2009
Posts: 9
Thanks: 0
Thanked 0 times in 0 posts
Default

Thanks a lot MJT - this is what i was looking, only will find how to change alert sound.

Is it easy to make also popup window with written text, when alerting: Alert 15 MIN eur/usd volume 1500, for example ?

Otherwise, its great indicator for me - simple and usefull !

Thanks one more time and appreciate Your help!

Best wishes,
Tom



Quote:
Originally Posted by MJT View Post
Try this simple indicator.
FlyerLV is offline  
Reply With Quote
Old 02-26-2010, 04:26 AM   #8
MJT
Senior Member
 
Join Date: Jun 2006
Posts: 111
Thanks: 0
Thanked 1 time in 1 post
Default

Tom,
The alert sound is just one of the Ninja default sounds.
There is a message shown in the Alerts Window, but a new pop-up would need programing outside of NinjaScript which would take more time than I have available. Using Windows.Forms and MessageBox might be the quickest way.
MJT is offline  
Reply With Quote
Old 02-26-2010, 05:15 AM   #9
FlyerLV
Junior Member
 
Join Date: Dec 2009
Posts: 9
Thanks: 0
Thanked 0 times in 0 posts
Default

Thank You MJT for help, i will try to do myself or will ask someone to help!!!

Now i have base for alert what i wanted, thanks

Best wishes,
Tom

Quote:
Originally Posted by MJT View Post
Tom,
The alert sound is just one of the Ninja default sounds.
There is a message shown in the Alerts Window, but a new pop-up would need programing outside of NinjaScript which would take more time than I have available. Using Windows.Forms and MessageBox might be the quickest way.
FlyerLV is offline  
Reply With Quote
Old 10-05-2010, 12:44 PM   #10
PTE97
Junior Member
 
Join Date: May 2007
Posts: 22
Thanks: 1
Thanked 0 times in 0 posts
Default

Hi, thanks MJT for VolumeAlert, question please
can the script/code be made to alert, if volume change is " greater than x" percent ?
PTE97 is offline  
Reply With Quote
Old 10-06-2010, 06:50 AM   #11
MJT
Senior Member
 
Join Date: Jun 2006
Posts: 111
Thanks: 0
Thanked 1 time in 1 post
Default

Quote:
Originally Posted by PTE97 View Post
Hi, thanks MJT for VolumeAlert, question please
can the script/code be made to alert, if volume change is " greater than x" percent ?
I'm sure it could. You would need to define what you are calculating a percentage from (average of previous bars?), then calculate what that value is.

In the line that reads " if (Volume[0] >= VolumeThreshold) ". If you replace VolumeThreshold with the new value you have calculated, I think it will work.
MJT is offline  
Reply With Quote
Old 10-06-2010, 07:02 AM   #12
PTE97
Junior Member
 
Join Date: May 2007
Posts: 22
Thanks: 1
Thanked 0 times in 0 posts
Default

Thanks MJT, I will try to find some examples.
PTE97 is offline  
Reply With Quote
Old 10-07-2010, 04:27 PM   #13
pfsmedical
Junior Member
 
Join Date: Jul 2009
Posts: 18
Thanks: 0
Thanked 0 times in 0 posts
Default

yes.... i too would like the percent increase option ..... over the previous bar.. in order to alerted to "swoosh" volumn... (on a chart that may be minimized)

thanks

t
pfsmedical is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bid/Ask Volume combined with Hist Volume monpere NinjaScript File Sharing Discussion 12 10-04-2011 02:25 PM
Find the Highest & Lowest Volume Volume Bars RJay General Programming 1 09-03-2009 12:56 PM
time and sales volume vs. e.Volume funk101 Strategy Development 1 09-17-2008 12:37 PM
Change volume bar color based on price and volume range TiP2012 Indicator Development 5 05-26-2008 08:09 AM
multicolor volume bars and volume bar projections... possible or not? Pr0crast Charting 8 12-25-2007 06:36 PM


All times are GMT -6. The time now is 11:06 PM.