通达信底顶升降副图中阳穿底 黄龙穿底抄底类指标


MA5:=MA(C,5);

超买:3.2,COLORGRAY;

超卖:0.5,COLORGRAY;

中位线:1.75;

最小值:=LLV(LOW,10);

最大值:=HHV(HIGH,25);

 CC:=EMA((CLOSE-最小值)/(最大值-最小值)*4,4);

 BB:EMA(CC,3);

 AA:=BB>=REF(BB,1);

 DD:=CLOSE>MA(CLOSE,20)AND CLOSE>MA(CLOSE,5);

 EE:=CLOSE<MA(CLOSE,10)AND CLOSE<MA(CLOSE,5);

量:=VOL>MA(VOL,5);

 STICKLINE(BB>=REF(BB,1),CC,REF(CC,1),1,0),COLORRED;

 STICKLINE(BB<REF(BB,1),CC ,REF(CC,1),1,0),COLORGREEN;

 D:=AA=1 AND REF(AA,1)=0 AND (REF(AA,2)+REF(AA,3)=0) AND BB<0.5;

 S:=AA=1 AND REF(AA,1)=0 AND (REF(AA,2)+REF(AA,3)=0) AND DD=1 AND REF(DD,1)=0 AND 量=1;

 DD1:=BB>2 AND (AA=0 AND REF(AA,1)=1) AND (REF(AA,2)+REF(AA,3)=2);

 TZ:=(AA=0 AND REF(AA,1)=1) AND (REF(AA,2)+REF(AA,3)=2) AND MA5<0 AND EE=1 AND BB>1;

 DRAWTEXT(D=1,BB,'底'),COLORYELLOW;

DRAWTEXT(S=1,BB,'升'),COLORRED;

DRAWTEXT(DD1=1,BB,'顶'),COLORLIBLUE;

DRAWTEXT(TZ=1,BB,'降'),COLORGREEN;

IF(BB,BB>=REF(BB,1),BB<REF(BB,1)),COLORRED;

XG2:CROSS(AA,0.2) AND BB<0.50,COLORMAGENTA;

XG:D=1,COLORYELLOW;




{龙头密码之中阳穿底}

次新:=(BARSCOUNT(C)+1)<120;

MA10:=MA(C,10);

MA30:=MA(C,30);

MA60:=MA(C,60);

MA120:=MA(C,120);




VAR1:=(MAX(C,O)-MIN(C,O))/MIN(C,O)*100;

VAR2:=(H-MAX(C,O))/MAX(C,O)*100;

VAR3:=(MIN(C,O)-L)/L*100;

VAR4:=MA(REF(LLV(C,30),1),2);

VAR5:=MA(REF(HHV(C,30),1),2);

VAR6:=(VAR5-MAX(C,O))/MAX(C,O)*100;

VAR7:=(MIN(C,O)-VAR4)/VAR4*100;

VAR8:=MAX(MA30,MAX(MA60,MA120));

VAR9:=MIN(MA30,MIN(MA60,MA120));

VAR10:=IF(MA30<>VAR8 AND MA30<>VAR9,MA30,IF(MA60<>VAR8 AND MA60<>VAR9,MA60,MA120));

VAR11:=(VAR8-VAR9)/VAR9*100;

VAR12:=BARSLASTCOUNT(MAX(O,C)<=REF(MAX(O,C),1) AND MIN(O,C)<=REF(MIN(O,C),1))>=2;

VAR13:=BARSLASTCOUNT(MIN(O,C)<=REF(MIN(O,C),1))>=2;

VAR14:=BARSLASTCOUNT(MAX(O,C)<=REF(MAX(O,C),1))>=2;

VAR15:=BARSLASTCOUNT(MAX(O,C)>=REF(MAX(O,C),1) AND MIN(O,C)>=REF(MIN(O,C),1))>=2;

VAR16:=BARSLASTCOUNT(MIN(O,C)>=REF(MIN(O,C),1))>=2;

VAR171:=(CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2));

VAR172:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);

VAR173:=REF(VAR172,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);

VAR174:=REF(VAR172 OR VAR173,1) AND VAR171;

VAR17:=VAR174 AND CLOSE>OPEN;

VAR18:=REF(VAR171,1) AND VAR172 AND NOT(REF(C,3)=LLV(C,4));

VAR19:=(CLOSE/OPEN)>1.04 AND CLOSE<SMA(HIGH,19,3) AND C>REF(C,1);

VAR201:=IF(C>MA(C,4),1,0);

VAR202:=IF(C<MA(C,4),-1,0);

VAR203:=IF(MA(C,5)>REF(MA(C,5),1),1,0);

VAR204:=IF(MA(C,5)<REF(MA(C,5),1),-1,0);

VAR205:=VAR201+VAR202+VAR203+VAR204;

VAR20:=VAR205=2 AND C<O;

VAR211:= EMA((CLOSE*2+HIGH+LOW)/4,13)-EMA((CLOSE*2+HIGH+LOW)/4,73);

VAR212:=(CROSS(VAR211,EMA(VAR211,2)) AND VAR211<=0.05 AND (C/REF(C,1)>0.035));

VAR21:=VAR212 AND NOT(VAR20);

VAR221:=IF(C>MA(C,4),1,0)+IF(C<MA(C,4),-1,0)+IF(MA(C,5)>REF(MA(C,5),1),1,0)+IF(MA(C,5)<REF(MA(C,5),1),-1,0); 

VAR22:=VAR221=-2 AND C>O;

VAR23:=REF(VAR18 AND VAR21 AND VAR17=0,1)=0 AND REF(VAR17=0,2) AND REF(OPEN,1)>C AND C<VAR9 AND VAR9<=REF(VAR9,1) AND BARSLASTCOUNT(VAR8>VAR5)>10;

VAR24:=VAR19 AND OPEN<VAR4 AND C>VAR4 AND VAR1>3.9 AND VAR1<8 AND VAR2<0.5 AND VAR21=0 AND VAR22=0 AND VAR23;

VAR25:=(MAX(HHV(C,10),HHV(OPEN,10))-MIN(LLV(C,10),LLV(OPEN,10)))/MIN(LLV(C,10),LLV(OPEN,10))*100;

VAR26:=REF(C,1)>REF(C,2) AND REF(C,2)<VAR9 AND BARSLASTCOUNT(C>VAR9)=2 AND OPEN>=REF(C,1) AND OPEN<VAR9*1.0054;

VAR27:=MA30=VAR8 AND BARSLASTCOUNT(VAR8<VAR5)>10 AND BARSLASTCOUNT(VAR9>=REF(VAR9,1) AND VAR8>=REF(VAR8,1))>=4;

VAR28:=VAR19 AND C=HHV(C,5) AND VAR3<0.5 AND OPEN>VAR4 AND VAR11<10 AND VAR7<4.5 AND VAR6<20 AND COUNT(VAR12,3)>=1 AND REF(VAR25<10,1) AND VAR26 AND VAR27;

VAR29:=MA30=VAR8 AND BARSLASTCOUNT(VAR8<VAR5)>10 AND BARSLASTCOUNT(VAR9>=REF(VAR9,1) AND VAR10>=REF(VAR10,1))>=4 AND VAR4<REF(VAR4,1) AND VAR4<REF(VAR4,1)>VAR4<REF(VAR4,2);

VAR30:=VAR19 AND C=HHV(C,4) AND VAR3=0 AND REF(VAR12 AND BARSLASTCOUNT(VAR1>4 AND C<OPEN)>=3,1) AND VAR6<20 AND VAR29;

VAR31:=VAR19 AND C=HHV(C,10) AND REF(VAR12 AND VAR22 AND C<VAR4 AND BARSLASTCOUNT(VAR1<2.5)>=3,1) AND C>VAR4 AND BARSLASTCOUNT(C>0)<60 AND CROSS(C,MA10);

VAR32:=VAR19 AND C=HHV(C,4) AND (OPEN<VAR4 OR VAR7<2.5) AND VAR11<15 AND VAR6<30 AND CROSS(C,MA10) AND REF(BARSLASTCOUNT(C<MA10)>10,1) AND REF(BARSLASTCOUNT(MA120<VAR5)>10,4) AND MA120>MA60 AND MA60>MA30;

VAR33:=VAR19 AND C=HHV(C,3) AND REF(VAR22,1) AND OPEN>MA30*1.15 AND COUNT(VAR12,5)>=1 AND VAR16 AND MA30>MA60 AND MA60>MA120;

VAR34:=RANGE(MIN(C,O),MA(C,5)*0.98,MA(C,5)*1.02);

VAR35:=VAR19 AND C=HHV(C,4) AND CROSS(C,MA10) AND VAR6<20 AND VAR34 AND REF(BARSLASTCOUNT(VAR1<2.5)>=3 AND VAR15,1) AND C*1.05>MA30 AND MA30>MA60 AND MA60>MA120;

黄龙穿底修正:(VAR24 OR VAR28 OR VAR30 OR VAR31 OR VAR32 OR VAR33 OR VAR35)*2,COLORYELLOW;







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

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

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

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