找回密码
 立即注册

QQ登录

只需一步,快速开始

广告载入中...
楼主: szwzs

网上流传的涨停难逃的公式,指标和预警。都不全的,如今补全

  [复制链接]
发表于 2018-5-18 08:46 | 显示全部楼层 |阅读模式

马上注册,享用更多功能,让你轻松玩转本论坛。

您需要 登录 才可以下载或查看,没有账号?立即注册

×
网上流传的涨停难逃的公式,指标和预警。都不全的,如今补全。现在通达信能通过了。喜欢的就评个分吧。

福海制:0,NODRAW,COLORCYAN;
趋势线:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),COLORYELLOW;
动态市盈率:CLOSE/FINANCE(33),NODRAW,COLORWHITE;
X_1:=AMOUNT/CLOSE/(HHV(AMOUNT,20)/HHV(CLOSE,20));
量能饱和度:IF(X_1>1,1,X_1)*100,NODRAW,COLORRED;
X_2:=CLOSE/REF(CLOSE,1)>1.02;
X_3:=VOL>MA(VOL,5);
X_4:=X_2 AND X_3;
X_5:=IF(X_4,70,0);
X_6:=X_5;
X_7:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
X_8:=IF(CLOSE>OPEN,X_7*(HIGH-LOW),IF(CLOSE<OPEN,X_7*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
X_9:=X_8/VOL*100;
X_10:=X_9>=80;
X_11:=ATAN((EMA(CLOSE,5)/REF(EMA(CLOSE,5),1)-1)*100)*57.299999;
X_12:=ATAN((EMA(CLOSE,10)/REF(EMA(CLOSE,10),1)-1)*100)*57.299999;
X_13:=ATAN((EMA(CLOSE,20)/REF(EMA(CLOSE,20),1)-1)*100)*57.299999;
X_14:=X_11>=60 AND X_12>13;
X_15:=IF(CLOSE>REF(CLOSE,1),88,0);
X_16:=IF(CLOSE/REF(CLOSE,1)>1.02 AND HIGH/CLOSE<1.01 AND X_15>0,91,0);
X_17:=FILTER(X_16>1,5);
X_18:=MA(CLOSE,90);
X_19:=MA(CLOSE,288);
X_20:=IF(1.1>SMA(CLOSE,2,1)/SMA(CLOSE,13,2)>1.03,SMA(HIGH,21,5)*1.05,SMA(HIGH,21,2)*1.05);
X_21:=IF(1.09>SMA(CLOSE,5,1)/SMA(CLOSE,15,1)>0.3,SMA(LOW,10,1),SMA(LOW,5,1));
X_22:=IF(MA(VOL,2)>MA(VOL,3)/2>MA(VOL,5),SMA(HIGH,2,1),SMA(CLOSE,3,1));
X_23:=IF(MA(VOL,3)>MA(VOL,5)>MA(VOL,9),SMA(CLOSE,3,1),SMA(CLOSE,5,1));
X_24:=CROSS(X_22,X_20) OR CROSS(X_18,X_21) OR CROSS(X_20,X_19);
X_25:=X_17 OR X_24;
X_26:=CLOSE/REF(CLOSE,3)*100-100;
X_27:=STICKLINE(X_26>12,0,50,2,0);
X_28:=MA(CLOSE,5);
X_29:=MA(CLOSE,10);
X_30:=MA(VOL,10);
X_31:=HHV(HIGH,5)=HHV(HIGH,0) AND BARSCOUNT(CLOSE)>=5;
X_32:=CLOSE>REF(CLOSE,1)*1.02;
X_33:=VOL>X_30;
X_34:=OPEN>X_29 AND CLOSE>X_28;
X_35:=X_31 AND X_32 AND X_33 AND X_34;
X_36:=X_26 OR X_35;
X_37:=X_6 AND X_10 AND X_14 AND X_25 AND X_36;
STICKLINE(X_37,20,40,1,0),COLORWHITE;
STICKLINE(X_37,10,20,2,0),COLORRED;
STICKLINE(X_37,0,10,3,0),COLOR0080FF;
STICKLINE(X_37,(-10),0,4,0),COLORMAGENTA;
STICKLINE(X_37,(-20),(-10),5,0),COLORYELLOW;
STICKLINE(X_37,(-30),(-20),6,0),COLORLIGREEN;
STICKLINE(X_37,(-40),(-30),7,0),COLORCYAN;
STICKLINE(X_37,(-50),(-40),8,0),COLORBLUE;
STICKLINE(X_37,(-65),(-50),9,0),COLORLIGREEN;
DRAWICON(X_37,43,13);
选股预警】
公式源码:}
X_1:=CLOSE/REF(CLOSE,1)>1.02;
X_2:=VOL>MA(VOL,5);
X_3:=X_1 AND X_2;
X_4:=IF(X_3,70,0);
X_5:=X_4;
X_6:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
X_7:=IF(CLOSE>OPEN,X_6*(HIGH-LOW),IF(CLOSE<OPEN,X_6*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
X_8:=X_7/VOL*100;
X_9:=X_8>=80;
X_10:=ATAN((EMA(CLOSE,5)/REF(EMA(CLOSE,5),1)-1)*100)*57.299999;
X_11:=ATAN((EMA(CLOSE,10)/REF(EMA(CLOSE,10),1)-1)*100)*57.299999;
X_12:=ATAN((EMA(CLOSE,20)/REF(EMA(CLOSE,20),1)-1)*100)*57.299999;
X_13:=X_10>=60 AND X_11>13;
X_14:=IF(CLOSE>REF(CLOSE,1),88,0);
X_15:=IF(CLOSE/REF(CLOSE,1)>1.02 AND HIGH/CLOSE<1.01 AND X_14>0,91,0);
X_16:=FILTER(X_15>1,5);
X_17:=MA(CLOSE,90);
X_18:=MA(CLOSE,288);
X_19:=IF(1.1>SMA(CLOSE,2,1)/SMA(CLOSE,13,2)>1.03,SMA(HIGH,21,5)*1.05,SMA(HIGH,21,2)*1.05);
X_20:=IF(1.09>SMA(CLOSE,5,1)/SMA(CLOSE,15,1)>0.3,SMA(LOW,10,1),SMA(LOW,5,1));
X_21:=IF(MA(VOL,2)>MA(VOL,3)/2>MA(VOL,5),SMA(HIGH,2,1),SMA(CLOSE,3,1));
X_22:=IF(MA(VOL,3)>MA(VOL,5)>MA(VOL,9),SMA(CLOSE,3,1),SMA(CLOSE,5,1));
X_23:=CROSS(X_21,X_19) OR CROSS(X_17,X_20) OR CROSS(X_19,X_18);
X_24:=X_16 OR X_23;
X_25:=CLOSE/REF(CLOSE,3)*100-100;
X_26:=STICKLINE(X_25>12,0,50,2,0);
X_27:=MA(CLOSE,5);
X_28:=MA(CLOSE,10);
X_29:=MA(VOL,10);
X_30:=HHV(HIGH,5)=HHV(HIGH,0) AND BARSCOUNT(CLOSE)>=5;
X_31:=CLOSE>REF(CLOSE,1)*1.02;
X_32:=VOL>X_29;
X_33:=OPEN>X_28 AND CLOSE>X_27;
X_34:=X_30 AND X_31 AND X_32 AND X_33;
X_35:=X_25 OR X_34;
X_5 AND X_9 AND X_13 AND X_24 AND X_35,COLORMAGENTA,LINETHICK4;



补充内容 (2019-3-2 08:38):
有朋友问,这个公式太滞后了,预警的标的出来不是已经板了就是反应时间不够。为此关于如何修改公式的预警宽裕度的意见在67楼。

评分

1

查看全部评分

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

本版积分规则

Archiver|手机版|小黑屋|股海明灯官网 ( 京ICP备18020431号 )

GMT+8, 2024-11-15 06:57 , Processed in 0.090100 second(s), Total 10, Slave 9 queries , Gzip On, MemCached On.

Powered by Discuz! X3.5

Copyright © 2001-2024 Tencent Cloud.

快速回复 返回顶部 返回列表