通达信抢筹出击,红柱是吸筹阶段源码副图
抢筹出击
红柱是吸筹阶段,
绿柱是拉升阶段
买就是介入的点位。
M1:=3;
阵地防御:SMA(出击线,M1,1),COLORWHITE;
VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR3:=EMA(VAR2,10);
VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,2,0 ),COLOR000055;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,1.5.1,0 ),COLOR000099;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,0.6,0 ),COLOR0000DD;
震仓柱:IF(VAR5<REF(VAR5,1),VAR5,0),COLORGREEN,NODRAW;
STICKLINE(VAR5<REF(VAR5,1),0,VAR5,1.6,0),COLOR007700;
STICKLINE(VAR5<REF(VAR5,1),0,VAR5,1.0,0),COLOR00BB00;
STICKLINE(VAR5<REF(VAR5,1),0,VAR5,0.3,0),COLOR00FF00;
V2:=HHV(H,25);
DRAWTEXT(CROSS(价位线,0.3),30+6,'★买'),COLORYELLOW;
来函数检测结果如下:
该公式没有未来函数
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
输出
抢筹出击
输出
红柱是吸筹阶段,
绿柱是拉升阶段输出
买就是介入的点位。
M1:=3
出击线的M1日[1日权重]移动平均
VAR1赋值:REF((最低价+开盘价+收盘价+最高价)/4,1)
VAR3赋值:VAR2的10日指数移动平均
如果最低价<=VAR4返回VAR3否则返回0
STICKLINE(VAR5>1日前的VAR5,0,VAR5,2,0 ),COLOR000055
STICKLINE(VAR5>1日前的VAR5,0,VAR5,1.5.1,0 ),COLOR000099
STICKLINE(VAR5>1日前的VAR5,0,VAR5,0.6,0 ),COLOR0000DD
输出震仓柱:IF(VAR5<1日前的VAR5,VAR5,0),COLORGREEN,NODRAW
STICKLINE(VAR5<1日前的VAR5,0,VAR5,1.6,0),COLOR007700
STICKLINE(VAR5<1日前的VAR5,0,VAR5,1.0,0),COLOR00BB00
STICKLINE(VAR5<1日前的VAR5,0,VAR5,0.3,0),COLOR00FF00
V2赋值:25日内H最高值
DRAWTEXT(价位线上穿0.3,30+6,'★买'),COLORYEL最低价
- QQ:88652583
- 邮箱:88652583@qq.com
- 工作时间:8:30-23:00
- 微信:88652583或扫描如下二维码
sitemap站点地图