Professional Documents
Culture Documents
? Bearcolor: Down
? Bearcolor: Down
? Bearcolor: Down
bearColor :
down,
label.new (=size.small) :
pivotlRSI ?
if (minRSI[1] < minRSI[2]) and (rsiRSI[1] > min_rsiRSI) and (rsiRSI >= rsiRSI[1])
Percentrank Bug
https://www.tradingview.com/script/GibJ8AAn-RESEARCH-Percentrank-
Bug/
// Plotting, overlay=false
rsiRSI = RSI_VWAP
// DIVS code
hbRSI = abs(highestbars(rsiRSI, xbarsRSI)) // Finds bar with highest value in last X bars
lbRSI = abs(lowestbars(rsiRSI, xbarsRSI)) // Finds bar with lowest value in last X bars
maxRSI = float(na)
max_rsiRSI = float(na)
minRSI = float(na)
min_rsiRSI = float(na)
pivothRSI = bool(na)
pivotlRSI = bool(na)
divbearRSI = bool(na)
divbullRSI = bool(na)
// If curr bar high is higher than the max bar high in the lookback window range
maxRSI := close // change variable "max" to use current bar's high value
max_rsiRSI := rsiRSI // change variable "max_rsi" to use current bar's RSI value
minRSI := close // change variable "min" to use current bar's low value
min_rsiRSI := rsiRSI // change variable "min_rsi" to use current bar's RSI value
// Finds pivot point with at least 2 right candles with lower value
>= rsiRSI[1])
divbullRSI := true
// Alerts