Momentum Indicators
Calculates technical analysis indicators related to momentum 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").
- Signal Length - The signal length parameter for the indicator calculation (default: "9").
- 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 momentum indicator to calculate. Currently supports:
- Awesome Oscillator (AO)
- Absolute Strength Histogram (ASH)
- Bears Power
- Bulls Power
- Chaikin Oscillator
- Chande Momentum Oscillator (CMO)
- Elders Force Index
- Kaufman's Adaptive Moving Average (KAMA)
- Percent Volume Oscillator (PVO)
- Pretty Good Oscillator (PGO)
- Relative Strength Index (RSI)
- Relative Vigor Index (RVI)
- Stochastic Oscillator
- True Strength Index (TSI)
- Ultimate Oscillator
- Williams %R
Output
- The calculated indicator values saved to the specified Indicator Path in CSV format.
How It Works
The Momentum Indicators node calculates technical analysis indicators related to momentum in financial data. When executed, the node:
- Reads the input data from the specified Data Path
- Sets the Index Key column as the index for the data
- Calculates the selected momentum indicator using the specified Length and Signal Length parameters
- 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 Signal Length parameter
- Invalid Custom Indicator name
- Issues reading or writing CSV files
Usage Notes
- The default Length is 10 and Signal Length is 9, 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