Hi all,
Can anyone teach me how to get the orderopenprice for OP_BUY or OP_SELL orders you have.
Thanks in advance.
My code:
if (OrderType()==OP_BUY && FIBO!=0)
{
if(OrderComment()=="127.2" && OrderOpenPrice()-MathAbs(Ask-Bid)>BUY_100.0)
OrderModify(OrderTicket(),OrderOpenPrice(),BUY_61.8-FIBO_ASL*atr,BUY_127.2,0,White);
Can anyone teach me how to get the orderopenprice for OP_BUY or OP_SELL orders you have.
Thanks in advance.
My code:
if (OrderType()==OP_BUY && FIBO!=0)
{
if(OrderComment()=="127.2" && OrderOpenPrice()-MathAbs(Ask-Bid)>BUY_100.0)
OrderModify(OrderTicket(),OrderOpenPrice(),BUY_61.8-FIBO_ASL*atr,BUY_127.2,0,White);
No one wants to be defeated~