Forum

Sell trades aren't working

Hello guys. I'm very new to coding started a few weeks ago. And I have build the following EA. But the EA only opens buy trades. Can you guys help me out? What is wrong with the else if statement. Please explain in detail because I wan't to learn as much as possible. #include <Trade\Trade.mqh> //

EA shuts down after changing currency pair or timeframe

I have this EA running. But after switching timeframe or currency pair the EA shuts down. And I need to reopen it an allow live trading in the selection box in the EA. Is there a possiblity to let the EA run permanently? <...>