Vasily.onl 476bd67f14 3.4 Implement user-defined indicator management system and enhance chart capabilities
- Introduced a comprehensive user indicator management system in `components/charts/indicator_manager.py`, allowing users to create, edit, and manage custom indicators with JSON persistence.
- Added new default indicators in `components/charts/indicator_defaults.py` to provide users with immediate options for technical analysis.
- Enhanced the chart rendering capabilities by implementing the `create_chart_with_indicators` function in `components/charts/builder.py`, supporting both overlay and subplot indicators.
- Updated the main application layout in `app.py` to include a modal for adding and editing indicators, improving user interaction.
- Enhanced documentation to cover the new indicator system, including a quick guide for adding new indicators and detailed usage examples.
- Added unit tests to ensure the reliability and functionality of the new indicator management features.
2025-06-04 13:01:57 +08:00

22 lines
426 B
JSON

{
"name": "Relative Strength Index",
"description": "RSI oscillator indicator",
"type": "rsi",
"display_type": "subplot",
"default_parameters": {
"period": 14
},
"parameter_schema": {
"period": {
"type": "int",
"min": 2,
"max": 50,
"default": 14,
"description": "Period for RSI calculation"
}
},
"default_styling": {
"color": "#20c997",
"line_width": 2
}
}