飞狐飘副图指标
源码
a1:=HHV(h ,2 ) ; {HHV(X,N),求N周期内X最高值}
a2:=HHV(h ,4 ) ;
a3:=HHV(h ,6 ) ;
a4:=HHV(h, 8 ) ;
b1:FORCAST(a1,2) COLORYELLOW; {FORCAST(X,N)为X的N周期线性回归预测值}
b2:FORCAST(a2,2) COLORMAGENTA;
b3:FORCAST(a3,2) COLORffbb00;
b4:FORCAST(a4,2) COLOR00cc00;
【发财】:IF(a4>=a1 ,a1 ,a4) COLOR666666;