2025年8月2日 06:17

This commit is contained in:
2025-08-02 06:17:53 +00:00
parent 843619e0d5
commit 6e502774cd

View File

@@ -2397,11 +2397,41 @@ if barstate.islast
// ✓ 状态变化检测
// ✓ 分段线颜色编码
//
// ═════════ SRBR调试信息显示 ═════════
if show_srbr_debug and barstate.islast
var label debug_label = na
label.delete(debug_label)
debug_text = "SRBR调试信息:\n"
debug_text += "支撑位: " + str.tostring(srbr_supportLevel, '#.##') + "\n"
debug_text += "阻力位: " + str.tostring(srbr_resistanceLevel, '#.##') + "\n"
debug_text += "成交量: " + str.tostring(srbr_vol, '#.##') + "\n"
debug_text += "成交量高阈值: " + str.tostring(srbr_vol_hi, '#.##') + "\n"
debug_text += "成交量低阈值: " + str.tostring(srbr_vol_lo, '#.##') + "\n"
debug_text += "阻力突破: " + str.tostring(srbr_brekout_res) + "\n"
debug_text += "阻力保持: " + str.tostring(srbr_res_holds) + "\n"
debug_text += "支撑保持: " + str.tostring(srbr_sup_holds) + "\n"
debug_text += "支撑突破: " + str.tostring(srbr_brekout_sup) + "\n"
debug_text += "看涨信号: " + str.tostring(srbr_bullish_signal) + "\n"
debug_text += "看跌信号: " + str.tostring(srbr_bearish_signal) + "\n"
debug_label := label.new(
x=bar_index,
y=high,
text=debug_text,
style=label.style_label_down,
color=color.new(color.blue, 20),
textcolor=color.white,
size=size.normal)
// 新增综合功能:
// ✓ 指标统一显示
// ✓ 指标统一显示 (MRC+MA200+RSI+SRBR)
// ✓ 实时数值表格
// ✓ 趋势综合判断
// ✓ 震荡/趋势识别
// ✓ 窗口一K线+MRC+MA
// ✓ 窗口二RSI独立显示
// ✓ 表格化数值显示
// ✓ 表格化数值显示
// ✓ SRBR支撑阻力分析
// ✓ 高级警报SRBR过滤
// ✓ 多时间周期SRBR状态