Skip to main content

Barnes' Adaptive Forecast by Robert M. Barnes for Metastock

maestro almost 15 years ago Metastock

  • Rating:
    0 / 5 (Votes 0)
  • Tags:
    metastock, oscillator

Based on the premise that closing price may be predictable based on previous closes.

See (1981 Technical Commodity Yearbook Robert M. Barnes Van Nostrand Reinhold 1981) for theory and applications.

formula 1: if(fml(“Barnes’ adaptive forecast”,2)>0.05,1,if(fml(“Barnes’ adaptive forecast”,2)<-0.05,-1,0))

formula 2: mov(c,dayf,e) – ref(mov(c,dayf,e),-1)

Screenshots

Files

Indicator / Formula

Copy & Paste Friendly
DayF:=Input("Enter periods:",2,100,14);

BAF:=Mov(C, DayF, E) - Ref(Mov(C, DayF, E), -1);

If( BAF > 0.05, 1, If( BAF < -0.05, -1, 0) )

0 comments

Leave Comment

Please login here to leave a comment.