This is my first time visiting this forum, and my first time posting. I'm really sorry if I didn't take the time to look for similar threads since my problem seems really common. It might not be a valid reason, but my head already hurts from trying to figure out this simple problem.
How do I make a ninja script strategy that exits all position when the current price is lower than the previous bar's low?
I would have easily done this, but simply using the strategy wizard, and put: close < low(1) or low < low(1) or ask < low(1) or bid < low(1), then put an exit long or exit short -doesn't seem to work. I'm totally not into scripting, though I was able to manually modify a script after unlocking the code from the wizard, I'm still a dummy with scripts.
I hope anyone can help me. Thank you so much.
Comment