把此主图指标改成选股指标
2020/4/21 19:10:18
公式编写说明:
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);
公式源码回答:
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;
B:=BARSLAST(三卖);
买:五买 AND COUNT(五买,B)=1;
投股票 网 w ww.tou18.cn
股市公式下载推荐