总股本:=FINANCE2(35)/10000;
流通:=FINANCE2(37)/10000;
DRAWTEXTABS(5,5,'总股本:'+NUMTOSTRN(总股本,1)+'亿; 流通:'+NUMTOSTRN(流通,1)+'亿; 版块:' +BKNAME),COLORFFFFFF,LAYER0;
{判断趋势}
趋势线:=EMA(SLOPE(C,21)*20+C,42);
PARTLINE(趋势线,C>=趋势线 AND 趋势线>=REF(趋势线,1),RGB(255,0,0),C<趋势线 OR 趋势线<REF(趋势线,1),RGB(0,255,0)),DOTLINE,PRECIS2; |