大智慧长短绿灯指标公式

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;
{ _大智慧股票指标公式}
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;




来函数检测结果如下:
该公式没有未来函数

解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图