Hello,
I have been developing this EA that uses trailing stops, and the logic seems to work well enough (I used the example given on docs.mql4.com). The problem is that the OrderModify() function just keeps returning with error 130. I can't figure out what is wrong, and was hoping that someone here might notice something that I have overlooked (I'm pretty sure that its one of those errors that make me slap my head and say "d'uh!" ).
Thank you,
Ravi
I have been developing this EA that uses trailing stops, and the logic seems to work well enough (I used the example given on docs.mql4.com). The problem is that the OrderModify() function just keeps returning with error 130. I can't figure out what is wrong, and was hoping that someone here might notice something that I have overlooked (I'm pretty sure that its one of those errors that make me slap my head and say "d'uh!" ).
Thank you,
Ravi
Attached File(s)
Simple_MA_cross-trailstop-0.01.mq4
5 KB
|
356 downloads