the code would have a private int
a GET method inside the class would return a bool
I found this forum post, https://ninjatrader.com/support/foru...ing#post770073 but I'm not sure if it is what I'm needing.
I think I need to place the code file in the Custom/AddOns folder.
Do I create it as an indicator, so it has access to global vars like CurrentBar ?
Do I need to use my own namespace?
or should I be trying to extend the NinjaScriptBase, to add a named bool var to it, and have a GET method which returns the bool, when this var is called from inside an OnMarketData event?
anyway, i'm pretty lost how to do this.
any help is appreciated.
thanks
Comment