醉红尘 发表于 2023-11-2 23:25:02

箱顶箱底金振反转主图指标分享

<p data-first-child >大家好,我是追牛抓妖道一,指标自己已经做了优化。</p><p >这里发的指标均是通达信电脑版软件指标公式,手机软件有的可能不通用,但大部分通用,具体没测试过<b>。</b>复制指标源码,新建粘贴到软件保存即可。</p><p ><b>指标说明:</b><br/></p><p ><b>副图指标,底部信号提示。</b></p><p ><b>指标例图:</b></p><p class="ztext-empty-paragraph"><br/></p><p class="ztext-empty-paragraph"><br/></p><p class="ztext-empty-paragraph"><br/></p><p class="ztext-empty-paragraph"><br/></p><p class="ztext-empty-paragraph"><br/></p><p class="ztext-empty-paragraph"><br/></p><p class="ztext-empty-paragraph"><br/></p><p ><b>指标源:</b></p><p ><br/>M:=60;<br/>M1:=30;<br/>N:=60;<br/>N1:=30;<br/>箱顶:MA(REF(HHV(C,30),1),2),LINETHICK2,COLORRED;<br/>箱底:MA(REF(LLV(C,30),1),2),LINETHICK2,COLORRED;<br/>DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);<br/>DEA:=EMA(DIFF,9);<br/>RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9));<br/>K:=SMA(RSV,9,3);<br/>D:=SMA(K,9,3);<br/>J:=3*K-2*D;<br/>A:=CROSS(DIFF,DEA) AND CROSS(K,D) AND CROSS(J,D) AND DIFF<0;<br/>A7:=FILTER(A,20);<br/>DRAWTEXT(A7,L*0.999,'↑金振'),COLOR0000FF;<br/>SA:=CROSS(DEA,DIFF) AND CROSS(D,K) AND CROSS(D,J) AND DIFF>0;<br/>A8:=FILTER(SA,20);<br/>DRAWTEXT(A8,H,'↓死振'),COLORWHITE;<br/>DRAWKLINE(H,O,L,C);<br/>G1:=DIFF>REF(DIFF,1) AND DEA>REF(DEA,1);<br/>G2:=DIFF<REF(DIFF,1)AND DEA<REF(DEA,1);<br/>RSV1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;<br/>K1:=SMA(RSV1,5,1);<br/>E1:=SMA(K1,3,1);<br/>J1:=3*K1-2*E1;<br/>F1:=EMA(J1,12);<br/>F2:=REF(F1,1);<br/>HH:=HHV(HIGH,3);<br/>LL:=LLV(LOW,3);<br/>HH1:=BARSLAST((HH>REF(HH,1)));<br/>LL1:=BARSLAST((LL<REF(LL,1)));<br/>AA1:=(3*C+H+L+O)/6;<br/>VAR1:=(8*AA1+7*REF(AA1,1)+6*REF(AA1,2)+5*REF(AA1,3)+4*REF(AA1,4)+3*REF(AA1,5)+2*REF(AA1,6)+REF(AA1,8))/36;<br/>VAR2:=(HHV(VAR1,5)+HHV(VAR1,10)+HHV(VAR1,20))/3;<br/>VAR3:=(LLV(VAR1,5)+LLV(VAR1,10)+LLV(VAR1,20))/3;<br/>VAR4:=(HHV(VAR2,5)+HHV(VAR2,10)+HHV(VAR2,20))/3;<br/>VAR5:=(LLV(VAR3,5)+LLV(VAR3,10)+LLV(VAR3,20))/3;<br/>VAR6:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,6))/3;<br/>DRAWBAND(VAR1,RGB(80,50,50),VAR6,RGB(250,250,0));<br/>C1:VAR1,COLORYELLOW,LINETHICK1;<br/>C2:VAR6,COLORGREEN,LINETHICK2;<br/>C3:IF(VAR1>VAR6 AND VAR6>=REF(VAR6,1),VAR6,DRAWNULL),COLORRED,LINETHICK2;<br/>P2:EMA(CLOSE,50),COLORGREEN,LINETHICK3;<br/>IF(P2>REF(P2,1), P2,DRAWNULL),COLORRED,LINETHICK3;<br/>多:= CROSS(VAR1>VAR6,0.5) AND CROSS(LL1,HH1);<br/>多1:=BARSLAST(REF(多,1));<br/>多2:=C>REF(C,多1+1) AND 多;<br/>多3:=FILTER(多2,20) AND P2>REF(P2,1);<br/>DRAWTEXT(多3,LL,'↑多');<br/>空:=CROSS(CROSS(HH1,LL1),0.5) ;<br/>空1:=BARSLAST(REF(空,1));<br/>空2:=C<REF(C,空1+1) AND 空;<br/>空3:=FILTER(空2,20)AND CROSS(VAR1=VAR6,0.5);<br/>DRAWTEXT(空3,HH,'↓空'),COLORYELLOW;<br/>BDGD:=C=HHV(C,M);<br/>GDSJ:=BARSLAST(FILTER(CROSS(0.08,BDGD),M1))+1;<br/>GD:REF(H,GDSJ),COLOR00FF00,POINTDOT,LINETHICK1;<br/>TPP:=CROSS(C,REF(GD,1)),COLOR0000FF,POINTDOT,LINETHICK0;<br/>STICKLINE(GDSJ<=6,GD,GD,8,0),COLOR0000FF;<br/>BDDD:=C=LLV(C,N);<br/>DDSJ:=BARSLAST(FILTER(CROSS(0.08,BDDD),N1))+1;<br/>DD1:REF(L,DDSJ),COLORYELLOW,POINTDOT,LINETHICK1;<br/>STICKLINE(DDSJ<=6,DD1,DD1,8,0),COLORYELLOW;<br/>DRAWICON(DDSJ,L,1);<br/>LC:=REF(CLOSE,1);<br/>WRSI:=SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100;<br/>XG10:=CROSS(20,WRSI);<br/>XGT4:=BARSLAST(XG10);<br/>AD4:=REF(L,REF(XGT4,1)+1);<br/>XG11:=REF(XGT4,1)>20 AND XG10 ;<br/>DRAWICON(XG11,L,38);<br/>ZS:=REF(CLOSE,1);<br/>QS:=SMA(MAX(CLOSE-ZS,0),8,1)/SMA(ABS(CLOSE-ZS),8,1)*100,COLOR0080FF,LINETHICK2;<br/>XX:=20;<br/>SS:=80;<br/>ZZ:=50;<br/>XG1:=CROSS(80,QS) ;<br/>XG2:=CROSS(QS,15);<br/>XG3:=CROSS(QS,19);<br/>D1:=FILTER(XG1,10);<br/>D2:=FILTER(XG2,10);<br/>D3:=FILTER(XG3,10);<br/>STICKLINE(D1 AND C<O,C,O,3.6,0 ),COLOR00FFFF;<br/>STICKLINE(D3 AND C>O,C,O,3.6,0 ),COLORFF00FF;<br/>DRAWICON(D2,L*0.999,25);<br/>XGT2:=BARSLAST(XG1);<br/>AD2:=REF(L,REF(XGT2,1)+1);<br/>XG6:= REF(XGT2,1)>10 AND XG1 ;<br/>XGT3:=BARSLAST(XG2);<br/>AD3:=REF(L,REF(XGT3,1)+1);<br/>XG8:= REF(XGT3,1)>20 AND XG2;<br/>BB32: IF(BARSLAST(XG6)<=30<br/>AND (REF(H,BARSLAST(XG6)))=REF(REF(H,BARSLAST(XG6)),1)<br/>,REF(H,BARSLAST(XG6)),DRAWNULL)DOTLINE,COLORMAGENTA;<br/>DRAWICON(XG6,H*1.001,2);<br/>DRAWICON(XG8,H*1.12,23);<br/>A5:=3*SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,21,1)-2*<br/>SMA(SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,20,1),8,1);<br/>AQW:=20;{追牛抓妖道一 abc321410}<br/>ZQ:=CROSS(A5,AQW);<br/>ZQ2:=FILTER(ZQ,20);<br/>DRAWTEXT(ZQ2,L*0.999,'↑转'),COLOR0000FF;<br/>VAR21:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;<br/>VAR22:=SMA(VAR21,3,1);<br/>VAR23:=SMA(VAR22,3,1);<br/>VAR24:=SMA(VAR23,3,1);<br/>波:= VAR23;<br/>段:= VAR24;<br/>VAR26:=CROSS(VAR23,VAR24) AND VAR23<20;<br/>CD:=FILTER(CROSS(VAR23,VAR24),10) ;<br/>A26:=HH1>LL1;<br/>VAR27:=CROSS(VAR24,VAR23) AND VAR23>80;<br/>小顶:=FILTER(VAR27,5) AND C<VAR6 AND A26 AND NOT(VAR1>VAR6);<br/>DRAWTEXT(小顶,HH,'↓空'),COLORGREEN;<br/>VAR13:=REF(CLOSE,1);<br/>VAR14:=((SMA(MAX((CLOSE - VAR13),0),17,1) / SMA(ABS((CLOSE - VAR13)),17,1)) * 100);<br/>空4:=CROSS(80,VAR14);<br/>高:=FILTER(空4,10);<br/>DRAWTEXT(高,HH,'↓高'),COLORMAGENTA;<br/>DRAWKLINE(H,O,L,C);<br/>获利比例:WINNER(C)*100,NODRAW;<br/>顶:IF(CURRBARSCOUNT<=60,CONST(IF(ISLASTBAR=1,HHV(H,BARSLAST(CURRBARSCOUNT=60)),1)),DRAWNULL),COLORRED,DOTLINE;<br/>低:IF(CURRBARSCOUNT<=60,CONST(IF(ISLASTBAR=1,LLV(L,BARSLAST(CURRBARSCOUNT=60)),1)),DRAWNULL),COLORGREEN,DOTLINE;<br/>STICKLINE(CCI>=200 AND H>=顶,O,C,3,0),COLORBLUE;<br/>STICKLINE(CCI<=100 AND L<=低,O,C,3,0),COLORYELLOW;</p>

纆g 发表于 2023-11-13 10:37:25

good!vevy good!

nzez351977 发表于 2023-12-29 10:57:44

路过,支持一下啦

小野妹子868 发表于 2024-1-20 22:11:54

很好的东东

bfuccnp8787137 发表于 2024-3-10 00:38:38

相当不错,感谢无私分享精神!
页: [1]
查看完整版本: 箱顶箱底金振反转主图指标分享