Forum

Breakout-System - Cancel Order

Hi, I need some help. I designed a simple Breakoutsystem, which generates two orders like the following: Ticket = OrderSend(Symbol(),OP_BUYSTOP,Lots,kauf_stopp_preis,3,kauf_stopp_preis-anfangs_stopp,kauf_stopp_preis +TakeProfit*Point,NULL,Magic1,TradeTime+EndHour*60*60,Blue);

BollingerBands Construction in an EA

Hi, I need help again. ---------------------------------- int time2 = 5; //used timeframe double derivation=2 ; // derivation double Bollinger,BolValue; Bollinger = iBands(NULL,0,4*time2,derivation,0,PRICE_TYPICAL,0,0); BolValue = iBandsOnArray( array[], 0,derivation,0,0,0);