Indicator icon

Indicator

Technical Indicators

Overview

This node calculates the Simple Moving Average (SMA) technical indicator, which is commonly used in financial analysis to smooth out price data and identify trends over a specified period. It is beneficial for traders and analysts who want to analyze market trends and make informed trading decisions based on historical price data.

Use Case Examples

  1. Calculating the SMA of stock prices over the last 20 days to identify trend direction.
  2. Using SMA to generate buy or sell signals in an automated trading workflow.

Output

JSON

  • sma - The calculated Simple Moving Average values based on the input data and specified period.

Dependencies

  • Requires access to historical price data input for calculation.

Troubleshooting

  • Ensure that the input data contains valid numerical price values; otherwise, the SMA calculation will fail.
  • If the period for the SMA is set too high relative to the input data length, the output may be empty or incomplete.

Links

Discussion