源码
LONG:=26;SHORT:=5;M:=50;
Var1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
K2:=EMA(C,5),colorffff00;
K3:=EMA(C,10),colorffff00;
K5:=EMA(C,30),colorffff00;KK5:=EMA(INDEXC,30),colorffff00;
K6:=2*(K2-K5);k7:=2*(K2-K3);k8:=2*(k7+K6),colorred;
STICKLINE(CROSS(k8,0),0,10,8,0) ,colorred;
K1:=IF(k8>REF(k8,5) AND K3<REF(K3,5) ,1,0 ),coloryellow;
k21:=IF(k8>REF(k8,7) AND K3<REF(K3,7) ,1,0 ),coloryellow;
k31:=IF(k8>REF(k8,9) AND K3<REF(K3,9) ,1,0 ),coloryellow;
K4:=IF(k8>REF(k8,11) AND K3<REF(K3,11) ,1,0 ),coloryellow;
底部:STICKLINE((K1 OR k21 OR k31 OR K4) AND k8<0 AND k8>REF(k8,1),5,0,8,0) ,coloryellow;
B:=ZIG(3,10),colorwhite;
G:=MA(B,2),coloryellow;
开盘回归:=FORCAST(OPEN,3);
收盘差:100*(CLOSE-开盘回归)/REF(CLOSE,1);
Var1:=HHV(HIGH,25);
Var2:=LLV(LOW,25);
阻力线:EMA((CLOSE-Var2)/(Var1-Var2)*100,20),colorgreen,Linethick1;
突破线:= EMA((CLOSE-Var2)/(Var1-Var2)*100,5);
操作线:突破线,colorred, Linethick1;