{N 1 99 9; M1 1 99 3; M2 1 99 3;}
N:=9;
M1:=3;
M2:=3;
HL10:=WINNER(C/1.1)*100,STICK,COLORRED;
STICKLINE(((C/1.1)*100),HL10,0,2.7,0),COLOR000055;
STICKLINE(((C/1.1)*100),HL10,0,1.7,0),COLOR000077;
STICKLINE(((C/1.1)*100),HL10,0,0.7,0),COLOR0000BB;
STICKLINE(((C/1.1)*100),HL10,0,0.2,0),COLOR0000FF;
HL20:=WINNER(C/1.2)*100,STICK,COLORYELLOW;
STICKLINE(((C/1.2)*100),HL20,0,2.7,0)COLOR009999;
STICKLINE(((C/1.2)*100),HL20,0,1.7,0)COLOR00BBBB;
STICKLINE(((C/1.2)*100),HL20,0,0.7,0)COLOR00DDDD;
STICKLINE(((C/1.2)*100),HL20,0,0.2,0)COLOR00FFFF;
HL30:=WINNER(C/1.3)*100,STICK,COLORFF00FF;
STICKLINE(((C/1.3)*100),HL30,0,2.7,0),COLORFF1100;
STICKLINE(((C/1.3)*100),HL30,0,1.7,0),COLORFF5500;
STICKLINE(((C/1.3)*100),HL30,0,0.7,0),COLORFF9900;
STICKLINE(((C/1.3)*100),HL30,0,0.2,0),COLORFFDD00;
CURR:=CURRBARSCOUNT;
STICKLINE(1=1,15,-5,18,0),COLOR878787;
DRAWTEXT(CURR=75,13,'关注热点 抓住龙头'),COLOR8E0000;
上证量比:=CONST(IF(CURRBARSCOUNT=1 AND PERIOD=5,"999999$VOL"*240/FROMOPEN,"999999$VOL")/REF(MA("999999$VOL",5),1)*10);
深证量比:=CONST(IF(CURRBARSCOUNT=1 AND PERIOD=5,"399001$VOL"*240/FROMOPEN,"399001$VOL")/REF(MA("399001$VOL",5),1)*10);
STICKLINE(1=1,IF(CURR=80,上证量比*1.03,IF(CURR=50,深证量比*1.03,DRAWNULL)),0,39,-1),COLOR66CCFF;
STICKLINE(1=1,IF(CURR=80,上证量比,IF(CURR=50,深证量比,DRAWNULL)),0,38,0),COLOR0088FF;
上证C:=("999999$C"); 上证H:=("999999$H"); 上证L:=("999999$L"); 上证O:=("999999$O");
上证偏差:=(2*上证C+上证H+上证L+上证O)/5-(MA(上证C,3)+MA(上证C,6)+MA(上证C,12)+MA(上证C,24))/4;
上证R:=(上证偏差-LLV(上证偏差,N))/(HHV(上证偏差,N)-LLV(上证偏差,N))*10;
上证K:=SMA(上证R,M1,1); 上证D:=SMA(上证K,M2,1);
{WWW.88GS.COM}
深证C:=("399001$C"); 深证H:=("399001$H"); 深证L:=("399001$L"); 深证O:=("399001$O");
深证偏差:=(2*深证C+深证H+深证L+深证O)/5-(MA(深证C,3)+MA(深证C,6)+MA(深证C,12)+MA(深证C,24))/4;
深证R:=(深证偏差-LLV(深证偏差,N))/(HHV(深证偏差,N)-LLV(深证偏差,N))*10;
深证K:=SMA(深证R,M1,1); 深证D:=SMA(深证K,M2,1);
个股偏差:=(2*C+H+L+O)/5-(MA(C,3)+MA(C,6)+MA(C,12)+MA(C,24))/4;
个股R:=(个股偏差-LLV(个股偏差,N))/(HHV(个股偏差,N)-LLV(个股偏差,N))*10;
个股K:=SMA(个股R,M1,1); 个股D:=SMA(个股K,M2,1);
个股J:3*个股K-2*个股D,COLOR110011,LINETHICK2;