TYP:=(HIGH + LOW +2* C)/4;
金龙线:Ema(TYP,3),LINETHICK3,COLORBLUE;
均线:=ema(TYP,2),LINETHICK2,COLORRED;
k线柱子:=ATAN((均线/REF(均线,1)-1)*100)*180/3.1416;
{K线变色}
STICKLINE(K线柱子>0,O ,C ,0.5,0 ),COLORWHITE;
STICKLINE(K线柱子<0,O ,C,0.5 ,0 ),COLORGREEN;
STICKLINE(K线柱子<0,O,C,3,0),COLORFF6600;{蓝K线柱子持币}
STICKLINE(K线柱子<0,O,C,2,0),COLORFF9900;
STICKLINE(K线柱子<0,O,C,1.2,0),COLORFFCC00;
STICKLINE(K线柱子<0,O,C,0.2,0),COLORGREEN;
STICKLINE(K线柱子>0,O,C,3,0),COLOR000099;
STICKLINE(K线柱子>0,O,C,2,0),COLOR0000CC;{红K线柱子持股}
STICKLINE(K线柱子>0,O,C,1.3,0),COLOR0000FF;
STICKLINE(K线柱子>0,O,C,0.3,0),COLORCC66FF;
DRAWICON(crOSS(C,金龙线),L-0.1,1);
DRAWICON(CROSS(金龙线,C),H+0.1,2);