股神狼王
CNX5:EMA(C,5)COLORYELLOW LINETHICK1;
CNX77:EMA(C,77) LINETHICK1;
CNX99:EMA(C,99) LINETHICK1;
T:=150;
TT:=3;
N1:=0;
VAR35:=VOL*(OPEN+CLOSE)/2;
MAA:MA(CLOSE,N1),COLORGREEN;
DRAWTEXT(ISLASTBAR AND N1>0 AND MAA>REF(MAA,1),MAA,5345),COLORGREEN;
DRAWTEXT(ISLASTBAR AND N1>0 AND MAA<REF(MAA,1),MAA,5346),COLORGREEN;
VAR36:=REF(HHV(HIGH,T),TT);
VAR37:=REF(LLV(LOW,T),TT);
VAR38:=VAR36-(VAR36-VAR37)*0.191;
VAR39:=VAR36-(VAR36-VAR37)*0.382;
VAR40:=VAR36-(VAR36-VAR37)*0.5;
VAR41:=VAR36-(VAR36-VAR37)*0.618;
VAR42:=VAR36-(VAR36-VAR37)*0.809;
顶:REFDATE(VAR36,DATE),COLORCYAN;
一:REFDATE(VAR38,DATE),DOTLINE,COLORYELLOW;
二:REFDATE(VAR39,DATE),DOTLINE,COLORMAGENTA;
三:REFDATE(VAR40,DATE),COLORYELLOW;
四:REFDATE(VAR41,DATE),DOTLINE,COLORMAGENTA;
五:REFDATE(VAR42,DATE),DOTLINE,COLORYELLOW;
低:REFDATE(VAR37,DATE),COLORGREEN;
VAR43:=CURRBARSCOUNT=3;
VAR44:=CURRBARSCOUNT=1;
DRAWNUMBER(VAR43 AND 顶,顶,顶),COLOR999900;
DRAWTEXT(VAR44 AND 顶,顶,5347),COLOR208FFF;
DRAWNUMBER(VAR43 AND 一,一,一),COLOR999999;
DRAWTEXT(VAR44 AND 一,一,5348),COLOR208FFF;
DRAWNUMBER(VAR43 AND 二,二,二),COLOR999999;
DRAWTEXT(VAR44 AND 二,二,5349),COLOR208FFF;
DRAWNUMBER(VAR43 AND 三,三,三),COLOR999999;
DRAWTEXT(VAR44 AND 三,三,5350),COLOR208FFF;
DRAWNUMBER(VAR43 AND 四,四,四),COLOR999999;
DRAWTEXT(VAR44 AND 四,四,5351),COLOR208FFF;
DRAWNUMBER(VAR43 AND 五,五,五),COLOR999999;
DRAWTEXT(VAR44 AND 五,五,5352),COLOR208FFF;
DRAWNUMBER(VAR43 AND 低,低*1.01,低),COLOR999900;
DRAWTEXT(VAR44 AND 低,低*1.009,5353),COLOR208FFF;