副图和选股公式,信号比较多,出现紫色柱为上车信号,请与其他指标印证使用。
源码:
TJ1:=EMA(((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25)))*100,5);
TJ2:=(HHV(HIGH,25)-LLV(LOW,25))/(EMA(CLOSE-LLV(LOW,25),5));
TJ3:=CROSS(TJ2,TJ1);
TJ4:=REF(TJ2,2);
TJ5:=(COUNT(TJ3,7)>0) AND TJ4;
底部满仓 :=TJ5 AND (COUNT(TJ5,5)=1);
DRAWTEXT_FIX(C>O,0.01,0.9,0,’SGZBK.TOP’),COLORYELLOW;
CL1:=REF(CLOSE,1);
CL2:=SUM(VOL,2)/((HHV(HIGH,2)-LLV(LOW,2))*100);
CL3:=(CLOSE-CL1)*CL2;
CL4:=SUM(CL3,0);
CL5:=SMA(CL4,7,1);
CL6:=SMA(CL4,89,1);
CL:=CL5-CL6;
MA1:=MA(CL,5);
天天满仓:=(底部满仓 AND (MA1<0));
DRAWTEXT(天天满仓,0.85,140),COLORMAGENTA;
DRAWBAND(天天满仓,RGB(255,0,255),0,RGB(0,0,0));
选股:
TJ1:=EMA(((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25)))*100,5);
TJ2:=(HHV(HIGH,25)-LLV(LOW,25))/(EMA(CLOSE-LLV(LOW,25),5));
TJ3:=CROSS(TJ2,TJ1);
TJ4:=REF(TJ2,2);
TJ5:=(COUNT(TJ3,7)>0) AND TJ4;
底部满仓 :=TJ5 AND (COUNT(TJ5,5)=1);
CL1:=REF(CLOSE,1);
CL2:=SUM(VOL,2)/((HHV(HIGH,2)-LLV(LOW,2))*100);
CL3:=(CLOSE-CL1)*CL2;
CL4:=SUM(CL3,0);
CL5:=SMA(CL4,7,1);
CL6:=SMA(CL4,89,1);
CL:=CL5-CL6;
MA1:=MA(CL,5);
天天满仓:底部满仓 AND (MA1<0);
指标仅供参考,不作投资依据。