2025-06-04 13:01:57 +08:00
|
|
|
{
|
|
|
|
|
"name": "MACD",
|
|
|
|
|
"description": "Moving Average Convergence Divergence",
|
|
|
|
|
"type": "macd",
|
|
|
|
|
"display_type": "subplot",
|
2025-06-06 15:06:17 +08:00
|
|
|
"timeframe": null,
|
2025-06-04 13:01:57 +08:00
|
|
|
"default_parameters": {
|
|
|
|
|
"fast_period": 12,
|
|
|
|
|
"slow_period": 26,
|
|
|
|
|
"signal_period": 9
|
|
|
|
|
},
|
|
|
|
|
"parameter_schema": {
|
|
|
|
|
"fast_period": {
|
|
|
|
|
"type": "int",
|
|
|
|
|
"min": 2,
|
|
|
|
|
"max": 50,
|
|
|
|
|
"default": 12,
|
|
|
|
|
"description": "Fast EMA period"
|
|
|
|
|
},
|
|
|
|
|
"slow_period": {
|
|
|
|
|
"type": "int",
|
|
|
|
|
"min": 5,
|
|
|
|
|
"max": 100,
|
|
|
|
|
"default": 26,
|
|
|
|
|
"description": "Slow EMA period"
|
|
|
|
|
},
|
|
|
|
|
"signal_period": {
|
|
|
|
|
"type": "int",
|
|
|
|
|
"min": 2,
|
|
|
|
|
"max": 30,
|
|
|
|
|
"default": 9,
|
2025-06-06 15:06:17 +08:00
|
|
|
"description": "Signal line period for MACD"
|
|
|
|
|
},
|
|
|
|
|
"timeframe": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"default": null,
|
|
|
|
|
"description": "Indicator timeframe (e.g., '1h', '4h'). Null for chart timeframe."
|
2025-06-04 13:01:57 +08:00
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"default_styling": {
|
|
|
|
|
"color": "#fd7e14",
|
2025-06-06 15:06:17 +08:00
|
|
|
"line_width": 2,
|
|
|
|
|
"macd_line_color": "#007bff"
|
2025-06-04 13:01:57 +08:00
|
|
|
}
|
|
|
|
|
}
|