I need to ask you how could I recognize (in NinjaScript) when the strategy exit any position on stoploss. Because when the strategy exit on stoploss I need to do something - i need to call MyMethod()...
so is there any way (any trigger) how to realize that on every StopLoss-exit the NinjaTrader will call MyFunction()?
And another question - is there any function which returns profit of last executed trade? I need to have exact profit of last executed trade..
Thank you very much for your help
Comment