量化交易系统

MT5-Auto trade with RSI MA Ichimoku

  • 型号:
Main Image

EMA BASEd ON EMA, ICHIMOKU-Kejun-sen line and MACD

input group             "RSI Setting"

input int                  Inp_RSI_ma_period        = 7;             // RSI: averaging period

input ENUM_APPLIED_PRICE   Inp_RSI_applied_price    = PRICE_WEIGHTED; // RSI: type of price

input double               Inp_RSI_LevelUP          = 60;             // RSI Fast and Slow: Level UP

input double               Inp_RSI_LevelDOWN        = 40;             // RSI Fast and Slow: Level DOWN

input string               Inp_RSI_stringUP         ="Signal Sell";   // RSI Fast and Slow: Level UP label

input string               Inp_RSI_stringDOWN       ="Signal Buy";    // RSI Fast and Slow: Level DOWN label

//---

input group             "ICHIMOKU Setting"

input ENUM_TIMEFRAMES      Inp_Ichimoku_period           = PERIOD_CURRENT;             // Ichimoku period

input int                  Inp_Ichimoku_tenkan_sen       = 9;              // period of Tenkan-sen

input int                  Inp_Ichimoku_kijun_sen        = 26;                // period of Kijun-sen

input int                  Inp_Ichimoku_senkou_span_b    = 52;   // period of Senkou Span B

input int                  Inp_Ichimoku_shift    = 2;   // period of Shift

//---

input group             "EMA-26 Setting"

input int                  Inp_MA_period              = 26;            // Period of the EMA

input int                  Inp_MA_shift               = 200;            // Shift of the EMA

input ENUM_MA_METHOD       Inp_MA_method              = MODE_SMA;            // Method of the EMA

input ENUM_APPLIED_PRICE   Inp_MA_applied_price       = PRICE_WEIGHTED; // EMA: type of price



//---

input group             "MACD Setting"

input ENUM_TIMEFRAMES      Inp_MACD_period              = PERIOD_CURRENT; // Period of the MACD

input int                  Inp_MACD_fast_ema_period     = 10;            // MACD: period for Fast average calculation

input int                  Inp_MACD_slow_ema_period     = 5;       // MACD: period for Slow average calculation

input int                  Inp_MACD_signal_period       = 7; // MACD: period for their difference averaging

input ENUM_APPLIED_PRICE   Inp_MACD_applied_price       = PRICE_WEIGHTED; // MACD: type of price or handle