{K线-红色青色}
STICKLINE(CLOSE>OPEN,HIGH,LOW,0.2,1),COLORRED;
STICKLINE(CLOSE>OPEN,OPEN,CLOSE,3.5,1),COLORRED;
STICKLINE(CLOSE
STICKLINE(CLOSE=OPEN,OPEN,CLOSE,3.2,0 ),COLORWHITE;
{金K线最终版}
CL:=(3*C+2*O+H+L)/7;
KA:=EMA(CL,2);
B:=KA>=REF(KA,1);
S:=KA<=REF(KA,1);
STICKLINE(B,H,L,0,0),COLORYELLOW;
STICKLINE(B,O,C,2.8,0),COLOR0096FF;
STICKLINE(B,O,C,2.4,0),COLOR00A5FF;
STICKLINE(B,O,C,2.0,0),COLOR00B4FF;
STICKLINE(B,O,C,1.6,0),COLOR00C3FF;
STICKLINE(B,O,C,1.2,0),COLOR00D2FF;
STICKLINE(B,O,C,0.8,0),COLOR00E1FF;
STICKLINE(B,O,C,0.4,0),COLOR00F0FF;
STICKLINE(B,O,C,0.05,0),COLOR00FFFF;
STICKLINE(S,H,L,0,0),COLORFFCC00;
STICKLINE(S,C,O,2.8,0),COLOR996700;
STICKLINE(S,C,O,2.4,0),COLORAA7800;
STICKLINE(S,C,O,2.0,0),COLORBB9900;
STICKLINE(S,C,O,1.6,0),COLORCCAA00;
STICKLINE(S,C,O,1.2,0),COLORDDBB00;
STICKLINE(S,C,O,0.8,0),COLOREECC00;
STICKLINE(S,C,O,0.4,0),COLOREFDD00;
STICKLINE(S,C,O,0.05,0),COLORFFEE00;