pinescripts icon indicating copy to clipboard operation
pinescripts copied to clipboard

Allow users to decide whether to use the `high` price or the actual `close` for breakout indication.

Open Zettt opened this issue 3 years ago • 0 comments

Allow users to decide whether to use the high price or the actual close for breakout indication.

closeOrHigh = close
bool useCloseForBandCrosses = true
closeOrHigh := useCloseForBandCrosses ? close : high

Zettt avatar Apr 12 '22 02:04 Zettt