来函数检测结果如下:
该公式没有未来函数


红1:EMA(CLOSE,13)-EMA(CLOSE,21);
红2:EMA(红1,2);
红3:(红1-红2)*7,colorred,LINETHICK2;
DRAWBAND(红1,RGB(255,50,0),红2,RGB(0,255,50));
界: 0,COLORFFFF00,LINETHICK1;
STICKLINE((红3 > 0),0,红3,1,0),COLOR0000CC;
STICKLINE((红3 > 0),0,红3*0.9,1,0),COLOR0000EE;
STICKLINE((红3 > 0),0,红3*0.8,1,0),COLOR0011FF;
STICKLINE((红3 > 0),0,红3*0.7,1,0),COLOR0033FF;
STICKLINE((红3 > 0),0,红3*0.6,1,0),COLOR0055FF;
STICKLINE((红3 > 0),0,红3*0.5,1,0),COLOR0077FF;
STICKLINE((红3 > 0),0,红3*0.4,1,0),COLOR0099FF;
STICKLINE((红3 > 0),0,红3*0.3,1,0),COLOR00BBFF;
STICKLINE((红3 > 0),0,红3*0.2,1,0),COLOR00DDFF;
STICKLINE((红3 > 0),0,红3*0.1,1,0),COLOR00FFFF;
STICKLINE((红3 < 0),0,红3,1,0),COLORCC0033;
STICKLINE((红3 < 0),0,红3*0.9,1,0),COLOREE0033;
STICKLINE((红3 < 0),0,红3*0.8,1,0),COLORFF1133;
STICKLINE((红3 < 0),0,红3*0.7,1,0),COLORFF3333;
STICKLINE((红3 < 0),0,红3*0.6,1,0),COLORFF5533;
STICKLINE((红3 < 0),0,红3*0.5,1,0),COLORFF7733;
STICKLINE((红3 < 0),0,红3*0.4,1,0),COLORFF9933;
STICKLINE((红3 < 0),0,红3*0.3,1,0),COLORFFBB33;
STICKLINE((红3 < 0),0,红3*0.2,1,0),COLORFFDD33;
STICKLINE((红3 < 0),0,红3*0.1,1,0),COLORFFFF33;







原理解析:
输出红1:收盘价的13日指数移动平均-收盘价的21日指数移动平均
输出红2:红1的2日指数移动平均
输出红3:(红1-红2)*7,画红色, 线宽为2
DRAWBAND(红1,RGB(255,50,0),红2,RGB(0,255,50))
输出界: 0,COLORFFFF00,LINETHICK1
STICKLINE((红3 > 0),0,红3,1,0),COLOR0000CC
STICKLINE((红3 > 0),0,红3*0.9,1,0),COLOR0000EE
STICKLINE((红3 > 0),0,红3*0.8,1,0),COLOR0011FF
STICKLINE((红3 > 0),0,红3*0.7,1,0),COLOR0033FF
STICKLINE((红3 > 0),0,红3*0.6,1,0),COLOR0055FF
STICKLINE((红3 > 0),0,红3*0.5,1,0),COLOR0077FF
STICKLINE((红3 > 0),0,红3*0.4,1,0),COLOR0099FF
STICKLINE((红3 > 0),0,红3*0.3,1,0),COLOR00BBFF
STICKLINE((红3 > 0),0,红3*0.2,1,0),COLOR00DDFF
STICKLINE((红3 > 0),0,红3*0.1,1,0),COLOR00FFFF
STICKLINE((红3 < 0),0,红3,1,0),COLORCC0033
STICKLINE((红3 < 0),0,红3*0.9,1,0),COLOREE0033
STICKLINE((红3 < 0),0,红3*0.8,1,0),COLORFF1133
STICKLINE((红3 < 0),0,红3*0.7,1,0),COLORFF3333
STICKLINE((红3 < 0),0,红3*0.6,1,0),COLORFF5533
STICKLINE((红3 < 0),0,红3*0.5,1,0),COLORFF7733
STICKLINE((红3 < 0),0,红3*0.4,1,0),COLORFF9933
STICKLINE((红3 < 0),0,红3*0.3,1,0),COLORFFBB33
STICKLINE((红3 < 0),0,红3*0.2,1,0),COLORFFDD33
STICKLINE((红3 < 0),0,红3*0.1,1,0),COLORFFFF33

声明:本站所有资源,均为用户自主上传,仅作为学习交流之用,其版权归原作者或原出版社所有,本站不对所涉及的版权问题负法律责任。如有侵权,请联系我们删除!