hello everyone,
I found for anyone a problem to solve (you are very much welcome XD) :
Attached is an indicator sample that is supposed to plot one Sma and ONE DOT each swing.
Included with this indicator is another : a copy of the SingleDotSwing that we can find in this post (thank Chris) :
https://ninjatrader.com/support/foru...822#post822822 .
Also attached is a picture showing the discrepancies that we may try to correct.
1- why is the relay indicator missing some of the swings ?
2- is it possible to make this relay indicator (a1SampleSmaSwing) respect the SingleDot logic ? and plot only one dot every swing, instead of the swing value every bar.
If so, would the curious brilliant reader care enough to tell us clues about how ?
3- I guess we also could add the very few lines needed to plot the sma, to the SingleDotSwing and have it right immediatly, instead of creating a "relay" indicator that calls both swing and sma.
Do experts think this would be better idea and why ? What about efficiency wise, would it really make a difference ?
Having each scripts separated was a bit more seducing.

Comment