Pertti / Publications
Forum
OrderSend and stops
i'm trying to write my own EA, but ran into confusion extern double TakeProfit=25.0; extern double StopLoss=20.0; extern double Lots=0.1; ticket=OrderSend(Symbol(),OP_SELL,Lots,Bid,10,StopLoss,Bid-TakeProfit*Point,"pip-catcher SHORT",12345,0,Red);