I am a self-taught coder. I'm working on a Ninjatrader 8 strategy that has a bazillion parameters and am trying to reduce the length of the parameters list.
Using a TypeConverter, it's possible to show/hide sub-parameters based on input from another parameter.
I am trying to implement this for more than one parameter and am stumped.
I have two check boxes which, when checked, should show another parameter and, when unchecked, hide it.
One of them works and the other does not. I have been through the sample script provided by Ninjatrader as well as several indicators/strategies that have ONE instance of this without figuring out what I am doing wrong.
If anyone can either direct me to a script I can review that implements two cases, as I am attempting, or can otherwise assist me in figuring out how to do this, I'll be most appreciative.
I am attaching my script (a strategy), that has only code for the showing/hiding of parameters, and adding a few screen shots to show what I'm trying (and failing) to do.