Attachments forums

List of attachments posted on this forum.


All files on forums: 161139

Re: Already Converted TradingView Indicators to MT4 Indicators

global, Sat Jan 25, 2025 7:28 am

MeNiazi wrote: Sat Jan 25, 2025 2:15 am Hi Dear Coders......

Pls find below an indicator of TradingView "Adaptive EMA with ATR and Standard Deviation [QuantAlgo]"....I am sure this indicator is available here at Forex-Station.
Pls find it for me Thanks A Lot........

Reason: Useful in Lower TF's with good risk reward ratio

https://www.tradingview.com/script/W4SL ... QuantAlgo/
Here is a working version of the Adaptive EMA with ATR and StdDev indicator I converted from the pine script. I used the same display features as with the Adaptive Trend Flow indicator I posted previously. It doesn't show all the fancy visualizations as the original tradingview script shows but it does show the trend changes which is the main thing. Of course you can adjust the settings as you like to make the trend changes more sensitive. You can learn more about the original indicator from https://www.tradingview.com/v/W4SLAv9j/

This converted version shows the trend as a simple green and dark red EMA line with Standard Deviation bands that you can turn on or off in the settings. The colored candles are not part of the indicator but are drawn by a separate heiken ashi indicator.

To use this indicator with an EA just use an iCustom call to access the TrendState buffer number 5 with this call:
string indiAdEMA = "Adaptive EMA";
double AdaptiveEMATrend = iCustom(NULL,0,indiAdEMA,5,0);

If anyone can improve on this indicator then please do so for the benefit of all of us. I found that a StdDev Multiplier of 0.5 and an ATR Multiplier of 0.5 worked better than the original pine script indicator default values of StdDev Multiplier 2.0 and ATR Multiplier of 1.5, so I made 0.5 the default values for those two options. If you find settings that work better than the current default settings then please let us know. Thanks.

I found that with the current default settings, the trend changes of this indicator are almost identical to the trend changes of the Adaptive Trend Flow indicator I posted previously.


IMPORTANT Update: If you downloaded this indicator earlier today then you should redownload it because there was an error in the file I initially uploaded. The fixed file is below with the same name. The error was that part of the Trend Detection code was duplicated and that would have interfered with the line that followed. Anyway, it's now fixed so please redownload it. Thanks and sorry for the inconvenience.
All files in topic