红绿灯QSS
2014-11-6 15:12:19点击:
A:=MAX(MA(C,5),MA(C,10));
B:=MIN(MA(C,5),MA(C,10));
绿灯行:C>A,colorgreen;
红灯停:C<B,colorred;
黄灯观望:C>=B AND C<=A,coloryellow;
STICKLINE(C>A,3.3,4,8,0),colorgreen,LINETHICK2;
STICKLINE(C<B,3.3,4,8,0),colorred,LINETHICK2;
STICKLINE(C>=B AND C<=A,3.3,4,8,0),coloryellow,LINETHICK2;
F30A:=MAX(MA(C,10),MA(C,20));
F30B:=MIN(MA(C,10),MA(C,20));
绿灯行F30:C>F30A,colorgreen;
红灯停F30:C<F30B,colorred;
黄灯观望F30:C>=F30B AND C<=F30A,coloryellow;
STICKLINE(C>F30A,2.3,3,8,0),colorgreen,LINETHICK2;
STICKLINE(C<F30B,2.3,3,8,0),colorred,LINETHICK2;
STICKLINE(C>=F30B AND C<=F30A,2.3,3,8,0),coloryellow,LINETHICK2;
F60A:=MAX(MA(C,20),MA(C,28));
F60B:=MIN(MA(C,20),MA(C,28));
绿灯行F60:C>F60A,colorgreen;
红灯停F60:C<F60B,colorred;
黄灯观望F60:C>=F60B AND C<=F60A,coloryellow;
STICKLINE(C>F60A,1.3,2,8,0),colorgreen,LINETHICK2;
STICKLINE(C<F60B,1.3,2,8,0),colorred,LINETHICK2;
STICKLINE(C>=F60B AND C<=F60A,1.3,2,8,0),coloryellow,LINETHICK2;
FRA:=MAX(MA(C,60),MA(C,120));
FRB:=MIN(MA(C,60),MA(C,120));
绿灯行FR:C>FRA,colorgreen;
红灯停FR:C<FRB,colorred;
黄灯观望FR:C>=F30B AND C<=F30A,coloryellow;
STICKLINE(C>FRA,0,1,8,0),colorgreen,LINETHICK2;
STICKLINE(C<FRB,0,1,8,0),colorred,LINETHICK2;
STICKLINE(C>=FRB AND C<=FRA,0,1,8,0),coloryellow,LINETHICK2;
代理编写(对转)通达信 飞狐 同花顺 大智慧 文华财经 博易大师 依天财经等软件指标!
- 上一篇:今买明卖短线王 CGP60分钟指标公式 2014/11/6
- 下一篇:红帆静静操盘 2014/11/6