MT4 standart indicator script for expert advisor

Kali ini saya akan membahas beberapa mt4 indikator standart script yang biasa digunakan para coder untuk membuat EA Forex

1. High Low indikator
indikator ini terbagi menjadi 2 bagian yaitu highlow dalam beberapa candle kebelakang
 double high = High[iHighest(NULL, 0, MODE_HIGH, jumlah_cande, 0)];
 double low = Low[iLowest(NULL, 0, MODE_LOW, jumlah_cande, 0)];

highlow candle yang sekarang
doube high = iHigh(NULL,0,0);
double low = iLow(NULL,0,0);

2. MACD
double macdmain = iMACD(NULL, 0, 12, 26, 9, PRICE_CLOSE, MODE_MAIN, 0);
double macdsignal = iMACD(NULL, 0, 12, 26, 9, PRICE_CLOSE, MODE_SIGNAL, 0);

3. MA (moving average)
double ma = iMA(NULL, 0,14, 0, MODE_SMA, PRICE_CLOSE, 0);

4. Standart Deviation
 double statdev = iStdDev(NULL, 0, 20, 0, MODE_SMA, PRICE_CLOSE, 0);

5. WPR (william's percent range)
double wpr = iWPR(NULL, 0,14, 0);

6. Demarker
double demarker = iDeMarker(NULL, 0, 14, 0);

7. Stochastic Oscillator
 double stochmain = iStochastic(NULL, 0, 5, 3, 3, MODE_EMA, 0, MODE_MAIN, 0);
 double stochsignal = iStochastic(NULL, 0, 5, 3, 3, MODE_EMA, 0, MODE_SIGNAL, 0);

8. RSI
double rsi = iRSI(NULL, 0, 14, PRICE_CLOSE, 0);

9. Bollinger Bands
double bandslow = iBands(NULL, 0, 20, 2, 0, PRICE_CLOSE, MODE_LOWER, 0);
double bandup = iBands(NULL, 0, 20, 2, 0, PRICE_CLOSE, MODE_UPPER, 0);

10. ADX
double adxmain = iADX(NULL, 0, 14, PRICE_CLOSE, MODE_MAIN, 0);
double adxplus = iADX(NULL, 0, 14, PRICE_CLOSE, MODE_PLUSDI, 0);
double adxmin = iADX(NULL, 0, 14, PRICE_CLOSE, MODE_MINUSDI, 0);

11. CCI
double cci = iCCI(NULL,,14,PRICE_CLOSE,0);

12. Envelopes
double envup = iEnvelopes(NULL,0,14,MODE_SMA,0,PRICE_CLOSE,0.1,MODE_UPPER,0);
double envlow = iEnvelopes(NULL,0,14,MODE_SMA,0,PRICE_CLOSE,0.1,MODE_LOWER,0);

13. Ichimoku
double ichichikou = iIchimoku(NULL,0,9,26,52,MODE_CHIKOUSPAN,0);
double ichisenA = iIchimoku(NULL,0,9,26,52,MODE_SENKOUSPANA,0);
double ichisenB = iIchimoku(NULL,0,9,26,52,MODE_SENKOUSPANB,0);
double ichiTenkan = iIchimoku(NULL,0,9,26,52,MODE_TENKANSEN,0);
double ichiKijun = iIchimoku(NULL,0,9,26,52,MODE_KIJUNSEN,0);

14. Bears Power
double bear = iBearsPower(NULL,0,13,PRICE_CLOSE,0);

15. Bulls Power
double bull = iBullsPower(NULL,0,13,PRICE_CLOSE,0);
MT4 standart indicator script for expert advisor MT4 standart indicator script for expert advisor Reviewed by Yonif on August 19, 2018 Rating: 5

No comments:

Powered by Blogger.