I'm trying to create a test sample indicator which color candles from MA crossing from timeframe 1min to any timeframe (will test 5min for the exemple).
I coded it and after blindfolding it, I find it is out of sync between 1min colored on 5min ...and 1min standalone.
I'm not sure if this is my fault (programming mistake) or a bug from Ninja. Could you please have the look if you have the skills for it ? Thanks a lot
Here are the 2 indicators :
- Sensitivity (which is the one coloring 5min from 1min MA crossing) is to be added on a 5min chart
- SensitivityDoubleCheck is to be added on a 1min chart (it's the indicator without multiframing)
If you let them run together, you'll see that they are from time to time out of sync.
Like on this chart, the left screen is the "normal 1min" and on the right the "1 on 5min". At 15h35 the "1 on 5" should be colored Lime already. When live testing the neutral color DarkViolet just 1 minute before dit not report correctly on the right screen neither.
You will see by yourself.
Voila. Merci !
Comment