通达信组合成交量副图公式副图源码
组合成交量副图
VAR3:=ABS((OPEN - CLOSE));
VAR5:=(IF((CLOSE > OPEN),OPEN,CLOSE) - LOW);
VAR7:=((VAR4 / VAR2) * VOL);
QQ:=VAR6 >= VAR7 AND VAR6 >= VAR8 AND CLOSE < OPEN;
JJJ:CLOSE >= EMA(CLOSE,5) AND QQ;
XX:VAR8 > VAR6 AND VAR8 > VAR7;
CDP:=REF(H+L+C,1)/3;
AH:=CDP+PT;
平衡:REF(H+L+C,1)/3,NODRAW;
阻力一:IF(NH>阻力二,(阻力二-CDP)*0.618+CDP,NH),NODRAW;
支撑二:CDP-REF(H-L,1),NODRAW;
实量:V,VOLSTICK;
STICKLINE(MM=1,0,实量*0.9,0.6,0),COLORMAGENTA;
STICKLINE(JJJ=1,0,实量*0.9,0.6,0),COLORGREEN;
DRAWTEXT_FIX(1,0.01,0.05,0,'【加仓】')COLOR00FFFF;
DRAWTEXT_FIX(1,0.01,0.15,0,'【高抛】')COLOR00FFFF;
DRAWTEXT_FIX(1,0.01,0.25,0,'【洗盘】')COLOR00FFFF;
DRAWTEXT_FIX(1,0.01,0.35,0,'【莫痒】')COLOR00FFFF;
DRAWTEXT_FIX(1,0.01,0.45,0,'【减仓】')COLOR00FFFF;
DRAWTEXT_FIX(1,0.01,0.55,0,'【注意】')COLOR00FFFF;
V2:=(H-L);
V4:=(H-IF((C>O),C,O));
V6:=((V3/V2)*V);
V8:=((V5/V2)*V);
VA:=(((C-MA(C,5))/MA(C,5))*100);
VC:=((MA(C,5)<MA(C,10)) AND (MA(C,10)<MA(C,30)));
逢低跟进:DRAWTEXT(((((((V8>V6) AND (V8>V7)) AND (VA<(0-2))) AND (C<MA(C,30))) AND (V8<(MA(V,5)/2))) AND (MA(V,5)<MA(V,10))),V,'▼低进'),COLORFF00FF;
空头释放:DRAWTEXT(((((((V6 >= V7) AND (V6 >= V8)) AND (C<O)) AND ((V6/V)>0.7)) AND VC) AND (V6>MA(V,5))),(V6*2),'▼空头释放'),COLORF00FF0;
来函数检测结果如下:
该公式没有未来函数
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
输出组合成交量副图
VAR3:=(开盘价 - 收盘价的绝对值)
VAR5赋值:(IF((收盘价 > 开盘价),开盘价,收盘价) - 最低价)
VAR7赋值:((VAR4 / VAR2) * 成交量)
QQ赋值:VAR6 >= VAR7 AND VAR6 >= VAR8 AND 收盘价 < 开盘价
输出JJJ:收盘价 >= 收盘价的5日指数移动平均 AND QQ
输出XX:VAR8 > VAR6 AND VAR8 > VAR7
CDP赋值:1日前的H+L+C/3
AH赋值:CDP+PT
输出平衡:1日前的H+L+C/3,NODRAW
输出阻力一:IF(NH>阻力二,(阻力二-CDP)*0.618+CDP,NH),NODRAW
输出支撑二:CDP-1日前的H-L,NODRAW
输出实量:V,成交量STICK
当满足条件MM=1时,在0和实量*0.9之间画柱状线
当满足条件JJJ=1时,在0和实量*0.9之间画柱状线
当满足条件1时,在横轴0.01纵轴0.05位置书写文字
当满足条件1时,在横轴0.01纵轴0.15位置书写文字
当满足条件1时,在横轴0.01纵轴0.25位置书写文字
当满足条件1时,在横轴0.01纵轴0.35位置书写文字
当满足条件1时,在横轴0.01纵轴0.45位置书写文字
当满足条件1时,在横轴0.01纵轴0.55位置书写文字
V2赋值:(H-L)
V4赋值:(H-IF((C>O),C,O))
V6赋值:((V3/V2)*V)
V8赋值:((V5/V2)*V)
VA赋值:(((C-C的5日简单移动平均)/C的5日简单移动平均)*100)
VC赋值:((C的5日简单移动平均
输出逢低跟进:DRAWTEXT(((((((V8>V6) AND (V8>V7)) AND (VA<(0-2))) AND (C
输出空头释放:DRAWTEXT(((((((V6 >= V7) AND (V6 >= V8)) AND (C0.7)) AND VC) AND (V6>V的5日简单移动平均)),(V6*2),'▼空头释放'),COLORF00FF0
- QQ:88652583
- 邮箱:88652583@qq.com
- 工作时间:8:30-23:00
- 微信:88652583或扫描如下二维码
sitemap站点地图