股票论坛
标题:
请老师同学帮修改一个公式,谢谢!!
[打印本页]
作者:
夜谈天方
时间:
2016-7-27 17:02
标题:
请老师同学帮修改一个公式,谢谢!!
大智慧黄金买点公式改为通达信用公式,可以在K线图上面显示的,谢谢!!
源码:
预测明日买点:=EMA((o+h+l)/3,4)+((h+l)/2-ref((o+h+l)/3,3))/4;
DRAWTEXTREL(360,100,'昨测今日买点:'+NUMTOSTRN(ref(预测明日买点,1),2 )),LINETHICK2,colorwhite;
预测明日卖点:=EMA(c+(h-l)*0.618,3)+(EMA(c+(h-l)*0.618,3)-黄金买点)*0.618;
DRAWTEXTREL(670,100,'昨测今日卖点:'+NUMTOSTRN(ref(预测明日卖点,1),2 )),LINETHICK2,colorwhite;
作者:
叶昕
时间:
2016-7-27 17:02
全部公式应该是这样的,也是在网上找的哦
黄金卖点:EMA(c+(h-l)*0.618,3),coloryellow,LINETHICK1;
黄金买点:EMA((o+h+l)/3,4),colorccffff,LINETHICK0;
红粉佳人:EMA(SLOPE(C,21)*20+C,42),COLORred,LINETHICK0;
DRAWTEXTREL(700,20,'黄金卖点:'+NUMTOSTRN(黄金卖点,2 )),LINETHICK2,coloryellow;
DRAWTEXTREL(400,20,'黄金买点:'+NUMTOSTRN(黄金买点,2 )),LINETHICK2,coloryellow;
PARTLINE(黄金买点,c>=黄金买点,RGB(255,0,255),1,RGB(0,0,0)),LINETHICK1;
PARTLINE(红粉佳人,c>=黄金买点 and 红粉佳人>=ref(红粉佳人,1),RGB(255,0,0),红粉佳人>=ref(红粉佳人,1),RGB(255,255,255),c>=黄金买点 and 红粉佳人<ref(红粉佳人,1),RGB(0,0,255),1,RGB(0,255,0)),LINETHICK2;
预测明日买点:=EMA((o+h+l)/3,4)+((h+l)/2-ref((o+h+l)/3,3))/4;
DRAWTEXTREL(360,100,'昨测今日买点:'+NUMTOSTRN(ref(预测明日买点,1),2 )),LINETHICK2,colorwhite;
预测明日卖点:=EMA(c+(h-l)*0.618,3)+(EMA(c+(h-l)*0.618,3)-黄金买点)*0.618;
DRAWTEXTREL(670,100,'昨测今日卖点:'+NUMTOSTRN(ref(预测明日卖点,1),2 )),LINETHICK2,colorwhite;
欢迎光临 股票论坛 (http://100000w.com/)
Powered by Discuz! X3.2