PINE LIBRARY
업데이트됨 customcandles

Library "customcandles"
customcandles: Contains methods which can send custom candlesticks based on the input
macandles(maType, length, o, h, l, c) macandles: Provides OHLC of moving average candles
Parameters:
maType: - Moving average Type. Can be sma, ema, hma, rma, wma, vwma, swma, linreg, median
length: - Defaulted to 20. Can chose custom length
o: - Optional different open source. By default is set to open
h: - Optional different high source. By default is set to high
l: - Optional different low source. By default is set to low
c: - Optional different close source. By default is set to close
Returns: [maOpen, maHigh, maLow, maClose]: Custom Moving Average based OHLC values
hacandles() hacandles: Provides Heikin Ashi OHLC values
Returns: [haOpen, haHigh, haLow, haClose]: Custom Heikin Ashi OHLC values
ocandles(type, length, shortLength, longLength, method, highlowLength, sticky, percentCandles) macandles: Provides OHLC of moving average candles
Parameters:
type: - Oscillator Type. Can be cci, cmo, cog, mfi, roc, rsi, tsi, mfi
length: - Defaulted to 14. Can chose custom length
shortLength: - Used only for TSI. Default is 13
longLength: - Used only for TSI. Default is 25
method: - Valid values for method are : sma, ema, hma, rma, wma, vwma, swma, highlow, linreg, median
highlowLength: - length on which highlow of the oscillator is calculated
sticky: - overbought, oversold levels won't change unless crossed
percentCandles: - candles are generated based on percent with respect to high/low instead of actual oscillator values
Returns: [maOpen, maHigh, maLow, maClose]: Custom Moving Average based OHLC values
customcandles: Contains methods which can send custom candlesticks based on the input
macandles(maType, length, o, h, l, c) macandles: Provides OHLC of moving average candles
Parameters:
maType: - Moving average Type. Can be sma, ema, hma, rma, wma, vwma, swma, linreg, median
length: - Defaulted to 20. Can chose custom length
o: - Optional different open source. By default is set to open
h: - Optional different high source. By default is set to high
l: - Optional different low source. By default is set to low
c: - Optional different close source. By default is set to close
Returns: [maOpen, maHigh, maLow, maClose]: Custom Moving Average based OHLC values
hacandles() hacandles: Provides Heikin Ashi OHLC values
Returns: [haOpen, haHigh, haLow, haClose]: Custom Heikin Ashi OHLC values
ocandles(type, length, shortLength, longLength, method, highlowLength, sticky, percentCandles) macandles: Provides OHLC of moving average candles
Parameters:
type: - Oscillator Type. Can be cci, cmo, cog, mfi, roc, rsi, tsi, mfi
length: - Defaulted to 14. Can chose custom length
shortLength: - Used only for TSI. Default is 13
longLength: - Used only for TSI. Default is 25
method: - Valid values for method are : sma, ema, hma, rma, wma, vwma, swma, highlow, linreg, median
highlowLength: - length on which highlow of the oscillator is calculated
sticky: - overbought, oversold levels won't change unless crossed
percentCandles: - candles are generated based on percent with respect to high/low instead of actual oscillator values
Returns: [maOpen, maHigh, maLow, maClose]: Custom Moving Average based OHLC values
릴리즈 노트
v2Added:
bcandles(btype, maType, length, multiplier, useTrueRange, sticky) bcandles returns candlestick made of percent range of bands - bollinger bands, keltner channel and donchian channel
Parameters:
btype: Band Type. Valid options bb, kc and dc
maType: Moving Average Type : Can be sma, ema, hma, rma, wma, vwma, swma, highlow, linreg, median
length: Moving Average Length
multiplier: Standard Deviation or ATR multiplier. Not applicable for Donchian Channel
useTrueRange: - if set to false, uses high-low. Only applicable for Keltener Channel
sticky: - sticky boundaries which will only change when value is outside boundary.
Returns: [bOpen, bHigh, bLow, bClose] OHLC of band percentage
파인 라이브러리
진정한 트레이딩뷰 정신에 따라 작성자는 이 파인 코드를 오픈 소스 라이브러리로 공개하여 커뮤니티의 다른 파인 프로그래머들이 재사용할 수 있도록 했습니다. 작성자에게 건배! 이 라이브러리는 개인적으로 또는 다른 오픈 소스 출판물에서 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰의 적용을 받습니다.
Trial - trendoscope.io/trial
Subscribe - trendoscope.io/pricing
Blog - docs.trendoscope.io
Subscribe - trendoscope.io/pricing
Blog - docs.trendoscope.io
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.
파인 라이브러리
진정한 트레이딩뷰 정신에 따라 작성자는 이 파인 코드를 오픈 소스 라이브러리로 공개하여 커뮤니티의 다른 파인 프로그래머들이 재사용할 수 있도록 했습니다. 작성자에게 건배! 이 라이브러리는 개인적으로 또는 다른 오픈 소스 출판물에서 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰의 적용을 받습니다.
Trial - trendoscope.io/trial
Subscribe - trendoscope.io/pricing
Blog - docs.trendoscope.io
Subscribe - trendoscope.io/pricing
Blog - docs.trendoscope.io
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.