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

Pine Bibliothek

Ganz im Sinne von TradingView hat dieser Autor seinen/ihren Pine Code als Open-Source-Bibliothek veröffentlicht. Auf diese Weise können nun auch andere Pine-Programmierer aus unserer Community den Code verwenden. Vielen Dank an den Autor! Sie können diese Bibliothek privat oder in anderen Open-Source-Veröffentlichungen verwenden. Die Nutzung dieses Codes in einer Veröffentlichung wird in unseren Hausregeln reguliert.

Haftungsausschluss