以下是通达信牛股主图+副图选股公式
通达信牛股主图+副图选股公式
源码
{牛股主图}
MA5:MA(C,5);
绿线:HHV(MA5,90),COLORGREEN,LINETHICK2;
PVAR2:=CLOSE*VOL;
PVAR3:=EMA((EMA(PVAR2,3)/EMA(VOL,3)+EMA(PVAR2,6)/EMA(VOL,6)
+EMA(PVAR2,12)/EMA(VOL,12)+EMA(PVAR2,24)/EMA(VOL,24))/4,13);
红线:1.06*PVAR3,COLORRED,LINETHICK2;
{牛股副图选股}
MA5:=MA(C,5);
绿线:=HHV(MA5,90);
PVAR2:=CLOSE*VOL;
PVAR3:=EMA((EMA(PVAR2,3)/EMA(VOL,3)+EMA(PVAR2,6)/EMA(VOL,6)
+EMA(PVAR2,12)/EMA(VOL,12)+EMA(PVAR2,24)/EMA(VOL,24))/4,13);
红线:=1.06*PVAR3;
XG:C>绿线 AND O<红线 AND C>红线 AND H=HHV(H,30) AND C=HHV(C,30) AND C/REF(C,1)>1.05
AND MA(V,5)>MA(V,60);