长短绿灯指标 (源码)

2012-02-14 09:17:00来源:本站整理浏览:92

大智慧长短绿灯指标公式股票软件源码如下:

A:=MAX(MA(C,5),MA(C,10));
B:=MIN(MA(C,5),MA(C,10));
绿灯行F5:C>A,COLORGREEN;
红灯停F5:=C<B;
黄灯观望F5:=C>=B AND C<=A;
STICKLINE(C>A,3.3,4,10,0),COLORGREEN,LINETHICK2;
STICKLINE(C<B,3.3,4,10,0),COLORRED,LINETHICK2;
STICKLINE(C>=B AND C<=A,3.3,4,10,0),COLORYELLOW,LINETHICK2;
F20A:=MAX(MA(C,10),MA(C,20));
F20B:=MIN(MA(C,10),MA(C,20));
绿灯行F20:C>F20A,COLORGREEN;
红灯停F20:=C<F20B;
黄灯观望F20:=C>=F20B AND C<=F20A;
STICKLINE(C>F20A,2.3,3,10,0),COLORGREEN,LINETHICK2;
STICKLINE(C<F20B,2.3,3,10,0),COLORRED,LINETHICK2;
STICKLINE(C>=F20B AND C<=F20A,2.3,3,10,0),COLORYELLOW,LINETHICK2;
F30A:=MAX(MA(C,20),MA(C,30));
F30B:=MIN(MA(C,20),MA(C,30));
绿灯行F30:C>F30A,COLORGREEN;
红灯停F30:=C<F30B;
黄灯观望F30:=C>=F30B AND C<=F30A;
STICKLINE(C>F30A,1.3,2,10,0),COLORGREEN,LINETHICK2;
STICKLINE(C<F30B,1.3,2,10,0),COLORRED,LINETHICK2;
STICKLINE(C>=F30B AND C<=F30A,1.3,2,10,0),COLORYELLOW,LINETHICK2;
F60A:=MAX(MA(C,60),MA(C,120));
F60B:=MIN(MA(C,60),MA(C,120));
绿灯行F60:C>F60A,COLORGREEN;
红灯停F60:=C<F60B;
黄灯观望F60:=C>=F60B AND C<=F60A;
STICKLINE(C>F60A,0,1,10,0),COLORGREEN,LINETHICK2;
STICKLINE(C<F60B,0,1,10,0),COLORRED,LINETHICK2;
STICKLINE(C>=F60B AND C<=F60A,0,1,10,0),COLORYELLOW,LINETHICK2;
大盘A:=MAX(MA(INDEXC,60),MA(INDEXC,120));
大盘B:=MIN(MA(INDEXC,60),MA(INDEXC,120));
绿灯行大盘:INDEXC>大盘A,COLORGREEN;
红灯停大盘:INDEXC<大盘B,COLORRED;
黄灯观望大盘:INDEXC>=大盘B AND INDEXC<=大盘A,COLORYELLOW;
STICKLINE(INDEXC>大盘A,4.3,5,10,0),COLORGREEN,LINETHICK2;
STICKLINE(INDEXC<大盘B,4.3,5,10,0),COLORRED,LINETHICK2;
STICKLINE(INDEXC>=大盘B AND INDEXC<=大盘A,4.3,5,10,0),COLORYELLOW,LINETHICK2;
XG:( 绿灯行F5 AND 绿灯行F20 AND 绿灯行F30 AND 绿灯行F60) =1;
{www.gpxiazai.com 股票软件下载网_大智慧股票指标公式}
DRAWTEXTREL(10,3,'★绿灯行:大盘'),colorwhite,linethick1;
DRAWTEXTREL(10,203,'★绿灯行:F5'),colorwhite,linethick1;
DRAWTEXTREL(10,403,'★绿灯行:F20'),colorwhite,linethick1;
DRAWTEXTREL(10,603,'★绿灯行:F30'),colorwhite,linethick1;
DRAWTEXTREL(10,803,'★绿灯行:F60'),colorwhite,linethick1;

大智慧长短绿灯指标公式

股票公式栏目导航

本类热门

相关公式