涨跌幅度标示指标程序有哪些?
admin888
|涨跌幅度标示指标程序有哪些?
涨跌幅度标示指标程序
指标名称∶ZDFD
指标程序∶
B:=BARSCOUNT(CLOSE);
K线总数∶B;
(超跌反弹特K】
(ZIG之字底】
C1:=ZIG(3,10);
C2:=ZIG(3,20);
C3:=ZIG(3,30);
C4:=ZIG(3,50);
C5:=ZIG(3,65;
C6:=-ZIG(3,80);
C7;=ZIC(3,100);
C8:=ZIG(3,200;
C9=ZIG(3,300;
(回调10%)
C41:=(REF(C1,2)>REF(C1,1)AND REF(C1,1)
AND(REF(C1,1)>REF(C2,1)OR REF(C1,1)
AND(REFC1,1)>REF(C3,1)OR REF(C1,1)
AND(REF(C1,1)>REF(C4,1)OR REF(C1,1)
AND(REF(C1,1)>REF(C5,1)OR REF(C1,1)
AND(REF(C1,1)>REF(C6,1)OR REF(C1,1)
IF(C41,B,0),COLORFF00FF;
DRAWTEXT(C41,B*3/4,'跌幅'),COLORFF00FF;
DRAWTEXT(C41,B*2/4,'超过'),COLORFF00FF;
DRAWTEXT(C41,B*1/4,'10y,COLORFF00FF;
(回调20%}
C42:=( REF(C1,2)>REF(C1,1) AND REF(C2,2)>REF(C2,1)
AND REF(C1,1)=REF(C2,1) AND REF(C2,1)
AND (REF(C2,1)>REF(C3,1) OR REF(C2,1)
AND (REF(C2,1)>REF(C4,1) OR REF(C2,1)
AND (REF(C2,1)>REF(C5,1) OR REF(C2,1)
AND(REF(C2,1)>REF(C6,1) OR REF(C2,1)
IF((C42,B,0),COLORFF00FF;
DRAWTEXT(C42,B*3/4,'跌幅'),COLORFFO0FF;
DRAWTEXT(C42,B*2/4,'超过'),COLORFFO0FF;
DRAWTEXT(C42,B*1/4,'20y,COLORFFO0FF;
(回调30%}
C43:=( REF(C1,2)>REF(C1,1)AND REF(C2,2)>REF(C2,1)
AND REF(C3.2)>REF(C3,1) AND REF(C1,1)=REF(C2.1)AND REF(C2,1)=REF(C3,1)
AND REF(C1,1)
AND(REF(C3,1)>REF(C4,1) OR REF(C3,1)
AND(REF(C3,1)>REF(C5,1) OR REF(C3,1)
AND (REF(C3,1)>REF(C6,1) OR REF(C3,1)
IF(C43,B,0),COLORFF00FF;
DRAWTEXT(C43,B*3/4,'跌幅 '),COLORFF00FF;
DRAWTEXT(C43,B*2/4,'超过'),COLORFFOOFF;
DRAWTEXT(C43,B*1/4,'30y,COLORFF00FF;
(回调50%)
C44:=( REF(C1,2)>REF(C1,1) AND REF(C2,2)>REF(C2,1)
AND REF(C3,2)>REF(C3,1) AND REF(C4,2)>REF(C4,1)
AND REF(C1,1)=REF(C2,1)AND REF(C2,1)=REF(C3.1)AND REF(C3,1)=REF(C4,1)
AND REF(C1,1)
AND(REF(C4,1)>REF(C5,1) OR REF(C4,1)
AND (REF(C4,1)>REF(C6,1) OR REF(C4,1)
IF(C44,B,0),COLORRED;
DRAWTEXT(C44,B*3/4,' 跌幅'),COLORRED;
DRAWTEXT(C44,B*2/4,'超过'),COLORRED;
DRAWTEXT(C44,B*1/4,'50y,COLORRED;
(回调65%)
C45:=( REF(C1,2)>REF(C1,1) AND REF(C2,2)>REF(C2,1)
AND REF(C3,2)>REF(C3,1)AND REF(C4,2)>REF(C4,1)AND REF(C5,2)>REF(C5,1)
AND REF(C1,1)=REF(C2,1) AND REF(C2,1)=REF(C3,1)
AND REF(C3,1)=REF(C4,1)AND REF(C4,1)=REF(C5,1)
AND REF(C1,1)
AND REF(C4,1)
AND(REF(C5,1)>REF(C6,1) OR REF(C5,1)
IF(C45 ,B,0),COLORRED;
DRAWTEXT(C45,B*3/4,'跌幅'),COLORRED;
DRAWTEXT(C45,B*2/4,'超过'),COLORRED;
DRAWTEXT(C45,B*1/4,'65y,COLORRED;
(回调80%)
C46:=(REF(C1,2)>REF(C1,1)AND REF(C2,2)>REF(C2,1)AND REF(C3,2)>REF(C3,1)
AND REF(C4,2)>REF(C4,1)AND REF(C5,2)>REF(C5,1)AND REF(C6,2)>REF(C6,1)
AND REF(C1,1)=REF(C2,1)AND REF(C2,1)=REF(C3,1)AND REF(C3,1)=REF(C4,1)
AND REF(C4,1)=REF(C5,1)AND REF(C5,1)=REF(C6,1)
AND REF(C1,1)
AND REF(C4,1)
IF(C46,B,0),COLORRED;
DRAWTEXT(C46,B*3/4,'跌幅'),COLORRED;
DRAWTEXT(C46,B*2/4,'超过'),COLORRED;
DRAWTEXT(C46,B*1/4,'80y,COLORRED;
(涨幅10)
TJ1:=( REF(C1,2)C1
AND(REF(C1,1)>REF(C2,1) OR REF(C1,1)
IF(FILTER(TJ1,1),0,B),COLORO00180;
DRAWTEXT(TJ1,B*3/4,'涨幅'),COLOR000180;
DRAWTEXT(TJ1,B*2/4,'超过'),COLORO00180;
DRAWTEXT(TJ1,B*1/4,'10y,COLOR000180;
(涨幅20%)
TJ2:=( REF(C2,2)C2
AND (REF(C2,1)>REF(C3,1)OR REF(C2,1)
IF(FILTER(TJ2,1),0,B)),COLORO00180;
DRAWTEXT(TJ2,B*3/4,'涨幅'),COLOR000180;
DRAWTEXT(TJ2,B*2/4,'超过'),COLOR000180;
DRAWTEXT(TJ2,B*1/4,'20y,COLORO00180;
(涨幅30%)
TJ3:=(REF(C3,2)C3
AND(REF(C3,1)>REF(C4,1)OR REF(C3,1)
IF(FILTER(TJ3,1),0,B),COLORO00180;
DRAWTEXT(TJ3,B*3/4,'涨幅'),COLOR000180;
DRAWTEXT(TJ3,B*2/4,'超过'),COLOR000180;
DRAWTEXT(TJ3,B*1/4,'30y,COLOR000180;
(涨幅40%)
TJ4:=(REF(C4,2)C4
AND (REF(C4,1)>REF(C5,1)OR REF(C4,1)
IF(FILTER(TJ4,1),0,B),COLOR000180;
DRAWTEXT(TJ4,B*3/4,'涨幅'),COLOR000180;
DRAWTEXT(TJ4,B*2/4,'超过'),COLOR000180;
DRAWTEXT(TJ4,B*1/4,'40y,COLORO00180;
(涨幅50%)
TJ5:=( REF(C5,2)C5
AND (REF(C5,1)>REF(C6,1) OR REF(C5,1)
IF(FILTER(TJ5,1),0,B),COLORO00180;
DRAWTEXT(T5,B*3/4,'涨幅'),COLOR000180;
DRAWTEXT(TJ5,B*2/4,'超过'),COLOR000180;
DRAWTEXT(TJ5,B*1/4,'50y,COLORO00180;
(涨幅100%)
TJ7:=( REF(C7,2)C7 );
IF(FILTER(TJ7,1),0,B),COLORBLUE;
DRAWTEXT(TJ7,B*3/4,'涨幅'),COLORBLUE;
DRAWTEXT(TJ7,B*2/4,'超过 '),COLORBLUE;
DRAWTEXT(TJ7,B*1/4,'100y,COLORBLUE;
(空 );
备注∶本指标用于标示股票价格涨跌幅度。向上箭头标示从前一次反弹峰顶开始到超跌反弹K 线之前交易日所对应的跌幅。显示箭头则为反弹或上涨幅度。
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。