★用三个角度线绘成一条线看【大盘】(副图.源码.附图)
-
相关简介:DRAWGBKlast(DATE900101,strip(RGB(0,0,60),RGB(0,0,20),0)); {1D.价格角度} DEC:=(INDEXH+INDEXL+2*INDEXC)/4; DMA3:=SMA(EMA(DEC,3),3,1); DMA18:=SMA(EMA(DEC,18),3,1); Ddk:=(DMA3-DMA18); D价格角度:ATAN(Ddk)*180/3.1416,Color0000FF,LINETHICK0; {2D.VOL角度} DMVA5:=SMA(E
-
文章来源:股海网作者:股海网发布时间:2013-11-17浏览次数:
DRAWGBKlast(DATE>900101,strip(RGB(0,0,60),RGB(0,0,20),0));
{1D.价格角度}
DEC:=(INDEXH+INDEXL+2*INDEXC)/4;
DMA3:=SMA(EMA(DEC,3),3,1);
DMA18:=SMA(EMA(DEC,18),3,1);
Ddk:=(DMA3-DMA18);
D价格角度:ATAN(Ddk)*180/3.1416,Color0000FF,LINETHICK0;
{2D.VOL角度}
DMVA5:=SMA(EMA(INDEXV/CAPITAL*100,5),3,1);
DMVA20:=SMA(EMA(INDEXV/CAPITAL*100,20),3,1);
DdVk:=(DMVA5-DMVA20);
DVOL角度:ATAN(DdVk)*180/3.1416,ColorFF9900,LINETHICK0;
{3D.KDJ角度}
DRSV:= (INDEXC-LLV(INDEXL,18))/(HHV(INDEXH,18)-LLV(INDEXL,18))*100;
DFASTK:=SMA(DRSV,3,1);
DK:=SMA(DFASTK,3,1);
DD:SMA(DK,5,1),LINETHICK0;
DD角度:ATAN(DD)*180/3.1416,Color00FF00,LINETHICK0;
PD角度:EMA(EMA(D价格角度+DVOL角度+DD角度,3),7)/2,Color00FF00,DOTLINE;
PARTLINE(PD角度,PD角度>REF(PD角度,1),rgb(255,80,0)),LINETHICK3,LAYER0;