源码
{DRAWGBK(O>REF(C,1),COLORRGB(127,0,63) ,COLORRGB(0,0,0),1);
DRAWGBK(O=REF(C,1),COLORRGB(0,0,0) ,COLORRGB(0,0,60),1);
DRAWGBK(O<REF(C,1),COLORRGB(63,128,0) ,COLORRGB(0,0,30),1);
DRAWBKBMP(O>REF(C,1),'000BMP');
DRAWBKBMP(O=REF(C,1),'001BMP');
DRAWBKBMP(O<REF(C,1),'002BMP');}
RSI:=SMA(MAX(CLOSE-REF(CLOSE,1),0),15,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),15,1)*100;
STICKLINE(RSI>50,O,C,3,0),COLORMAGENTA;
STICKLINE(RSI>50,H,L,0,0),COLORMAGENTA;
STICKLINE(RSI>65,O,C,3,0),COLORRED;
STICKLINE(RSI>65,H,L,0,0),COLORRED;
STICKLINE(RSI>75,O,C,3,0),COLORCCCCFF;
STICKLINE(RSI>75,H,L,0,0),COLORCCCCFF;
STICKLINE(RSI<50,O,C,3,0),COLOR33BB00;
STICKLINE(RSI<50,H,L,0,0),COLOR33BB00;
STICKLINE(RSI<35,O,C,3,0),COLORGRAY;
STICKLINE(RSI<35,H,L,0,0),COLORGRAY;
STICKLINE(RSI<20,O,C,3,0),COLORGREEN;
STICKLINE(RSI<20,H,L,0,0),COLORGREEN;
STICKLINE(RSI<10,O,C,3,0),COLORYELLOW;
STICKLINE(RSI<10,H,L,0,0),COLORYELLOW;
STICKLINE(C>=O,H,L,0,0),COLORYELLOW;
STICKLINE(C>=O,C,O,2,0),COLORYELLOW;
STICKLINE(C<=O,C,O,2,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,2,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,1);
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,2);