Skip to main content

ATR Exit 1 for Metastock

matz over 15 years ago Metastock

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

If you are using Metastock the following formula is for an ATR exit.
The defaults are high – 3*ATR but you can change these values to suit.

Screenshots

Files

Indicator / Formula

Copy & Paste Friendly
dataarray:=Input("Data array. Enter a number 1=o, 2=h, 3=l, 4=c",1,4,2);
value2:=If(dataarray=1,O,If(dataarray=2,H,If(dataarray=3,L,If(dataarray=4,C,C))));
multiplier:= Input("Enter ATR multiplier ",1,10,3);
atrperiods:= Input("Enter ATR periods",1,39,5);
HHV(value2 - multiplier*ATR(atrperiods),10)

0 comments

Leave Comment

Please login here to leave a comment.