Metastock Indicator Formula |
Barnes' Moving Average |
See (1981 Technical Commodity Yearbook Robert M. Barnes Van Nostrand Reinhold 1981) for theory and applications. |
Formula: |
if (c - mov( c, dayf, e) > pf,
{ Then Action } 1,
{ Else Action } if ( mov( c, dayf, e) - c > pf, { Then } -1, { Else } 0)) |
|
|