飞狐陈氏趋势线指标公式

飞狐陈氏趋势线指标公式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,;

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,colorredv

滚动至顶部