I have this problem:
I need to make an ea that opens an order on barclose if support or resistance is broken. No problem.
But then it need to be followed by a grid of sellstops or buystops - depends of course of support or resistance broken -. The stoporders need to be decreasing in lots (1, 0.9, 0.8, 0.7, 0.6, 0.5, 0.4, 0.3, 0.2)
and the distance between the orders need to be 15 pips.
Who can help me out with that piece of code?