趋势指标,蓝色出现买进,趋势线判别方向.
TYP0:=(CLOSE+OPEN)-H/3;
V0:=SUM(IF(TYP0 REF(TYP0,1),TYP0*VOL,1),15)/SUM(IF(TYP0 REF(TYP0,1),TYP0*VOL,1),15);
F0:100-(100/(1+V0));//隐藏;
TYP:=(CLOSE+OPEN)-H/3;
V1:=SUM(IF(TYP REF(TYP,1),TYP*VOL,1),10)/SUM(IF(TYP REF(TYP,1),TYP*VOL,1),10);
F1:100-(100/(1+V1));//隐藏;
TYP1:=(CLOSE+OPEN)-H/3;
V2:=SUM(IF(TYP1 REF(TYP1,1),TYP1*VOL,1),13)/SUM(IF(TYP1 REF(TYP1,1),TYP1*VOL,1),13);
F2:100-(100/(1+V2));//隐藏;
快线:(F0+F1+F2)/3,ColorFFFFFF,linethick1;
趋线:EMA(快线,15),Color0000FF ,linethick2;
慢线:EMA(快线,5,),colorliblue,linethick1;
FILLRGN(快线,慢线,快线 慢线,RGB(25,255,255,),快线 慢线,colorblack);
STICKLINE(V 0,50,50,4,0),colorgray;
STICKLINE(V 0,30,30,4,0),Color0000FF;
STICKLINE(V 0,70,70,4,0),Color00FF00;