Our help guide does not specify that a low swing cannot be preceded by a low swing or a high swing preceded by a high swing.
https://ninjatrader.com/support/help.../nt8/swing.htm
You could make a copy of the script and modify the code to your liking and require that low swing be preceded by a high swing and vice versa.
Below is a link to a video of how to copy a script.
And a link to a forum post with helpful information about getting started with NinjaScript.
See a similar inquiry here.
https://ninjatrader.com/support/foru...sue#post802776
I am also happy to submit a feature request for the development team to consider making changes if you would like.
Comment