Discussions
»
Product and Service Development
»
MetaStock
»
Modify ATR to show as 'inverted percentage of price'
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
|
|
|
|
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?
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]
|
|
|
|
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
|
|
|
|
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)
|
Discussions
»
Product and Service Development
»
MetaStock
»
Modify ATR to show as 'inverted percentage of price'
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.