I am trying to creat an EA that opens two pending trades one sellstop at the low of 4H Candle, and the other a buyStop at the high of the same 4H Candle, and those two pending trades must have to be expired if they have not reached the goal before the next coming 4H Candle. //| @webroller |
Please help me fix this code so that I may open Buy & Sell a the same time int start () { OrderSend ( EURUSD , OP_BUY , 0.1 , Ask , 3 , Bid - 15 * Point , Bid + 15 * Point ) ; OrderSend ( EURUSD , OP_SELL , 0.1 , Ask , 3 , Ask - 15 * Point , Ask + 15 * Point ) ; return ; }
I want to creat an expert adviser which opens buy and sell at the same time in the current price and close the operation for 15 pip sell and 15 pip buy, and when the first operation reaches the 15pip it opens at that price another buy and sell operation... thanx