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);
THIS SELL STOP IS EXECUTED AT CURRENT PRICE, BUT I NEED
THIS PENDING ORDER TO BE EXECUTED AT CURRENT PRICE -50 PIPS?

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

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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);