当前位置:首页 > 通达信公式 > 内容

通达信四量图(指标副图贴图)

作者:公式指标网   更新时间:2017-02-21   点击:

MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;
牛线:= (20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,COLORGREEN{www.qill.cnCOLORRED};
马线:=MA(牛线,6),COLORMAGENTA{www.qill.cnCOLORYELLOW};
STICKLINE(C>牛线,2.5,4,8,0),COLORRED{www.qill.cnCOLORGREEN},LINETHICK2;
STICKLINE(C<马线,2.5,4,8,0),COLORGREEN{www.qill.cnCOLORRED},LINETHICK2;
STICKLINE(牛线>=C AND C>=马线,2.5,4,8,0),COLORGREEN{www.qill.cnCOLORMAGENTA}{www.qill.cnCOLORYELLOW},LINETHICK2;
A:=MAX(MA(C,60),MA(C,120));
B:=MIN(MA(C,60),MA(C,120));
STICKLINE(C>=A,0.5,2,8,0),COLORRED{www.qill.cnCOLORGREEN},LINETHICK2;
STICKLINE(C<=B,0.5,2,8,0),COLORGREEN{www.qill.cnCOLORRED},LINETHICK2;
STICKLINE(A>=C AND C>=B,0.5,2,8,0),COLORGREEN{www.qill.cnCOLORMAGENTA}{www.qill.cnCOLORYELLOW},LINETHICK2;
{www.qill.cnR:=0;}
E:=MAX(MA(C,45),MA(C,90));
F:=MIN(MA(C,45),MA(C,90));
STICKLINE(C>E,-1.5,0,8,0),COLORRED{www.qill.cnCOLORGREEN},LINETHICK2;
STICKLINE(C<F,-1.5,0,8,0),COLORGREEN{www.qill.cnCOLORRED},LINETHICK2;
STICKLINE(E>=C AND C>=F,-1.5,0,8,0),COLORGREEN{www.qill.cnCOLORMAGENTA}{www.qill.cnCOLORYELLOW},LINETHICK2;
J:=MAX(MA(C,30),MA(C,60));
K:=MIN(MA(C,30),MA(C,60));
STICKLINE(C>J,-3.5,-2,8,0),COLORRED{www.qill.cnCOLORGREEN},LINETHICK2;
STICKLINE(C<K,-3.5,-2,8,0),COLORGREEN{www.qill.cnCOLORRED},LINETHICK2;
STICKLINE(J>=C AND C>=K,-3.5,-2,8,0),COLORGREEN{www.qill.cnCOLORMAGENTA}{www.qill.cnCOLORYELLOW},LINETHICK2;
通达信四量图(指标副图贴图)

资源下载

相关文章

热门推荐

移动端首页 | PC端

© by gszx.com.cn Mobile Web