通达信【潜龙腾飞】套装指标 强势妖股庄难逃 源码分享

{潜龙预警副图源码如下}
HGW1:=EMA(C,8)-EMA(C,13)>EMA(EMA(C,8)-EMA(CLOSE,13),5);
HGW2:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
HGW3:=SMA(HGW2,3,1)>SMA(SMA(HGW2,3,1),3,1);
HGW4:=(SMA(MAX(C-REF(C,1),0),5,1))/(SMA(ABS(C-REF(C,1)),5,1))*100;
HGW5:=(SMA(MAX(C-REF(C,1),0),13,1))/(SMA(ABS(C-REF(C,1)),13,1))*100;
HGW6:=-(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13))*100;
HGW7:=SMA(HGW6,3,1)>SMA(SMA(HGW6,3,1),3,1);
HGW8:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
HGW9:=CLOSE-REF(CLOSE,1);
HGW10:=100*EMA(EMA(HGW9,5),3)/EMA(EMA(ABS(HGW9),5),3);
HGW11:=100*EMA(EMA(HGW9,13),8)/EMA(EMA(ABS(HGW9),13),8);
HGW12:=(HGW1 AND HGW3 AND HGW4>HGW5 AND HGW7 AND C>HGW8 AND HGW10>HGW11);
HGW13:=HGW12 AND REF(HGW1 AND HGW3 AND HGW4>HGW5 AND HGW7 AND C>HGW8 AND HGW10>HGW11,1)=0;
HGW14:=MA(HIGH,30)*(1+15/100);
HGW15:=(C>MA(C,5))AND(MA(C,5)>MA(C,10))AND(MA(C,10)>MA(C,20));
HGW16:=EMA(CLOSE,12)-EMA(CLOSE,26);
HGW17:=CROSS(2*(HGW16-EMA(HGW16,9)),0);
HGW18:=EMA(CLOSE,12)-EMA(CLOSE,26);
HGW19:=EMA(HGW18,9);
HGW20:=EMA(C,7)-EMA(C,21);
HGW21:=EMA((0.668*REF(HGW20,1)+0.333*HGW20),1);
HGW22:=MA(AMOUNT/(100*V),13);
HGW23:=(C-HGW22)/HGW22*100;
HGW24:=HGW23>4.5 AND HGW18>HGW19 AND C>=EMA(C,5) AND HGW20-HGW21>0;
HGW25:=HHV(MA(CLOSE,5),60);
HGW26:=O>REF(C,1)*1.02 AND C>O AND C>=HGW25 AND HGW25>=REF(C,1);
HGW27:=HGW26 AND MA(C,5)>REF(MA(C,5),1) AND DYNAINFO(13)>0;
HGW28:=IF((CLOSE>REF(CLOSE,1)),88,0);
HGW29:=IF(C/REF(C,1)>1.05 AND H/C<1.01 AND HGW28>0,91,0);
VAR48:=FILTER((HGW29>90),45);
VAR49:=CROSS(2*(HGW16-EMA(HGW16,9)),0) AND HGW15 AND HGW13 AND C>=HGW14;
DRAWTEXT(VAR49,0.78,'●最强潜龙'),COLORRED;
DRAWICON(VAR49,VAR49,9);
潜龙1:HGW17 AND HGW15 AND HGW13,COLORWHITE;
DRAWTEXT(潜龙1,0.58,'●潜龙'),COLORRED;
DRAWICON(潜龙1,潜龙1,9);
潜龙2:HGW27 AND HGW17 AND HGW13,COLORYELLOW;
DRAWTEXT(潜龙2,0.48,'●早盘潜龙'),COLORRED;
DRAWICON(潜龙2,潜龙2,9);
潜龙3:VAR48 AND HGW24 AND HGW13 OR (VAR48 AND HGW24 AND HGW27),COLORMAGENTA;
DRAWTEXT(潜龙3,0.38,'●盘中潜龙'),COLORRED;
DRAWICON(潜龙3,潜龙3,9);

{潜龙多空副图源码如下}

HGW1:=EMA(CLOSE,12)-EMA(CLOSE,26);
HGW2:=EMA(HGW1,9);
HGW3:=EMA(C,7)-EMA(C,21);
HGW4:=EMA((0.668*REF(HGW3,1)+0.333*HGW3),1);
HGW4,COLORSTICK;
HGW5:=(C-DMA(C,V/SUM(V,13)))/DMA(C,V/SUM(V,13))*40;
VAR48:=MA(AMOUNT/(100*VOL),13);
VAR49:=(CLOSE-VAR48)/VAR48*100;
做多:IF(HGW3>=HGW4,HGW3,HGW4),LINETHICK2,COLORRED;
做空:IF(HGW4-HGW3,HGW4,HGW3),COLORGREEN,LINETHICK2;
点火:STICKLINE(VAR49>5 AND HGW1>HGW2 AND C>=EMA(C,5) AND HGW3-HGW4>0,0,-做空,2,0),COLORRED;
DRAWICON(点火,点火,9);
DRAWTEXT((点火 AND REF(HGW3,1)<=REF(HGW4,1) AND REF(HGW3,0)>REF(HGW4,0)),0.38,'做多'),COLORRED;
STICKLINE(HGW5>0 AND 做多>0,做多+0.1,做多,1,0),COLORYELLOW;
C>MA(C,30),COLORFF80FF,LINETHICK2;


{潜龙腾飞副图源码如下}

HGW1:=EMA(CLOSE,12)-EMA(CLOSE,26);
HGW2:=HGW1>EMA(HGW1,9);
HGW3:=((C-LLV(L,8))/(HHV(H,8)-LLV(L,8))*100);
HGW4:=SMA(SMA(HGW3,3,1),3,1);
HGW5:=HGW2 AND SMA(HGW3,3,1)>HGW4 AND REF(HGW2 AND SMA(HGW3,3,1)>HGW4,1)=0;
HGW6:=C>O AND C>MA(C,5) AND MA(C,5)>MA(C,20) AND MA(C,20)>MA(C,60);
HGW7:=HGW6 AND MA(C,5)/MA(C,120)<1.35 AND C>MA(C,200);
HGW8:=CROSS(2*(HGW1-EMA(HGW1,9)),0) AND HGW7 AND HGW5;
HGW9:=HHV(EMA((OPEN+LOW+HIGH+CLOSE*2.02)/5,6),21);
HGW10:=IF(NAMELIKE(1),0,1) AND IF(NAMELIKE(2),0,1) AND IF(NAMELIKE(3),0,1);
HGW11:=HGW10 AND NOT(DYNAINFO(4)=0);
HGW12:=EMA(CLOSE,7)-EMA(CLOSE,21);
HGW13:=EMA(0.668*REF(HGW12,1)+0.333*HGW12,1);
HGW14:=MA(AMOUNT/(100*VOL),13);
HGW15:=(CLOSE-HGW14)/HGW14*100;
HGW16:=HGW15>4.5 AND CLOSE>=EMA(CLOSE,5) AND HGW12-HGW13>0;
VAR48:=VOL/REF(VOL,1)>=0.25;
VAR49:=(REF(CLOSE,1)<=HGW9)*1 AND (CLOSE>=HGW9)*1 AND HGW11;
腾飞:VAR49 AND HGW8 AND HGW16 AND VAR48*1,COLORGREEN;
DRAWTEXT(腾飞,0.38,'腾飞'),COLORRED;
DRAWICON(腾飞,腾飞,9);


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

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

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