Get the value of the “Cycle” technical indicator on price selected.
Syntax:
1 |
Cycle(price) |
Example:
1 2 3 4 5 6 7 8 9 10 11 |
c = Cycle(close) if(c > 0) THEN Bullish = 1 Bearish = 0 ELSE Bullish = 0 Bearish = -1 ENDIF RETURN Bullish coloured(0,128,0), Bearish coloured(255,20,147) |