diff --git a/3in1 copy.pine b/3in1 copy.pine index a2be915..66d62a4 100644 --- a/3in1 copy.pine +++ b/3in1 copy.pine @@ -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独立显示 -// ✓ 表格化数值显示 \ No newline at end of file +// ✓ 表格化数值显示 +// ✓ SRBR支撑阻力分析 +// ✓ 高级警报SRBR过滤 +// ✓ 多时间周期SRBR状态 \ No newline at end of file