Page 1 of 1

Pls explain what does these codes are saying . pls help

Posted: Fri Sep 23, 2022 12:08 pm
by aashu12
Hlv = na
Hlv := close > smaHigh ? 1 : close < smaLow ? -1 : Hlv[1]
sslDown = Hlv < 0 ? smaHigh: smaLow
sslUp = Hlv < 0 ? smaLow : smaHigh

Re: Pls explain what does these codes are saying . pls help

Posted: Mon Oct 31, 2022 3:19 am
by ysokayev
is this true "close > smaHigh " ? if yes: 1, if no: close < smaLow ? if yes: -1, if no: the previous state of Hlv