Trendoscope

customcandles

Trendoscope Wizard Zaktualizowano   
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: : Custom Moving Average based OHLC values

hacandles() hacandles: Provides Heikin Ashi OHLC values
  Returns: : 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: : Custom Moving Average based OHLC values
Informacje o Wersji:
v2

Added:
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: OHLC of band percentage

Biblioteka Pine

Działając zgodnie z prawdziwym duchem TradingView, autor opublikował ten kod Pine jako bibliotekę o otwartym kodzie źródłowym, aby inni programiści Pine z naszej społeczności mogli go ponownie wykorzystać. Brawa dla niego! Możesz korzystać z tej biblioteki prywatnie lub w innych publikacjach typu open source, ale ponowne wykorzystanie tego kodu w publikacji podlega Regulaminowi.

Wyłączenie odpowiedzialności

Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.

Chcesz skorzystać z tej biblioteki?

Skopiuj poniższy wiersz i wklej go w swoim skrypcie.