Forum

How to close transactions before StopOut

Hello, I have EA that makes a lot of transactions and it's profitable, I just need to close it just before account stopout or at proper moment. The charts of EA results look always the same: Method I use at this moment (with average results, because trades get closed sometimes too fast and no more

Optimizing EA for current day (today)

Hello, I have question regarding optimizing EA in MT4 strategy tester for current day. Is it possible to be done? How I can download today's ticks? I'm asking this because when I try to optimize my EA, the latest possible testing dates are from yesterday to today (ending at 00:00 between yesterday

Closing order programming question

Hello, I have question regarding code needed to close my order in certain conditions. I want my order to get closed if its: a) RSI (7) value gets lower than 50 OR b) RSI (7) value gets higher than 70 and I want to close my order when it will start to reverse (go down) like when I had on previous bar