飞狐陈氏趋势线指标公式

[复制链接]
查看127 | 回复0 | 2021-8-21 12:42:41 | 显示全部楼层 |阅读模式

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);
{S:VAR9,COLORRED,POINTDOT;}
{STICKLINE(VAR9>VARA,VAR9,VARA,2.6,0),COLOR77AAFF;
STICKLINE(VAR9<=VARA,VAR9,VARA,2.6,0),COLOR00FF00 ;}
A1:20,COLORWHITE;
A5:80,COLORGREEN;
趋势线: EMA(0.5*REF(VAR9,1)+0.5*VAR9,7);
partline(趋势线>REF(趋势线,1),趋势线),COLORRED,LINETHICK2;
partline(趋势线<REF(趋势线,1),趋势线),COLORGREEN,LINETHICK2;
{买点}
qw1:=(HIGH+LOW+CLOSE*2)/4;
qw3:=EMA(qw1,10);
qw4:=STD(qw1,10);
qw5:=(qw1-qw3)*100/qw4;
qw6:=EMA(qw5,5);
rk7:=EMA(qw6,10);
涨:=EMA(qw6,10)+100/2-5,linethick1,colorred,;
跌:=EMA(涨,4),linethick1,colorFFFF34,;
多线:=IF(cross(涨,跌) and 跌<-10,30,0),linethick1,COLORFF00FF,;
{www.gupang.com 股旁网_飞狐股票指标公式}
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;
买入:IF(多线 and AA,50,20),linethick2,colorred,;

202108211206.jpg

202108211206.jpg

 

回复

使用道具 举报

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

本版积分规则