I have in the Initialize section:
SetStopLoss("Short", CalculationMode.Ticks, 10, false);
In the OnBar Update section after the Condition set:
{ EnterShort(DefaultQuantity, "Short");
if CrossBelow(xxx(8, 14, 0), 90, 1) ExitShort("")
}
I am wanting to exit the short when the line indicator crosses from high to low the line value of 90. (The indicator ranges from 0-100 vertically)
The exit trigger is not working.
Regards

Comment