Files
personal_TV/static/indicators.js
2025-07-14 10:33:53 +00:00

13 lines
547 B
JavaScript

/**
* This file acts as a central registry for all available indicators.
* To add a new indicator to the chart UI:
* 1. Create the indicator's JS file (e.g., rsi.js) with its definition object.
* 2. Make sure that file is loaded in index.html BEFORE this one.
* 3. Add the indicator's definition object (e.g., RSI_INDICATOR) to this array.
*/
const AVAILABLE_INDICATORS = [
SMA_INDICATOR,
EMA_INDICATOR,
BB_INDICATOR, // Added the new Bollinger Bands indicator
// Add other indicators here, e.g., RSI_INDICATOR
];