I created a new NT8 strategy that I want to run through an optimization in the Strategy Analyzer.
It is basically a 15 minute price bar breakout and then pullback strategy, that - for a long trade - needs high up volume after the pullback and for the price to be above the 15 EMA, before a long entry. And the inverse is true for a short trade.
I want to be sure that the code that I created will do what I think it will do. I have specific comments for each section of the code.
I had to unlock this strategy, to add some custom code, so I cannot open it in the Strategy Builder. I thought I added a stop-loss, but I cannot find it in the code and forgot what amount my stop is, if it is there. And if I cannot find it, then I cannot change it [my bad :-( ]
The .cs file for this strategy is attached. A screenshot of the main code for this strategy is also attached.
Can someone please let me know if what I stated in my comments are what the code is programmed to do?
If instead I coded this incorrectly or differently from what I thought it will do, please let me know.
Thanks,
Comment