3、—工工VA)n二g7OIH)VW+(z?(g7OIH)VW)Mod"二g」oeVW+(z?(g」oeVW)Mod"二gMscno)VW+(2?(gMSOM)VW)Mod"-自va學(xué)AEVACI2VAO2VAqsVA6SVA8SVAEVA9SVAgsVAEVAEVA21A0-i-CIHVA苑—EVA為H-(zOHVA為g"?O+(IOHVA)工困龍99o)vw研iAVAR20:=VAR8+VARD+VAR14+VAR1D;VAR21:=VAR9+VARE+VAR15+VAR1E;VAR22:二(HIGH+LOW
4、+CLOSE)/3;VAR23:=AM0UNT/V0L/100;VAR24:=SUM(AMOUNT,5)/SUM(VOL,5)/100;VAR25:=(VAR22-MA(VAR22,34))/(0.015*AVEDEV(VAR22,34));VAR26:=DMA(AM0UNT/V0L/100,V0L/CAP1TAL);VAR27:二(HIGH+L0W+CL0SE+VAR22)/4;VAR28:=EMA(VAR27,24);VAR29:=STD(VAR27,24);VAR2A:二(VAR27-VAR28)/VA
5、R29*100;VAR2B:=(VAR22-MA(VAR22,24))/(0.015*AVEDEV(VAR22,24));VAR2C:二EMA(VAR2A,5);VAR2D:=(VAR23-MA(VAR23,21))/(0.015*AVEDEV(VAR23,21));VAR2E:=(VAR24-MA(VAR24,90))/(0.015*AVEDEV(VAR24,90));VAR2F:二((VAR2C+VAR2B+VAR25)/3+165)/4;VAR30:=(EMA(EMA(EMA(VAR2F,15),10)
6、,5)-25)*2+VAR26;VAR31:二(VAR1F+VAR20+VAR21*30)/32/5-15;VAR32:=EMA(VAR31,13);VAR33:=(VAR2F+VAR31)/2/1.1;VAR34:=VAR33;價位線:EMA(VAR34,1),COLORFFFFOO;VAR35:二EMA(價位線,12);趨勢線:EMA((VAR30+VAR32)/2,2),LINETIIICK2;VAR36:二EMA(趨勢線,34);VAR37:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,
7、6)*100;VAR38:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;VAR39:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;VAR3A:=(VAR37+2*VAR38+3*VAR39)/6;VAR3B:二MA(VAR3A,3);1F(VAR3B=1ORCROSS(價位線,趨勢線)ANDCOUNT(VAR3B<-12,2
8、)>=1;VAR3D:=STICKLINE(VAR3C,100,0,3,0);DRAWTC0N(VAR3C,100,1);DRAWICON(CROSS(價位線,趨勢線)ANDCOUNT(VAR3B二1ORCROSS(價位線,0)ANDCOUNT(VAR3B=1,-5,1);【通達信】波段金牌(價位線、趨勢線)■指標公式效果圖令(文檔來源:若水財經(jīng)社區(qū))