Forum

buy and sell stop

hi, can anybody tell me what's wrong with this code? only sell stop is opened void OnTick () { // if we have no open orders or positions if ( OrdersTotal ()== 0 ) // create a sell ticket int sellticket = OrderSend ( Symbol (), // currency pair OP_SELLSTOP

hedging with martingale

hi! can anybody help me build an ea that opens a buy and sell order every candle closed within a specific timeframe