源码
{24变盘点}
if count(c,0)>1000 then begin
Var1:=MA(CLOSE,5);
Var2:=MA(CLOSE,10);
Var3:=MA(CLOSE,30);
Var4:=MA(CLOSE,60);
Var5:=EMA(COST(85),7);
Var6:=EMA(COST(15),7);
Var7:=SUM(CLOSE*VOL*100,4)/SUM(VOL*100,4);
Var8:=INTPART(Var7*100)/100;
Var9:=SUM(CLOSE*VOL*100,7)/SUM(VOL*100,7);
VarA:=INTPART(Var9*100)/100;
VarB:=SUM(CLOSE*VOL*100,28)/SUM(VOL*100,28);
VarC:=INTPART(VarB*100)/100;
VarD:=EMA(CLOSE,5)-EMA(CLOSE,10);
VarE:=EMA(CLOSE,5)-EMA(CLOSE,10);
VarF:=EMA(VarD,9);
放空段:= IF(VarD>VarF,VarF,VarE);
持股段:= IF(VarD< VarF,VarF,VarE);
四年最高价:HHV(HIGH,1000),linethick0;
四年最低价:LLV(LOW,1000),linethick0;
变盘:=(HHV(HIGH,1000)+LLV(LOW,1000))/2;
变盘点突破:COUNT(C>变盘,2)>0 AND COUNT(REF(C,2)>变盘,240)=0,stick3d,colorred;
END;