FTS Toolkit - Trailing Stop EA - Minimize risk even further with trailing stop and BE

jpo001

Recruit
Messages
2
This changes doesn't work. The EA cannot be activated after these changes anymore. Without the changes I get exactly the same errors as ZakFx. Any ideas?
comment out all conthent of the method. this is test method used only when backtesting
 

daggore

Recruit
Messages
1
This changes doesn't work. The EA cannot be activated after these changes anymore. Without the changes I get exactly the same errors as ZakFx. Any ideas?
Sorry if this is already a dead thread. This EA was exactly what I was looking for. Like a few, I had the same errors.
I don't come from a programming background but I added some stuff to what Rajib typed and had no errors. That said however, I do not know if the EA's functionality was affected in any way.

Line 253: if (! OrderSend(Symbol(), OP_BUY, test_lots, Ask, 7, 0.0, 0.0)) {};
Line 255: if (! OrderSend(Symbol(), OP_SELL, test_lots, Bid, 7, 0.0, 0.0)) {};

Would also like to ask @Peter O if the smiley matters. My chart does have a smiley but it's :( instead of :). not sure if that meant anything because in my previous trade, the EA was not activated. Hope to get replies from this....! Thank you! :D
 
Thread starter Similar threads Forum Replies Date
P General Forex Talk 2
Top