Skip to main content

Bars Back Marker for Metastock

maestro over 15 years ago Metastock

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

This formula marks a spot on the chart N bars back from the last bar.

Indicator / Formula

Copy & Paste Friendly
N:=Input("Mark N bars back from last bar",1,999,100);
DC:=LastValue(Cum(1))-Cum(1);
NB:=ValueWhen(1,Cum(1)=1 OR DC=N,DC=N);
NB*Alert(NB=0,2);

0 comments

Leave Comment

Please login here to leave a comment.