:: this is more the logic for me if I change it like this...
limit = Bars-counted_bars-VolatilityLookBack;[/php]:: I've tried to change many input values, but no errors anymore. But I didn't test further progress when new bars forming.
CORRECTION: doesn't work, the error is gone, but doesn't update.
IN10TION
mladen: I know about it (a long time ago)
It affects only the calculation of the first loop (when time frame changes or is placed on the chart)
Solution is to put something like this in the code :
[php]limit = MathMin(Bars-counted_bars,Bars-1);
but it does not make any difference in further calculations so I leave it out
The code change you are suggesting is going to make the indicator repaint (to be more precise - it is not going to refresh the current bar among other things - you are going to have to change time frames to make it show last values - try it out)
Just put the line I posted there. No errors
Or did you try it out at all?
IN10TION:
:: this is more the logic for me if I change it like this...
limit = Bars-counted_bars-VolatilityLookBack;
:: I've tried to change many input values, but no errors anymore.
:: I was a little bit too quick in trying it out, thanks! I've noticed it immediately...
lovely, strong coding! thanks!
IN10TION
mladen: The code change you are suggesting is going to make the indicator repaint (to be more precise - it is not going to refresh the current bar among other things - you are going to have to change time frames to make it show last values - try it out)
i am using the MTF_Stochastics at the moment with 15M, 30M, 1H and 4H on a 15M chart. i was wondering if there is a way/indicator where when the 30M and 1H cross each other, i would get an alert (email/sound).
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
I know about it (a long time ago)
It affects only the calculation of the first loop (when time frame changes or is placed on the chart)
Solution is to put something like this in the code :
[php]limit = MathMin(Bars-counted_bars,Bars-1);
The code change you are suggesting is going to make the indicator repaint (to be more precise - it is not going to refresh the current bar among other things - you are going to have to change time frames to make it show last values - try it out)
Just put the line I posted there. No errors
Or did you try it out at all?
The code change you are suggesting is going to make the indicator repaint (to be more precise - it is not going to refresh the current bar among other things - you are going to have to change time frames to make it show last values - try it out)
Just put the line I posted there. No errors
Or did you try it out at all?sto placed in chart window (instead sw)
mladen
Stochastic drawing the "overbought" and "oversold" region Tradestation style
Morning.
Could you pleasedothe same with the stochastics as you did with the RSI please. Make it change colour dependinghigher orlower then previous point.
Thank you
Stochastic Momentum Indicator (Index):
- original thread is here;
- fixed indicator is here.
Stochastic filter indicator is here.
Stochastic Bar type MTF indicators: original thread.
On Chart Stochastic: indicator on the main window.
Stochastic tape indicator is on this page.
Stoch Signal: thread with good indicator by cja.
AllStochastics indicator: good MTF indicator developed by Igorad.
Blau's double smoothed stochastic is on this post.
Stochastic placed in chart window is on this post.
...
regards
mladen
regards
mladenAs you can see on Market Maker
Hi Blur,
What is the name of the moving average indicator (solid line) on your charts. Can you guide me to where it can be found?
Thanks a lot
Gabrooi usually use a nonlagma v7.1 or hma color nrp as a signal line, but i didn't have it loaded on that computer. so it was a 5 LWMA.
5-13-21-34-50 all LWMA
here it is if you need it. one of the first indys i suceeded to make.
regards
blur
MTF Stochastics Alert
hey guys,
i am using the MTF_Stochastics at the moment with 15M, 30M, 1H and 4H on a 15M chart. i was wondering if there is a way/indicator where when the 30M and 1H cross each other, i would get an alert (email/sound).
thx
guts