大智慧红绿楼梯指标公式

[复制链接]
查看135 | 回复0 | 2021-8-21 13:49:56 | 显示全部楼层 |阅读模式

VAR2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR3:=SMA(SMA(VAR2,3,1),3,1)/28.57;
VAR4:=EMA(VAR3,5);
VAR5:=3*VAR3-2*VAR4;
AA:=CROSS(VAR5,VAR3) AND VAR3<2.1 AND C>O;
VAR6:=(2*CLOSE+HIGH+LOW)/4;
VAR7:=LLV(LOW,13);
VAR8:=HHV(HIGH,13);
VAR9:=EMA((VAR6-VAR7)/(VAR8-VAR7)*100,13);
VARA:=EMA(0.667*REF(VAR9,1)+0.333*VAR9,2);
趋势线:VAR9,COLORFFFFFF,POINTDOT;
STICKLINE(VAR9>VARA,VAR9,VARA,8,1),COLOR0000FF;
STICKLINE(VAR9<=VARA,VAR9,VARA,8,1),COLOR00FF00 ;
DRAWTEXT(AA,12,'牛'),ColorFF00FF;
{www.gUPang.com 股旁网_最新股票指标公式}
楼梯: EMA(0.382*REF(VAR9,2)+0.618*VAR9,6),COLORYELLOW;
PARTLINE(楼梯,楼梯>REF(楼梯,1),RGB(255,0,0),楼梯<REF(楼梯,1),RGB(0,255,0)),LINETHICK2;
PARTLINE(20,楼梯>REF(楼梯,1),RGB(255,0,0),楼梯<REF(楼梯,1),RGB(0,255,0)),POINTDOT,LINETHICK1;
PARTLINE(50,楼梯>REF(楼梯,1),RGB(255,0,0),楼梯<REF(楼梯,1),RGB(0,255,0)),POINTDOT,LINETHICK1;
PARTLINE(80,楼梯>REF(楼梯,1),RGB(255,0,0),楼梯<REF(楼梯,1),RGB(0,255,0)),POINTDOT,LINETHICK1;
6;

202108211240.jpg

202108211240.jpg

 

回复

使用道具 举报

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

本版积分规则