'pinescript boolean variable has an integer value
I've got this pinescript code I'm trying to translate to python but for some reason the boolean variable has an integer value? or an integer -like syntax? would appericate any form of help
code:
a = abs(high - low)
b = abs(close - open)
c = 0.45
rv = b < c*a
sl = rv == 1 and high > y and close < y and open < y
for some more context here the entire script is on tradingview, it the "Rob Hoffman's Inventory retracement bar" by ucsgears.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
