Move pending order grid based on price?
-
For example, I set a grid of BUY stops 20 pips above the current price. But the price moves 10 pips lower. At that point, I would like that grid of BUY stops to move 10 pips down so they are the same distance from the price as they were originally.
Do I need to detect this 10 pip change, cancel delete the original grid and place a new one? If so what code do I use to monitor this price change? Thanks
-
@raveon You can try this:
