Very Simple Help

 

THIS SELL STOP IS EXECUTED AT CURRENT PRICE, BUT I NEED
THIS PENDING ORDER TO BE EXECUTED AT CURRENT PRICE -50 PIPS?

OrderSend(Symbol(),OP_SELLSTOP,my_lot*4,Bid,3,Bid+StopLoss_Sell*Point,Bid-order_profit*Point,NULL,0,0,CLR_NONE);

 
forexflash:
THIS SELL STOP IS EXECUTED AT CURRENT PRICE, BUT I NEED
THIS PENDING ORDER TO BE EXECUTED AT CURRENT PRICE -50 PIPS?
OrderSend(Symbol(),OP_SELLSTOP,my_lot*4,Bid,3,Bid+StopLoss_Sell*Point,Bid-order_profit*Point,NULL,0,0,CLR_NONE);

sl = Bid+((StopLoss_Sell-50)*Point);
tp = Bid-((order_profit-50)*Point);

OrderSend(Symbol(),OP_SELLSTOP,my_lot*4,Bid-50*Point,3,sl,tp,NULL,0,0,CLR_NONE);

Is this what you need?

FerruFx

Reason: