最新消息: USBMI致力于为网友们分享Windows、安卓、IOS等主流手机系统相关的资讯以及评测、同时提供相关教程、应用、软件下载等服务。

【股票指标公式下载】-【通达信】经典量柱(黄金柱、预定黄金柱、量柱

IT圈 admin 27浏览 0评论

2024年5月23日发(作者:仰晨)

【通达信】经典量柱(黄金柱、预定黄金柱、量柱图、大阴线)-指标公式源码

黄金柱:=V/REF(V,1)>=2.0;

K1:=SUMBARS(黄金柱,1) ;

K2:=SUMBARS(黄金柱,2);

K3:=SUMBARS(黄金柱,3);

K4:=SUMBARS(黄金柱,4);

K5:=SUMBARS(黄金柱,5);

K6:=SUMBARS(黄金柱,6);

K7:=SUMBARS(黄金柱,7);

K8:=SUMBARS(黄金柱,8);

K9:=SUMBARS(黄金柱,9);

K10:=SUMBARS(黄金柱,10);

AA:STICKLINE(K1,REF(L,K1-1)*1.002,REF(L,K1-1),5,0),COLORYELLOW;

{预定黄金柱}

{预定黄金柱:=REF(V,2)>=REF(V,3)*1.99 AND REF(C,2)>REF(O,2)

AND REF(V,2)=HHV(V,3) AND C/REF(C,2) >=1.0995 AND

REF(L,2)=LLV(L,3);}

{预定:STICKLINE(预定黄金柱,H,H,30,0),COLORRED;}

{DRAWICON(预定黄金柱,H,19);}

{将军柱中的五星上将黄金柱}

T60:=V=HHV(V,60);

T100:=V=HHV(V,100);

T2:=V/REF(VOL,1)>=3;

T3:=REF(C,1)/REF( O,1)<3;

五星上将:=(T60 AND T2 AND T3) OR (T100 AND T2 AND T3);

DRAWICON(五星上将,H,23);

{量柱图}

C2:=REF(C,1);

涨停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0);

STICKLINE(涨停,OPEN,CLOSE,-1,0),COLORWHITE;

STICKLINE(涨停,H,L,0,0),COLORWHITE;

DRAWICON(涨停,L-0.2,11);

DRAWTEXT(涨停,L-0.2,' --涨停');

跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2),1,0);

STICKLINE(跌停,OPEN,CLOSE,-1,0),COLORBLUE;

STICKLINE(跌停,H,L,0,1),COLORBLUE;

DRAWICON(跌停,H+0.2,2);

DRAWTEXT(跌停,H+0.2,' --跌停');

{大阳线:=IF((C-C2)*100/C2>=5,1,0) AND

IF((C-C2)*100/C2<(10-0.01*100/C2),1,0) OR IF((C-O)*100/O>=5,1,0) AND

IF((C-C2)*100/C2<(10-0.01*100/C2),1,0);

STICKLINE(大阳线,OPEN,CLOSE,-1,0),COLORRED;

STICKLINE(大阳线,H,L,0,1),COLORRED;

大阴线:=IF((C2-C)*100/C2>=5,1,0) AND

IF((C2-C)*100/C2<(10-0.01*100/C2),1,0) OR IF((O-C)*100/O>=5,1,0) AND

IF((C2-C)*100/C2<(10-0.01*100/C2),1,0);

STICKLINE(大阴线,OPEN,CLOSE,-1,0),COLORGREEN;

STICKLINE(大阴线,H,L,0,1),COLORGREEN;}

{MA13:MA(CLOSE,13),COLORWHITE;

MA34:MA(CLOSE,34),COLORYELLOW;

MA55:MA(CLOSE,55),COLOR9933FF;}

{MA4:MA(CLOSE,4),COLORWHITE;

MA10:MA(CLOSE,10),COLORYELLOW;

MA20:MA(CLOSE,20),COLOR9933FF;

MA30:MA(CLOSE,30),COLORLIBLUE;

MA60:MA(CLOSE,60),COLORWHITE;

MA120:MA(CLOSE,120),COLORLIGREEN;}

TY:=C;

AA1:=REF(TY,10)=HHV(TY,2*10+1); BB1:=FILTER(AA1,10);

C1:=BACKSET(BB1,10+1); HD:=FILTER(C1,10);

AA2:=REF(TY,10)=LLV(TY,2*10+1); B2:=FILTER(AA2,10);

CC2:=BACKSET(B2,10+1); LD:=FILTER(CC2,10);

前期高位:REF(H,BARSLAST(HD)),COLOR00FF00,POINTDOT,LINETHICK3;

前期低位:REF(L,BARSLAST(LD)),COLORFF00FF,POINTDOT,LINETHICK3;

{求位置坐标}

