Martingale Gridding Based on Loss instead of Pip Gap
-
I am creating a Correlation EA for 2 currencies.
The problem I am facing is that I am trying to open a grid based on running loss and lot multiplied each time a new set of positions opens.
I am new to FXdreema and want to know where I am going wrong?
Because for normal grid or martingale with Pips gap, I am doing it fine, but when it comes to floating loss-based grid, it is not working out.
Any help would be appreciated. -
You need variables to do the calculations for those dynamic losses. Are you familiar with variables?
-
All calculations are made through variables as shared above. But is it is not working.
Check loss is not working.
I have created formula to calculate balance-equity to obtain the loss. And multiplying it for each trade by a constant multiplier input.
It is still not working out.
@l-andorrà -
@Justujuewafa Ok. Let's begin by removing block 11. It is redundant. Then I see you open an initial buy and a sell. That means 2 trades. But block 15 is only searching for the latest open trade. That means it will only be the initial sell. Is that intentional or should both buy and sell be considered?