I’m looking to develop a strategy where a long position is entered when the price drops by 20 ticks below the previous high. I’m not sure how to set up the conditions for this in NinjaTrader.
Could someone please guide me on how to achieve this? Specifically, I need to know:
- How to track the previous high price.
- How to monitor if the current price has dropped by 20 ticks from that previous high.
- How to place a long order once this condition is met.
Any code snippets, tips, or guidance would be greatly appreciated!
Thank you in advance for your help!

Comment