在线检测未来函数

一品通道主图之钱袋选股指标公式

来源:Internet,编辑:股旁网,2024-02-19

本文选股公式根据以下股票公式改编:

股旁网此处内容已被隐藏,请输入验证码查看内容。
验证码:
请关注本站微信公众号,回复“88”,获取验证码。
提示:在微信里搜索“股旁网”或者微信扫描右侧二维码。

N:=20;
M:=90;
DD:=250;
X_2:=AMOUNT/vol/100;
X_3:=EMA(X_2,N);
X_4:=M;
DIF:=EMA(Abs(100*CLOSE/X_3-100),X_4);
HH:=X_3*(100+DIF)/100,COLORRED,LINETHICK2;
MID:=X_3,COLORMAGENTA;
LL:=X_3*(100-DIF)/100,COLORGREEN,LINETHICK2;
HH2:=IF(CURRBARSCOUNT<=DD,X_3*(100+DIF*2)/100,DRAWNULL),COLORYELLOW;
LL2:=IF(CURRBARSCOUNT<=DD,X_3*(100-DIF*2)/100,DRAWNULL),COLORYELLOW;
X_5:=REF(BARSLAST(crOSS(LL,MAX(CLOSE,OPEN))),1)+1;
X_6:=X_5>=1 AND (CLOSE>OPEN AND CLOSE>REF(CLOSE,1) AND COUNT(CLOSE>REF(CLOSE,1),X_5)=1);
X_7:=REF(BARSLAST(CROSS(LL2,MAX(CLOSE,OPEN))),1)+1;
X_8:=X_7>=1 AND LOW< LL2 AND CLOSE< LL AND CLOSE>OPEN AND CLOSE>REF(CLOSE,1) AND COUNT(CLOSE>REF(CLOSE,1),X_7)=1;
X_9:=HIGH< REF(HIGH,1) AND LOW< REF(LOW,1);
X_10:=HIGH< REF(HIGH,1) AND LOW>REF(LOW,1);
X_11:=HIGH>REF(HIGH,1) AND LOW< REF(LOW,1);
X_12:=HIGH>REF(HIGH,1) AND LOW>REF(LOW,1);
X_13:=REF(HIGH,2)< HIGH AND REF(LOW,2)< LOW AND REF(HIGH,2)>REF(HIGH,1) AND REF(LOW,2)< REF(LOW,1);
X_14:=COUNT(X_9,6)>=3 AND COUNT(X_10 OR X_11,5)=0 AND LLVBARS(LOW,6)=1 AND HHVBARS(HIGH,6)>=5 AND X_12;
X_15:=COUNT(X_9,7)>=3 AND COUNT(X_10 OR X_11,6)=1 AND LLVBARS(LOW,7)=2 AND HHVBARS(HIGH,7)>=6 AND X_13;
X_16:=COUNT(X_9,7)>=3 AND COUNT(X_10 OR X_11,6)=1 AND LLVBARS(LOW,7)=1 AND HHVBARS(HIGH,7)>=6 AND X_12;
X_17:=COUNT(X_9,8)>=3 AND COUNT(X_10 OR X_11,7)<=2 AND LLVBARS(LOW,8)=2 AND HHVBARS(HIGH,8)>=7 AND X_13;
X_18:=COUNT(X_9,8)>=3 AND COUNT(X_10 OR X_11,7)<=2 AND LLVBARS(LOW,8)=1 AND HHVBARS(HIGH,8)>=7 AND X_12;
X_19:=COUNT(X_9,9)>=3 AND COUNT(X_10 OR X_11,8)<=3 AND LLVBARS(LOW,9)=2 AND HHVBARS(HIGH,9)>=8 AND X_13;
X_20:=COUNT(X_9,9)>=3 AND COUNT(X_10 OR X_11,8)<=3 AND LLVBARS(LOW,9)=1 AND HHVBARS(HIGH,9)>=8 AND X_12;
X_21:=COUNT(X_9,10)>=3 AND COUNT(X_10 OR X_11,9)<=4 AND LLVBARS(LOW,10)=2 AND HHVBARS(HIGH,10)>=9 AND X_13;
X_22:=COUNT(X_9,10)>=3 AND COUNT(X_10 OR X_11,9)<=4 AND LLVBARS(LOW,10)=1 AND HHVBARS(HIGH,10)>=9 AND X_12;
X_23:=COUNT(X_9,11)>=3 AND COUNT(X_10 OR X_11,10)<=5 AND LLVBARS(LOW,11)=2 AND HHVBARS(HIGH,11)>=10 AND X_13;
X_24:=COUNT(X_9,3)>=1 AND LLVBARS(LOW,3)=1 AND X_12;
X_25:=COUNT(X_9,4)>=1 AND LLVBARS(LOW,4)=2 AND X_13;
X_26:=COUNT(X_9,4)>=1 AND COUNT(X_10 OR X_11,4)=1 AND LLVBARS(LOW,4)=1 AND X_12;
X_27:=COUNT(X_9,5)>=1 AND COUNT(X_10 OR X_11,5)=2 AND LLVBARS(LOW,5)=2 AND X_13;
X_28:=X_14 OR X_15 OR X_16 OR X_17 OR X_18 OR X_19 OR X_20 OR X_21 OR X_22 OR X_23 OR X_24 OR X_25 OR X_26 OR X_27;
X_29:=X_7>=1 AND X_28 AND COUNT(X_28,X_7)=1;
红钻:X_8 AND NOT(X_29);

一品通道主图之钱袋选股指标公式

相关文章