摇钱树主力多空.
指标源码:
摇钱树1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);摇钱树2:=SMA(ABS(LOW-摇钱树1),13,1)/SMA(MAX(LOW-摇钱树1,0),10,1);摇钱树3:=EMA(摇钱树2,10);摇钱树4:=LLV(LOW,33);摇钱树5:=EMA(IF(LOW<=摇钱树4,摇钱树3,0),3);主力进场:IF(摇钱树5>REF(摇钱树5,1),摇钱树5,0),COLORRED,NODRAW;STICKLINE(摇钱树5>REF(摇钱树5,1),0,-摇钱树5,3,-1),COLORFFFF00;洗盘:IF(摇钱树5< REF(摇钱树5,1),摇钱树5,0),COLORGREEN,NODRAW;STICKLINE(摇钱树5< REF(摇钱树5,1),0,-摇钱树5,3,-1),COLORFF00FF;NMTM:=C-REF(C,1);ZLGJ:100*EMA(EMA(NMTM,5),5)/EMA(EMA(ABS(NMTM),5),5),COLORRED,LINETHICK1;MAZL:MA(ZLGJ,9),COLORFFCAC5,LINETHICK1,DOTLINE;STICKLINE(REF(ZLGJ,1)<=ZLGJ,ZLGJ,REF(ZLGJ,1),2,0),COLORRED;STICKLINE(REF(ZLGJ,1)>ZLGJ,ZLGJ,REF(ZLGJ,1),2,0),COLORGREEN;XGG:=(摇钱树5< REF(摇钱树5,1) AND REF(NOT(摇钱树5< REF(摇钱树5,1)),1)) AND (REF(ZLGJ,1)<=ZLGJ AND REF(NOT(REF(ZLGJ,1)<=ZLGJ),1));DRAWICON(XGG,0,34);