Pls someone should help me..
M trying to Modify order (Stoploos and Takeprofit) using OrderModify()
The present Code goes like this:
SL == Ask - (stoploss)*point
TP == Ask + (Takeprofit)*point
D problem is that, the instrument am. Trading is very volatile (Nasdaq100)
And most times the "Ask" would've moved some. Points or brokers widening of spread
then, my "Stoploss and Takeprofit" points will not be the same as optimized...
I want d calculation to the Order entry price..
Eg: if I bought at 1111.11
I want my Stoploss and Takeprofit to be calculated at that 1111.11 irrespective of spread or volatility...
Can someone please spare his time And show me how to do this,
I have tried many things like attaching the stop loss and Takeprofit in the Ordersend() but d ea won't trade on Live...
M trying to Modify order (Stoploos and Takeprofit) using OrderModify()
The present Code goes like this:
SL == Ask - (stoploss)*point
TP == Ask + (Takeprofit)*point
D problem is that, the instrument am. Trading is very volatile (Nasdaq100)
And most times the "Ask" would've moved some. Points or brokers widening of spread
then, my "Stoploss and Takeprofit" points will not be the same as optimized...
I want d calculation to the Order entry price..
Eg: if I bought at 1111.11
I want my Stoploss and Takeprofit to be calculated at that 1111.11 irrespective of spread or volatility...
Can someone please spare his time And show me how to do this,
I have tried many things like attaching the stop loss and Takeprofit in the Ordersend() but d ea won't trade on Live...