- 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.
30 lines
623 B
JSON
30 lines
623 B
JSON
{
|
|
"name": "Bollinger Bands",
|
|
"description": "Bollinger Bands volatility indicator",
|
|
"type": "bollinger_bands",
|
|
"display_type": "overlay",
|
|
"default_parameters": {
|
|
"period": 20,
|
|
"std_dev": 2.0
|
|
},
|
|
"parameter_schema": {
|
|
"period": {
|
|
"type": "int",
|
|
"min": 5,
|
|
"max": 100,
|
|
"default": 20,
|
|
"description": "Period for middle line (SMA)"
|
|
},
|
|
"std_dev": {
|
|
"type": "float",
|
|
"min": 0.5,
|
|
"max": 5.0,
|
|
"default": 2.0,
|
|
"description": "Standard deviation multiplier"
|
|
}
|
|
},
|
|
"default_styling": {
|
|
"color": "#6f42c1",
|
|
"line_width": 1
|
|
}
|
|
} |