生命線:MA(CLOSE,26),COLORRED,LINETHICK2; 多頭線:EMA(C,1.5),COLORYELLOW; 空頭線:EMA(C,5),COLOR00FF00; 均衡線:EMA(空頭線,5),COLORWHITE; VAR1:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21)))); VAR2:=(100 - MA(((100 * (HHV(HIGH,12) - CLOSE)) / (HHV(HIGH,12) - LLV(LOW,12))),12)); VAR3:=EMA(C,5); VAR4:=EMA(C,10); VAR5:=EMA(C,20); VAR6:=EMA(C,30); VAR7:=(VAR3 VAR4 VAR5 VAR6)/4; VAR8:=(VAR7-REF(VAR7,15))/REF(VAR7,15)*100; VAR9:=EMA(VAR8,8); STICKLINE(C>=生命線 AND C>=O,C,O,10,0),COLOR0000FF; STICKLINE(C>=生命線 AND C>=O,C,O,8,0),COLOR0000FF; STICKLINE(C>=生命線 AND C>=O,C,O,4,0),COLOR0000FF; STICKLINE(C>=生命線 AND C>=O,H,L,0.5,0),COLOR0000FF; STICKLINE(VAR8<1*REF(VAR8,1),O,C,10,0),COLORFFFF00; STICKLINE(VAR8<1*REF(VAR8,1),O,C,8,0),COLORFFFF00; STICKLINE(VAR8<1*REF(VAR8,1),O,C,4,0),COLORFFFF00; STICKLINE(VAR8<1*REF(VAR8,1),H,L,0.5,0),COLORFFFF00; STICKLINE(VAR8>1*REF(VAR8,1),O,C,10,0),COLORC8009F; STICKLINE(VAR8>1*REF(VAR8,1),O,C,8,0),COLORC8009F; STICKLINE(VAR8>1*REF(VAR8,1),O,C,4,0),COLORC8009F; STICKLINE(VAR8>1*REF(VAR8,1),H,L,0.5,0),COLORC8009F; STICKLINE(VAR8<1*REF(VAR8,1) AND VAR9>1*REF(VAR9,1),O,C,10,0),COLOR00FF00; STICKLINE(VAR8<1*REF(VAR8,1) AND VAR9>1*REF(VAR9,1),O,C,8,0),COLOR00FF00; STICKLINE(VAR8<1*REF(VAR8,1) AND VAR9>1*REF(VAR9,1),O,C,4,0),COLOR00FF00; STICKLINE(VAR8<1*REF(VAR8,1) AND VAR9>1*REF(VAR9,1),H,L,0.5,0),COLOR00FF00; 買(mǎi)進(jìn)價(jià):=((C-REF(MA(C,6),1))/6 MA(C,6))*1.004; 買(mǎi)進(jìn)條件:=CROSS(C,買(mǎi)進(jìn)價(jià)) AND 買(mǎi)進(jìn)價(jià)>REF(買(mǎi)進(jìn)價(jià),1); STICKLINE(買(mǎi)進(jìn)條件,O,C,10,0),COLORFFFFFF; STICKLINE(買(mǎi)進(jìn)條件,O,C,8,0),COLORFFFFFF; STICKLINE(買(mǎi)進(jìn)條件,O,C,4,0),COLORFFFFFF; STICKLINE(買(mǎi)進(jìn)條件,H,L,0.5,0),COLORFFFFFF; 加碼價(jià):=((C-REF(MA(C,18),1))/18 MA(C,18))*1.004; 加碼條件:=CROSS(C,加碼價(jià)) AND 加碼價(jià)>REF(加碼價(jià),1); STICKLINE(加碼條件,O,C,10,0),COLOR00FFFF; STICKLINE(加碼條件,O,C,8,0),COLOR00FFFF; STICKLINE(加碼條件,O,C,4,0),COLOR00FFFF; STICKLINE(加碼條件,H,L,0.5,0),COLOR00FFFF; ZDF:=(C-REF(C,1))/REF(C,1)*100; STICKLINE(ZDF>9.8,O,C,10,1),COLOR0000FF; STICKLINE(ZDF>9.8,O,C,8,1),COLOR0000FF; STICKLINE(ZDF>9.8,O,C,4,1),COLOR0000FF; STICKLINE(ZDF<-9.8,O,C,10,1),COLOR00FF00; STICKLINE(ZDF<-9.8,O,C,8,1),COLOR00FF00; STICKLINE(ZDF<-9.8,O,C,4,1),COLOR00FF00; |
|
來(lái)自: xiaoyin1206 > 《指標(biāo)》