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.
-
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.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, Yesterday, 11:51 AM
|
0 responses
20 views
0 likes
|
Last Post
by CarlTrading
Yesterday, 11:51 AM
|
||
|
Started by CarlTrading, Yesterday, 11:48 AM
|
0 responses
23 views
0 likes
|
Last Post
by CarlTrading
Yesterday, 11:48 AM
|
||
|
Started by CaptainJack, 03-25-2026, 09:53 PM
|
0 responses
30 views
0 likes
|
Last Post
by CaptainJack
03-25-2026, 09:53 PM
|
||
|
Started by CaptainJack, 03-25-2026, 09:51 PM
|
0 responses
18 views
0 likes
|
Last Post
by CaptainJack
03-25-2026, 09:51 PM
|
||
|
Started by Mindset, 03-23-2026, 11:13 AM
|
0 responses
24 views
0 likes
|
Last Post
by Mindset
03-23-2026, 11:13 AM
|

Comment