通达信【黑马出现】开心幸福捡黄金副图+选股指标用法详解




VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);

VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);

VAR3:=EMA(IF(LOW<=LLV(LOW,33),EMA(VAR2,10),0),3);

VAR4:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

VAR5:=BARSLAST(EMA(CLOSE,5)<REF(EMA(CLOSE,5),1));

VAR6:=COUNT(EMA(CLOSE,5)>REF(EMA(CLOSE,5),1),5);

VAR7:=IF(VAR6>0,2*VAR5,0);

VAR8:=((HHV(H,21)-C)/(HHV(H,21)-LLV(L,21)))*100-10;

VAR9:=SMA(VAR8,21,8);

VAR10:=IF((VAR7/2-VAR9<(-70)),0,-5);

VAR11:=3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1);

VAR12:=VAR11-2*SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1);

VAR13:=IF((VAR12-VAR9>85),0,-5);

STICKLINE(C>0.1,0,100,4.8,0),COLOR668800;

STICKLINE(C>0.1,-5,0,4.8,0),COLORFFB06C;

STICKLINE(VAR3>REF(VAR3,1),0,VAR3,3,0 ),COLOR000055;

STICKLINE(VAR3>REF(VAR3,1),0,VAR3,2.6,0 ),COLOR000077;

STICKLINE(VAR3>REF(VAR3,1),0,VAR3,2.1,0 ),COLOR000099;

STICKLINE(VAR3>REF(VAR3,1),0,VAR3,1.5,0 ),COLOR0000BB;

STICKLINE(VAR3>REF(VAR3,1),0,VAR3,0.9,0 ),COLOR0000DD;

STICKLINE(VAR3>REF(VAR3,1),0,VAR3,0.3,0 ),COLOR0000FF;

STICKLINE(VAR3<REF(VAR3,1),0,VAR3,3,0),COLOR005500;

STICKLINE(VAR3<REF(VAR3,1),0,VAR3,2.6,0),COLOR007700;

STICKLINE(VAR3<REF(VAR3,1),0,VAR3,2.1,0),COLOR009900;

STICKLINE(VAR3<REF(VAR3,1),0,VAR3,1.5,0),COLOR00BB00;

STICKLINE(VAR3<REF(VAR3,1),0,VAR3,0.9,0),COLOR00DD00;

STICKLINE(VAR3<REF(VAR3,1),0,VAR3,0.3,0),COLOR00FF00;

DRAWBAND(VAR10,RGB(00,300,150),-5,RGB(00,300,150));

DRAWBAND(VAR13,RGB(255,20,147),-5,RGB(255,20,147));

K1:EMA(VAR4,5),COLORLIBLUE,NODRAW;

K2:SMA(VAR4,5,1),COLORYELLOW,NODRAW;

K:EMA((K1-K2),2),COLORWHITE,NODRAW;

VAR14:=IF(K>12,90,85);

VAR15:=IF(K<-12,80,85);

VAR16:=100*EMA(EMA(C-REF(C,1),6),6)/EMA(EMA(ABS(C-REF(C,1)),6),6);

VAR17:=HHV(H,BARSLAST(CROSS(EMA(C,5),EMA(C,13)))+1);

VAR18:=LLV(L,BARSLAST(CROSS(EMA(C,13),EMA(C,5)))+1);

VAR19:=DRAWLINE(L=VAR18,VAR18,H=VAR17,VAR17,0);

VAR20:=DRAWLINE(H=VAR17,VAR17,L=VAR18,VAR18,0);

VAR21:=LLV(VAR16,2)=LLV(VAR16,7) AND COUNT(VAR16<0,2) AND CROSS(VAR16,MA(VAR16,2));

VAR22:=VAR21 AND REF(VAR20,1)<REF(VAR20,2) AND VAR19>REF(VAR20,1);

VAR23:=REF(VAR20,1)<REF(VAR20,2) AND VAR19>REF(VAR20,1) AND C<HHV(H,21)*0.82;

VAR24:=SQRT(HHV(HIGH,55)*LLV(LOW,55));

VAR25:=REF(VAR20,1)<REF(VAR20,2) AND VAR19>REF(VAR20,1) AND C<VAR24;

VAR26:=100*EMA(EMA((C-REF(C,1)),6),6)/EMA(EMA(ABS((C-REF(C,1))),6),6);

VAR27:=LLV(VAR26,2)=LLV(VAR26,7) AND COUNT(VAR26<0,2) AND CROSS(VAR26,MA(VAR26,2));

