通达信【黄金龙】主副图 趋势发生转变提示黄金龙信号 源码

{金龙主图源码如下}


MA5:=MA(C,5);MA10:=MA(C,10);MA20:=MA(C,20);
持有:STICKLINE(C/REF(C,1)>=1.1 ,C-(C-O)/3,O,2,0),COLORYELLOW;
涨停:STICKLINE(C/REF(C,1)>=1.0989 AND C=H ,C,O,2,0),COLORYELLOW;
打压:STICKLINE(C/REF(C,1)>=1.05 AND C/REF(C,1)< 1.0989,C,O,2,0),COLORMAGENTA;
止盈:STICKLINE(C/REF(C,1)>=1.03 AND C/REF(C,1)< 1.05,C,O,2,0),COLORRED;
DCZ1:=H=ZTPRICE(REF(C,1),0.1) AND C< H;
DCZ2:=100*(C-REF(C,12))/REF(C,12);
DCZ3:=((H+L+C)/3-MA((H+L+C)/3,88))/(0.015*AVEDEV((H+L+C)/3,88));
DCZ4:=1.07*DMA(C,ABS((2*C+H+L)/4-MA(C,26))/MA(C,26));
ZT:=MA(ATAN(DCZ4-REF(DCZ4,1)),3);
ZT1:=IF((C>O OR C< O) AND H>=REF(C,1),ATAN(MA(H,5)*1.02-REF(MA(C,5)*1.02,1)),0);
ZT2:=IF((C>O OR C< O) AND H< REF(C,1),-ATAN(REF(MA(C,5)*1.02,1)-MA(H,5)*1.02),0);
DCZ5:=MA(REF((ZT1+ZT2),1),26);DCZ6:=ZT>DCZ5 AND ZT>REF(ZT,1);
DCZ7:=DCZ6 AND DCZ3>200 AND DCZ2>20 AND C>REF(C,1);
TT:(EMA(C,5) * 7 + EMA(C,10) * 3) / 10,,NODRAW;
DCZ8:=(3*C+H+L+O)/6;
DCZ91:(8*DCZ8+7*REF(DCZ8,1)+6*REF(DCZ8,2)+5*REF(DCZ8,3)+4*REF(DCZ8,4)+3*REF(DCZ8,5)+2*REF(DCZ8,6)+REF(DCZ8,8))/36,LINETHICK2,COLORRED;
DCZ92:=(HHV(DCZ91,2)+HHV(DCZ91,4)+HHV(DCZ91,8))/3;
BB:(HHV(DCZ92,2)+HHV(DCZ92,4)+HHV(DCZ92,8))/3,COLORYELLOW,LINETHICK2;
IF((DCZ91 <= REF(DCZ91,1)),DCZ91,DRAWNULL),COLORGREEN,LINETHICK2;
IF((DCZ91 >= REF(DCZ91,1)),DCZ91,DRAWNULL),COLORMAGENTA,LINETHICK2;
DCZ96:=(LLV(DCZ91,2)+LLV(DCZ91,4)+LLV(DCZ91,8))/3;
STICKLINE(BB>DCZ91,BB,DCZ91,0,0),COLORBLUE;
DCZ9M:=REF(C,1);DCZ9M1:=REF(C,1);
RSI1:=((SMA(MAX(C-DCZ9M,0),6,1))/(SMA(ABS(C-DCZ9M),6,1)))*(100);
DRAWTEXT(CROSS(84,RSI),H,'→ 逃顶 '),COLORYELLOW,LINETHICK2;
DRAWTEXT(CROSS(RSI,11),LOW*0.95,'→ 低吸 '),COLORWHITE;
DCZ10:=(H+L+C)/3;CCI:=(DCZ10-MA(DCZ10,14))/(0.015*AVEDEV(DCZ10,14));
DCZ95:=CROSS(CCI,-100);DCZ98:=CCI>=200;DRAWTEXT(DCZ98,H*1.02,''),COLORLIRED;
GS5:=MA(C,5);
GS1:=EMA(C,10);
GS2:=MA(C,20);
GS25:=MA(C,250);
GSK1:=MA(V,10)>MA(V,60)AND MA(V,5)>MA(V,10)AND GS5>=REF(GS5,1);
GSK2:=REF(EVERY(C<GS25,30),1)AND CROSS(C,GS2)AND C/REF(C,1)>1.05;
GSK3:=REF(COUNT(GSK2,20)>=1,10);
GSK4:=GSK3 AND REF(EVERY(C>GS2,8),2);
金龙:=GSK4 AND CROSS(C,GS25) AND GSK1;
DRAWTEXT(金龙,L*0.95,'↖黄金龙'),COLORYELLOW ,LINETHICK2;



{黄金龙副图源码如下}


M5:=MA(C,5);
M1:=EMA(C,10);
M2:=MA(C,20);
M25:=MA(C,250);
DCZ1:=MA(V,10)>MA(V,60)AND MA(V,5)>MA(V,10)AND M5>=REF(M5,1);
DCZ2:=REF(EVERY(C<M25,30),1)AND CROSS(C,M2)AND C/REF(C,1)>1.05;
DCZ3:=REF(COUNT(DCZ2,20)>=1,10);
DCZ4:=DCZ3 AND REF(EVERY(C>M2,8),2);
黄金龙:=DCZ4 AND CROSS(C,M25) AND DCZ1;
STICKLINE(黄金龙,0,100,1,0),COLORYELLOW;
DRAWTEXT(黄金龙,90,'---黄金龙'),COLORYELLOW;





来函数检测结果如下:
该公式没有未来函数

解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

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

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