if(BarsSinceExitExecution(@"Long Scale In") == 0);
{
ExitLong(@"TrendBot Long");
}
When this code is implemented, the original position (TrendBot Long) closes on the same bar that it opens on without the Scale In Position ever opening. It seems as if the BarsSinceExitExecution is being applied to the TrendBot Long position and not to the Long Scale In position. What am I missing to only apply the BarsSinceExitExecution to the Long Scale In position?
Thanks for any help with this.
Comment