Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
"Bars ago" Missing in Alert Conditions
Collapse
X
-
Hello zextra,
Thank you for your post.
The Market Analyzer is real-time only and does not display historical values, therefore it would not be possible to create an alert based on a historical bar or indicator value. This would be why you don't see the "Bars Ago" field when trying to set up an alert in the Market Analyzer.
In contrast, a Chart does display historical bar data, therefore a chart alert would be able to use historical bar data to be considering in a specific alert condition used for indicators and other data series. I would suggest trying to set up your alert on a chart instead if you need to use information from historical bars in your alert.
More information on using alerts is available here:
Please let us know if we may be of further assistance to you.Kate W.NinjaTrader Customer Service
-
There is actually a simple way to achieve this. If you make a simple indicator which displaces its input by a period of "N". And set the input of this displacement indicator as another indicator. Then BarsAgo[0] on the displacement indicator will produce the value at BarsAgo[N] on the input indicator.
You can then make an alert on this column; which will show the indicator value from N Periods ago. I've attached an InputDisplacement Indicator and some screenshots of how to set this up.
Comment
-
Hello kevinenergy,
Thank you for your reply.
Yes, you could make a custom indicator that uses the values from previous bars; however, there is no native way in the market analyzer to access the values from historical bars when setting up alerts.
Please let us know if we may be of further assistance to you.Kate W.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by pmachiraju, 11-01-2023, 04:46 AM
|
8 responses
147 views
0 likes
|
Last Post
by rehmans
Today, 06:44 PM
|
||
Started by mattbsea, Today, 05:44 PM
|
0 responses
5 views
0 likes
|
Last Post
by mattbsea
Today, 05:44 PM
|
||
Started by RideMe, 04-07-2024, 04:54 PM
|
6 responses
33 views
0 likes
|
Last Post
by RideMe
Today, 05:31 PM
|
||
Started by tkaboris, Today, 05:13 PM
|
0 responses
5 views
0 likes
|
Last Post
by tkaboris
Today, 05:13 PM
|
||
Started by GussJ, 03-04-2020, 03:11 PM
|
16 responses
3,282 views
0 likes
|
Last Post
by Leafcutter
Today, 04:14 PM
|
Comment