Stocks News
Machine Running Adaptive Super Trend Scanner Create EA (ICUSTOM) Create EA -Analysis and Prediction -February 5, February 5, 2025
Machine Running Adaptive Super Trend Scanner Indicator (Ver.2.00- Download the link at the end of the article)) In the case of EA, you can see the following instructions.
no way. Buffer and index of indicator:
rain. Mandatory input parameter:
MT4 version 2.00:
double getValueMLAdaptiveSuperTrend(string fSymbol, ENUM_TIMEFRAMES Timeframe, int Index, int Shift ) string indicatorCustomName = "Market\\ML Adaptive SuperTrend MT4"; return iCustom(fSymbol, Timeframe, indicatorCustomName, iMaxBarsBack, "", atr_len, fact, "", training_data_period, highvol, midvol, lowvol, 0, 0, 0, 0, false, 0, "", false, false, false, false, false, false, "", "", false, "", 0, 0, "", false, 0, 0, 0, false, 0, 0, 0, 0, 0, 0, 0, 0, "", 0, "", false, 0, 0, false, 0, 0, 0, Index, Shift);
MT5 version 2.00:
double getValueMLAdaptiveSuperTrend(string fSymbol, ENUM_TIMEFRAMES Timeframe, int Index, int Shift ) string indicatorCustomName = "Market\\ML Adaptive SuperTrend MT5"; int handle = iCustom(fSymbol,Timeframe,indicatorCustomName,iMaxBarsBack,"",atr_len,fact,"",training_data_period,highvol,midvol,lowvol,0,0,0,0,false,false,1,"",false,false,false,false,false,false,"","",false,"",0,0,"",false,0,0,0,false,0,0,0,0,0,0,0,0,"",0,"",false,0,0,false,0,0,0); if(handle < 0) return(EMPTY_VALUE); else double buf(); if(CopyBuffer(handle, Index, Shift, 1, buf) > 0) return(buf(0)); return EMPTY_VALUE;
d. use getValueemladaptiveSupertrend EA function
You use getValueemladaptiveSupertrend The ability to get the values you need to use for EA.
You need to compare to check if the buffer has a value. EMPTY_VALUE.
Here are some examples of checking the following: The previous bar buffer (Shift = 1) has a value.
This article Machine learning adaptation type super trend scanner Indicator to EA.