//+------------------------------------------------------------------+ // AI RSI BB…
- User
//+------------------------------------------------------------------+ //| AI RSI BB SCALPER.mq5 | //| Alfr5d | //| https://www.49design.co.za | //+------------------------------------------------------------------+
#property copyright "Copyright 2023, Alfred Mandala. " #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;*/
// ---- INPUTS ---- 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
// ---- GLOBAL VARIABLES ----
int handleRsi; int handleBb; double rsi[];
CTrade trade;
int barsTotal;
// ---- EXPERT INIT ----
int OnInit() {
handleRsi = iRSI(_Symbol,RsiTimeFrame,RsiPeriods,RsiAppPrice); handleBb = iBands(_Symbol,PERIOD_CURRENT,BbPeriods,0,BbDeviation,PRICE_CLOSE);
return(INIT_SUCCEEDED); }
// ---- EXPERT DEINIT ----
void OnDeinit(const int reason){
IndicatorRelease(handleBb); IndicatorRelease(handleRsi); }
// ---- ON TICK FUNCTION ----
void OnTick() { int bars = iBars(_Symbol,RsiTimeFrame); if(barsTotal != bars){ barsTotal = bars;
double bid = SymbolInfoDouble(_Symbol,SYMBOL_BID);
- Assistant
- User
- Assistant
- User
- Assistant
- User
nao esta abrindo ordens
- Assistant
- User
nao esta abrind ordens ainda
- Assistant
- User
- Assistant
- User
cade ichimoku? mantenha todas
- Assistant
- User
nao esta abrindo ordens
- Assistant