看图操作,KDJ摆动理论
超买:80,colorlired;
超卖:20,colorligreen;
多空:50,COLORFFFFFF,POINTDOT;
动能:100 * (LLV(LOW,60)-EMA(CLOSE,3))/(LLV(LOW,60)-HHV(HIGH,60)),colorlicyan;
多:IF(动能>多空,动能,DRAWNULL),colorlired;
空:IF(动能<多空,动能,DRAWNULL) ,colorlicyan;
J:(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100,colormagenta;
K:SMA(J,3,1),colorwhite;
D:SMA(K,3,1),coloryellow;
拉底:=CROSS(K,D) AND 动能<20 AND D<25;
底:IF(拉底,D,DRAWNULL),colorlired;
DRAWICON(拉底,D*0.96,'buy');
回调:=CROSS(K,D) AND 动能>50 AND D<50;
买:IF(回调,D,DRAWNULL),colorlired;
DRAWICON(买,D*0.96,'buy');
空卖:=CROSS(D,K) AND 动能>20 AND D>50;
卖:IF(空卖,D,DRAWNULL),colorgreen;
DRAWICON(空卖,D*1.03,'SELL');