把(五买三卖)交易系统提示买卖的箭头改成手指
2019/12/16 19:16:54
公式编写说明:
JDZ:=MAX(MA(C,5),MAX(MAX(MA(C,10),MA(C,20)),MAX(MA(C,60),MA(C,120))));JXZ:=MIN(MIN(MA(C,5),MA(C,10)),MA(C,20));五买:=REF(C,1)<REF(JDZ,1) AND C>JDZ;三卖:=REF(C,1)>REF(JXZ,1) AND C<JXZ;A:=BARSLAST(五买);B:=BARSLAST(三卖);ENTERLONG:IF(五买 AND COUNT(五买,B)=1,1,0);EXITLONG:IF(三卖 AND COUNT(三卖,A)=1,1,0);请老师帮忙一下,帮我把提示买卖的箭头改成手指。谢谢!!!(这个公式要放入交易系统公式才能有信号的)
公式源码回答:
JDZ:=MAX(MA(C,5),MAX(MAX(MA(C,10),MA(C,20)),MAX(MA(C,60),MA(C,120))));
JXZ:=MIN(MIN(MA(C,5),MA(C,10)),MA(C,20));
五买:=REF(C,1)<REF(JDZ,1) AND C>JDZ;
三卖:=REF(C,1)>REF(JXZ,1) AND C<JXZ;
A:=BARSLAST(五买);
B:=BARSLAST(三卖);
买:=IF(五买 AND COUNT(五买,B)=1,1,0);
卖:=IF(三卖 AND COUNT(三卖,A)=1,1,0);
DRAWICON(买,L*0.98,11);
DRAWICON(卖,H*1.02,12);
投股 票网 www.tou 18.cn
股市公式下载推荐