通达信软件通达信波段介入点源码副图 选股预警
2018-03-08原创 编 辑:翔博软件
答:只需加微信:396950280申请加入爱公式VIP微信群即可,天天有更新!
公式源码:
CN601:=HHV(V,5);{5日最高量}
CN602:=O>C;
CN702:=C>O;
CN703:=C=O;
CN704:=((SUM(V,5)/CN601));
CN705:=IF(CN704>0.3,1,0);{大资金}
CN706:=IF(CN602 AND CN705,V,0);{大资金流出}
CN707:=IF(CN702 AND CN705,V,0);{大资金流入}
CN708:=IF(CN703 AND CN705,V,0);{不明流向大资金}
AAA:=SUM(CN706,9),COLORCYAN;
BBB:=SUM(CN707,9),COLORRED;
不明流向大资金:=SUM(CN708,9),COLORWHITE;
CN709:=IF((CN703 OR CN602 OR CN702) AND CN705,V,0);{大资金累积}
累积大资金总和:=SUM(CN709,9),COLORBLUE;
顶:=80,COLORFFA500;
大顶:=100,COLORBLUE;
VAR1:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*80;
VAR2:=SMA(VAR1,10,1);
慢速:=SMA(VAR2,5,1),COLORRED;
RSV:= ((HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100)-70;
RSV1:= (CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
FATK:=SMA(RSV1,3,1);
形态:=SMA(FATK,3,1),COLORBB24DB;
VARA:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VARB:=SMA(VARA,3,1);
VARC:=SMA(VARB,3,1);
加速:=EMA(3*VARB-2*VARC,3),COLORYELLOW;
底:=6,COLOR00BF00;
大底:=-6,COLOR007300;
VAR11:=LLV(LOW,5)=LLV(LOW,45) AND CLOSE>=OPEN*1.04;
VAR22:=CLOSE>(REF(HIGH,1)+REF(LOW,1))/2;
买入:=VAR11 AND VAR22;
VAR3:=REF(CLOSE,1);
VAR4:=SMA(MAX(CLOSE-VAR3,0),6,1)/SMA(ABS(CLOSE-VAR3),6,1)*100;
卖出:=CROSS(80,VAR4);
{波段介入点}
A1:=REF(CLOSE,2);
A2:=SMA(MAX(CLOSE-A1,0),7,1)/SMA(ABS(CLOSE-A1),7,1)*100;
波段介入点:=IF(A2<19,19,0)COLORWHITE;
{DRAWGBK(C>0, RGB(50,60,250),RGB(17,21,89),0,'11',0);}
H1:=MAX(DYNAINFO(3),DYNAINFO(5));
L1:=MIN(DYNAINFO(3),DYNAINFO(6));
P1:=H1-L1;
阻力:=L1+P1*7/8,COLORGREEN;
支撑:=L1+P1*0.5/8,COLORRED;
中线:=(支撑+阻力)/2;
V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
趋势线:=EMA(V11,3),LINETHICK2,COLORLIMAGENTA;
V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;
准备买入:=趋势线<11;
AA:=(趋势线<11) AND FILTER((趋势线<=11),15) AND C<中线;
BB0:=REF(趋势线,1)<11 AND CROSS(趋势线,11) AND C<中线;
BB1:=REF(趋势线,1)<11 AND REF(趋势线,1)>6 AND CROSS(趋势线,11);
BB2:=REF(趋势线,1)<6 AND REF(趋势线,1)>3 AND CROSS(趋势线,6);
BB3:=REF(趋势线,1)<3 AND REF(趋势线,1)>1 AND CROSS(趋势线,3);
BB4:=REF(趋势线,1)<1 AND REF(趋势线,1)>0 AND CROSS(趋势线,1);
BB5:=REF(趋势线,1)<0 AND CROSS(趋势线,0);
BB:=BB1=1 OR BB2=1 OR BB3=1 OR BB4=1 OR BB5=1;
下单买入:=BB=1 AND C<中线;
{DRAWICON(BB=1 AND C<中线,55,1);
DRAWTEXT(BB0,60,'★买'),COLORRED;
DRAWTEXT(AA,16,'准备买入'),COLORYELLOW;
准备卖出:STICKLINE(趋势线>89,趋势线,89,5,0),COLORWHITE;}
CC:=(趋势线>89) AND FILTER((趋势线>89),15) AND C>中线;
DD0:=REF(趋势线,1)>89 AND CROSS(89,趋势线) AND C>中线;
DD1:=REF(趋势线,1)>89 AND REF(趋势线,1)<94 AND CROSS(89,趋势线);
DD2:=REF(趋势线,1)>94 AND REF(趋势线,1)<97 AND CROSS(94,趋势线);
DD3:=REF(趋势线,1)>97 AND REF(趋势线,1)>99 AND CROSS(97,趋势线);
DD4:=REF(趋势线,1)>99 AND REF(趋势线,1)<100 AND CROSS(99,趋势线);
DD5:=REF(趋势线,1)>100 AND CROSS(100,趋势线);
DD:=DD1=1 OR DD2=1 OR DD3=1 OR DD4=1 OR DD5=1;
{下单卖出:STICKLINE(DD=1 AND C>中线,89,50,2,0),COLORGREEN;
DRAWICON(DD=1 AND C>中线,45,2);
DRAWTEXT(DD0,40,'★卖'),COLORGREEN;
DRAWTEXT (CC,84,'准备卖出'),COLORWHITE;
顶:89,COLORGREEN;
底:11,COLORRED;
中:50,POINTDOT,COLORWHITE;
DRAWTEXT(ISLASTBAR,顶,'顶'),COLORGREEN;
DRAWTEXT(ISLASTBAR,底,'底'),COLORRED;
DRAWTEXT(ISLASTBAR,中,'中'),COLORWHITE;};
XXX:=DYNAINFO(17)>1.5;
JSSC:=CROSS(加速,底);
JSSC2:=CROSS(趋势线,底);
AAAA:=AAA AND 下单买入 AND XXX;
AAAAA:=JSSC AND JSSC2;
A1A:=买入 AND 下单买入;
DAA:=CROSS (BBB,AAA);
A2A:=BBB>AAA;
A3A:A1A AND DAA;
通达信手机版公式导入方法
一、进入公式编辑器界面
1、点击进入公式编辑器
2、点击指标编辑,选择新建指标
二、按照上面所发布的指标公式源码,进行复制填写
1、填写公式名称、描述、指标说明,填好后点左上角公式按键
2、然后点公式,对公式源码进行复制黏贴
3、填好后,点击测试公式,通过后点击保存,公式编辑就结束了
三、进入主界面选择公式,即可使用。
1、点击进入指标选择
2、在指标选择中的用户指标栏,根据所需选择自编公式
指标修改服务包括:大智慧 通达信 博易大师 文华财经 倚天财经等主流软件
1、将您提供的源码指标修改成: 选股 - 预警 公式
2、将多个指标合并在一起或者是分解指标
3、主图 副图修改
特别提示:
选股预警指标编写 ,不同主流行情软件间指标转换。 请联系微信:396950280
一个聚百万原创指标公式圈子