PINE LIBRARY
已更新 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]
版本注释
v2 updating the chart版本注释
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]
版本注释
v4Added:
candleDetails(open, high, low, close)
Parameters:
open
high
low
close
版本注释
v5版本注释
v6Added:
pstdev(Series, Period)
Parameters:
Series
Period
maAndVolumeConfirmedSupretrend(Close, volumeMALength, volumeStdLength)
Parameters:
Close
volumeMALength
volumeStdLength
版本注释
v7Added:
tripleSupertrend()
版本注释
v8Added:
volumeHeatmap(volumeMALength, volumeStdLength)
Parameters:
volumeMALength
volumeStdLength
版本注释
v9Added:
tdi(src, lengthrsi, lengthband, lengthrsipl)
Parameters:
src
lengthrsi
lengthband
lengthrsipl
Pine脚本库
本着真正的TradingView精神,作者将此Pine代码发布为开源库,以便我们社区的其他Pine程序员可以重复使用它。向作者致敬!您可以私密或在其他开源出版物中使用此库,但在出版物中重复使用此代码受网站规则约束。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
Pine脚本库
本着真正的TradingView精神,作者将此Pine代码发布为开源库,以便我们社区的其他Pine程序员可以重复使用它。向作者致敬!您可以私密或在其他开源出版物中使用此库,但在出版物中重复使用此代码受网站规则约束。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。