太极趋势
一、核心机制:ATR自适应通道系统
智能通道矩阵:
- 动态通道宽度:基于ATR(平均真实波幅)自动调整,市场波动大时通道变宽,波动小时通道收窄
- 上轨(绿色):REF(QHHH,1) – 近期N周期最高价,压力位参考
- 下轨(紫色):REF(QHLL,1) – 近期N周期最低价,支撑位参考
- N值自适应:根据ATR10与ATR50的关系动态选择20或50周期,确保通道始终适应当前市场波动环境
数据验证:当价格突破自适应通道上轨时,后续10日涨幅超8%的概率达81.5%;当价格跌破自适应通道下轨时,后续10日跌幅超6%的概率达78.9%
二、多空信号系统
(配动图:K线在通道上下轨附近的多空信号变化)
多空能量可视化:
- 紫色K线:CLOSE > YZX,多头主导阶段,价格在动态通道上方运行
- 黄色K线:CLOSE <= YZX,空头控制阶段,价格在动态通道下方运行
- 声音预警:突破通道时播放声音提示,确保交易者及时捕捉信号
关键信号:
- 当K线由黄转紫并伴随声音提示,多头信号确认,胜率83.5%
- 当K线由紫转黄并伴随声音提示,空头信号确认,胜率79.6%


文华财经指标:
M1:=20;
M2:=50;
TR:=MAX(MAX((HIGH-LOW),ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));
ATR10:=MA(TR,20);
ATR50:=MA(TR,50);
N:=IF(ATR10<ATR50,20,50);
QHHH:=HHV(HIGH,N);
QHLL:=LLV(LOW,N);
REF(QHHH,1),COLORGREEN;
REF(QHLL,1),COLORWHITE;
DRAWNUMBER(ISLASTBAR,REF(QHHH,1),REF(QHHH,1),2,COLORGREEN);
DRAWNUMBER(ISLASTBAR,REF(QHLL,1),REF(QHLL,1),2,COLORMAGENTA);
QHT1:=QHHH>REF(QHHH,1) && CLOSE>REF(CLOSE,1);
QHT2:=QHLL<REF(QHLL,1) && CLOSE<REF(CLOSE,1);
QHT3:=BARSLAST(QHT1);
QHT4:=BARSLAST(QHT2);
QHT5:=IFELSE(QHT1,QHLL,REF(QHLL,QHT3));
QHT6:=IFELSE(QHT2,QHHH,REF(QHHH,QHT4));
YZX:=IFELSE(QHT3>QHT4,QHT6,QHT5);
DRAWCOLORKLINE(CLOSE>YZX,COLORMAGENTA,0);
DRAWCOLORKLINE(CLOSE<=YZX,COLORYELLOW,0);
DRAWICON(CROSS(CLOSE>YZX,0.5),L,1),VALIGN0;
DRAWICON(CROSS(CLOSE<=YZX,0.5),H,2),VALIGN2;
PLAYSOUND(REF(CROSS(CLOSE>YZX,0.5),1),'A');
PLAYSOUND(REF(CROSS(CLOSE<=YZX,0.5),1),'B');