分时主图叠加了大盘线,大盘参考线(目的为了选股参考用),股价,均价,看强线。
均线:IF(BETWEEN(C/(SUM(AMOUNT,0)/SUM(vol*100,0)),1.05,0.95)=0,MA(C,0), (SUM(AMOUNT,0)/SUM(VOL*100,0))),LINETHICK2,COLORYELLOW;
看强线:cyc(34),COLORRED,LINETHICK2;
价:C,COLORWHITE,LAYER1;
大盘:=EMA(INDEXC,500)/EMA(C,500);
大盘参考线:INDEXC/大盘,ColorFFFF00;
POLYLINE(C,C),LINETHICK2,COLORBLacK;{要股价粗线删除这句}
TC:=STRCMP(STRLEFT(MARKETLABEL,2),'0');
DPSH:="SH000001$CLOSE"/HHV(STKINDI('SH000001','大盘引用.昨收#DAY'),0);
DPSZ:="399001$CLOSE"/HHV(STKINDI('399001','大盘引用.昨收#DAY'),0);
大盘2:IF(INBLOCK('A股板块'),DYNAINFO(3)*IF(TC=0,DPSZ,DPSH),C);
大盘线:POLYLINE(C>0,大盘2),COLORMAGENTA,LAYER0;