贴紧买优化1

2018-04-06    作者:admin    来源:网络

AA := REF(CLOSE,1);
BBB:=SMA(MAX(CLOSE-AA,0),34,1)/SMA(ABS(CLOSE-AA),34,1)*1000;
HHH:=BBB-LLV(BBB,36);
短期:(MA(HHH,2)*3+HHH*13)/16;
中期:MA(HHH,10);{www.tzj123.com}
差值:短期-中期,NODRAW;
CCC:=LLV(BBB,36)-BBB;
短期二:(MA(CCC,2)*3+CCC*13)/16;
中期二:MA(CCC,10);{www.tzj123.com}
STICKLINE(中期>100,10,-10,2,0),COLORLIGRAY;
STICKLINE(短期>100 AND 中期>100,10,-10,2,0),COLORRED;
STICKLINE(短期>200,10,-10,2,0),COLORYELLOW;
STICKLINE(短期>200 AND 中期>200,10,-10,2,0),COLORMAGENTA;
100,COLORGRAY,DOTLINE;
200,COLORLIGRAY,DOTLINE;
DRAWTEXT_FIX(ISLASTBAR,0,0,0,转强~灰色),COLORLIGRAY;
DRAWTEXT_FIX(ISLASTBAR,0.12,0,0,强势~红色),COLORRED;
DRAWTEXT_FIX(ISLASTBAR,0.24,0,0,超强~黄色),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.36,0,0,顶级强~洋红色),COLORMAGENTA;
DRAWTEXT_FIX(ISLASTBAR,0,0.15,0,注意颜色的顺序,如果相反就是转弱),COLORCYAN;

阅读:440    评论:0

联系我们 - 关于我们 - 网站地图

声明:站内所有文章、公式均来自互联网或网友分享提供,如侵犯您的权利请告知,我们会在24小时内及时删除! 


【电脑版】  【回到顶部】