青龙主图突破青龙线可以持股通达信指标 主图 源码 测试图
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,0),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;
A1AA:=9;
A2AA:=(REF(CLOSE,A1AA+1)<CLOSE);
DRAWTEXT(FILTER((A2AA>-0.5),84),(HIGH)*(1.03),'小心变盘'),COLORFFFFFF;
DRAWTEXT(CROSS(83,RSI),H*1.04,'逃顶')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,0),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),画红色
A1AA赋值:9
A2AA赋值:(A1AA+1日前的收盘价<收盘价)
DRAWTEXT(FILTER((A2AA>-0.5),84),(最高价)*(1.03),'小心变盘'),COLORFFFFFF
DRAWTEXT(83上穿RSI,H*1.04,'逃顶')画黄色