把此主图指标改成选股指标
2020/4/21 18:39:02
公式编写说明:
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.kanguba.com
其它股票公式列表