通达信分时图中 分时均线 A:=CURRBARSCOUNT; A1:=DAY!=REF(DAY,1); A2:=BARSLAST(A1)+1; A3:=MA(C,A2); A4:=SUM(AMO,A2)/SUM(VOL,A2)/100; A5:=IF(CAPITAL>0,A4,A3); 现价:IF(A<=CONST(A2),CLOSE,DRAWNULL); 均价:IF(A<=CONST(A2),A5,DRAWNULL); 前收盘:IF(A<=CONST(A2),DYNAINFO(3),DRAWNULL),COLORRED,LINETHICK2; |
|
来自: 幸福人生4jwexl > 《待分类》