PINE LIBRARY

CandlestickPatterns

Library "CandlestickPatterns"

zigzag(_low, _high, depth, deviation, backstep)
  Parameters:
    _low (float)
    _high (float)
    depth (int)
    deviation (int)
    backstep (int)

getTrend(trendType, currentClose, zz_downtrend, zz_uptrend, ema14, ema28)
  Parameters:
    trendType (string)
    currentClose (float)
    zz_downtrend (bool)
    zz_uptrend (bool)
    ema14 (float)
    ema28 (float)

isInside(currentHigh, currentLow, currentClose, currentOpen, prevHigh, prevLow)
  Parameters:
    currentHigh (float)
    currentLow (float)
    currentClose (float)
    currentOpen (float)
    prevHigh (float)
    prevLow (float)

checkMorningStar(open0, high0, low0, close0, open1, high1, low1, close1, open2, high2, low2, close2, innerCandleThreshold, closingMinThreshold, closingMaxThreshold, useDojiFilter, dojiSize, downTrend)
  Parameters:
    open0 (float)
    high0 (float)
    low0 (float)
    close0 (float)
    open1 (float)
    high1 (float)
    low1 (float)
    close1 (float)
    open2 (float)
    high2 (float)
    low2 (float)
    close2 (float)
    innerCandleThreshold (float)
    closingMinThreshold (float)
    closingMaxThreshold (float)
    useDojiFilter (bool)
    dojiSize (float)
    downTrend (bool)

checkEveningStar(open0, high0, low0, close0, open1, high1, low1, close1, open2, high2, low2, close2, innerCandleThreshold, closingMinThreshold, closingMaxThreshold, useDojiFilter, dojiSize, upTrend)
  Parameters:
    open0 (float)
    high0 (float)
    low0 (float)
    close0 (float)
    open1 (float)
    high1 (float)
    low1 (float)
    close1 (float)
    open2 (float)
    high2 (float)
    low2 (float)
    close2 (float)
    innerCandleThreshold (float)
    closingMinThreshold (float)
    closingMaxThreshold (float)
    useDojiFilter (bool)
    dojiSize (float)
    upTrend (bool)

checkHammerPattern(open, high, low, close, bodyAvg, shadowFactor, downTrend)
  Parameters:
    open (float)
    high (float)
    low (float)
    close (float)
    bodyAvg (float)
    shadowFactor (float)
    downTrend (bool)

checkInvertedHammerPattern(open, high, low, close, bodyAvg, shadowFactor, downTrend)
  Parameters:
    open (float)
    high (float)
    low (float)
    close (float)
    bodyAvg (float)
    shadowFactor (float)
    downTrend (bool)

checkHangingManPattern(open, high, low, close, bodyAvg, shadowFactor, upTrend)
  Parameters:
    open (float)
    high (float)
    low (float)
    close (float)
    bodyAvg (float)
    shadowFactor (float)
    upTrend (bool)

checkShootingStarPattern(open, high, low, close, bodyAvg, shadowFactor, upTrend)
  Parameters:
    open (float)
    high (float)
    low (float)
    close (float)
    bodyAvg (float)
    shadowFactor (float)
    upTrend (bool)

checkLevels(high0, high1, high2, low0, low1, low2, lookbackPeriod)
  Parameters:
    high0 (float)
    high1 (float)
    high2 (float)
    low0 (float)
    low1 (float)
    low2 (float)
    lookbackPeriod (int)
techindicator

파인 라이브러리

진정한 TradingView 정신에 따라, 저자는 이 파인 코드를 다른 파인 프로그래머들이 재사용할 수 있도록 오픈 소스 라이브러리로 공개했습니다. 저자에게 박수를 보냅니다! 이 라이브러리는 개인적으로 사용하거나 다른 오픈 소스 출판물에서 사용할 수 있지만, 이 코드를 출판물에서 재사용하는 것은 하우스 룰에 의해 관리됩니다.

면책사항