NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > Links and Downloads Manager > Version 7 Indicators

Search
2.3.0

 
  Alert for manually drawn lines Left click: open entry/Right click: save entry 5 *

  Updated 9-28-11: Used a simpler approach for horizontal lines and improved "no alert" message handling so that these messages should always be correctly removed.
=========
Exported using NT Version 7.0.1000.6

Description
This indicator will alert when the most recent bar crosses manually drawn lines. Works on lines, rays, horizontal lines, and extended lines.

Apply the indicator to a chart and manually draw a line. It changes color according to what is set in the indicator properties and alerts on crossovers, visible in the File > New > Alerts window.

Code is documented and you can add additional actions in the designated block. Alerts are reset with each new bar or when ManualReset input set to true.

To Import
1. Download the attached file to your desktop
2. From the Control Center window select the menu File > Utilities > Import NinjaScript
3. Select the downloaded file

Category Version 7 Indicators 
 
[Send to Friend] Suggest other entries I might like
07-11-2011
3.23 Kbytes Hits 2768
Comments/ratings
4 * mickael28 04-29-2013 07:37 PM
  
Hello,

This would be my 1st indicator, how do you use it?

I imported it successfully (I was prompted during the installation that some of my local files were more up to date, so I didn't overwrite them). After that it said that the installation had been successful.

Then I went to the indicators and picked a Price Alert indicator where I can enter a specific price.

But... how will this work with every line, horizontal line, etc that I draw? I've just draw a few and there's no alert when the price closes above it?
5 * AMcCullough 02-05-2013 08:42 AM
  
Thank You! It works very well! However, I have a question about the message lines I get on my chart and I'm not sure how to handle. It reads "Check start and end point for your line (s). 1 or more is not eligible for an alert".

Let me know, thank you again!

AMcCullough
5 * batuco9 12-03-2012 08:48 PM
  
Many thanks, was searching for something like this ....
5 * Alfred 08-17-2012 08:59 AM
  
This works well....thanks !!...

Might be good if a continual cycle alert option rather than just one beep...also....would it be possible to add an alert for a vertical line ??...this could be very useful....

....
5 * mizor_99 09-29-2011 07:16 AM
  
NT Version 7.0.1000.7
5 * mizor_99 09-29-2011 07:15 AM
  
Does this work on this version of ninjatrader.
5 * Harry 08-25-2011 03:16 PM
  
Thank you Ryan, was looking for something like this as a guidance.
5 * NinjaTrader_RyanM 07-25-2011 02:08 PM
NinjaTrader_RyanM   
Thanks for the feedback. It's currently hard coded to check for alerts only on price close value. Alerts on indicator crossing requires code change with the specific indicator used instead. Additional actions also need to be added through code, and the appropriate block is commented to indicate where.

It should work on all NT 7 installations.
5 * Viper3 07-17-2011 12:16 PM
  
Hello Ryan can you add a email alert to this. Very nice work.

Thanks

 
Sort by

 
Forum Jump

All times are GMT -6. The time now is 05:53 PM.