Upload files to "static"

init
This commit is contained in:
2025-07-14 10:33:53 +00:00
parent 53adacdeb7
commit d2c777f0d4
5 changed files with 322 additions and 0 deletions

13
static/indicators.js Normal file
View File

@ -0,0 +1,13 @@
/**
* 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
];