2、L:=(C+O+H+L)/4;{算術(shù)均價(jià)}成交均價(jià):=AMOUNT/VOL/100;TEST:=BETWEEN(成交均價(jià),L,H);CC0:=IF(TEST,成交均價(jià),COHL),COLORWHITE;{當(dāng)均價(jià)遠(yuǎn)離算術(shù)均價(jià)時(shí),用算術(shù)均價(jià)}CC:=FORCAST(CC0,5),COLORWHITE;EMA34:=EMA(CC,34),COLORFFCC66;EMA21:=EMA(CC,21),COLORGREEN;EMA13:=EMA(CC,13),COLORFF00FF;EMA5:=EMA(EMA(CC,5),
3、2),COLORYELLOW;TJ0:=C>OANDABS(EMA13-EMA5)REF(EMA5,1)ANDEMA13>REF(EMA13,1)ANDEMA21>REF(EMA21,1)ANDEMA34>REF(EMA34,1);啟動(dòng)點(diǎn):=FILTER(TJ0,5);DRAWTEXT(啟動(dòng)點(diǎn),L*0.92,'啟動(dòng)點(diǎn)'),COLORMAGENTA;RSV:=
4、(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;X:=LLV(J,2)=LLV(J,8);VAR01:=LLV(LOW,10);VAR02:=HHV(HIGH,25);VAR03:=100*EMA((CLOSE-VAR01)/(VAR02-VAR01),4);5.1-9,,services,andmakethecitymoreattractive,strengtheningpublictransporti
5、nvestment,establishedasthebackboneoftheurbanrailtransitmulti-level,multi-functionalpublictransportsystem,thusprotectingtheregionalpositionandachieveDRAWTEXT(CROSS(VAR03,87.5),HIGH*1.02,'收手'),COLORYELLOW;DRAWTEXT(CROSS(J,REF(J+0.01,1))ANDXANDJ<20,LOW*0.96,'搶錢
6、'),COLORRED;MA5:=MA(CLOSE,5),POINTDOT,COLOR000000,LINETHICK1;MA21:=EMA(CLOSE,21);MID:=MA(CLOSE,21),COLOR000000,LINETHICK0;風(fēng)險(xiǎn)線:=MA(CLOSE,13),LINETHICK3,COLORGREEN;止損線:=MA(CLOSE,27),LINETHICK0,COLOREE00EE;DRAWTEXT(CROSS(C,止損線)AND止損線>風(fēng)險(xiǎn)線,(LOW*0.92),'主升浪'),COLOR
7、RED,LINETHICK3;VAR100:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VAR200:=SMA(VAR100,3,1);AA9:=VAR100>=VAR200;BB6:=VAR1008、ecitymoreattractive,strengtheningpublictransportinvestment,establishedasthebackboneoftheurbanrailtransitmulti-level,multi-functionalpublictransportsystem,thusprotectingtheregionalpositionandachi