PHD:=IF(LLV(L,3)>=REF(H,3),REF(H,3),

IF((LLV(L,3)>=REF(C,3) AND REF(C,3)>REF(O,3)),REF(C,3),

2024年5月23日发(作者:仰晨)

【通达信】经典量柱(黄金柱、预定黄金柱、量柱图、大阴线)-指标公式源码

黄金柱:=V/REF(V,1)>=2.0;

K1:=SUMBARS(黄金柱,1) ;

K2:=SUMBARS(黄金柱,2);

K3:=SUMBARS(黄金柱,3);

K4:=SUMBARS(黄金柱,4);

K5:=SUMBARS(黄金柱,5);

K6:=SUMBARS(黄金柱,6);

K7:=SUMBARS(黄金柱,7);

K8:=SUMBARS(黄金柱,8);

K9:=SUMBARS(黄金柱,9);

K10:=SUMBARS(黄金柱,10);

AA:STICKLINE(K1,REF(L,K1-1)*1.002,REF(L,K1-1),5,0),COLORYELLOW;

{预定黄金柱}

{预定黄金柱:=REF(V,2)>=REF(V,3)*1.99 AND REF(C,2)>REF(O,2)

AND REF(V,2)=HHV(V,3) AND C/REF(C,2) >=1.0995 AND

REF(L,2)=LLV(L,3);}

{预定:STICKLINE(预定黄金柱,H,H,30,0),COLORRED;}

{DRAWICON(预定黄金柱,H,19);}

{将军柱中的五星上将黄金柱}

T60:=V=HHV(V,60);

T100:=V=HHV(V,100);

T2:=V/REF(VOL,1)>=3;

T3:=REF(C,1)/REF( O,1)<3;

五星上将:=(T60 AND T2 AND T3) OR (T100 AND T2 AND T3);

DRAWICON(五星上将,H,23);

{量柱图}

C2:=REF(C,1);

涨停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0);

STICKLINE(涨停,OPEN,CLOSE,-1,0),COLORWHITE;

STICKLINE(涨停,H,L,0,0),COLORWHITE;

DRAWICON(涨停,L-0.2,11);

DRAWTEXT(涨停,L-0.2,' --涨停');

跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2),1,0);

STICKLINE(跌停,OPEN,CLOSE,-1,0),COLORBLUE;

STICKLINE(跌停,H,L,0,1),COLORBLUE;

DRAWICON(跌停,H+0.2,2);

DRAWTEXT(跌停,H+0.2,' --跌停');

{大阳线:=IF((C-C2)*100/C2>=5,1,0) AND

IF((C-C2)*100/C2<(10-0.01*100/C2),1,0) OR IF((C-O)*100/O>=5,1,0) AND

IF((C-C2)*100/C2<(10-0.01*100/C2),1,0);

STICKLINE(大阳线,OPEN,CLOSE,-1,0),COLORRED;

STICKLINE(大阳线,H,L,0,1),COLORRED;

大阴线:=IF((C2-C)*100/C2>=5,1,0) AND

IF((C2-C)*100/C2<(10-0.01*100/C2),1,0) OR IF((O-C)*100/O>=5,1,0) AND

IF((C2-C)*100/C2<(10-0.01*100/C2),1,0);

STICKLINE(大阴线,OPEN,CLOSE,-1,0),COLORGREEN;

STICKLINE(大阴线,H,L,0,1),COLORGREEN;}

{MA13:MA(CLOSE,13),COLORWHITE;

MA34:MA(CLOSE,34),COLORYELLOW;

MA55:MA(CLOSE,55),COLOR9933FF;}

{MA4:MA(CLOSE,4),COLORWHITE;

MA10:MA(CLOSE,10),COLORYELLOW;

MA20:MA(CLOSE,20),COLOR9933FF;

MA30:MA(CLOSE,30),COLORLIBLUE;

MA60:MA(CLOSE,60),COLORWHITE;

MA120:MA(CLOSE,120),COLORLIGREEN;}

TY:=C;

AA1:=REF(TY,10)=HHV(TY,2*10+1); BB1:=FILTER(AA1,10);

C1:=BACKSET(BB1,10+1); HD:=FILTER(C1,10);

AA2:=REF(TY,10)=LLV(TY,2*10+1); B2:=FILTER(AA2,10);

CC2:=BACKSET(B2,10+1); LD:=FILTER(CC2,10);

前期高位:REF(H,BARSLAST(HD)),COLOR00FF00,POINTDOT,LINETHICK3;

前期低位:REF(L,BARSLAST(LD)),COLORFF00FF,POINTDOT,LINETHICK3;

{求位置坐标}

PHD:=IF(LLV(L,3)>=REF(H,3),REF(H,3),

IF((LLV(L,3)>=REF(C,3) AND REF(C,3)>REF(O,3)),REF(C,3),

发布评论

评论列表 (0)

  1. 暂无评论