Upload files to "static"
init
This commit is contained in:
13
static/indicators.js
Normal file
13
static/indicators.js
Normal 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
|
||||
];
|
||||
Reference in New Issue
Block a user