N1:=9; M1:=4; P:=3;
DRAWGBKLAST(CLOSE>0,STRIP(RGB(41,36,0),RGB(0,0,0),0));
流通盘大小:=FINANCE2(37)/10000;
销售毛利率:=FINANCE2(12);
净利润同比增长:=FINANCE2(10);
DRAWTEXTABS(10,10,'流通盘大小:'+流通盘大小+'亿股 '),LINETHICK1,colorwhite;
DRAWTEXTABS(160,10,'销售毛利率:'+销售毛利率+'% '),LINETHICK1,colorwhite;
DRAWTEXTABS(290,10,'净利润同比增长:'+净利润同比增长+'% '),LINETHICK1,colorwhite;
当日换手率:=sum(100*v/capital,1);
DRAWTEXTABS(450,10,'当日换手率:'+NUMTOSTRN(sum(100*vOL/capital,1),2)+'%'),colorwhite,LINETHICK1;
五日换手率:=sum(100*vOL/capital,5);
DRAWTEXTABS(600,10,'五日换手率:'+NUMTOSTRN(五日换手率,2)+'%'),colorWHITE,LINETHICK1;
DRAWTEXTABS(750,10,STKLABEL+' '+STKNAME+''),Color00DDFF;
STICKLINE(C>0,80,79.5,5,0),color006600;
STICKLINE(C>0,65,64.8,15,0),coloryellow;
STICKLINE(C>0,50,49.8,15,0),colorwhite;
STICKLINE(C>0,35,34.5,5,0),color006600;
STICKLINE(C>0,50,65,1,0),colorwhite;
LC := REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;
MAA:=MA(RSI1,3);
a:=SMA(MAA,M1,1);
EE:=IF(MAA>a,(MAA-(a-MAA)),a);
PARTLINE(a,a>REF(a,1),RGB(255,0,0),a
趋势:=SMA(a,N1,1);
FILLRGN(趋势,REF(趋势,2),趋势>REF(趋势,2),RGB(150,50,50),趋势<=REF(趋势,2),RGB(3,168,158) );
STICKLINE(REF(趋势,P)<趋势,趋势,REF(趋势,P),12,1),color00ffcc;
STICKLINE(ee>a,ee,a,4,1),colorff00ff;
STICKLINE(EE>80,80,EE,4,0),color00ffff;
STICKLINE(EE<=35,35,EE,4,0),colorgreen;
PARTLINE(EE,EE>=REF(EE,1),RGB(255,0,0),EE