当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:涨停难逃,和谐通达信源码分享
软件名称:[B]涨停难逃,和谐通达信源码分享[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:5.00 KB
官方主页:Home Page
更新时间:2020-08-20 00:15:18
软件简介:
{公式名称: 涨停难逃
公式描述:
无参数
公式类型: 技术指标公式-其他类型
画线方法: 副图
公式源码:}
福海制:0,NODRAW,COLORCYAN;
趋势线:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),COLORYELLOW;
动态市盈率:CLOSE/FINANCE(33),NODRAW,COLORWHITE;
VAR1:=AMOUNT/CLOSE/(HHV(AMOUNT,20)/HHV(CLOSE,20));
量能饱和度:IF(VAR1>1,1,VAR1)*100,NODRAW,COLORRED;
VAR2:=CLOSE/REF(CLOSE,1)>1.02;
VAR3:=VOL>MA(VOL,5);
VAR4:=VAR2 AND VAR3;
VAR5:=IF(VAR4,70,0);
VAR6:=VAR5;
VAR7:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
VAR8:=IF(CLOSE>OPEN,VAR7*(HIGH-LOW),IF(CLOSE<OPEN,VAR7*(HIGH-OPEN+(CLOSE-LOW)),VOL/2));
VAR9:=VAR8/VOL*100;
VAR10:=VAR9>=80;
VAR11:=ATAN((EMA(CLOSE,5)/REF(EMA(CLOSE,5),1)-1)*100)*57.299999;
VAR12:=ATAN((EMA(CLOSE,10)/REF(EMA(CLOSE,10),1)-1)*100)*57.299999;
VAR13:=ATAN((EMA(CLOSE,20)/REF(EMA(CLOSE,20),1)-1)*100)*57.299999;
VAR14:=VAR11>=60 AND VAR12>13;
VAR15:=IF(CLOSE>REF(CLOSE,1),88,0);
VAR16:=IF(CLOSE/REF(CLOSE,1)>1.02 AND HIGH/CLOSE<1.01 AND VAR15>0,91,0);
VAR17:=FILTER(VAR16>1,5);
VAR18:=MA(CLOSE,90);
VAR19:=MA(CLOSE,288);
VAR20:=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);
VAR21:=IF(1.09>SMA(CLOSE,5,1)/SMA(CLOSE,15,1)>0.3,SMA(LOW,10,1),SMA(LOW,5,1));
VAR22:=IF(MA(VOL,2)>MA(VOL,3)/2>MA(VOL,5),SMA(HIGH,2,1),SMA(CLOSE,3,1));
VAR23:=IF(MA(VOL,3)>MA(VOL,5)>MA(VOL,9),SMA(CLOSE,3,1),SMA(CLOSE,5,1));
VAR24:=CROSS(VAR22,VAR20) OR CROSS(VAR18,VAR21) OR CROSS(VAR20,VAR19);
VAR25:=VAR17 OR VAR24;
VAR26:=CLOSE/REF(CLOSE,3)*100-100;
VAR27:=STICKLINE(VAR26>12,0,50,2,0);
VAR28:=MA(CLOSE,5);
VAR29:=MA(CLOSE,10);
VAR30:=MA(VOL,10);
VAR31:=HHV(HIGH,5)=HHV(HIGH,0) AND BARSCOUNT(CLOSE)>=5;
VAR32:=CLOSE>REF(CLOSE,1)*1.02;
VAR33:=VOL>VAR30;
VAR34:=OPEN>VAR29 AND CLOSE>VAR28;
VAR35:=VAR31 AND VAR32 AND VAR33 AND VAR34;
{通达信公式大全 分析家公式网www.70822.com}
VAR36:=VAR26 OR VAR35;
VAR37:=VAR6 AND VAR10 AND VAR14 AND VAR25 AND VAR36;
STICKLINE(VAR37,20,40,1,0),COLORWHITE;
STICKLINE(VAR37,10,20,2,0),COLORRED;
STICKLINE(VAR37,0,10,3,0),COLOR0080FF;
STICKLINE(VAR37,(-10),0,4,0),COLORMAGENTA;
STICKLINE(VAR37,(-20),(-10),5,0),COLORYELLOW;
STICKLINE(VAR37,(-30),(-20),6,0),COLORLIGREEN;
STICKLINE(VAR37,(-40),(-30),7,0),COLORCYAN;
STICKLINE(VAR37,(-50),(-40),8,0),COLORBLUE;
STICKLINE(VAR37,(-65),(-50),9,0),COLORLIGREEN;
DRAWICON(VAR37,43,13);
{公式名称: 涨停难逃
公式描述:
无参数
公式类型: 条件选股公式-其他类型
公式源码:}
VAR1:=CLOSE/REF(CLOSE,1)>1.02;
VAR2:=VOL>MA(VOL,5);
VAR3:=VAR1 AND VAR2;
VAR4:=IF(VAR3,70,0);
VAR5:=VAR4;
VAR6:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
VAR7:=IF(CLOSE>OPEN,VAR6*(HIGH-LOW),IF(CLOSE<OPEN,VAR6*(HIGH-OPEN+(CLOSE-LOW)),VOL/2));
VAR8:=VAR7/VOL*100;
VAR9:=VAR8>=80;
VAR10:=ATAN((EMA(CLOSE,5)/REF(EMA(CLOSE,5),1)-1)*100)*57.299999;
VAR11:=ATAN((EMA(CLOSE,10)/REF(EMA(CLOSE,10),1)-1)*100)*57.299999;
VAR12:=ATAN((EMA(CLOSE,20)/REF(EMA(CLOSE,20),1)-1)*100)*57.299999;
VAR13:=VAR10>=60 AND VAR11>13;
VAR14:=IF(CLOSE>REF(CLOSE,1),88,0);
VAR15:=IF(CLOSE/REF(CLOSE,1)>1.02 AND HIGH/CLOSE<1.01 AND VAR14>0,91,0);
VAR16:=FILTER(VAR15>1,5);
VAR17:=MA(CLOSE,90);
VAR18:=MA(CLOSE,288);
VAR19:=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);
VAR20:=IF(1.09>SMA(CLOSE,5,1)/SMA(CLOSE,15,1)>0.3,SMA(LOW,10,1),SMA(LOW,5,1));
VAR21:=IF(MA(VOL,2)>MA(VOL,3)/2>MA(VOL,5),SMA(HIGH,2,1),SMA(CLOSE,3,1));
VAR22:=IF(MA(VOL,3)>MA(VOL,5)>MA(VOL,9),SMA(CLOSE,3,1),SMA(CLOSE,5,1));
VAR23:=CROSS(VAR21,VAR19) OR CROSS(VAR17,VAR20) OR CROSS(VAR19,VAR18);
VAR24:=VAR16 OR VAR23;
VAR25:=CLOSE/REF(CLOSE,3)*100-100;
VAR26:=STICKLINE(VAR25>12,0,50,2,0);
VAR27:=MA(CLOSE,5);
VAR28:=MA(CLOSE,10);
VAR29:=MA(VOL,10);
VAR30:=HHV(HIGH,5)=HHV(HIGH,0) AND BARSCOUNT(CLOSE)>=5;
{通达信公式大全 分析家公式网www.70822.com}
VAR31:=CLOSE>REF(CLOSE,1)*1.02;
VAR32:=VOL>VAR29;
VAR33:=OPEN>VAR28 AND CLOSE>VAR27;
VAR34:=VAR30 AND VAR31 AND VAR32 AND VAR33;
VAR35:=VAR25 OR VAR34;
VAR5 AND VAR9 AND VAR13 AND VAR24 AND VAR35,COLORMAGENTA,LINETHICK4;
[url=http://www.70822.com/soft/sort013/sort05/down-149997.html]涨停难逃,和谐通达信源码分享[/url]