云端爆点通达信公式 副图 源码附图
VAR1:=(CLOSE+HIGH+LOW)/3;
VAR2:=EMA(VAR1,10);
{股票指标网}
VAR3:=REF(VAR2,1);
STICKLINE((VAR2>VAR3),CLOSE,OPEN,2.8,0),COLOR000088;
STICKLINE((VAR2>VAR3),CLOSE,OPEN,2.6,0),COLOR000099;
STICKLINE((VAR2>VAR3),CLOSE,OPEN,2.4,0),COLOR0000AA;
STICKLINE((VAR2>VAR3),CLOSE,OPEN,2.2,0),COLOR0000BB;
STICKLINE((VAR2>VAR3),CLOSE,OPEN,2.0,0),COLOR0000CC;
STICKLINE((VAR2>VAR3),CLOSE,OPEN,1.8,0),COLOR0000DD;
STICKLINE((VAR2>VAR3),CLOSE,OPEN,1.5,0),COLOR0000EE;
STICKLINE((VAR2>VAR3),CLOSE,OPEN,1,0),COLOR0000FF;
STICKLINE((VAR2>VAR3),LOW,HIGH,0.0,0),COLOR0000FF;
STICKLINE((VAR3>VAR2),CLOSE,OPEN,2.8,0),COLOR888800;
STICKLINE((VAR3>VAR2),CLOSE,OPEN,2.6,0),COLOR999900;
STICKLINE((VAR3>VAR2),CLOSE,OPEN,2.4,0),COLORAAAA00;
STICKLINE((VAR3>VAR2),CLOSE,OPEN,2,2),COLORBBBB00;
STICKLINE((VAR3>VAR2),CLOSE,OPEN,2.0,0),COLORCCCC00;
STICKLINE((VAR3>VAR2),CLOSE,OPEN,1.8,0),COLORDDDD00;
STICKLINE((VAR3>VAR2),CLOSE,OPEN,1.5,0),COLOREEEE00;
STICKLINE((VAR3>VAR2),CLOSE,OPEN,1,0),COLORFFFF00;
STICKLINE((VAR3>VAR2),LOW,HIGH,0.0,0),COLORFFFF00;
STICKLINE((OPEN>CLOSE),CLOSE,OPEN,0,0),COLORFFFF00;
STICKLINE((OPEN<CLOSE),CLOSE,OPEN,0,0),COLORRED;
C4:=CROSS(VAR2,VAR3);
C5:=CROSS(VAR3,VAR2);
DRAWICON(C4,LOW-0.3,11);
买进价:=((C-REF(MA(C,6),1))/6+MA(C,6))*1.004;
买进条件:=CROSS(C,买进价) AND 买进价>REF(买进价,1);
STICKLINE(买进条件,O,C,0.5,0),COLORFF0080;
加码价:=((C-REF(MA(C,21),1))/21+MA(C,21))*1.004;
加码条件:=CROSS(C,加码价) AND 加码价>REF(加码价,1);
STICKLINE(加码条件,O,C,1.5,0),COLORFF0080;
短线强势区:=CROSS("KDJ".J,80) AND "MACD.DIF">"MACD.DEA" AND MA(C,5)>MA(C,30);
DRAWTEXT("KDJ.J"-REF("KDJ.J",1)>30 AND C/REF(C,1)>1.043 AND "MACD.MACD">0 AND "MACD.DEA">0,L*0.98,'*爆'),COLORYELLOW;
来函数检测结果如下:
该公式没有未来函数
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
VAR1赋值:(收盘价+最高价+最低价)/3
VAR2赋值:VAR1的10日指数移动平均
{股票指标网}
VAR3赋值:1日前的VAR2
STICKLINE((VAR2>VAR3),收盘价,开盘价,2.8,0),COLOR000088
STICKLINE((VAR2>VAR3),收盘价,开盘价,2.6,0),COLOR000099
STICKLINE((VAR2>VAR3),收盘价,开盘价,2.4,0),COLOR0000AA
STICKLINE((VAR2>VAR3),收盘价,开盘价,2.2,0),COLOR0000BB
STICKLINE((VAR2>VAR3),收盘价,开盘价,2.0,0),COLOR0000CC
STICKLINE((VAR2>VAR3),收盘价,开盘价,1.8,0),COLOR0000DD
STICKLINE((VAR2>VAR3),收盘价,开盘价,1.5,0),COLOR0000EE
STICKLINE((VAR2>VAR3),收盘价,开盘价,1,0),COLOR0000FF
STICKLINE((VAR2>VAR3),最低价,最高价,0.0,0),COLOR0000FF
STICKLINE((VAR3>VAR2),收盘价,开盘价,2.8,0),COLOR888800
STICKLINE((VAR3>VAR2),收盘价,开盘价,2.6,0),COLOR999900
STICKLINE((VAR3>VAR2),收盘价,开盘价,2.4,0),COLORAAAA00
STICKLINE((VAR3>VAR2),收盘价,开盘价,2,2),COLORBBBB00
STICKLINE((VAR3>VAR2),收盘价,开盘价,2.0,0),COLORCCCC00
STICKLINE((VAR3>VAR2),收盘价,开盘价,1.8,0),COLORDDDD00
STICKLINE((VAR3>VAR2),收盘价,开盘价,1.5,0),COLOREEEE00
STICKLINE((VAR3>VAR2),收盘价,开盘价,1,0),COLORFFFF00
STICKLINE((VAR3>VAR2),最低价,最高价,0.0,0),COLORFFFF00
STICKLINE((开盘价>收盘价),收盘价,开盘价,0,0),COLORFFFF00
STICKLINE((开盘价<收盘价),收盘价,开盘价,0,0),画红色
C4赋值:VAR2上穿VAR3
C5赋值:VAR3上穿VAR2
当满足条件C4时,在最低价-0.3和11之间画图标
买进价赋值:((C-REF(C的6日简单移动平均,1))/6+C的6日简单移动平均)*1.004
买进条件赋值:C上穿买进价 AND 买进价>1日前的买进价
当满足条件买进条件时,在O和C之间画柱状线
加码价赋值:((C-REF(C的21日简单移动平均,1))/21+C的21日简单移动平均)*1.004
加码条件赋值:C上穿加码价 AND 加码价>1日前的加码价
当满足条件加码条件时,在O和C之间画柱状线
短线强势区赋值:"KDJ".J上穿80 AND "MACD.DIF">"MACD.DEA" AND C的5日简单移动平均>C的30日简单移动平均
DRAWTEXT("KDJ.J"-1日前的"KDJ.J">30 AND C/1日前的C>1.043 AND "MACD.MACD">0 AND "MACD.DEA">0,L*0.98,'*爆'),画黄色