n:=5;
KS:=(CLOSE - MA(CLOSE,n)) / MA(CLOSE,n) *100;
金线:=EMA(((KS/10)+EMA(CLOSE,10)),3);
遍地黄金:STICKLINE((金线 <= CLOSE),50,55,6,0),,colorFFFFFF;
蓝色海洋:STICKLINE((金线 >= CLOSE),50,55,6,0),,colorFF0000;
短j5:"kdj.j"(5,3,3),coloraaaddd,linethick1;{相当ma3}
ma短j5:ema(短j5,2),coloraaaaaa,linethick1;
中j27:"kdj.j"(27,3,3),colorFFFFFF,linethick2;{相当ma5}
ma中j27:ema(中j27,5),color00ff00,linethick2;
长j55:"kdj.j"(55,8,3),color00FFFF,linethick3;{相当ma10}
ma长j55:ema(长j55,8),color0000ff,linethick3;
DRAWICON(crOSS(zig(3,10) ,REF(ZIG(3 ,10),1)) ,20,1);
DRAWICON(CROSS(REF(ZIG(3,10),1),ZIG(3,10)) ,90,2);
mv3:=ema(v,3);mv60:=ema(v,60);
量乖离率360:(mv3-mv60)/mv60*40,colorff99ff,linethick2;
0,color00ff00;
20,color00ff00,pointdot;
80,color00ff00,pointdot;
100,color00ff00;