PINE LIBRARY

AdxCalcHourly

Updated
Library "AdxCalcHourly"

getBars()
  getBars: Returns the number of bars to use in the historical lookback period
  Returns: simple int

directionDown()
  directionDown: Calculates the direction down for bar_index
  Returns: series float

directionUp()
  directionUp: Calculates the direction up for bar_index
  Returns: series float

trueRangeMovingAverage()
  trueRangeMovingAverage: Calculates the true range moving average over the historical lookback period
  Returns: series float

positiveDirectionalMovement()
  positiveDirectionalMovement: Calculates the positive direction movement for bar_index
  Returns: series float

negativeDirectionalMovement()
  negativeDirectionalMovement: Calculates the begative direction movement for bar_index
  Returns: series float

totalDirectionDown()
  totalDirectionDown: Calculates the total direction down for the historical lookback period
  Returns: series float

totalDirectionUp()
  totalDirectionUp: Calculates the total direction up for the historical lookback period
  Returns: series float

totalDirection()
  totalDirection: Calculates the total direction movement for the historical lookback period
  Returns: series float

averageDirectionalIndex()
  averageDirectionalIndex: Calculates the average directional index (ADX) based on the trend for the historical lookback period
  Returns: series float

getAdxHistoricalAverage()
  getAdxHistoricalAverage: Calculates the average directional index (ADX) for the historical lookback period
  Returns: series float

getAdxHistoricalHigh()
  getAdxHistoricalHigh: Calculates the historical high of the directional index (ADX) for the historical lookback period
  Returns: series float

getAdxHistoricalLow()
  getAdxHistoricalLow: Calculates the historical low of the directional index (ADX) for the historical lookback period
  Returns: series float

getAdxOpinion()
  getAdxOpinion: Calculatesa recomendation for the directional index (ADX) based on the historical lookback period
  Returns: series float
Release Notes
v2
Release Notes
v3
Release Notes
v4
Release Notes
v5
Release Notes
v6
Release Notes
v7

Added:
fun(x)
  TODO: add function description here
  Parameters:
    x: TODO: add parameter x description here
  Returns: TODO: add what function returns

Removed:
getBars()
  getBars: Returns the number of bars to use in the historical lookback period

directionDown()
  directionDown: Calculates the direction down for bar_index

directionUp()
  directionUp: Calculates the direction up for bar_index

trueRangeMovingAverage()
  trueRangeMovingAverage: Calculates the true range moving average over the historical lookback period

positiveDirectionalMovement()
  positiveDirectionalMovement: Calculates the positive direction movement for bar_index

negativeDirectionalMovement()
  negativeDirectionalMovement: Calculates the begative direction movement for bar_index

totalDirectionDown()
  totalDirectionDown: Calculates the total direction down for the historical lookback period

totalDirectionUp()
  totalDirectionUp: Calculates the total direction up for the historical lookback period

totalDirection()
  totalDirection: Calculates the total direction movement for the historical lookback period

averageDirectionalIndex()
  averageDirectionalIndex: Calculates the average directional index (ADX) based on the trend for the historical lookback period

getAdxHistoricalAverage()
  getAdxHistoricalAverage: Calculates the average directional index (ADX) for the historical lookback period

getAdxHistoricalHigh()
  getAdxHistoricalHigh: Calculates the historical high of the directional index (ADX) for the historical lookback period

getAdxHistoricalLow()
  getAdxHistoricalLow: Calculates the historical low of the directional index (ADX) for the historical lookback period

getAdxOpinion()
  getAdxOpinion: Calculatesa recomendation for the directional index (ADX) based on the historical lookback period
Release Notes
v8
statistics

Pine library

In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in a publication is governed by House rules.

Disclaimer