English | 简体中文 | 繁體中文
一流镖客16bk.com

书写民间股市传奇...

通达信支撑压力警示区间主图指标公式源码

admin2022-08-14 02:12:48580

N:=120;TPK一流镖客
K:=BARSLAST(CURRBARSCOUNT=N);TPK一流镖客
GD:=CONST(IF(ISLASTBAR=1,HHV(H,K),0));TPK一流镖客
DD:=CONST(IF(ISLASTBAR=1,LLV(L,K),0));TPK一流镖客
KJ:=GD-DD;TPK一流镖客
GD4:=IF(CURRBARSCOUNT<=N/2,GD,DRAWNULL);TPK一流镖客
高区:IF(CURRBARSCOUNT<=N,GD,DRAWNULL),COLORRED,LINETHICK2;TPK一流镖客
低区:IF(CURRBARSCOUNT<=N,DD,DRAWNULL),COLOR00FF00,LINETHICK2;TPK一流镖客
平衡:=IF(CURRBARSCOUNT<=N,DD+KJ/2,DRAWNULL),COLOR00FFFF,NODRAW;TPK一流镖客
低:IF(CURRBARSCOUNT<=N/2,DD,DRAWNULL),COLORFFFF00;TPK一流镖客
高:IF(CURRBARSCOUNT<=N/2,GD,DRAWNULL),COLOR00FFFF;TPK一流镖客
支撑:IF(CURRBARSCOUNT<=N/2,DD+KJ*0.191,DRAWNULL);TPK一流镖客
强势: IF(CURRBARSCOUNT<=N/2,DD+KJ*0.382,DRAWNULL);TPK一流镖客
突破:IF(CURRBARSCOUNT<=N/2,DD+KJ/2,DRAWNULL);TPK一流镖客
警示:IF(CURRBARSCOUNT<=N/2,DD+KJ*0.618,DRAWNULL);TPK一流镖客
压力:IF(CURRBARSCOUNT<=N/2,DD+KJ*0.809,DRAWNULL);TPK一流镖客
低涨:IF(CURRBARSCOUNT<=N/2,(C/LLV(LOW,K)-1)*100,DRAWNULL),COLOR0000FF,NODRAW;TPK一流镖客
天数:BARSLAST(L=DD),COLORCYAN,NODRAW;TPK一流镖客
顶点:IF(CURRBARSCOUNT<=N/2, CONST(IF(ISLASTBAR=1,HHV(H, BARSLAST(CURRBARSCOUNT=60)),1)),DRAWNULL),COLORRED,CROSSDOT;TPK一流镖客
低点:IF(CURRBARSCOUNT<=N/2, CONST(IF(ISLASTBAR=1,LLV(L, BARSLAST(CURRBARSCOUNT=60)),1)),DRAWNULL),COLORMAGENTA,CROSSDOT;TPK一流镖客
STICKLINE(CCI>=200 AND H>=顶点,O,C,2,0),COLORBLUE;TPK一流镖客
STICKLINE(CCI<=100 AND L<=低点,O,C,2,0),COLORYELLOW;TPK一流镖客

STICKLINE(CURRBARSCOUNT=N,GD,DD,0,0),COLORGREEN;TPK一流镖客
STICKLINE(CURRBARSCOUNT=N/2,GD,DD,0,0),COLOR408080;TPK一流镖客
STICKLINE(CURRBARSCOUNT=1,GD,DD,0,0),COLORGREEN;TPK一流镖客
STICKLINE(CURRBARSCOUNT<=N/2,支撑,支撑,2,0);TPK一流镖客
STICKLINE(CURRBARSCOUNT<=N/2,强势,强势,2,0);TPK一流镖客
STICKLINE(CURRBARSCOUNT<=N/2,突破,突破,2,0);TPK一流镖客
STICKLINE(CURRBARSCOUNT<=N/2,警示,警示,2,0);TPK一流镖客
STICKLINE(CURRBARSCOUNT<=N/2,压力,压力,2,0);TPK一流镖客
DRAWTEXT(CURRBARSCOUNT=10,压力,'压力-0.809'),COLOR00FFFF;TPK一流镖客
DRAWTEXT(CURRBARSCOUNT=10,警示,'警示-0.618'),COLOR00FFFF;TPK一流镖客
DRAWTEXT(CURRBARSCOUNT=10,突破,'突破-0.500'),COLORFFFFFF;TPK一流镖客
DRAWTEXT(CURRBARSCOUNT=10,强势,'强势-0.382'),COLOR00FFFF;TPK一流镖客
DRAWTEXT(CURRBARSCOUNT=10,支撑,'支撑-0.191'),COLOR00FFFF;TPK一流镖客
DRAWTEXT(CURRBARSCOUNT=N/4+5,GD-KJ*0.09,'高抛'),COLOR00FFFF;TPK一流镖客
DRAWTEXT(CURRBARSCOUNT=N/4+5,GD-KJ*0.3,'减仓'),COLOR0000FF;TPK一流镖客
DRAWTEXT(CURRBARSCOUNT=N/4+5,GD-KJ*0.45,'拉升'),COLORFFFFFF;TPK一流镖客
DRAWTEXT(CURRBARSCOUNT=N/4+5,GD-KJ*0.55,'蓄势'),COLORFFFF80;TPK一流镖客
DRAWTEXT(CURRBARSCOUNT=N/4+5,DD+KJ/3,'逢低买入'),COLOR00FFFF;TPK一流镖客
DRAWTEXT(CURRBARSCOUNT=N/4+5,DD+KJ/10,'大胆买入'),COLOR00FF00;TPK一流镖客
DRAWTEXT(CURRBARSCOUNT=N/2+40,GD-KJ*0.25,'【拉升区】'),COLORRED;TPK一流镖客
DRAWTEXT(CURRBARSCOUNT=N/2+40,DD+KJ*0.25,'【持股区】'),COLORYELLOW;TPK一流镖客
第一防线:REFDATE(低,DATE),POINTDOT,COLORYELLOW,LINETHICK4;TPK一流镖客
第二防线:REFDATE(支撑,DATE),POINTDOT,COLORWHITE,LINETHICK4;TPK一流镖客
TPK一流镖客
DRAWKLINE(H,O,L,C);TPK一流镖客
AHC1:=CLOSE*VOL;TPK一流镖客
AHC22:=EMA((EXPMA(AHC1,27)/EXPMA(VOL,27)+EXPMA(AHC1,54)/EXPMA(VOL,54)+EXPMA(AHC1,108)/EXPMA(VOL,108)+EXPMA(AHC1,316)/EXPMA(VOL,316))/4,34);TPK一流镖客
上轨:=1.06*AHC22,COLOR40FF00,LINETHICK1;TPK一流镖客
下轨:=AHC22*0.94;TPK一流镖客
TPK一流镖客
ZT:=REF(C,1)*1.1-C<0.01 AND H=C;TPK一流镖客
启爆:=CROSS(C,上轨) OR CROSS(C,下轨) AND ZT;TPK一流镖客
DRAWTEXT(启爆,L,'');TPK一流镖客
STICKLINE(启爆,C,O,3,1);TPK一流镖客
STICKLINE(启爆,C,O,1,0);TPK一流镖客

TPK一流镖客

TPK一流镖客

其他股票