beyond202104 发表于 2023-8-28 15:23:38

双重指标金叉 买点更加可靠【指标公式】(含选股)

第一部分 副图公式 手机/电脑


CAIH1:=EVERY(C>MA(C,30),3);
CAIH2:=MA(C,5)>MA(C,10) AND MA(C,10)>MA(C,30)? AND MA(C,30)>MA(C,120);
CAIH3:=H>=HHV(C,250);
N:=12;M:=9;
MTR:=EMA(EMA(EMA(CLOSE,N),N),N);
TRIX:(MTR-REF(MTR,1))/REF(MTR,1)*100;
MT:MA(TRIX,M) ;
金叉:=REF(MT,1)>REF(TRIX,1) AND MT
LONG:=26;SHORT:=12;MID:=9;
DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:=EMA(DIF,MID);
MACD:=(DIF-DEA)*2;
开口:=MACD>0 AND DIF>DEA AND DEA>0 AND MACD>REF(MACD,1);
双重金叉:=CAIH1 AND CAIH3 AND CAIH2 AND 金叉 AND (开口 OR REF(开口,1));
DRAWICON(双重金叉,MT,1);
DRAWTEXT(双重金叉,MT-0.1,'双金叉'),COLORYELLOW;


第二部分 选股公式


{选股公式:双金叉}
CAIH1:=EVERY(C>MA(C,30),3);
CAIH2:=MA(C,5)>MA(C,10) AND MA(C,10)>MA(C,30)? AND MA(C,30)>MA(C,120);
CAIH3:=H>=HHV(C,250);
N:=12;M:=9;
MTR:=EMA(EMA(EMA(CLOSE,N),N),N);
TRIX:=(MTR-REF(MTR,1))/REF(MTR,1)*100;
MT:=MA(TRIX,M) ;
金叉:=REF(MT,1)>REF(TRIX,1) AND MT
LONG:=26;SHORT:=12;MID:=9;
DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:=EMA(DIF,MID);
MACD:=(DIF-DEA)*2;
开口:=MACD>0 AND DIF>DEA AND DEA>0 AND MACD>REF(MACD,1);
双重金叉:=CAIH1 AND CAIH3 AND CAIH2 AND 金叉 AND (开口 OR REF(开口,1));
双金叉:双重金叉;


味芙168 发表于 2023-9-1 14:44:32

多谢分享!

Zzyiyon 发表于 2023-11-2 22:47:27

我是来挣鲜花的,嘿嘿

护身肛气净 发表于 2023-11-18 16:12:00

楼主哪儿来的这么多好东西!

盛续世影 发表于 2023-12-16 19:56:48

学习了,谢谢分享、、、

老马识途40 发表于 2024-1-23 04:16:26

很好的东东
页: [1]
查看完整版本: 双重指标金叉 买点更加可靠【指标公式】(含选股)