通达信价涨停难逃副图-选股指标 和谐源码分享 贴图

[复制链接]
查看101 | 回复0 | 2022-7-11 10:31:57 | 显示全部楼层 |阅读模式

2019748582017507.png

2019748582017507.png


涨停难逃副图源码:
福海制: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);


{公式名称: 涨停难逃
公式描述:
无参数
公式类型: 条件选股公式-其他类型
公式版本: 0 参数精灵:无
用法睥释:无
公式源码:}
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;

 

201974903344830.rar

5.18 KB, 下载次数: 0

售价: 1 金钱  [记录]  [购买]

201974903344830.rar

回复

使用道具 举报

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

本版积分规则