通达信短线买卖源码 主图 贴图
红轨道:=MA(MA(CLOSE,3),1),LINETHICK1,COLORYELLOW;
轨道:MA(MA(CLOSE,3),3),COLORBLUE,LINETHICK2;
升:IF(红轨道>=轨道,轨道,DRAWNULL),COLORMAGENTA,LINETHICK3;
{股票指标网}
DRAWICON(CROSS(ZIG(3,12),REF(ZIG(3,12),1)),LOW*0.82,7);
DRAWICON(CROSS(ZIG(3,5),REF(ZIG(3,5),1)),LOW*0.99,1);
DRAWICON(CROSS(ZIG(3,8),REF(ZIG(3,8),1)),LOW*0.94,3);
DRAWICON(CROSS(ZIG(3,10),REF(ZIG(3,10),1)),LOW*0.88,5);
DRAWICON(CROSS(REF(ZIG(3,12),1),ZIG(3,12)),HIGH*1.15,8);
DRAWICON(CROSS(REF(ZIG(3,10),1),ZIG(3,10)),HIGH*1.1,6);
DRAWICON(CROSS(REF(ZIG(3,8),1),ZIG(3,8)),HIGH*1.06,4);
DRAWICON(CROSS(REF(ZIG(3,5),1),ZIG(3,5)),HIGH*1.02,2);
未来函数检测结果如下:
该公式包含未来函数:ZIG
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
红轨道赋值:收盘价的3日简单移动平均,1),LINETHICK1,画黄色
输出
轨道:收盘价的3日简单移动平均,3), 画蓝色, 线宽为2
如果红轨道>=轨道返回轨道否则返回DRAWNULL
{股票指标网}
DRAWICON(CROSS(ZIG(3,12),REF(ZIG(3,12),1)),最低价*0.82,7)
DRAWICON(CROSS(ZIG(3,5),REF(ZIG(3,5),1)),最低价*0.99,1)
DRAWICON(CROSS(ZIG(3,8),REF(ZIG(3,8),1)),最低价*0.94,3)
DRAWICON(CROSS(ZIG(3,10),REF(ZIG(3,10),1)),最低价*0.88,5)
DRAWICON(CROSS(REF(ZIG(3,12),1),ZIG(3,12)),最高价*1.15,8)
DRAWICON(CROSS(REF(ZIG(3,10),1),ZIG(3,10)),最高价*1.1,6)
DRAWICON(CROSS(REF(ZIG(3,8),1),ZIG(3,8)),最高价*1.06,4)
DRAWICON(CROSS(REF(ZIG(3,5),1),ZIG(3,5)),最高价*1.02,2)