Hedged grid
-
I am attempting to create a hedged grid, but cannot find a solution to close out all orders once the price retraces back to a certain level. I have tried closing all trades when it reaches a stoploss, closing all trades when I am positive on a certain number of pips. I have also tried setting flags to determine when I have a winner on the buy side, and sell side. Any suggestions would be greatly appreciated!
-
If you are working in MT4 and "Trade" event can help - it is possible to detect when some trade closes and then to close all others after that. Or anything like that.
Instead of flags, you can use Formula block to save some value for later use. Flags are more to be used to control the execution of the other blocks. -
Thank you for the help, looks like it is working now!