logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
mickl  
#1 Posted : Wednesday, February 8, 2012 12:32:33 AM(UTC)
mickl

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 2/8/2012(UTC)
Posts: 2

Hello, I'm new to Metastock and would like to know how i can modify the ATR to show it as "an inverted percentage of price"? (I've tired using the RSI since the inversion is there but i prefer to try to achieve this using ATR). Thanks, mick
wabbit  
#2 Posted : Wednesday, February 8, 2012 2:31:01 AM(UTC)
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,111
Location: Perth, Western Australia

Was thanked: 16 time(s) in 16 post(s)
Maybe someone else might know what you're asking for, but I don't... so these may or may not help?

Code:


100*ATR(14)/L;



or maybe...

Code:


100*ATR(14)/min(ref(c,-1),L);



or maybe...

Code:
x:=ATR(14);

{plot}
RSI(x,14);


Can you define the problem more clearly?


wabbit [:D]

mickl  
#3 Posted : Monday, February 13, 2012 12:20:24 AM(UTC)
mickl

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 2/8/2012(UTC)
Posts: 2

Thankyou very much Wabbit, the first one is very close i think. basically I'm just trying to create a volatility indicator based on ATR. I would like to 'invert' the indicator (so it tracks price, easier to see the volatility divergences), is there a way to simply invert any indicator? Thanks, mickl
wabbit  
#4 Posted : Monday, February 13, 2012 12:50:59 AM(UTC)
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,111
Location: Perth, Western Australia

Was thanked: 16 time(s) in 16 post(s)
That depends on your definition of "invert"!

Try:

Code:

x:={your code};

{plot}
1/x;


or, to simply reflect the curve across the x-axis:

Code:

x:={your code};

{plot}
-x;



????

wabbit [:D]

Users browsing this topic
Guest (Hidden)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.