源码
M1:=27;M2:=9;M3:=3;M4:=16;
Var2:=(CLOSE-LLV(LOW,M1))/(HHV(HIGH,M1)-LLV(LOW,M1))*100;
获利盘: WINNER(CLOSE)*100;
Var3:=SMA(Var2,3,1);
Var4:=SMA(Var3,M2,1);
Var5:=3*Var3-2*Var4;
Var6:=VOL;
量比: VOL/MA(VOL,5);
涨跌: (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
角度: (CLOSE-REF(OPEN,29))/REF(OPEN,29)*100;
换手: VOL/CAPITAL*100;
Var7:=SUM(换手,30);
Var8:=LLV(INDEXL,5);
Var9:=HHV(INDEXH,5);
VarA:=EMA((INDEXC-Var8)/(Var9-Var8)*100,4);
VarB:=MA(EMA(0.667*REF(VarA,1)+0.333*VarA,2),9);
VarC:=MA(VarB,30);
VarD:=EMA(获利盘,4);
本盘亿股: CAPITAL/1000000;
振幅: (HIGH-LOW)/REF(CLOSE,1)*100;
V5: MA(VOL,5)*2;
VarE:=MA(V5,3);
V34: MA(VOL,34)*2;
VarF:=(涨跌>VarD AND 角度<-30 AND 涨跌>3);
CROSS(VarB,VarC) AND VarC<29;
STICKLINE( Var5>Var4,0,VOL,8,1);
STICKLINE( Var5<Var4,0,VOL,8,0);
STICKLINE(Var4<-1,0,VOL*0.5,10,1);
DRAWTEXT(CROSS(VarB,VarC) AND 角度<-28 AND VarC<29,VOL*1.2,'买 ');
W: DRAWTEXT(CROSS(VarC,VarB) AND VarC>58,VOL*1.2,'卖');
DRAWTEXT(CROSS(VarE,V5) AND 角度>10,V5,'<----');