The reason that works on the chart and not in the analyzer is because the analyzer can only display the most recent value. In general it should work for both the chart and analyzer so long as you are setting a value to the plot from BarsInprogress 0 so each update you have a value. The chart can continue to display old values so setting it infrequently from a secondary series will also technically be displayed but any scripts that may try to access that plot data would also have the same issue as the analyzer.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Ind OnPriceChange in MA with Alert OnConditionReversed Rearm
Collapse
X
-
Hello ToNovy,
The reason that works on the chart and not in the analyzer is because the analyzer can only display the most recent value. In general it should work for both the chart and analyzer so long as you are setting a value to the plot from BarsInprogress 0 so each update you have a value. The chart can continue to display old values so setting it infrequently from a secondary series will also technically be displayed but any scripts that may try to access that plot data would also have the same issue as the analyzer.
-
Hi Jesse,
it took me some time, but it looks like i successfully rewrite the logic of the indicator. I also added IsFirstTickOfBar to copy the previous values until the new ones are available.. and they are only available after the OnPriceChange event on BIP 1
if I understood correctly MA has a tick update so I saw 0 right after the first tick on a new candle typically the first second of a new candle but the new value was available sometimes up to 10 seconds after
Probably, I basically did, what you just described as the difference between chart and MA.
and once again the previous question, is it possible to somehow recognize whether the indicator is running in the chart or in the MA? personally, for example, in MA I would limit the calculation to realtime only, but in chart I want to have an overview of the values retrospectively
so is there a way to set the indicator automatically depending on where it runs?
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
160 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
||
|
Started by CaptainJack, 04-24-2026, 11:07 PM
|
0 responses
308 views
0 likes
|
Last Post
by CaptainJack
04-24-2026, 11:07 PM
|
||
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
245 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
349 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
179 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|

Comment