通达信多头进攻副图指标
资:=FINANCE(34);
利:=FINANCE(33);
公:=FINANCE(18);
未:=FINANCE(32);
STICKLINE(资+利+公>C ,1,1.005,4,0),COLOR3366AA,LINETHICK3;
STICKLINE(资>C,1,1.01,4,0),COLOR0033AA,LINETHICK3;
ZJ:=(C+C+L+H)/4;
ZJ5:=MA(ZJ,5);
VAR1:=ZJ5/MA(C,20);
VAR2:=ZJ5/MA(C,50);
A:=MA(C,5)>REF(MA(C,5),1);
B:=MA(C,10)>=REF(MA(C,10),1);
先遣多头:IF(VAR1>1.02,1.03,VAR1),COLORYELLOW;
多头进攻:STICKLINE( 先遣多头>1.019 AND A,先遣多头,先遣多头,4,0),COLORRED,LINETHICK3;
后援:IF(VAR2>1,1,VAR2),COLORCCCC00;
强攻:STICKLINE(后援=1 AND B ,1,1,4,0),COLORFFFF00,LINETHICK3;
VAR3:= REF(MA(ZJ,5),1);{天天查股网WWW.ttchagu.com}
A1:=SMA(MAX(C-VAR3,0),9,1)/SMA(ABS(C-VAR3),9,1)*100;
B1:=100*(HHV(H,14)-C)/(HHV(H,14)-LLV(L,14));
初显黄珠试买:STICKLINE(A1-B1>0 ,1.05,1.04,4,0),COLORYELLOW;
KS13:=(C-SMA(C,13,1))/SMA(C,13,1)*(-100);
AAA:=REF(KS13,1)>13 AND REF(KS13,1)/KS13>1.23 AND C/REF(C,1)>1.03;
抄底:IF(AAA AND REF(C,1)<COST(5),0.95,1),COLORWHITE;
DRAWTEXT(抄底=0.95,0.94,'←抄底'),COLORYELLOW;
多方:=EMA(WINNER(C)*70,2);
空方:=EMA((WINNER(C*1.1)-WINNER(C*0.9))*70,2);
初显红珠追强:STICKLINE(多方>空方 AND 后援=1 AND B,1.07,1.06,4,0),COLORRED;
捕捉:IF(多方>空方 AND 后援=1 AND B AND COUNT(多方>空方 AND 后援=1 AND B,5)=1,1.03,1),COLORFFFF00;
DRAWTEXT(捕捉=1.03,1.02,'←捕捉'),COLORYELLOW;
VAR6:=MA(ZJ,27);
VAR7:=(ZJ-VAR6)/VAR6;
E:=MA(VAR7,2);
F:=BARSLAST(CROSS(-0.1,E)=1);
G:=E<-0.1 AND F>3;
超跌:STICKLINE(G,0.99,1,4,0),COLOR33CCFF;
STICKLINE(VAR2<0.82,0.98,1,4,0),COLORYELLOW;
STICKLINE(VAR2<0.8,0.97,1,4,0),COLORYELLOW;BIAS1:=(C-MA(C,6))/MA(C,6)*100;