I want to set the stop for a losing position to be say 10 ticks, and I want a trailing stop for the winning position to be 10 ticks as well. But what happens is that if the position goes up 8 from time of entry, and then falls -2 below where I entered, it sees it as having fallen 10 from the high, and closes it -2 below. But my logic never wants to close when its down by less than 10.
So will I have to code this by hand or is there a way to set up this order logic with Ninja Script and my broker's order types?
Comment