MACD零轴后出(资金进场日)出红柱的选股公式

[复制链接]
查看18 | 回复0 | 2022-7-24 06:58:03 | 显示全部楼层 |阅读模式

原公式:

A:=WINNER(CLOSE+CLOSE*15/100)*100;
 B:=WINNER(CLOSE+CLOSE*0/100)*100;
 CC:=A-B;
 D:=(WINNER(CLOSE-CLOSE*0.1/100)-WINNER(CLOSE-CLOSE*15/100))*100;
 E:=CC<3 AND D<0.5 AND OPEN!=LOW;
 A1:=DYNAINFO(6);
 A2:=IF(LOW>A1,0,IF(HIGH<A1,1,(A1-LOW+0.01)/(HIGH-LOW+0.01)));
 A3:=VOL/WINNER(LOW);
 A4:=REF(HHV(CLOSE,120),1);
 A5:=REF(LLV(CLOSE,120),1);
 A6:=100*(CLOSE-A5)/(A4-A5);
 A7:=A2>0 OR A2=1;
 A8:=A7 AND A3/REF(A3,3)>=3 AND A6<80;
 A9:=REF(A8,1) OR REF(A8,2) OR REF(A8,3) OR REF(A8,4);
 A10:=A8 AND A9;
 A11:=IF(FILTER(A8,3),5,0);
 A12:=IF(FILTER(A10,3) OR E,10,0);
资金进场日:A11>0;

=============================

选股公式:

A:=WINNER(CLOSE+CLOSE*15/100)*100;
 B:=WINNER(CLOSE+CLOSE*0/100)*100;
 CC:=A-B;
 DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
 DEA:=EMA(DIF,9);
 MACD:=(DIF-DEA)*2;
 D:=(WINNER(CLOSE-CLOSE*0.1/100)-WINNER(CLOSE-CLOSE*15/100))*100;
 E:=CC<3 AND D<0.5 AND OPEN!=LOW;
 A1:=DYNAINFO(6);
 A2:=IF(LOW>A1,0,IF(HIGH<A1,1,(A1-LOW+0.01)/(HIGH-LOW+0.01)));
 A3:=VOL/WINNER(LOW);
 A4:=REF(HHV(CLOSE,120),1);
 A5:=REF(LLV(CLOSE,120),1);
 A6:=100*(CLOSE-A5)/(A4-A5);
 A7:=A2>0 OR A2=1;
 A8:=A7 AND A3/REF(A3,3)>=3 AND A6<80;
 A9:=REF(A8,1) OR REF(A8,2) OR REF(A8,3) OR REF(A8,4);
 A10:=A8 AND A9;
 A11:=IF(FILTER(A8,3),5,0);
 A12:=IF(FILTER(A10,3) OR E,10,0);
资金进场日:A11>0 AND DIF>0;

823455955.png

823455955.png

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则