View Full Version : signal name for BarsSinceExit
binwang2
11-24-2009, 08:46 AM
Hello,
When i pass in empty string "" for signal name in BarsSinceExit like (2, "",0), will it reference the last exit of the latest signal name from multiple exit signal names?
NinjaTrader_Bertrand
11-24-2009, 08:52 AM
The empty string "" just references the default signal name, so in your multiple signal setup, please enter the signal name you want to refer to.
stephenszpak
11-29-2009, 04:06 PM
If this is one line of a strategy:
SetStopLoss(CalculationMode.Ticks,4);
and the stop is indeed hit (in simulator), does NT consider
this an 'exit' if I use BarsSinceExit() as well in my coding?
Or is this not considered an exit that BarsSinceExit() will see?
- Stephen
NinjaTrader_Austin
11-29-2009, 04:11 PM
Stephen, it should count as an exit. Are you experiencing something else?
stephenszpak
11-29-2009, 04:14 PM
Thanks. Just the usual coding confusion.
I'll see if I can make some progress on my
own for the moment.