RSI:=SMA(MAX(CLOSE-前周期价,0),15,1)/SMA(ABS(CLOSE-前周期价),15,1)*100;
STICKLINE(RSI 50,O,C,8,0),colormagenta;
STICKLINE(RSI 65,O,C,8,0),colorred;
STICKLINE(RSI 75,O,C,8,0),COLORCCCCFF;
STICKLINE(RSI 50,H,MAX(O,C),0,0),colormagenta;
STICKLINE(RSI 50,MIN(O,C),L,0,0),colormagenta;
STICKLINE(RSI 65,H,MAX(O,C),0,0),colorred;
STICKLINE(RSI 65,MIN(O,C),L,0,0),colorred;
STICKLINE(RSI 75,H,MAX(O,C),0,0),COLORCCCCFF;
STICKLINE(RSI 75,MIN(O,C),L,0,0),COLORCCCCFF;
STICKLINE(RSI 50,O,C,8,0),COLOR33BB00;
STICKLINE(RSI 35,O,C,8,0),colorgray;
STICKLINE(RSI 20,O,C,8,0),colorgreen;
STICKLINE(RSI 10,O,C,8,0),coloryellow;
STICKLINE(RSI 50,H,MAX(O,C),0,0),COLOR33BB00;
STICKLINE(RSI 50,MIN(O,C),L,0,0),COLOR33BB00;
STICKLINE(RSI 35,H,MAX(O,C),0,0),colorgray;
STICKLINE(RSI 35,MIN(O,C),L,0,0),colorgray;
STICKLINE(RSI 20,H,MAX(O,C),0,0),colorgreen;
STICKLINE(RSI 20,MIN(O,C),L,0,0),colorgreen;
STICKLINE(RSI 10,H,MAX(O,C),0,0),coloryellow;
STICKLINE(RSI 10,MIN(O,C),L,0,0),coloryellow;
{STICKLINE(C =O,H,L,0,0),coloryellow;
STICKLINE(C =O,C,O,8,0),coloryellow;
STICKLINE(C =O,C,O,8,0),colorcyan;
STICKLINE(C =O,H,L,0,0),colorcyan;
VarA:=EMA(C,4);
VarB:=REF(VarA,5/2+1);
VarC:=(EMA(C,60)+EMA(C,90))/2;
STICKLINE(C VarB AND C =VarC,O,C,8,0),coloryellow;}
敏感線:(3*(O+H+L+C))/12.05,colorwhite,LINETHICK2;
實戰線:EMA(CLOSE,4),colorred,LINETHICK2;
EC:=EMA(CLOSE,7);
支撑線:EMA(EC,2),colorgreen;
HH:=HHV(H,120);
LL:=LLV(L,120);
壓力線:=(HH-LL)*0.618+LL,coloryellow;
高:=HHV(MA((LOW+HIGH+CLOSE+OPEN)/4.02,3),30),COLOR9966FF,LINETHICK1;
低:=LL,COLORAAEE00,LINETHICK1;
EL1:=EMA(LOW,6);
EL2:=EMA(EMA(LOW,34)*1,02)-0.16;
DRAWICON(CROSS(EL1,EL2),EL1,10);
V1:=REF(C,1);
V2:=SMA(MAX(C-V1,0),6,1)/SMA(ABS(C-V1),6,1)*100;
DRAWICON(IF(CROSS(81,V2),1,0),H*1.01,11);