Bahijulien / Publications
Forum
Bollinger Band Expert Advisor
My EA is created with the idea that it should execute a buy order when the current price goes below the lower band and a sell order when the current price crosses above the upper band. But he doesn't react as he wishes. At first he carried out orders but now nothing I review the code but I don't
Put 2 or more indicators in the same subwindow
int OnInit () { //--- Newbar(); ma_Handle= iMA ( _Symbol , PERIOD_CURRENT ,maPeriod, 0 , MODE_SMA ,rsi); rsi= iRSI ( _Symbol , PERIOD_CURRENT , 7 , PRICE_CLOSE ); stocha= iStochastic ( _Symbol , PERIOD_CURRENT , 13 , 3 , 3 , MODE_SMA , STO_CLOSECLOSE ); ChartIndicatorAdd ( 0 , 1 ,rsi);
Trading semi automatique
I am creating an EA that can send me alerts based on my buy and sell conditions. But I have difficulties in my programming. - how to code the crosses up of the DI_plus and DI_minus of the ADX of WILDER? - how to code the closing of the last candles above or below the Moving Average ? - what are the
Calculation of ticks
My project is to create an EA capable of sending me alerts every 100 ticks. But the one I created now only sends me alerts once. I tried to insert my code in a loop but it doesn't work. I need help
Bollinger Bands Upper and Lower crossing
void OnTick () { bool Newbar=Newbar(); //define Ask, Bid double Ask = NormalizeDouble ( SymbolInfoDouble ( _Symbol , SYMBOL_ASK ), _Digits ); double Bid = NormalizeDouble ( SymbolInfoDouble ( _Symbol , SYMBOL_BID ), _Digits ); //create an array for several prices MqlRates