量能,做vol的替代看盘(通达信公式 副图 源码 测试图)
{公式名称: 量能公式描述: 无参数公式类型: 技术指标公式-其他类型画线方法: 副图公式版本: 0显示小数: 缺省位数坐标线位置: 自动额外Y轴分界: 无参数精灵:无用法注释:无公式源码:}VOLUME:VOL,VOLSTICK;MAVOL1:MA(VOLUME,5);MAVOL2:MA(VOLUME,10);MA7:EMA(CLOSE,7);MA21:EMA(CLOSE,21),COLORYELLOW,LINETHICK2;XA_1:=10;XA_2:=CONST(HHVBARS(VOL,XA_1));XA_3:=XA_1;XA_4:=CONST(REF(HHVBARS(VOL,XA_3),XA_2+1)+XA_2+1);XA_5:=IF(CURRBARSCOUNT<=XA_2+XA_3+3 AND CURRBARSCOUNT>=XA_2+1,CONST(REF(MAX(CLOSE,OPEN),XA_4)),DRAWNULL);XA_6:=IF(CURRBARSCOUNT<=XA_2+XA_3+3 AND CURRBARSCOUNT>=XA_2+1,CONST(REF(HIGH,XA_4)),DRAWNULL);XA_7:=DRAWICON(CURRBARSCOUNT=XA_4+1,XA_5,25);XA_8:=CONST(LLVBARS(VOL,XA_3));XA_9:=XA_4+1;XA_10:=REF(MAX(CLOSE,OPEN),XA_4);QV:IF(CURRBARSCOUNT<=XA_2+XA_3+3 AND CURRBARSCOUNT>=XA_2+1,CONST(REF(VOL,XA_4)),DRAWNULL),COLORGREEN;XA_11:=CROSS(CLOSE,XA_5) AND CROSS(VOL,QV) AND REF(MAX(CLOSE,OPEN),XA_2+1)=HHV(MAX(REF(CLOSE,1),REF(OPEN,1)),XA_2+1) AND XA_9>=5 AND XA_9<=11;XA_12:=CROSS(CLOSE,XA_5) AND CROSS(VOL,QV) AND LAST(MAX(REF(CLOSE,1),REF(OPEN,1))<=REF(MAX(CLOSE,OPEN),1),XA_9,1) AND XA_9>=4 AND XA_9<=11 AND CLOSE>OPEN;XA_13:=CROSS(CLOSE,XA_5) AND CROSS(VOL,QV) AND LAST(MAX(CLOSE,OPEN)<XA_6,XA_9-2,1) AND XA_9>=5 AND XA_9<=11 AND CLOSE>OPEN;XG小粘合:XA_13 AND CROSS(MA7,MA21);STICKLINE(CURRBARSCOUNT=XA_4+1,VOL,0,3,0),COLORYELLOW;STICKLINE(XG小粘合,QV,0,3,0),COLORMAGENTA;
我是为了获得花花! 希望更多人一起分享,感谢! 路过,帮顶一下! 支持一下:lol thanks 我是个凑数的。。。
页:
[1]