Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Feature request: Line Alerts
Collapse
X
-
Yes, I agree also, sometimes I don't want to star at the charts all day, and I need to do something else, so having a audio alert when a a horizontal line is hit would be awesome, and also having a label on that line would be good too. I can't believe this is that hard to do since you did all of the actual hard work in finally coming out with NT 7.
-
I was able to import pkpricealert2.cs after 1st compressing it into a zip file for NinjaTrader 7.0.
I now see an indicator that I can add to my chart as pricealert assuming this is the correct indicator to use. But, I don't see how or where to set an alert for a audio file to be activated.
Does anyone have more specific instructions?
Originally posted by Day Trading Fool View Post
Comment
-
Blah...
Turns out the indicator I referred to does not trigger the alert unless the instrument is actually associated with a chart. The standard PriceAlert indicator has the same problem.
It just seems kind of strange that NT doesn't offer a seemingly industry standard alert function. Every broker I have used has something along the lines of a chart alert. I could use the broker's software but who wants to switch back and forth...
Comment
-
So how do you do associate it with a chart?
Originally posted by Day Trading Fool View PostBlah...
Turns out the indicator I referred to does not trigger the alert unless the instrument is actually associated with a chart. The standard PriceAlert indicator has the same problem.
It just seems kind of strange that NT doesn't offer a seemingly industry standard alert function. Every broker I have used has something along the lines of a chart alert. I could use the broker's software but who wants to switch back and forth...
Comment
-
You add the indicator to a chart. Then add a horizontal line to the chart at the desired trigger. When the price crosses the line, the alert will trigger.
You need to add two indicators, one for down trend, and another for uptrend. The sound files are retrieved from the standard NT directory. Make sure you have something in the directory that matches the listed file name under the indicator parameters.
Comment
-
I have an indicator called PriceAlert which I got from BigMike trading. For example for ES 08-10 current price is 1111.25. In the PriceAlert indicator, it has a parameter for price which is set at 0, I have changed it to 1106, and it then does automatically draw a horizontal line at that price. I then added a 2nd PriceAlert indicator, and set price to 1106 from default 0, and I now have a 2nd line drawn. I don't see anywhere where to put in what sound file to use, but I assume it will make a sound when hit. I will test this on Tue during live trading.
Comment
-
There should be two indicators: PriceAlert (which is a standard indicator provided by NT) and PKPriceAlert2 (which is the one that you should have downloaded from Mike's).
However, it sounds like you tried to import after you zipped the .cs file from Mike's. I am not sure how that works with respect to naming the new indicator. You may have it imported correctly and you may not.
If you can't find PKPriceAlert2 listed in your indicators, try this:
Create a new indicator in NT, called it PKPriceAlert2. Skip thru all the options. When you get to the code window, press Ctrl+A to select all the code and press delete. Open the .cs file you downloaded from Mike's with notepad. Select all the code and copy and paste it into the NT code window. Save it and compile.
Assuming you have a standard install, browse to: C:\Program Files (x86)\NinjaTrader 7\sounds
I am attaching two sound files to this reply. Place both of these in that directory (they are the same sound, you can change them to whatever you like later).
The PKPriceAlert2 indicator should now be listed in your indicators. Add two of these indicators to your chart, one with the uptrend set to true, and one with the uptrend option set to false.
Open a new alerts window in NT.
Draw a horizontal line on the chart. When the price crosses thru the line, an alert will trigger: an alert will print to the alert window and a sound should play; IF you have the chart displayed when the price crosses thru the line.
That is the kicker - the instrument has to be displayed on the chart for the alert to trigger.
I am going to open a new chart for every price alert I set and minimize it. The horizontal lines can be tied to the instruments so I can control the alarms with one chart, and they will signal on the minimized charts.
Hope that helps.Last edited by Day Trading Fool; 06-21-2010, 04:39 PM.
Comment
-
Thanks!
Does the instrument have to be displayed on the chart for the alert to trigger? That is, can I set the alert for one stock on the chart, then switch stocks and set another alert - will both alerts trigger?
Comment
-
I'm pretty new to NT so I'm going by my gut here... My guess is that if there is ANY indicator on a chart - the chart must be active for the calculations of that indicator to take place. Otherwise there would be a lot of extra work for the processor.
That being said, what would be really cool - but I haven't tried it yet - is to add an indicator to the chart and then add the same indicator to the Market Analyzer. If there is an alert set on the chart then the Market Analyzer might monitor that setting too. Maybe someone from NT can shine some light on that...
Comment
-
Yes, within the Market Analyzer window you have the ability to add an indicator and create alert and color coditions. I have provided a link below to our Help Guide that goes over the Market Analyzer window.Originally posted by trade.ripper View PostI'm pretty new to NT so I'm going by my gut here... My guess is that if there is ANY indicator on a chart - the chart must be active for the calculations of that indicator to take place. Otherwise there would be a lot of extra work for the processor.
That being said, what would be really cool - but I haven't tried it yet - is to add an indicator to the chart and then add the same indicator to the Market Analyzer. If there is an alert set on the chart then the Market Analyzer might monitor that setting too. Maybe someone from NT can shine some light on that...
Christopher J.NinjaTrader Customer Service
Comment
-
However... I think the fact that these indicators are looking for an object on a chart might prove problematic for an MA based indicator.
Comment
-
So the bottom line is that you can't have both...
If you want to be able to graphically put lines with alerts on a chart then its done on a chart by chart basis. If you want to monitor several instruments at the same time with alerts, then you do that in the Market Analyzer - setting the alert criteria on a cell by cell basis.
Sound about right?
If you want to have a graphical/Market Analyzer - you could create a workspace that contains all of the instruments on their own chart and set your alerts accordingly. Just a thought...
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
612 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
355 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
105 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
561 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
564 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment