广通红绿灯个股和大盘(解密)

[复制链接]
查看54 | 回复0 | 2022-6-28 07:51:58 | 显示全部楼层 |阅读模式

特别说明:广通红绿灯是广通学院使用的指标,非个人原创指标,见坛友们对这个指标感兴趣,所以把自己使用的广通红绿灯源码公布出来了;大盘红绿灯指标按照个股的原理写出来的,供大家买卖股票时做参考!


{个股}
A:=MAX(MA(C,60),MA(C,120));
B:=MIN(MA(C,60),MA(C,120));
个股绿:C>A,COLORGREEN,LINETHICK0;
个股红:C<B,COLORRED,LINETHICK0;
个股黄:A>=C AND C>=B,COLORYELLOW,LINETHICK0;
STICKLINE(C>A,0,1,4,0),COLORGREEN,LINETHICK2;
STICKLINE(C<B,0,1,4,0),COLORRED,LINETHICK2;
STICKLINE(A>=C AND C>=B,0,1,4,0),COLORYELLOW,LINETHICK2;

{大盘}
CC:="999999$CLOSE";
AA:=MAX(MA(CC,60),MA(CC,120));
BB:=MIN(MA(CC,60),MA(CC,120));
大盘绿:CC>AA,COLORGREEN,NODRAW;
大盘红:CC<BB,COLORRED,NODRAW;
大盘黄:AA>=CC AND CC>=BB,COLORYELLOW,NODRAW;
STICKLINE(CC>AA,-2,-1,4,0),COLORGREEN,LINETHICK2;
STICKLINE(CC<BB,-2,-1,4,0),COLORRED,LINETHICK2;
STICKLINE(AA>=CC AND CC>=BB,-2,-1,4,0),COLORYELLOW,LINETHICK2;

用法:
当日收盘价大于MA(C,60)与MA(C,120)中的最大量为绿灯,当日收盘价小于MA(C,60)与MA(C,120)中的最小量为红灯,当日收盘价介于MA(C,60)与MA(C,120)之间为黄灯;

20114421432321675.rar

1.9 KB, 下载次数: 0

售价: 3 金钱  [记录]  [购买]

20114421432321675.rar

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则