| *if* ( realexitPrice >= lo[bar]+ 0.5*spread && realexitprice <= hi[bar]+0.5*spread) |
|*correction: for charts based on Bidprice take out the 0.5 factor.
if* ( realexitPrice >= lo[bar]+ spread && realexitprice <= hi[bar]+spread)|
| *if* ( realexitPrice >= lo[bar]+ 0.5*spread && realexitprice <= hi[bar]+0.5*spread) |
|*correction: for charts based on Bidprice take out the 0.5 factor.
if* ( realexitPrice >= lo[bar]+ spread && realexitprice <= hi[bar]+spread)|