云飞分时(通达信公式 分时主图 源码 测试图)
{云飞分时画线方法: 主图叠加公式源码:}VAR1:=IF(BETWEEN(CLOSE/(SUM(AMOUNT,0)/SUM(VOL*100,0)),1.05,0.95)=0,MA(CLOSE,0),SUM(AMOUNT,0)/SUM(VOL*100,0));FS2:VAR1*1.007,COLORCYAN;FS3:VAR1/1.005,COLORGREEN;VAR2:=EMA(CLOSE,30);VAR3:=EMA(CLOSE,900);DRAWICON(CROSS(VAR2,VAR3),HIGH,25);
DRAWTEXT(SUM(VAR2,VAR3),FS2,1),COLORMAGENTA;