通达信指标:春夏放马
A1:=3*SMA((C-LLV(L,60))/(HHV(H,60)-LLV(L,60))*100,5,1)-2*SMA((C-LLV(L,60))/
(HHV(H,60)-LLV(L,60))*100,5,1);
黑马线:=EMA(A1,5),LINETHICK1,COLORFF6600;
A2:=(黑马线-REF(黑马线,1))/REF(黑马线,1)*100+10,COLORFF0099;
A3:=EMA(C,5);
A4:=((C-LLV(L,20))/(HHV(H,20)-LLV(L,20)))*100;
K20:=SMA(A4,6,1),LINETHICK1,COLOR33FF00;
春夏放马:MA(2*SMA(A4,6,1)-SMA(SMA(A4,6,1),6,1),3),LINETHICK2,COLOR00FF00,CROSSDOT;
秋冬休养:IF(春夏放马<REF(春夏放马,1),春夏放马,DRAWNULL),LINETHICK2,COLOR0066CC,CROSSDOT;
买:=IF(LLV(K20,5)<10 AND (C=LLV(C,10) OR L=LLV(L,10)) AND C>REF(C,1)*0.905,40,0),
COLOR0033FF;
买白马:IF((A2<-3 OR LLV(K20,5)<10) AND (C=LLV(C,10) OR L=LLV(L,10)) AND C>REF(C,1)
*0.905,30,0),LINETHICK2,COLORFFFFFF;
买马:IF(买白马=30,88,DRAWNULL),CROSSDOT,LINETHICK3,COLORFFFFFF;
DRAWICON(买=40,40,9);
残冬:IF(HHV((MA(C,5)-C)/C,5)>0.07 AND HHV((MA(C,10)-MA(C,5))/MA(C,5),5)>0.05
AND (C=LLV(C,10) OR L=LLV(L,10)) AND C<L*1.04 AND C>REF(C,1)*0.905,40,0),
COLORF00FF0;
寒潮将临:IF((HHV(A1,10)>90 OR HHV(春夏放马,10)>88) AND (C=HHV(C,10) OR H=HHV(H,10)),
春夏放马,DRAWNULL),CROSSDOT,LINETHICK3,COLORFF6699;
寒潮:IF((HHV(A1,10)>90 OR HHV(春夏放马,10)>88) AND (C=HHV(C,10) OR H=HHV(H,10)),
80,100),LINETHICK1,COLORFF6699;