Skip to main content

Trend Indicators

Calculates technical analysis indicators related to trends in financial data.

Common Properties

  • Name - The custom name of the node.
  • Color - The custom color of the node.
  • Delay Before (sec) - Waits in seconds before executing the node.
  • Delay After (sec) - Waits in seconds after executing node.
  • Continue On Error - Automation will continue regardless of any error. The default value is false.
info

If the ContinueOnError property is true, no error is caught when the project is executed, even if a Catch node is used.

Inputs

  • Data Path - The file path to the input data in CSV format.
  • Index Key - The column name to be used as the index (default: "date").
  • Length - The length parameter for the indicator calculation (default: "10").
  • Indicator Path - The file path where the output indicator data will be saved.
  • Custom Indicator - A custom indicator name to use instead of the selected option.

Options

  • Indicator - The specific trend indicator to calculate. Currently supports:
    • ADX (Average Directional Movement Index)
    • AMAT (Archer Moving Averages Trends)
    • Aroon & Aroon Oscillator
    • CHOP (Choppiness Index)
    • CKSP (Chande Kroll Stop)
    • Decay
    • Linear Decay (Formally)
    • Decreasing
    • Increasing
    • Long Run
    • PSAR (Parabolic Stop and Reverse)
    • Q Stick
    • Short Run
    • TSIGNALS (Trend Signals)
    • TTM Trend
    • VHF (Vertical Horizontal Filter)
    • Vortex
    • XSIGNALS (Cross Signals)

Output

  • The calculated indicator values saved to the specified Indicator Path in CSV format.

How It Works

The Trend Indicators node calculates technical analysis indicators related to trends in financial data. When executed, the node:

  1. Reads the input data from the specified Data Path
  2. Sets the Index Key column as the index for the data
  3. Calculates the selected trend indicator using the specified Length parameter
  4. Saves the results to the specified Indicator Path

Requirements

  • A CSV file with financial data at the specified Data Path
  • Valid column names in the CSV file
  • Write permissions for the specified Indicator Path

Error Handling

The node will return specific errors in the following cases:

  • Empty or invalid Data Path
  • Invalid Indicator Path
  • Invalid Length parameter
  • Invalid Custom Indicator name
  • Issues reading or writing CSV files

Usage Notes

  • The default Length is 10, but can be adjusted based on your analysis needs
  • The calculated indicators are saved in CSV format at the specified Indicator Path
  • For best results, ensure your input data is properly formatted with consistent intervals