its assumued that tp=30 pips being converted to a double.
just wanted to check this example : //input in EA, Takeprofit =30; stoploss =0; //void Takeprofitmodify(); if(TakeProfit>0) OrderModify(OrderTicket(),Ask,0,Ask+(30*Point,0,clrNONE);
Is this correct? Thank you.
There are so many fundamental flaws, it's time to stop and think about what you want to do.
The correct term or format for 'OrderModify' to be written where for example ,TP=80, distance=30. (assuming TP is currently zero).