IndicatorRe: Stochastic indicators for MT4

1185
mrtools wrote: Thu Dec 07, 2023 3:20 amTry.
Good day mrtools,


May I ask when was the red and green arrows drawn?
In other words, what is the candle's index number when an arrow was drawn?
I've been watching for a few days, and I realised that the red and green arrows were not drawn when the first candle closed.
I have set "MainHP"=10 and "SignalHP"=90

The indicator named ! Stochastic signals mtf 1.03 (arrows + alerts)

Would you please clarify if that is possible?


Re: Stochastic indicators for MT4

1186
wtjfree wrote: Tue Jul 23, 2024 6:42 pm Good day mrtools,


May I ask when was the red and green arrows drawn?
In other words, what is the candle's index number when an arrow was drawn?
I've been watching for a few days, and I realised that the red and green arrows were not drawn when the first candle closed.
I have set "MainHP"=10 and "SignalHP"=90

The indicator named ! Stochastic signals mtf 1.03 (arrows + alerts)

Would you please clarify if that is possible?

Code: Select all

if(ArrayMaximum(ExtMapBuffer2,SignalHP*2+1,i)==i+SignalHP)
         ExtMapBuffer5[i+SignalHP]=ExtMapBuffer2[i+SignalHP];
         if(ArrayMinimum(ExtMapBuffer2,SignalHP*2+1,i)==i+SignalHP)
         ExtMapBuffer6[i+SignalHP]=ExtMapBuffer2[i+SignalHP];
For those arrows best I can tell is the arrows are drawn depending on your "SignalHP" setting.
These users thanked the author mrtools for the post:
wtjfree