hello there i have this 2 moving average cross over Robot . first cross is sl and 2 cross over will be trade.
how
ever i want when the trade open and market move 100 pip the sl should be modify to break even
but when i used orderselect outside the if statement it print the value of OrderOpenPrice() to zero which should be the value of open
priced of order .
and 2nd after break even i want to trail the sl according the price of moving average 21.
hello there i have this 2 moving average cross over Robot .
first cross is sl and 2 cross over will be trade.
how ever i want when the trade open and market move 100 pip the sl should be modify to break even
but when i used orderselect outside the if statement it print the value of OrderOpenPrice() to zero which should be the value of open priced of order .
and 2nd after break even i want to trail the sl according the price of moving average 21.
any suggestion ???