xinting_6ym 发表于 2023-9-11 22:20:20

通达信擒庄起爆主图指标公式源码

<p data-first-child >以下是通达信擒庄起爆主图指标公式源码P:=6;<br/>P1:=8;<br/>M:=2;<br/>M1:=3;<br/>N:=11;<br/>{=================k线柱=================}<br/>{红}<br/>stICKLINE(C>O,C,O,1,0),COLORYELLOW ;<br/>STICKLINE(C>O,H,L,0,0),COLORRED;<br/>{绿}<br/>STICKLINE(C<O,C,O,2,0),COLORCYAN;<br/>STICKLINE(C<O,H,L,0,0),COLORCYAN;<br/>{=================板块、行业、概念=================}<br/>DRAWTEXT_FIX(C>0,0.0,0.0,0,STRCAT(' ---所属行业---:',HYBLOCK)),COLORFFFFFF;<br/>DRAWTEXT_FIX(C>0,0.30,0.0,0,STRCAT(' ---所属地区---:',DYBLOCK)),COLORFFFFFF;<br/>DRAWTEXT_FIX(C>0,0.30,0.1,0,STRCAT('-------=======横盘做T+0坚决莫贪=======--------:',GNBLOCK)),COLORCYAN;<br/>DRAWTEXT_FIX(ISLASTBAR,0.20,0.90,0,ZSBLOCK),COLORYELLOW;<br/>DRAWTEXT_FIX(ISLASTBAR,0.20,0.99,0,FGBLOCK),COLORYELLOW;<br/>{=================多空布林=================}<br/>C2:=REF(C,1);<br/>涨停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0);<br/>STICKLINE(涨停,OPEN,CLOSE,2,0),COLORYELLOW;<br/>STICKLINE(涨停,H,L,0,0),COLORmaGENTA;<br/>bbi:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,COLORBLacK,LINETHICK1;<br/>UPR:BBI+P*STD(BBI,N),COLORCYAN,LINETHICK1;<br/>DWN:BBI-P*STD(BBI,N),COLORBLUE ,NODRAW , ;<br/>MA1:MA(CLOSE,P1),COLORRED,LINETHICK1;<br/>买线:=EMA(C,2);<br/>卖线:=EMA(SLOPE(C,21)*20+C,42);<br/>指导线: EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),COLORYELLOW,LINETHICK1;<br/>界: MA(CLOSE,27),COLORMAGENTA ,LINETHICK1;<br/>BU:=crOSS(指导线,界);<br/>DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);<br/>DEA:=EMA(DIF,9);<br/>AAA:=(DIF-DEA)*2;<br/>ZT1:=C>=REF(C,1)*1.097 ;<br/>起爆:=AAA>=2*REF(AAA,1) AND ZT1 AND Abs(AAA)<=1 AND C>MA(C,20) AND C<MA(C,20)*1.2 ;<br/>DRAWTEXT(起爆,L*0.99,'↖暴涨'),COLORYELLOW,LINETHICK3;<br/>VAR1:=EMA(EMA(EMA((CLOSE*6+LOW*2+HIGH+OPEN)/10,M),M),M);<br/>短线:= VAR1-REF(VAR1,1)+VAR1;<br/>中短:= MA(短线,M1);<br/>DRAWTEXT(CROSS(短线,中短),(LOW * 0.995),'★'),COLORYELLOW,LINETHICK3;<br/>{=================量柱=================}<br/>TJ:=vol>=REF(V,1)*1.91 AND C>REF(C,1)*1.01;<br/>DRAWTEXT(TJ,LOW*1.1,'量'),COLORMAGENTA ;<br/>STICKLINE(TJ,OPEN,CLOSE,2.2,2),COLORMAGENTA ;<br/>K1:=SUMBARS(TJ,1);<br/>{================走强线 ================};<br/>HM1:=ABS(((3.48*CLOSE+HIGH+LOW)/4-EMA(CLOSE,20))/EMA(CLOSE,20));<br/>HM2:=DMA(((2.15*CLOSE+LOW+HIGH)/4),HM1);<br/>走强线:EMA(HM2,200)*1.118 ,LINETHICK1,COLORRED;<br/>DRAWTEXT(ISLASTBAR,走强线,' ←走强线'),COLORRED;<br/>{=================必升=================};<br/>VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);<br/>VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3AA>0),91,0);<br/>DRAWTEXT(FILTER((VAR4AA>90),45),(LOW)*(0.90),'★波段开始 '),COLORMAGENTA;<br/>DRAWTEXT(FILTER((VAR4AA>90),35),(LOW)*(0.8),'★强势拉升'),COLOR00FFFF;<br/>{============操作线:分水岭================}<br/>B:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1);<br/>分水岭:IF(MA(CLOSE,17)<B,B,MA(CLOSE,17)),COLORFF00FF,NODRAW;<br/>操作线:分水岭-(EMA(C,3)-分水岭),COLORGREEN ,LINETHICK1;<br/>DRAWTEXT(ISLASTBAR,操作线,' ←拐点线'),COLORGREEN;<br/>{========超级主升==========}<br/>VAR4:=(((((REF(C,1)) * (1.1)) - C) < (0.01)) AND (H = C));<br/>E5:(EMA(C,5)),LINETHICK0 ,COLORWHITE;<br/>R:=(20 * H + 19 * (REF(H,1)) + 18 * (REF(H,2)) + 17 * (REF(H,3)));<br/>R1:=16*(REF(H,4)) +15*(REF(H,5))+14 * (REF(H,6)) + 13 * (REF(H,7));<br/>R2:=12*(REF(H,8))+11*(REF(H,9))+10 * (REF(H,10)) + 9 * (REF(H,11));<br/>R3:=8 * (REF(H,12)) + 7 * (REF(H,13)) +6*(REF(H,14))+5*(REF(H,15));<br/>R4:=4 * (REF(H,16)) + 3 * (REF(H,17)) +2 * (REF(H,18)) + REF(H,20);</p><p></p>

123456823 发表于 2023-10-12 21:20:46

谢谢了呀,辛苦了呀,支持呀!

uec7898336 发表于 2023-11-9 17:05:13

牛的一批!

titi1022 发表于 2023-11-23 01:34:54

找了很久了,多谢!

授权发言人惩 发表于 2024-3-2 00:16:48

无量天尊!

有朝壹日佑 发表于 2024-3-17 16:11:35

楼主哪儿来的这么多好东西!
页: [1]
查看完整版本: 通达信擒庄起爆主图指标公式源码