通达信自己以前的逃顶副图

VAR1:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA (SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1); VAR2:=EMA(VAR1,8); VAR3:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA (SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1); 趋势:EMA(VAR3,3)-10,COLORFF0000; 建仓:=0,COLORFFFF00; VAR4:=(趋势-REF(趋势,1))/REF(趋势,1)*100; STICKLINE(趋势<=6,0,60,5,0),COLORCC9900; DRAWTEXT(FILTER(趋势<=4,15),30,'建仓区'),COLORWHITE; VAR5:=MA(趋势,8); A2:IF(CROSS(VAR2,VAR5) AND VAR2<15,10,0),COLORRED; STICKLINE(A2=10,0,30,5,0),COLORMAGENTA; {逃顶指标:} RSVA1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; RSVA2:=100*(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9)); VAR21:=SMA(RSVA2,9,1)+100; VAR11:=SMA(RSVA1,3,1); VAR51:=SMA(VAR11,3,1)+100; 逃顶:=CROSS(82,RSI); STICKLINE( 逃顶,逃顶,40,3.5,0),COLORFF5500; STICKLINE( 逃顶,逃顶,50,2.5,0),COLORFF8800; STICKLINE( 逃顶,逃顶,70,1.5,0),COLORFFAA00; STICKLINE( 逃顶,逃顶,90,0.5,0),COLORFFCC00; STICKLINE( 逃顶,逃顶,100,0.1,0),COLORFFFF00; D1:=(C+L+H)/3; D2:=EMA(D1,6); D3:=EMA(D2,5); BBUY:=CROSS(D2,D3); VARR1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100; DRAWTEXT(CROSS(82,VARR1),35,'逃'),COLORYELLOW; EMA13:=EMA(C,13),COLORWHITE,LINETHICK2; EMA17:=EMA(C,17),COLORRED,LINETHICK2; EMA34:=EMA(C,34),COLORYELLOW; EMA55:=EMA(C,55),COLORFF00FF; EMA120:=EMA(C,120),COLORFFCC66; AR1:=EMA55>EMA34 AND EMA34>EMA13; AR2:=BARSLAST((C-EMA13)/EMA13*100<-6); AR3:=EMA13>=REF(EMA13,2); AR4:=COUNT(CROSS(C,EMA13),AR2)=1; AR5:=AR1 AND AR2 AND AR3 AND AR4; AR6:=AR5 AND FILTER(AR5,10); BR1:=COUNT(BETWEEN((C-REF(C,1))/REF(C,1)*100,0,5) ,5)=5; BR2:=ABS((EMA13-EMA34)+(EMA34-EMA55))/C<0.2; BR3:=C>EMA55 AND (REF(C,1)<REF(EMA55,1) OR REF(C,2)<REF(EMA55,2) OR REF(C,3)<REF(EMA55,3) OR REF(C,4)<REF(EMA55,4) OR REF(C,5)<REF(EMA55,5)); BR4:=BR1 AND BR2 AND BR3; CR1:=(C-REF(C,1))/REF(C,1)*100>0.5; CR2:=V>MA(V,5)*0.6; CR3:=COUNT(CROSS(EMA13,EMA55),3)=1; CR4:=ABS(EMA34-EMA55)/EMA55<0.03; CR5:=EMA55<=EMA120 AND EMA55>=REF(EMA55,1); CR6:=FILTER(CR1 AND CR2 AND CR3 AND CR4 AND CR5,2); DR1:=EMA13>EMA34 AND EMA34<EMA55; DR2:=BARSLAST(CROSS(C,EMA55) ); DR3:=H=HHV(H,DR2); DR4:=BARSLAST(DR3); DR5:=COUNT(O>C AND C<REF(C,1) AND C>EMA55 AND BETWEEN((C-EMA55)/EMA55,0,0.02),DR4)=1; DR6:=C>REF(C,1) ; DR7:= DR1 AND DR5 AND DR6 ; DR8:=DR7 AND FILTER(DR7 ,10); ER:=BARSLAST(REF(CROSS(EMA55,EMA34),1)) AND CROSS(EMA34,EMA55); FR:=BARSLAST(REF(CROSS(EMA34,EMA13),1)) AND CROSS(EMA13,EMA34); GR1:=BARSLAST(BETWEEN("BIAS.BIAS2"(6,13,24),0,5) ); GR2:=EMA13>EMA34 AND EMA34>EMA55 AND EMA13>REF(EMA13,1); GR3:=COUNT("BIAS.BIAS2"(6,13,24)>10 AND H=HHV(H,GR1),GR1); GR4:=H=HHV(H,GR1); GR5:="MACD.MACD"(12,26,9)<REF("MACD.MACD"(12,26,9),1); GR6:=GR2 AND GR3 AND GR4; GR7:=GR2 AND GR3 AND GR4 AND GR5; HR2:=EMA13>=REF(EMA13,3) AND EMA34>=REF(EMA34,1) AND EMA55>=REF(EMA55,1) AND CROSS(C,EMA13) AND CROSS(C,EMA34) AND CROSS(C,EMA55); A1:=GR6 AND GR7; A22:=HR2 AND FILTER(HR2,10); A3:=AR6; A4:=BR4 AND FILTER(BR4,10); A5:=CR6; A6:=DR8; A7:=ER; LC:=REF(CLOSE,1); RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100; STICKLINE(FR OR A1 OR A2 OR A3 OR A4 OR A5 OR A6 OR A7,100,106,0,0),COLORWHITE; STICKLINE(FR OR A1 OR A2 OR A3 OR A4 OR A5 OR A6 OR A7,100,106,3,0),COLORWHITE; R1:=(RSI-50)/1.5;{将RSI指标转换到零轴附近并按比例缩小} R2:=IF(R1>=0,0,R1); R:=R1; F:=100*(C/REF(C,1)-1);{单日涨幅} MAR:=EMA(R,13);{均} XX:=R-MAR,COLORSTICK; GD:=(C=HHV(C,5) OR H=HHV(H,5)); 排除1:=NOT(GD OR REF(GD,1)); 排除2:=NOT(EXIST(F<-9,3)); 排除3:=C/EXPMA(C,50)-1<0.1; 入:=DRAWICON(CROSS(XX,-10) AND 排除1 AND 排除2 AND 排除3,-10,1);{把等号去掉即可恢复红箭头} CHUTJ:=XX<REF(XX,1) AND REF(XX,1)>REF(XX,2); STICKLINE(FILTER(COUNT(CHUTJ,BARSLAST(入))=2 AND XX>0,6),100,106,3,0),COLORGREEN; VAR811:=MA(CLOSE,27); VAR911:=(CLOSE-VAR811)/VAR811*100; VARA11:=MA(VAR911,2); VARB11:=BARSLAST(CROSS(-10,VARA11)=1); VARC11:=BARSLAST(CROSS(VARA11,10)=1); VARD11:=VARA11<-10 AND VARB11>3; 买稳zhuan: IF(VARA11>REF(VARA11,1) AND VARD11 AND VARA11<-15,7,0); DRAWICON(买稳zhuan>0,10,11); P:=10;A:=5; NN1:=2.5; VAR26:=LLV(LOW,10); VAR36:=HHV(HIGH,25); 卖出3:=14.5*NN1,COLORC6C600; 清仓:=17.5*NN1,COLORFF75FF; 动力线:= (EMA((CLOSE-VAR26)/(VAR36-VAR26)*4,4)*10-17.5)*NN1; 底部:=-15.5*NN1,COLOR70DB93; 关注:=-12.5*NN1,COLORYELLOW; T1:=FILTER(CROSS(动力线,关注),20); T2:=FILTER(CROSS(动力线,底部),20); T3:=FILTER(CROSS(清仓,动力线),20); T4:=FILTER(CROSS(卖出3,动力线),20); RSV:=((((HHV(HIGH,P) - CLOSE) / (HHV(HIGH,P) - LLV(LOW,P))) * 200) - 125); 散户:=SMA(RSV,A,1)+15,COLORGRAY,LINETHICK2; RSV1:=((((CLOSE - LLV(LOW,P)) / (HHV(HIGH,P) - LLV(LOW,P))) * 200) - 105); 主力:=SMA(RSV1,A,1)+15,COLORGRAY,LINETHICK2; 起爆:=CROSS(主力,散户),NODRAW; DRAWICON((T1 OR T2),-11,9); {钱袋} DRAWICON(起爆,110,2);{绿逃跑箭头} 趋势顶底:=80; { 50,COLORRED; FILLRGN(1,20,80),COLOR222222; FILLRGN(1,90,100),COLOR000068; FILLRGN(1,79,90),COLOR663366; FILLRGN(1,10,20),COLOR666600; FILLRGN(1, 0,10),COLOR663300; } AA:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19),COLORRED; B:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14)); D:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4),LINETHICK2; 长期线:=AA+100,COLOR9900FF,LINETHICK2; 短期线:=B+100,COLOR888888,LINETHICK2; 中期线:=D+100,COLORYELLOW,LINETHICK2; {见顶:(长期线>85 OR REF(长期线,1)>85 ) AND (CROSS(中期线,短期线) OR CROSS(REF(中期线,1),REF(短期线,1)) )AND CROSS(长期线,短期线); } 见顶:=(REF(中期线,1)>85 AND REF(短期线,1)>85 AND REF(长期线,1)>65) AND CROSS(长期线,短期线) ; 顶部区域:=(中期线<REF(中期线,1) AND REF(中期线,1)>80) AND (REF(短期线,1)>95 OR REF(短期线,2)>95 ) AND 长期线>60 AND 短期线<83.5 AND 短期线<中期线 AND 短期线<长期线+4; 顶部:=FILTER(顶部区域,4); {DRAWICON( 见顶, 108, 2 );} 底部区域:=(长期线<12 AND 中期线<8 AND (短期线<7.2 OR REF(短期线,1)<5) AND (中期线>REF(中期线,1) OR 短期线>REF(短期线,1))) OR (长期线<8 AND 中期线<7 AND 短期线<15 AND 短期线>REF(短期线,1)) OR (长期线<10 AND 中期线<7 AND 短期线<1) ; STICKLINE( 底部区域,-4,10,22,0 ),COLORGREEN; 低位金叉:=长期线<15 AND REF(长期线,1)<15 AND 中期线<18 AND 短期线>REF(短期线,1) AND CROSS(短期线,长期线) AND 短期线>中期线 AND (REF(短期线,1)<5 OR REF(短期线,2)<5 ) AND (中期线>=长期线 OR REF( 短期线,1)<1 ); STICKLINE( 低位金叉,10,20,11,0 ),COLORRED; VAR1V:=REF(CLOSE,1); VAR2V:=SMA(MAX(CLOSE-VAR1V,0),7,1)/SMA(ABS(CLOSE-VAR1V),7,1)*100; 特准:STICKLINE(FILTER(REF(VAR2V,1)<20 AND VAR2V>REF(VAR2V,1),5),0,35,1,0),LINETHICK5,COLORYELLOW; J1:=C<REF(C,1) AND REF(C,1)<REF(C,2) AND REF(C,2)<REF(C,3); BIAAHS1:=(C-MA(C,6))/MA(C,6)*100; BIAAHS2:=(C-MA(C,12))/MA(C,12)*100; BIAAHS3:=(C-MA(C,24))/MA(C,24)*100; BIAAHS:=(BIAAHS1+2*BIAAHS2+3*BIAAHS3)/6; 乖离:=MA(BIAAHS,3); 极品底:IF(CROSS(BIAAHS,乖离) AND 乖离<-9,10,0),LINETHICK0,COLORRED; STICKLINE(CROSS(BIAAHS,乖离) AND 乖离<-9,50,0,1,0),COLORRED;{乖离红柱};


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

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

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

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