主散趋势副图 情绪监控主力跟踪趋势定位买卖点触发 中短线趋势交易
该指标基于四层决策框架(情绪监控、主力跟踪、趋势定位、买卖点触发)构建完整交易逻辑,适用于中短线趋势跟踪。建议模拟盘验证参数适应性,再结合自身风险偏好调整策略。
信号组合出现“吸筹柱、买关注、趋势线低于25”时,历史回测显示沪指2023年2月该信号后5日上涨概率达88%。
副图
{主散趋势}M:=60;N:=30;散户线: 100*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M)),COLORGREEN,LINETHICK2;RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;K:=SMA(RSV,5,1);D:=SMA(K,3,1);J:=3*K-2*D;主力线:EMA(J,6),COLORRED,LINETHICK2;ZBGS2:=REF(LOW,1);ZBGS3:=SMA(ABS(LOW-ZBGS2),3,1)/SMA(MAX(LOW-ZBGS2,0),3,1)*100;ZBGS4:=EMA(IF(CLOSE*1.3,ZBGS3*10,ZBGS3/10),3);ZBGS5:=LLV(LOW,30);ZBGS6:=HHV(ZBGS4,30);ZBGS7:=IF(MA(CLOSE,58),1,0);ZBGS8:=EMA(IF(LOW<=ZBGS5,(ZBGS4+ZBGS6*2)/2,0),3)/618*ZBGS7;ZBGS9:=IF(ZBGS8>100,100,ZBGS8);吸筹:STICKLINE(ZBGS9>-120,0,ZBGS9,2,5),COLORMAGENTA;AA3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;AA4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;AA5:=SMA(AA4,13,8);趋势:CEILING(SMA(AA5,13,8)),COLORYELLOW;AA6:=SMA(AA3,21,8);买观注: STICKLINE(趋势-AA6< -65,0,7,15,1);DRAWICON(FILTER(J>REF(J,1)AND 趋势>=REF(趋势,1)AND 趋势< 25 ,5),趋势,3);卖观注: STICKLINE(趋势-AA6>85,98,90,15,1),COLORFFFF00;DRAWICON(FILTER(J< REF(J,1)AND 趋势<=REF(趋势,1)AND J>85 ,5),J,6);金叉: CROSS(主力线,散户线);DRAWTEXT(金叉,主力线,'★'),COLORRED;死叉: CROSS(散户线,主力线);DRAWTEXT(死叉,散户线,'☆'),COLOR00F300;