VAR28:=IF(VAR27 AND REF(VAR20,1)<REF(VAR20,2) AND VAR19>REF(VAR20,1),DRAWNULL,100);

VAR29:=(ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*180/3.14115926);

VAR30:=PLOYLINE(CROSS(VAR29,MA(VAR29,5)),MA(VAR29,5));

VAR31:=PLOYLINE(CROSS(MA(VAR29,5),VAR29),VAR29);

VAR32:=COUNT(CROSS(VAR29,MA(VAR29,5)),VAR30<REF(VAR30,5) AND VAR31>REF(VAR31,5));

VAR33:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;

VAR34:=100*EMA((C-LLV(L,10))/(HHV(H,25)-LLV(L,10)),4);

VAR35:=IF((DATE<=1090314),1,0);

VAR36:=(CLOSE+HIGH+LOW)/(3);

VAR37:=(EMA(VAR36,10))*(VAR35);

VAR38:=(REF(VAR37,1))*(VAR35);

VAR39:=(MA(CLOSE,80)-(MA(CLOSE,10))/(3))*(VAR35);

VAR40:=C<VAR39 AND ((V)/(240)>(MA(V,5))/(240));

VAR41:=(C>(REF(C,1))*(1.08)) AND (C<(MA(C,13))*(1.3));

VAR42:=((LLV(LOW,3)=LLV(LOW,60)) AND ((CLOSE/REF(CLOSE,1))>=1.04));

VAR48:=(((CLOSE-EMA(CLOSE,21))/EMA(CLOSE,21))*100);

VAR49:=((SMA(MAX((C-REF(C,1)),0),7,1)/SMA(ABS((C-REF(C,1))),7,1))*100);

DRAWBAND(85,RGB(100,100,100),85+K,RGB(128,00,00));

DRAWBAND(VAR14,RGB(200,200,200),VAR15,RGB(200,200,200));

DRAWBAND(K1,RGB(400,200,00),K2,RGB(50,300,100));

STICKLINE(C>0.1,15,15,1,0),COLORCYAN;

STICKLINE(C>0.1,50,50,1,0),COLORCYAN;

STICKLINE(VAR22,85,100,2,0),COLOR000088;

STICKLINE(VAR22,85,100,1,0),COLOR0000CC;

STICKLINE(VAR22,85,100,0.22,0),COLOR0000FF;

STICKLINE(VAR23,85,95,3,0),COLOR880088;

STICKLINE(VAR23,85,95,1.5,0),COLORAA00AA;

STICKLINE(VAR23,85,95,0.8,0),COLORCC00CC;

STICKLINE(VAR23,85,95,0.2,0),COLORFF00FF;

STICKLINE(VAR25,85,90,4,0),COLOR008888;

STICKLINE(VAR25,85,90,2,0),COLOR00AAAA;

STICKLINE(VAR25,85,90,1,0),COLOR00CCCC;

STICKLINE(VAR25,85,90,0.2,0),COLOR00FFFF;

STICKLINE(VAR28=100,0,5,4,0),COLOR00AAAA;

STICKLINE(VAR28=100,0,5,2.5,0),COLOR00CCCC;

STICKLINE(VAR28=100,0,5,0.5,0),COLOR00FFFF;

STICKLINE(VAR32,0,20,3,0),COLORRED ;

DRAWTEXT(VAR32,15,'黑马'),COLOR00FF00;

CQS:(MA(3*SMA(VAR33,6,1)-2*SMA(SMA(VAR33,5,1),5,1),2)),LINETHICK2,COLORRED;

DRAWTEXT(CROSS(VAR34,87.5),100,'●出局'),COLORGREEN;

STICKLINE(CROSS(VAR37,VAR38),L,L-0.3,3,1),COLORWHITE;

DRAWTEXT(IF(VAR40 AND VAR41,1,0),30,'●抄底'),COLOR0000FF;

DRAWTEXT((BARSCOUNT(C)+0)/34=FLOOR((BARSCOUNT(C)+0)/34),60,'☆'),COLORYELLOW; 

DRAWTEXT(FILTER(((VAR42>0) AND LOW),5),30,'●买点'),COLORRED;

DRAWTEXT((CROSS(VAR48,(0-20))>0),25,'●绝对底部');{ 公式源码 }

DRAWTEXT(FILTER(CROSS(79,VAR49),4),90,'●出货'),COLOR9000F5;







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

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

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

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