Minions Labs:
Could someone take a look and tell me what am I missing?
Thanks a lot in advance!
;)
Apparently you try division by zero.
bufferDiff[i] = MathAbs( (bufferFast[i]/bufferSlow[i]-1)*100 );

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Just finishing another indicator to share with you on Codebase, but I lost the whole day experimenting, digging, searching, trying to figure out why this behavior is happening.
The indicator is a simple one, based on the famous Didi Needles, but I added a threshold to look for the correct "padding" between 2 of the MAs, so we can filter out supposedly "bad trades". There a re a couple of user inputs, and one of them is the Smoothing of the MAs.
All is working perfectly with ONE bizarre exception. When I select the smoothing "Exponential" the indicator goes crazy! Mixing all data buffers. I checedk every line of code and cannot say why just on the Exponential mode things goes bonkers...
Video:
Could someone take a look and tell me what am I missing?
Thanks a lot in advance!
;)