源码、
DKX:(EMA(C,18)),POINTDOT;
STICKLINE(((C >=DKX) AND (C >=O)),H,L,0,1),COLORRED;
STICKLINE(((C >=DKX) AND (C <=O)),H,L,0,0),COLORRED;
STICKLINE(((C >=DKX) AND (C >=O)),O,C,2,1),COLORRED;
STICKLINE(((C >=DKX) AND (C <=O)),O,C,2,0),COLORRED;
STICKLINE(((C <DKX) AND (C >=O)),H,L,0,1),COLORGREEN;
STICKLINE(((C < DKX) AND (C >=O)),O,C,2,1),COLORGREEN;
STICKLINE(((C < DKX) AND (C <=O)),H,L,0,0),COLORGREEN;
STICKLINE(((C < DKX) AND (C <=O)),O,C,2,0),COLORGREEN;
VAR1:=(HHV(HIGH,15)-LLV(LOW,15));
VAR2:=(HHV(HIGH,15)-CLOSE);
VAR3:=(CLOSE-LLV(LOW,15));
VAR4:=(((VAR2/VAR1)*100)-70);
VAR5:=(((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60)))*100);
VAR6:=((((2*CLOSE)+HIGH)+LOW)/4);
VAR7:=SMA(((VAR3/VAR1)*100),3,1);
VAR8:=LLV(LOW,34);
VAR9:=(SMA(VAR7,3,1)-SMA(VAR4,9,1));
VAR10:=IF((VAR9>100),(VAR9-100),0);
VAR11:=HHV(HIGH,34);
VAR12:=EMA((((VAR6-VAR8)/(VAR11-VAR8))*100),15);
VAR13:=EMA(((0.667*REF(VAR12,1))+(0.333*VAR12)),2);
MA11:=EMA(VAR13,5);
DRAWTEXT(CROSS(VAR12-VAR13,0),L-1,'多');
DRAWTEXT(CROSS(0,VAR12-VAR13),H+1,'空');
{线A1:=(MA(CLOSE,5)+MA(CLOSE,10)+MA(CLOSE,25))/3;
线A2:=(MA(CLOSE,5)+MA(CLOSE,10)+MA(CLOSE,20)+MA(CLOSE,30)+MA(CLOSE,60)+MA(CLOSE,120))/6;
线A3:=(MA(CLOSE,20)+MA(CLOSE,60)+MA(CLOSE,120))/3;
线A4:=(MA(CLOSE,13)+MA(CLOSE,34)+MA(CLOSE,55))/3;
STICKLINE(线A1>线A4,线A1,线A4,0.1,1),COLORFF0080;
STICKLINE(线A1<线A4,线A1,线A4,0.1,1),COLOR00FF00;
{STICKLINE(C>O OR (C=O AND C>REF(C,1)),H,L,0.1,0),COLORRED;
STICKLINE(C>O OR (C=O AND C>REF(C,1)),O,C,4,1),COLORRED;
STICKLINE(C<O OR (C=O AND C<=REF(C,1)),H,L,0.1,0),COLORFFEEAF;
STICKLINE(C<O OR (C=O AND C<=REF(C,1)),O,C,4,0),COLORFFEEAF;}
DRAWICON(CROSS(线A1,线A4),线A1,1);
线1:IF(线A1<线A3,线A1,线A3),COLOR00FF00;
IF(线A1<线A3,线A3,线A1),COLORRED;
线2:IF(线A2<线A3,线A2,线A3),COLOR00FF00;
IF(线A2<线A3,线A3,线A2),COLORRED;
线3:IF(线A3<线A1,线A3,线A3),COLOR00FF00,LINETHICK1;
IF(线A1<线A3,线A3,线A3),COLORRED,LINETHICK1;}
A:=MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1));
B:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1);
d:=IF(MA(CLOSE,17)<B,B,MA(CLOSE,17)),COLORFF00FF,LINETHICK2;
操作线:d-(EMA(C,3)-d),COLOR00FFFF,LINETHICK1;
卖线:EMA(SLOPE(C,21)*20+C,38),coloryellow,LINETHICK1;