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

Notification

Icon
Error

Options
Go to last post Go to first unread
mjdesmond3001  
#1 Posted : Thursday, July 23, 2009 8:32:24 PM(UTC)
mjdesmond3001

Rank: Member

Groups: Registered, Registered Users, Subscribers
Joined: 10/5/2005(UTC)
Posts: 12

Volatility Ratio = True Range / EMA of True Range for the past n periods. how do i tun this into a metastock formula?
wabbit  
#2 Posted : Friday, July 24, 2009 12:31:20 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)
This is how I would approach the problem:

Step 1 : Read http://forum.equis.com/forums/thread/30031.aspxfree Equis Formula Primer exercises (available from the Files section).
Step 4: Define your terms for your use.
Step 5: Write the code.
Step 6: If you get stuck with Step 5, search the Forum for a previously posted solution or something which will give you a hint; if you still cannot create a complete solution to the problem, post your best attempt here with an explanation of what the code is supposed to do and an explanation of how your code is not achieving this objective (an annotated picture speaks volumes).


wabbit [:D]

mjdesmond3001  
#3 Posted : Sunday, July 26, 2009 9:32:57 PM(UTC)
mjdesmond3001

Rank: Member

Groups: Registered, Registered Users, Subscribers
Joined: 10/5/2005(UTC)
Posts: 12

sorry about that. sometimes i post questions without too much reserch first. i did see a thread about this before. you came up with this code

n:=10;
myVolatility:=ATR(1)/ATR(n);

{plot/return}
myVolatility;

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.