(Without going into the indicator and using Variable++; and incrementing it?) thanks
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Incrementing indicators
Collapse
X
-
Hello ezrollin,
Thanks for your post.
If the indicator is providing a signal plot, that means the plot's previous values can be accessed. The plot will have a value on each bar and will be +1, -1, or 0. Typically it would output a zero when there is no signal and then the +1/-1 when there is a signal.
So if you check for the previous bar value of the plot is 0 and the plot's current bar value is 1 then you have detected that the indicator has just changed. Likewise, you can check if the previous bar value of the plot was 0 and the current bar value of the plot is -1.
- Likes 1
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Yesterday, 05:17 AM
|
0 responses
61 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
134 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
75 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
45 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
50 views
0 likes
|
Last Post
|

Comment