大智慧尖端卖出指标公式

n1:=14; n2:=14;

TYP := (HIGH + LOW + CLOSE)/3;

趋势线1:SUM(IF(TYP>REF(TYP,1),TYP*vol,0),N1)/

SUM(IF(TYP<REF(TYP,1),TYP*VOL,0),N1),COLORFFFFFF;

LC:=REF(CLOSE,1);

趋势线2:SUM(IF(CLOSE>LC,VOL,0),N2)/

SUM(IF(CLOSE<=LC,VOL,0),N2),COLOR00FFFF;

顶部线:10,COLORred;

危险线:6,COLORFF00FF;

底部线:1,COLORf0000f;

底部极限:0,COLORffffff;

DRAWTEXTAbs(5,5,'指标网 www.zhibiaow.com'),linethick1,COLOR00EEff;

DRAWTEXT(crOSS(趋势线1,危险线),趋势线1,'▼注意卖出'),colorffffff;

DRAWTEXT(CROSS(趋势线2,危险线),趋势线2,'▼注意卖出'),color00ffff;

DRAWTEXT(CROSS(趋势线1,顶部线),趋势线1,'出货'),colorffffff;

DRAWTEXT(CROSS(趋势线2,顶部线),趋势线2,'出货'),color00ffff;

DRAWTEXT(FILTER(CROSS(趋势线2,底部线),12),趋势线2,'注意买入'),colorred;