PrintWithTimeStamp("This Long = " + BarsSinceExit(0,"Long",1).ToString() + " " + "Last Long = " + BarsSinceExit(0,"Long",2).ToString() );
This is a single time frame strategy, so I understood the first "0" in the BarsSinceExit refers to the time frame being used. This however is not working. Is there a short answer to this, or a code snippet you could direct me to so that I can reference the number of bars between trades?
Thanks,
Safetrading
Comment