szwzs
发表于 2018-5-4 16:08
ljpdym 发表于 2018-5-4 13:39
如何添加进去 ?
在通达信的公式管理器里,选择条件选股公式,再选择新建,在对话框里输入公式名称和复制公式内容后,再点击测试公式,没有报错就可以按确定了
ZT:=C/REF(C,1)>1.095;
VAR11:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(VAR11,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
AAA:=(3*C+H+L+O)/6;
VAR1:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36;
VAR2:=(HHV(VAR1,5)+HHV(VAR1,10)+HHV(VAR1,20))/3;
VAR3:=(LLV(VAR1,5)+LLV(VAR1,10)+LLV(VAR1,20))/3;
VAR4:=(HHV(VAR2,5)+HHV(VAR2,10)+HHV(VAR2,20))/3;
VAR5:=(LLV(VAR3,5)+LLV(VAR3,10)+LLV(VAR3,20))/3;
VAR6:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,6))/3;
A6:=VAR1<REF(VAR1,1);
G6:=COUNT(A6,9)>7;
JL:G6 AND COUNT(ZT,40)>=2 AND (MIN(C,O)-L)/C>0.02 AND COUNT(J<0,8)>=3 AND (HHV(H,40)-L)/HHV(H,40)>0.2;
大枫枫
发表于 2018-5-7 17:26
谢谢楼主分享
老男人一片云
发表于 2018-5-8 15:08
谢谢楼主的分享
喇嘛教
发表于 2019-2-24 13:48
谢谢楼主分享
安逸安逸
发表于 2019-3-10 23:35
谢谢您的分享!
fyr19830902
发表于 2019-3-13 15:26
ZT:=C/REF(C,1)>1.095;
VAR11:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(VAR11,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
AAA:=(3*C+H+L+O)/6;
VAR1:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36;
VAR2:=(HHV(VAR1,5)+HHV(VAR1,10)+HHV(VAR1,20))/3;
VAR3:=(LLV(VAR1,5)+LLV(VAR1,10)+LLV(VAR1,20))/3;
VAR4:=(HHV(VAR2,5)+HHV(VAR2,10)+HHV(VAR2,20))/3;
VAR5:=(LLV(VAR3,5)+LLV(VAR3,10)+LLV(VAR3,20))/3;
VAR6:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,6))/3;
A6:=VAR1<REF(VAR1,1);
G6:=COUNT(A6,9)>7;
JL:G6 AND COUNT(ZT,40)>=2 AND (MIN(C,O)-L)/C>0.02 AND COUNT(J<0,8)>=5 AND (HHV(H,40)-L)/HHV(H,40)>0.3;
daoyao123
发表于 2019-3-30 00:50
谢谢楼主的分享!
无恙9527
发表于 2022-2-9 16:51
dddddddddddddddddddddddddddddddd
醉亨人生
发表于 2022-2-10 03:46
本公式旨在选出一些这样的股票:一波包含至少2个涨停的升势结束之后,股价经过一段单调的下跌,直至股价出现拐点。
ZT:=C/REF(C,1)>1.095;
VAR11:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(VAR11,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
AAA:=(3*C+H+L+O)/6;
VAR1:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36;
VAR2:=(HHV(VAR1,5)+HHV(VAR1,10)+HHV(VAR1,20))/3;
VAR3:=(LLV(VAR1,5)+LLV(VAR1,10)+LLV(VAR1,20))/3;
VAR4:=(HHV(VAR2,5)+HHV(VAR2,10)+HHV(VAR2,20))/3;
VAR5:=(LLV(VAR3,5)+LLV(VAR3,10)+LLV(VAR3,20))/3;
VAR6:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,6))/3;
A6:=VAR1<REF(VAR1,1);
G6:=COUNT(A6,9)>7;
JL:G6 AND COUNT(ZT,40)>=2 AND (MIN(C,O)-L)/C>0.02 AND COUNT(J<0,8)>=5 AND (HHV(H,40)-L)/HHV(H,40)>0.3;
金燕369
发表于 2022-3-5 22:41
谢谢楼主分享
金燕369
发表于 2022-3-5 22:43
谢谢楼主分享
金燕369
发表于 2022-3-5 22:45
谢谢楼主分享
韭菜炒叉烧
发表于 2022-6-15 20:16
谢谢楼主分享
赵秀良
发表于 2022-12-15 15:42
谢楼主分享。。。。。
zjq613
发表于 2023-4-10 23:16
谢谢楼主分享