挖坑藏金主图公式 选股公式

[复制链接]
查看6 | 回复0 | 2022-7-24 05:54:47 | 显示全部楼层 |阅读模式

挖坑藏金主图公式

MA1:MA(CLOSE,5);
 MA2:MA(CLOSE,10);
 MA3:MA(CLOSE,20);
 MA4:MA(CLOSE,30);
 MA5:MA(CLOSE,60);
 SSXG:=U1 AND U2;
 A1:=C>MA(C,5) AND C>MA(C,10) AND C>MA(C,20) AND MA(C,5)>MA(C,10);
 A2:=REF((H-MAX(O,C))/MAX(O,C)*100>3,1) AND REF((MIN(O,C)-L)/L*100<2,1);
 A3:=O<REF(O,1) AND C>REF(H,1);
 XG1:=A1 AND A2 AND A3;
 XGXG1:=SSXG AND XG1;
 DRAWTEXT(XGXG1,H*1.03,'←-顺上过影'),COLORRED,LINETHICK2;
 BB1:=REF(C,3)/REF(C,4)>1.09 AND REF(H,3)>REF(O,3) AND REF(C,2)/REF(C,3)<1.09 AND REF(C,4)/REF(C,5)<1.09;
 BB2:=(C>REF(C,3) AND C/REF(C,1)>1.041) AND COUNT(BETWEEN(REF(C,1)/REF(C,2),1.05,0.97),2)=2;
 BB3:=REF(O,1)/REF(C,3)<1.05 AND REF(O,2)/REF(C,3)<1.05;
 BB4:=(REF(C,3)/REF(C,1)<1.02 AND REF(C,3)/REF(C,2)<1.02);
 XGB1:=BB1 AND BB2 AND BB3 AND BB4;
 ZHXG2:=SSXG AND XGB1;
 DRAWTEXT(ZHXG2,H*1.02,'←-顺上飞燕'),COLORFFFFCC,LINETHICK2;
 H1:=(REF(C,1)/REF(C,2)<0.96) OR (REF(O,1)/REF(C,1)>1.04);
 H2:=C/REF(C,1)>1.041 AND C>REF(O,1) ;
 XGH1:=H1 AND H2;
 Y1:=REF(O,1)/REF(C,1)>1.05;
 Y2:=C/REF(C,1)>1.041 AND C>REF(O,1) AND L<REF(C,1);
 XGH2:=Y1 AND Y2;
 XGY:=XGH1 OR XGH2;
 ZHXG3:=SSXG AND XGY;
 DRAWTEXT(ZHXG3,H*1.04,'←-顺上包阴'),COLORGREEN,LINETHICK2;
 SA1:=REF(C,2)>REF(O,2) AND REF(C,2)/REF(O,2)>1.02;
 SA2:=REF(H,1)>REF(MAX(C,O),1) AND REF(MIN(C,O),1)>REF(L,1)
 AND REF(MAX(C,O)/MIN(C,O)<1.01,1);
 SA3:=C>O AND MAX(C,O)/MIN(C,O)>1.03 AND C>REF(O,1) AND V>REF(V,1)
 AND C>MA(C,60) AND O<REF(O,1);
 SA4:=REF(C,2)>REF(MAX(C,O),1) AND REF(V,1)<REF(V,2);
 SYXG:=SA1 AND SA2 AND SA3 AND SA4;
 DRAWTEXT(SYXG,H*1.02,'←-双阳加星'),COLORFFFFCC,LINETHICK2;
 WA1:=C/REF(C,1)>1.07 AND C/O>1.03;
 WA2:=REF(C,3)<REF(O,3) AND REF(C,3)/REF(C,4)<0.96 AND REF(C,2)/REF(C,3)<1.02 AND REF(C,1)/REF(C,2)<1.02 AND C/REF(C,1)>1.041 AND C>O;
 WA3:=MAX(REF(C,1),REF(O,1))/MIN(REF(C,1),REF(O,1))<1.02 AND MAX(REF(C,2),REF(O,2))/MIN(REF(C,2),REF(O,2))<1.02;
 WA4:=MA(C,5)>MA(C,20);
 WJXG:=COUNT(REF(WA1,1),15) AND WA2 AND WA3 AND WA4;
 DRAWTEXT(WJXG,L*1.0,'●挖坑藏金'),COLORRED,LINETHICK2;
 S:=(REF(H,1)-MAX(REF(O,1),REF(C,1)))/MAX(O,C)*100>1.2 AND (MIN(REF(O,1),REF(C,1))-REF(L,1))/L*100<1.2;
 X:=(MIN(O,C)-L)/L*1400>1.2 AND (H-MAX(O,C))/MAX(O,C)*100<1.2;
 K:=V>REF(V,1)/2;
 B1:=C>O AND C/REF(C,1)>1.031 AND C>MA(C,5) AND MA(C,5)>MA(C,10);
 RCXG1:=S AND X AND K  AND B1;
 DRAWTEXT(WJXG,L*1.05,'←-顺上揉搓'),COLORFFFFCC,LINETHICK2;
 (REF(C,3)=REF(L,3)  AND REF(C,3)/REF(C,4)>1.095);
 TZXG:=Z1 AND Z2 AND Z3 AND Z4 AND Z5 AND Z6;
 DRAWTEXT(TZXG,L*1.02,'★顺上跳蚤'),COLOR00FFFF;
 DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
 DRAWTEXT(ZMXG1,L*1.03,'←--芝麻开花'),COLORYELLOW;
 

 

选股公式

WA1:=C/REF(C,1)>1.07 AND C/O>1.03;
 WA2:=REF(C,3)<REF(O,3) AND REF(C,3)/REF(C,4)<0.96 AND REF(C,2)/REF(C,3)<1.02 AND REF(C,1)/REF(C,2)<1.02 AND C/REF(C,1)>1.041 AND C>O;
 WA3:=MAX(REF(C,1),REF(O,1))/MIN(REF(C,1),REF(O,1))<1.02 AND MAX(REF(C,2),REF(O,2))/MIN(REF(C,2),REF(O,2))<1.02;
 WA4:=MA(C,5)>MA(C,20);
 WJXG:COUNT(REF(WA1,1),15) AND WA2 AND WA3 AND WA4;

 

回复

使用道具 举报

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

本版积分规则