// Condition set 2
if (Position.MarketPosition == MarketPosition.Flat
&& CrossBelow(LinReg(Close, 15), (LinReg(Close, 2) - bBuff), 1))
{
EnterShort(n, "SS.LRx");
}
I get an error message ojectiong to the - operand in (-bBuff).
How can I apply a buffer, such as an addition or subtraction of value, from one of the elements of a crossover strategy?
Comment