通达信【拉涨起飞】主副图 主力拉涨突破捉妖起飞启动点!源码无未来

{拉涨起飞主图源码如下}

{拉涨捉妖主图指标,无未来函数}

收盘价:=C;

妖龙起飞A:=IF((收盘价>REF(收盘价,1)),88,0);

妖龙起飞B:=IF(((收盘价)/(REF(收盘价,1))>1.05) AND ((HIGH)/(收盘价)<1.01) AND (妖龙起飞A>0),91,0);

捉妖筹码:=(FILTER((妖龙起飞B>90),45)),COLORYELLOW;

STICKLINE(捉妖筹码,O,C,1.5,0),COLORYELLOW;

DRAWTEXT(捉妖筹码>0,L,' ★妖股起飞'),COLOR00C5FF;

DRAWICON(捉妖筹码>0,L,9);MA5:EMA(C,5);

MA13:EMA(C,13);

FABC1:=ABS(((3.48*收盘价+HIGH+LOW)/4-EMA(收盘价,23))/EMA(收盘价,23));

FABC2:=DMA(((2.15*收盘价+LOW+HIGH)/4),FABC1);

金龙突破:=EMA(FABC2,200)*1.118;

金龙突破2:=EMA(FABC2,200)*1.118;

条件:=(C-REF(C,1))/REF(C,1)*100>8;

金K线:=CROSS(C,金龙突破) AND 条件;

黑马启动:=金K线*11,LINETHICK2;DRAWICON(金K线,L,13);

STICKLINE(金K线,O,C,1.5,0),COLORMAGENTA;

DRAWTEXT(金K线,L*0.99,' ★主力拉涨'),COLORRED;


{拉涨起飞副图源码如下}

{捉妖起飞副图指标,含DYNAINFO函数,需获取即时行情数据}

DC2:=BARSLAST(((EMA(C,5) * 7 + EMA(C,10) * 3) / 10 > MA(H,30) * (1 + 13 / 100)) <> REF((EMA(C,5) * 7 + EMA(C,10)*3)/10 > MA(H,30) * (1+13/100),1));

DC3:=SUM(IF(C >= REF(C,1),(C - REF(C,1)) / REF(C,1) * 100,0),DC2 + 1);

DC4:=(H + L + O + C) / 4;

DC5:=EMA(DC4,13) - EMA(DC4,34);

DC6:=EMA(DC5,5);

DC7:=(DC5 - DC6) * 5;

DC8:=IF(DC7 >= 1000,1000,IF(DC7 <= DC4,DC4,DC7));

DC9:=FORCAST(FORCAST(DC8,32),10);

DC10:=(C - EMA(C,13)) / EMA(C,13) * (0 - 100);

DC11:=EMA(DC10 / 10 + EMA(C,13),8);

DC12:=EMA(C,3);

DC13:=EMA(SLOPE(C,22) * 20 + C,45);

DC14:=IF(PERIOD > 8 AND PERIOD < 11,MA(DC13,1),IF(PERIOD = 8,MA(DC13,4),IF(PERIOD = 7,MA(DC13,8),IF(PERIOD=6,MA(DC13,16),IF(PERIOD=5,MA(DC13,32),0)))));

DC15:=DC14 * 0.865;

DC16:=IF(DC12 > DC14,DC12,DC15);

DC17:=REVERSE(DC16) + 2 * DC9;

总涨幅:IF((EMA(C,5) * 7 + EMA(C,10) * 3) / 10 > MA(H,30) * (1 + 13 / 100) AND REF(DC17,1) < (EMA(C,5)*7+ EMA(C,10)*3)/10 AND DYNAINFO(17)>0,DC3,0) ,LINETHICK2,COLORMAGENTA;

DCZ1:=(总涨幅 > 0 AND DC17 < (EMA(C,5) * 7 + EMA(C,10) * 3) / 10) * 总涨幅 ,COLORRED;

STICKLINE(DCZ1,DCZ1,0,1,0),COLORRED ;{红色}

DCZ2:=(总涨幅 > 0 AND 总涨幅 > REF(总涨幅,1) AND DC17 < (EMA(C,5) * 7 + EMA(C,10)*3)/10)*总涨幅/2,COLORFF0000;

STICKLINE(DCZ2,DCZ2,0,2,0),COLORYELLOW ;{黄色}

DCZ3:=(总涨幅 > 0 AND 总涨幅 = REF(总涨幅,1) AND DC17 < (EMA(C,5) * 7 + EMA(C,10)*3)/10)*总涨幅/3 ,COLORGREEN;

STICKLINE(DCZ3,DCZ3,0,2,0),COLORGREEN ;{绿色}

DCZ4:=CROSS((EMA(C,5) * 7 + EMA(C,10) * 3) / 10,MA(H,30) * (1 + 13 / 100))*总涨幅/1.5,COLORYELLOW;

STICKLINE(DCZ4,DCZ4,0,2,0),COLORLIBLUE ;{蓝色}

捉妖起飞:IF((EMA(C,5) * 7 + EMA(C,10) * 3) / 10 > DC17 AND DC17 < (EMA(C,5)*7+ EMA(C,10)*3)/10 AND DYNAINFO(7)>0 AND (EMA(C,5)*7+EMA(C,10)*3)/10<MA(H,30)*(1+13/100),DC3,0)/150,NODRAW,COLORWHITE;

DCZ5:=(捉妖起飞 > 0) * REVERSE(捉妖起飞) ,COLORGRAY;

STICKLINE(DCZ5,DCZ5,0,2,0),COLORRED ;{红色吸筹}

DCZ6:=(捉妖起飞 > 0 AND EMA(C,2) > MA(H,30) * (1 + 13 / 100) * 1.0382) * REVERSE(捉妖起飞)/1.5 ,COLORFF0099;

STICKLINE(DCZ6,DCZ6,0,2,0),COLORWHITE ;{白色}

DCZ7:=(捉妖起飞 > 0 AND EMA(C,2) > MA(H,30) * (1 + 13 / 100) * 1.0382) * 捉妖起飞/1.5,COLORFF0099;

STICKLINE(DCZ7,DCZ7,0,2,0),COLORLIRED;

DRAWTEXT(捉妖起飞 > 0 AND CROSS(EMA(C,2),MA(H,30) * (1 + 13 / 100) * 1.0382) ,捉妖起飞 * 1.09,'准备'),COLORWHITE;

DRAWTEXT(FILTER(CROSS((EMA(C,5) * 7 + EMA(C,10) * 3) / 10,MA(H,30) * (1 + 13 / 100)),5) ,总涨幅 * 1.09,'捉妖'),COLORYELLOW;

DCZ8:=(总涨幅 > 0 AND CROSS(DC17,(EMA(C,5) * 7 + EMA(C,10) * 3) / 10)) * 总涨幅 ,COLORGREEN;

STICKLINE(DCZ8,DCZ8,0,2,0),COLORCYAN ;{青色};



未来函数检测结果如下:
该公式包含未来函数:DYNAINFO
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图