软件名称:[B]趋势变色线指标[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:7.00 KB
官方主页:Home Page
更新时间:2017-10-04 00:38:00
软件简介:
说明:趋势变色线是由一条由洋红色、黄s、绿色组成的短趋势线。它的颜色变化是根据股价的运行变化而变化的。它的运行轨迹即代表股价短期的运行方向及股价的高低。它的洋红色线段是多头区域,对应持股;黄s为变盘区域,是观望区域;绿色为空头区域,对应持币。另外本指示引入了均线系统,由红、白、绿三色组成,在指标的底部出现。红色对应多头,白色为过渡区或变盘区,绿色为空头区域。趋势线变色线与均线系统都是行情判断的基准线,它们共同确认行情的多空阶段。短线操作主要看趋势变色线,中长线操作主要看均线系统。加入了选股公式牛熊三色(蓝红黄)、出击,密码金线指标,当它们有数剧显示时,就是选股。所有买入和卖出提示仅供参考,不作为投资的依据。
请配合大盘和其它指标使用。
{"均线系统";}
N1:=5;
N2:=10;
N3:=20;
N4:=30;
EMA7:=EMA(C,7);
BBI:=(MA(CLOSE,N1)+MA(CLOSE,N2)+MA(CLOSE,N3)+MA(CLOSE,N4))/4;
过渡:IF(BBI,10,DRAWNULL),colorwhite,LINETHICK3;
持股:IF(C>BBI AND BBI>REF(BBI,1),10,DRAWNULL), colorred,LINETHICK3;
持币:IF(C<=BBI AND BBI<=REF(BBI,1),10,DRAWNULL),colorgreen,LINETHICK3;
A01:=NEW;
A03:=BARSCOUNT(CLOSE);
A04:=SMA(CLOSE/HHV(HIGH,120),3,1)*100;
A05:=IF(A03>20,A04,0);
A06:=IF(LOW<A01,0,IF(HIGH>A01,1,(A01-LOW+0.009)/(HIGH-LOW+0.009)));
A07:=DMA(A06,VOL/SHGZG)*(100);
A09:=IF(A07>0 AND A07>REF(A07,1) AND A05<=88,A07,0);
FILLRGN(A09>0,0,A09,colorFF00FF);
密码金线:A09,LINETHICK2,coloryellow;
VAR1:=3;
VAR2:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
秘密买点:IF(VAR2<=3,25,0),LINETHICK2,colorred;
建增补仓:IF(VAR2<5,45,0),LINETHICK2,colorFFFF00;
var1:=REF(CLOSE,1);
var2:=SMA(MAX(CLOSE-var1,0),7,1)/SMA(ABS(CLOSE-var1),7,1)*100,coloryellow;
var21:IF(var2<20,40,20),colorred;
var22:IF(var2>80,60,80),COLORFFFF50;
var2↑:STICKLINE(FILTER(REF(var2,1)<20 AND var2>REF(var2,1),5),20,40,8,0),colorred;
var2↓:STICKLINE(FILTER(REF(var2,1)>80 AND var2<REF(var2,1),5),60,80,8,0),COLORFFFF50;
DRAWTEXT(FILTER(REF(var2,1)<20 AND var2>REF(var2,1),5),40 ,'买入' ),COLORFFFFFF;
DRAWTEXT(FILTER(REF(var2,1)>80 AND var2<REF(var2,1),5),60 ,'卖出' ),COLORFFFFFF;
Z:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
趋势:SMA(Z,5,1),LINETHICK3;
工作:=MA(趋势,2);
升:IF(趋势>REF(趋势,1),趋势,DRAWNULL),COLORFF00FF,LINETHICK3;
降:IF(趋势<REF(趋势,1),趋势,DRAWNULL),COLOR00FF00,LINETHICK3;
MTM:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
YXF:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);
蓝:IF(FILTER(YXF=1,5),20,0),colorliblue,LINETHICK3;
红: IF(FILTER(YXF=1,5),10,0),colorred,LINETHICK2;
黄: IF(FILTER(YXF=1,5),5,0),coloryellow,LINETHICK1;
LC:=REF(CLOSE,1);
RSI5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(ABS((CLOSE - LC)),5,1)) * 100);
TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);
HD:=(HIGH - REF(HIGH,1));
LD:=(REF(LOW,1) - LOW);
DMP:=SUM(IF(((HD > 0) AND (HD > LD)),HD,0),10);
DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),10);
PDI:=((DMP * 100) / TR1);
MDI:=((DMM * 100) / TR1);
ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5);
AV:=(RSI5 + ADX);
DXR:=(((ADX + REF(ADX,5)) / 2) + RSI5);
WR10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10)));
NEWVOL:=(RSI5 - WR10);
阶段底部:=(AV + NEWVOL);
出击:CROSS(阶段底部,0);
[url=http://www.70822.com/soft/sort013/sort036/down-116767.html]趋势变色线指标[/url]