PINE LIBRARY

MarketAnalysis

Library "MarketAnalysis"
A collection of frequently used market analysis functions in my scripts.

bullFibRet(priceLow, priceHigh, fibLevel)
  Calculates a bullish fibonacci retracement value.
  Parameters:
    priceLow (float): (float) The lowest price point.
    priceHigh (float): (float) The highest price point.
    fibLevel (float): (float) The fibonacci level to calculate.
  Returns: The fibonacci value of the given retracement level.

bearFibRet(priceLow, priceHigh, fibLevel)
  Calculates a bearish fibonacci retracement value.
  Parameters:
    priceLow (float): (float) The lowest price point.
    priceHigh (float): (float) The highest price point.
    fibLevel (float): (float) The fibonacci level to calculate.
  Returns: The fibonacci value of the given retracement level.

bullFibExt(priceLow, priceHigh, thirdPivot, fibLevel)
  Calculates a bullish fibonacci extension value.
  Parameters:
    priceLow (float): (float) The lowest price point.
    priceHigh (float): (float) The highest price point.
    thirdPivot (float): (float) The third price point.
    fibLevel (float): (float) The fibonacci level to calculate.
  Returns: The fibonacci value of the given extension level.

bearFibExt(priceLow, priceHigh, thirdPivot, fibLevel)
  Calculates a bearish fibonacci extension value.
  Parameters:
    priceLow (float): (float) The lowest price point.
    priceHigh (float): (float) The highest price point.
    thirdPivot (float): (float) The third price point.
    fibLevel (float): (float) The fibonacci level to calculate.
  Returns: The fibonacci value of the given extension level.
Market GeometryMATHstatistics

Pine腳本庫

在真正的TradingView精神中,作者將這段Pine程式碼發佈為開源程式庫,以便我們社群的其他Pine程式設計師可以重複使用它。請向作者致敬!您可以私下使用這個函式庫,或在其他開源出版品中使用,但在出版物中再次使用這段程式碼將受到網站規則的約束。

免責聲明