Thank you for your reply.
I'd like to clarify further on this second part. The strategy you provided chooses whether to go long or short based on the user inputting "L" for long or "S" for short. Is this how it functions when you use it? So in this case is it:
SHORT 20.......40.........0.........0. ........0........(does the strategy get restarted here? How did it go from 40 to flat? If you use the version with the State check here, it should restart at 20)..."120".
Thanks in advance; I look forward to assisting you further.
Comment