Dude, I think you have a great EA! Thanks for putting it here so we can work as a team to improve it.
All Grid EAs I played with suffer when the market trends against the basket. So, what I think should be done is to make the EA recognize the trend isn't favorable and first of all, stop trading against it... in fact, rather than trading against the trend, it should activate the "recovery mode" and trade with the trend (let's say this is the 'side B' of the EA, which is not bound to the original strategy and would be triggered very unfrequently). In short, when in recovery mode, the EA should stop placing trades against the trend and actually place a single trade with the trend (simply put, this is a hedge trade). The trick is to allow the user to set a lot multiplier for the hedge trade as based on my experience, a higher lot like 3 times the size of the losing trades in the basket would be a great value to shoot for... also, a tight take profit for the hedge is important and then the EA should re-evaluate if the drawdown is still relevant to open another hedge trade or not (a waiting period or a % drawdown to sum to the original one would be both good options to think about). Note that the profit from the hedge is always summed up in the basket profit and helps to quickly close it at a profit or breakeven. The trigger for the hedge could be a % drawdown or a # of PIPs in negative (I prefer the % drawdown for the basket in question - not the drawdown for the whole account, but for the basket only so it wouldn't interfere in the other possible trades in the same account for other pairs).
Now, what I have been doing for myself (manually, because no EA implements this strategy) and think is also extremely important is to monitor the hedge and in case the trend reverses before the take profit, then another operation shall be opened in the direction of the basket ('hedging the hedge'). This way, the account will absolutely always be protected, and the take profits from both operations (the original hedge and also the 'insurance' hedge - the one in the direction of the basket) get summed up in the original basket and will allow it to close a lot faster with absolutely no risk of blowing the account and getting out of the drawdowns a lot faster.
Please let me know if this idea sounds interesting to you. I can assure you it is a sort of no loss strategy (meaning never lose your account) which I would love to see an EA implementing as now I have it running manually with Blessing EA. I would be more than happy to demonstrate it in details if we can get in a call so I can demo to you so you see for yourself. I'm not an MQL coder unfortunately but I understand logic with no issues .
Best regards,
Marcos
All Grid EAs I played with suffer when the market trends against the basket. So, what I think should be done is to make the EA recognize the trend isn't favorable and first of all, stop trading against it... in fact, rather than trading against the trend, it should activate the "recovery mode" and trade with the trend (let's say this is the 'side B' of the EA, which is not bound to the original strategy and would be triggered very unfrequently). In short, when in recovery mode, the EA should stop placing trades against the trend and actually place a single trade with the trend (simply put, this is a hedge trade). The trick is to allow the user to set a lot multiplier for the hedge trade as based on my experience, a higher lot like 3 times the size of the losing trades in the basket would be a great value to shoot for... also, a tight take profit for the hedge is important and then the EA should re-evaluate if the drawdown is still relevant to open another hedge trade or not (a waiting period or a % drawdown to sum to the original one would be both good options to think about). Note that the profit from the hedge is always summed up in the basket profit and helps to quickly close it at a profit or breakeven. The trigger for the hedge could be a % drawdown or a # of PIPs in negative (I prefer the % drawdown for the basket in question - not the drawdown for the whole account, but for the basket only so it wouldn't interfere in the other possible trades in the same account for other pairs).
Now, what I have been doing for myself (manually, because no EA implements this strategy) and think is also extremely important is to monitor the hedge and in case the trend reverses before the take profit, then another operation shall be opened in the direction of the basket ('hedging the hedge'). This way, the account will absolutely always be protected, and the take profits from both operations (the original hedge and also the 'insurance' hedge - the one in the direction of the basket) get summed up in the original basket and will allow it to close a lot faster with absolutely no risk of blowing the account and getting out of the drawdowns a lot faster.
Please let me know if this idea sounds interesting to you. I can assure you it is a sort of no loss strategy (meaning never lose your account) which I would love to see an EA implementing as now I have it running manually with Blessing EA. I would be more than happy to demonstrate it in details if we can get in a call so I can demo to you so you see for yourself. I'm not an MQL coder unfortunately but I understand logic with no issues .
Best regards,
Marcos
3