Hi guys, can anyone help me fix this EA that i'm making?
The idea is to buy on S2 with stop-loss on S3.
Same with short, SELL on R2 stop-loss on R3.
Take profit for both orders are the Pivot line.
The problem is that my buy orders get an error "Invalid stop".
I don't know how to fix it , since i already tried to normalizedouble, and a bunch of things, hope someone can help me with this fix.
Kind regards,
Thomas
The idea is to buy on S2 with stop-loss on S3.
Same with short, SELL on R2 stop-loss on R3.
Take profit for both orders are the Pivot line.
The problem is that my buy orders get an error "Invalid stop".
I don't know how to fix it , since i already tried to normalizedouble, and a bunch of things, hope someone can help me with this fix.
Kind regards,
Thomas
Attached File(s)
Pivot SR-mod.mq4
6 KB
|
272 downloads
Pivot SR.mq4
5 KB
|
267 downloads