Page 2174 of 2174

Re: MT4 Indicator requests and ideas

Posted: Tue Oct 28, 2025 3:09 am
by 太虚一毫
mrtools wrote: Fri Sep 26, 2025 8:10 am Hello , kept going around and round with this indicator because of the way the atr minimum and maximum was being done, finally dawned on me this is exactly the same problem as the step stochastic which Mladen fixed. This was his explanation

Since I first saw it, I have always liked the idea of a step stochastic. But every single version I have seen had two very serious flaws:

minimum and maximum average true range are inherited from a previous bar

and thus it makes it depend on the number of bars used in calculations. The rest of the calculations depends on that "inherited" value, and, since with time the minimum and the maximum are just getting bigger (maximum) and smaller (minimum), the "step quality" of the step stochastic is simply lost when big enough number of bars pass. So the step stochastic becomes deformed and is not a "step" stochastic any more on newest bars.

This one solves those issues. The idea is simple — instead of inheriting previous state of ATR minimum and maximums, the minimum and maximum are cheсked in a "Window" number of past bars. That way it is not deformed and is reacting to latest data fairly good. Compared to the "old" ones you will notice that at the beginning they have the same values (since the "old" still did not "deform") but as time passes the differences grow bigger and bigger. That is the effect of not inheriting and in the end of not repainting.

So anyway, used the fixed step stochastic code to make a new non-repainting version. The results are different so posting it here to see if you still want to do the modifications you requested.
Looking forward to the teacher rewriting this non-repaint version! StepMA 3D.mq4 into StepMA 3D.mq5. (I can't rewrite it successfully, I always get errors) Infinite kindness!!!

Re: MT4 Indicator requests and ideas

Posted: Tue Oct 28, 2025 9:44 am
by kvak
ROI wrote: Wed Oct 22, 2025 5:16 pm Me: Would it be possible with your knowledge to code an even better indicator than macd 9-21-6?

Robot: Custom “Super-Trend-MACD” – indicator that usually outperforms the traditional 9-21-6-MACD setup on the M5-AUD/JPY chart
Why might a traditional MACD setup fall short?
Fixed EMA period lengths do not adapt to changing market volatility.
The histogram only shows the difference between the MACD line and the signal line, and does not take into account the actual direction of prices (trend direction).
Noise on a 5-minute timeframe can cause many false crosses if there is insufficient filtering.
Super-Trend-MACD – concept
Two-level filtering:
First level – Adaptive Exponential Moving Average (AE-EMA) using Kaufman’s Adaptive Moving Average (KAMA) logic, which accelerates when volatility is high and slows down when the market is calm.
The second level – the traditional MACD structure (fast EMA – slow EMA) is calculated on top of the AE EMA, so the MACD line is already “processed” from noise.
Super-Trend filter:
A SuperTrend line based on Average True Range (ATR) is calculated (like TradingView SuperTrend). This line acts as a confirmation of the trend direction: when prices are above the SuperTrend line, the trend is considered to be up, below – down.
Signal generation:
Bullish – the MACD line crosses the signal line from below upwards AND the price is above the SuperTrend line AND the histogram is increasing.
Bearish – the MACD line crosses the signal line from above downwards AND the price is below the SuperTrend line AND the histogram is decreasing.
This combination of three components (adaptive EMA + MACD + SuperTrend) reduces false signals, improves trend recognition and keeps the reaction speed in the short term.
Hello, maybe this indicator is close to your idea....click

Re: MT4 Indicator requests and ideas

Posted: Wed Oct 29, 2025 12:29 am
by ROI

Re: MT4 Indicator requests and ideas

Posted: Wed Oct 29, 2025 2:24 am
by mrtools
太虚一毫 wrote: Tue Oct 28, 2025 3:09 am Looking forward to the teacher rewriting this non-repaint version! StepMA 3D.mq4 into StepMA 3D.mq5. (I can't rewrite it successfully, I always get errors) Infinite kindness!!!
Posted a version here.

Re: MT4 Indicator requests and ideas

Posted: Wed Oct 29, 2025 4:11 am
by mrtools
ROI wrote: Wed Oct 29, 2025 12:29 am MTF?

post1294980941.html#p1294980941
Posted a mtf version here.

Re: MT4 Indicator requests and ideas

Posted: Wed Oct 29, 2025 4:40 am
by ROI
mrtools wrote: Wed Oct 29, 2025 4:11 am Posted a mtf version here.
Thank you. Here is RSI 2 OB and OS level 50, H4 and H1, AUDJPY M5 chart, looks good?

Re: MT4 Indicator requests and ideas

Posted: Wed Oct 29, 2025 4:47 am
by ROI
and for signals RSI 2 levels 90 and 10.

Re: MT4 Indicator requests and ideas

Posted: Mon Nov 03, 2025 10:51 pm
by CrystalG
hello coders and fellow traders!
I'm looking for an indicator which will show me the oocured slippages of an asset. also, if possible please spread histogram where we can see when was the highest and the lowest.
this information would be very helpful for traders to pick a broker. for me I will use for trading gold on lower tf and to know when is not the right time to trade.
thank you very much,
Green

Re: MT4 Indicator requests and ideas

Posted: Tue Nov 04, 2025 1:44 am
by mrtools
ROI wrote: Wed Oct 29, 2025 4:47 am and for signals RSI 2 levels 90 and 10.

AUDJPYM5.png
Hello, when you get a chance could you explain what determines the arrows, please.