源码
强:=(EMA(H,5)*7+EMA(H,10)*3)/10,COLORRED;
弱:=(EMA(L,5)*7+EMA(L,10)*3)/10,COLORGREEN;
强界:(EMA(强,5)*7+EMA(强,10)*3)/10,COLORYELLOW,LINETHICK2;
弱界:=(EMA(弱,5)*7+EMA(弱,10)*3)/10,COLORGRAY;
上轨:=强+强-弱,COLOR9900FF,LINETHICK2;
下轨:=弱-(强-弱),COLOR00BB00,LINETHICK2;
AA:=(上轨+下轨)/2,LINEDOT;
强势区:FILLRGN(上轨>强界,上轨,强界),COLOR9900FF;
下跌区:FILLRGN( 强界>下轨,强界,下轨),COLORBLUE;
盘整区:FILLRGN(AA<=强界,强界,AA),COLORGRAY;
STICKLINE(CLOSE>OPEN,OPEN,LOW,0.5,0 ),COLORBROWN;
STICKLINE(CLOSE>OPEN,CLOSE,HIGH,0.5 ,0 ),COLORBROWN;
STICKLINE(OPEN>=CLOSE,CLOSE,LOW,0.5 ,0 ),COLOR00FF00;
STICKLINE(OPEN>=CLOSE,OPEN,HIGH,0.5 ,0 ),COLOR00FF00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,7,0 ),COLORFF7700;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,6,0 ),COLORFF9900;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,5,0 ),COLORFFBB00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,4,0 ),COLORFFCC00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3,0 ),COLORFFDD00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0 ),COLORFFEE00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1,0 ),COLORFFFF00;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,7,0) ,COLOR000055;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,6,0) ,COLOR000066;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,5,0) ,COLOR000077;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,4,0) ,COLOR000099;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0) ,COLOR0000BB;强势线:(EMA(H,5)*7+EMA(H,10)*3)/10,COLORWHITE,LINETHICK2;
弱势线:=(EMA(L,5)*7+EMA(L,10)*3)/10,COLORGREEN;
强势分界:(EMA(强势线,5)*7+EMA(强势线,10)*3)/10,COLORYELLOW,LINETHICK2;
弱势分界:=(EMA(弱势线,5)*7+EMA(弱势线,10)*3)/10,COLORGRAY;
天线:强势线+强势线-弱势线,COLOR9900FF,LINETHICK1;
地线:弱势线-(强势线-弱势线),COLOR00BB00,LINETHICK1;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0) ,COLOR0000DD;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0) ,COLOR0000FF;