分时主图叠加了大盘线,大盘参考线(目标为了选股参考用),股价,均价,看强线。方便看盘,一目相识,- I# o& ^5 d6 s- T: j
本公式源码9 o8 [ m: U3 x+ }
7 U% I4 t6 F, e- {
( i4 G7 o7 u6 f; C- c均线: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;
* L' @" ~4 |5 ]" Q) r+ u/ d看强线:CYC(34),COLORRED,LINETHICK2;" E- C7 v d* k( @- U' z
价:C,COLORWHITE,LAYER1;3 E6 T5 ~' [3 a' ~' a9 p1 H" h2 n6 P
大盘:=EMA(INDEXC,500)/EMA(C,500);
* N/ r9 K7 X: \6 D3 f. R6 o& L5 n大盘参考线:INDEXC/大盘,ColorFFFF00;
Q( F, P, O! ?POLYLINE(C,C),LINETHICK2,COLORBLACK;{要股价粗线删除这句}
5 [1 V4 O7 W4 z, Z9 OTC:=STRCMP(STRLEFT(MARKETLABEL,2),'0');3 p6 B3 G- O# e- Y( @' J
DPSH:="SH000001$CLOSE"/HHV(STKINDI('SH000001','大盘引用.昨收#DAY'),0);
6 E3 R* N2 a, K! ]DPSZ:="399001$CLOSE"/HHV(STKINDI('399001','大盘引用.昨收#DAY'),0);
9 b d* V5 R5 D+ s4 T1 s( s; n大盘2:IF(INBLOCK('A股板块'),DYNAINFO(3)*IF(TC=0,DPSZ,DPSH),C);
$ S3 F7 \ b9 G% W6 Q8 ?7 |/ ^大盘线 OLYLINE(C>0,大盘2),COLORMAGENTA |