#property description "www.billionairebulls.co.za\n"
#property version "1.5"
#property description "RSI GRID SCALPING EA, TIMEFRAME = M5 \nLOW RISK : RsiPeriods = 18; RsiSellTrigger = 70; RsiSellTrigger = 30; TpPoints = 212;"
#include <Trade/Trade.mqh>
/*
RSI GRID EA SETTINGS MODES
LOW RISK SETINGS
RsiPeriods = 9;
RsiSellTrigger = 80;
RsiSellTrigger = 35;
TpPoints = 212;
MEDIUM RISK SETINGS
RsiPeriods = 7;
RsiSellTrigger = 80;
RsiSellTrigger = 40;
TpPoints = 211;
HIGH RISK SETINGS
RsiPeriods = 5;
RsiSellTrigger = 85;
RsiSellTrigger = 40;
TpPoints = 212;
*/
input group "--- Trading Inputs ---";
input double Lots = 0.01; // Lot Size
input int TpPoints = 50; // Take Profit in points [m5-50p, h1-200p]
input ENUM_TIMEFRAMES RsiTimeFrame = PERIOD_CURRENT; // Timeframe
input group "--- RSI Inputs ---";
input int RsiPeriods = 18; // RSI Period
input ENUM_APPLIED_PRICE RsiAppPrice = PRICE_CLOSE; // RSI Applied Price
input double RsiSellTrigger = 70; // RSI Sell Zone
input double RsiBuyTrigger = 30; // RSI Buy Zone
input group "--- Bollinger Bands Inputs ---";
input int BbPeriods = 23; // BB Periods
input double BbDeviation = 2.0; // Deviation
input double BbShift = 0; // Shift
int handleRsi;
int handleBb;
double rsi[];
CTrade trade;
int barsTotal;
int OnInit()
{
// код доступен только после оплаты
}
void OnDeinit(const int reason){
IndicatorRelease(handleBb);
IndicatorRelease(handleRsi);
}
void OnTick()
{
// код доступен только после оплаты
}
int bars = iBars(_Symbol,RsiTimeFrame);
if(barsTotal != bars){
barsTotal = bars;
doublПоказано первые 50% кода (символов: 2884)
Введите ваш email и нажмите кнопку, чтобы перейти к оплате.