if the volume of the entrybar +1 > the entrybar then exit.
else exit after entrybar +3
seems to compile but doesnt work in practice.... the strategy is calconbarclose = false. Stopoffset is a myinput() value. Any ideas?
Regards
if (Volume[BarsSinceEntry()+1] > Volume[BarsSinceEntry()+0])
{
ExitLong("", "");
ExitShort("", "");
}
else
if (BarsSinceEntry() > stopOffset)
{
ExitLong("", "");
ExitShort("", "");
}

Comment