PINE LIBRARY
Telah dikemas kini CarlLib

Library "CarlLib"
LastLowRedHighGreen(open, close, high, close, reqChangePerc) returns values representing the high of the most recent green and the low of the most recent red
Parameters:
open: open series
close: close series
high: high series
close: close series
reqChangePerc: the minimum require change percentage for the values to switch to new ones.
Returns: [highOfLastGreen, lowOfLastRed,changeOfLowPerc, distanceToHigh, distanceToLow, distanceToLongExitPercentage,distanceToShortExitPercentage]
LastLowRedHighGreen(open, close, high, close, reqChangePerc) returns values representing the high of the most recent green and the low of the most recent red
Parameters:
open: open series
close: close series
high: high series
close: close series
reqChangePerc: the minimum require change percentage for the values to switch to new ones.
Returns: [highOfLastGreen, lowOfLastRed,changeOfLowPerc, distanceToHigh, distanceToLow, distanceToLongExitPercentage,distanceToShortExitPercentage]
Nota Keluaran
v2 updating the chartNota Keluaran
v3Added:
VolatilityOscillator(open, open, The)
returns values to plot/use volatility oscillator
Parameters:
open: the source of the close value to use
open: the source of the open value to use
The: oscillator length to use as a standard deviation
Returns: [x, y, spike, volOscBullish]
Nota Keluaran
v4Added:
candleDetails(open, high, low, close)
Parameters:
open
high
low
close
Nota Keluaran
v5Nota Keluaran
v6Added:
pstdev(Series, Period)
Parameters:
Series
Period
maAndVolumeConfirmedSupretrend(Close, volumeMALength, volumeStdLength)
Parameters:
Close
volumeMALength
volumeStdLength
Nota Keluaran
v7Added:
tripleSupertrend()
Nota Keluaran
v8Added:
volumeHeatmap(volumeMALength, volumeStdLength)
Parameters:
volumeMALength
volumeStdLength
Nota Keluaran
v9Added:
tdi(src, lengthrsi, lengthband, lengthrsipl)
Parameters:
src
lengthrsi
lengthband
lengthrsipl
Perpustakaan Pine
In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in publications is governed by House Rules.
Penafian
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Perpustakaan Pine
In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in publications is governed by House Rules.
Penafian
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.