OmniVest Forum OmniVest Forum
forums calendars search
today this week
 
register logon control panel Forum Rules
You are currently browsing as a guest.
You should logon to access more features
A Self-Moderated Community - ALL MEMBERS, PLEASE READ!
Vote for Members who contribute the most to your trading, and help us moderate content within the Forums.


[Random Quote] -

  Current location        Thread information  
OmniVest User Forums
OmniVest Success
Kudos for export feature
Last Activity 7/22/2015 1:06 PM
6 replies, 1039 viewings

Jump to page : 1
Now viewing page 1 [25 messages per page]
 
back
Printer friendly version

^ Top
kmcintyre

Elite
500100100100252525
Posts: 890

Joined: 10/11/2012
Location: Portland, OR

User Profile
 
Subject : Kudos for export feature
Posted : 4/17/2014 1:45 PM
Post #29906

I just tried the export feature to capture a simulation equity curve from 2/27/2007 to present on a test account. The resultant file loaded into Excel 2010 with ease. (Just one warning box I needed to accept...)

I was then able to add a few columns to the Equity Graph section to calculate -
Equity High - high water level for equity
New High - TRUE when Equity High changes
New High Date - intermediate result
Days Between High - actual days between new equity highs. (Should probably use business days...)

From there it was easy to get the Max Bars between equity High (MBH) and the Average Bars between equity High (ABH) values. (Again, I'm calculating days, not bars. I know there is a function to compute business days somewhere in there...)

For ARM4 Margin using my account settings I got MBH = 140 and ABH = 7.16.

Then with a few clicks I created a pivot table and get the distribution of Days Between High. I could see that the distribution is extremely right skewed.

I'm not as comfortable with Excel as I want to be. (I'm focused on learning though.) Once I clean things up and add a pivot chart I'll post it.

(So Steve Mayo can take me to school on how I could have done my analysis better! lol Steve, seriously - you have "mad skills" with Excel. School away!)

Anyway, this post is really to give Kudos to Nirvana for implementing this feature. I'm going to abuse it to death!

Cheers

Keith

^ Top
Ed Downs

Elite
50010025
Posts: 645

Joined: 2/7/2007
Location: Austin, Texas

User Profile
 
Subject : RE: Kudos for export feature
Posted : 4/17/2014 1:49 PM
Post #29907 - In reply to #29906

Keith,

Thank you sir, for your kind post! I knew you would make good use of this feature if we provided it. And you know, I've been using it myself to try some concepts as we work on Portfolio Balancer.

Good luck in your research...

^ Top
Mark Holstius

Elite
50010010025
Posts: 744

Joined: 10/11/2012
Location: Sleepy Hollow, IL

User Profile
 
Subject : RE: Kudos for export feature
Posted : 4/17/2014 3:06 PM
Post #29910 - In reply to #29906

Thanks Keith - looking forward to your results.

Maybe add in a Standard Deviation too?

You can use the Networkdays (Start date, End Date) function to get workdays between dates (I wouldn't worry about holidays for what you're doing at this point).

Mark
^ Top
kmcintyre

Elite
500100100100252525
Posts: 890

Joined: 10/11/2012
Location: Portland, OR

User Profile
 
Subject : RE: Kudos for export feature
Posted : 4/17/2014 7:53 PM
Post #29919 - In reply to #29910

Finally got back to the computer... (What a day. I want a beer!)

I'm attaching an Excel 2010 .xlsm file. It won't work with early versions of Excel. So I'll attach a png of the two sheets as well.

Mark, the tail is sooo long, I don't think STDEV.P would be very useful. But I'd love to hear your analysis (and others...)

My takeaway is that I can expect some long periods (3 - 6 months) between new equity highs. I can further dice the data. For me, waiting a month for a new high starts to get uncomfortable, so I could sum the number of times that has happened. Just getting started.

Having the data is very cool!

Cheers

Keith

Attached file : ARM4 Margin Equity Highs.xlsm (203KB - 281 downloads)
Attached file : Data Sheet.png (96KB - 263 downloads)
Attached file : Pivot Chart.png (78KB - 249 downloads)

^ Top
Mark Holstius

Elite
50010010025
Posts: 744

Joined: 10/11/2012
Location: Sleepy Hollow, IL

User Profile
 
Subject : RE: Kudos for export feature
Posted : 4/18/2014 2:51 PM
Post #29928 - In reply to #29919

Thanks Keith...

Suggestion...???

Take a look at incorporating the Excel trading days tab and formula for days between dates I posted here for your MBH count;

http://www.omnitrader.com/currentclients/omnivestforum/thread-view.asp?threadid=6090&posts=3#29927

Also, IMHO you shouldn't count "1" as a "day between highs" since that's just 2 good days in a row. I'd look for a min of 2 days to allow for a down day in between...

Mark
^ Top
BrianD

Legend
100100100
Posts: 302

Joined: 2/23/2013
Location: Grand Rapids, MI

User Profile
 
Subject : RE: Kudos for export feature
Posted : 4/18/2014 8:01 PM
Post #29934 - In reply to #29928

That 7-09 to 8-10 flat spot is an ugly time frame. I noticed that and have been run some strat analysis on those dates - specifically because sitting on my thumbs for a year would be impossible for me. 140 days is an eternity in trading days.
I'm looking forward to being able to rotate portfolios in a structured manner. Question is, when? Great idea for determining metrics toward initiating adjustments.
Thanks,


^ Top
kmcintyre

Elite
500100100100252525
Posts: 890

Joined: 10/11/2012
Location: Portland, OR

User Profile
 
Subject : RE: Kudos for export feature
Posted : 4/19/2014 11:48 AM
Post #29935 - In reply to #29934

Mark,

Thanks for the trading days calculation. After thinking about it for a while I came to the conclusion that what I really wanted to measure was how much patience I required to trade an account (portfolio, system). My patience is based on calendar time. It's easier to calculate and is a more familiar time measurement for me - being human. Psychology is fuzzy science anyway. What's a few days amongst friends! lol

But for market indicators, your table/formula will be very useful!

So after thinking a bit more about the data made available via the export, and watching Sports Center, I came up with another (perhaps) interesting stat. The equity curve's batting average - the number of new equity highs / number of trading days. For my ARM4 Margin export it was 0.1951 (or 19.51% if one prefers %). So about 1 in 5 trading days is going to give me the thrill of success...

I used trading days because it was easy. The export give me one record (row) of data for each trading day. For a BA, times at bat is the accepted denominator. Close enough for government work...

Perhaps another component of a tradability index.

Keith

Oh give me a home, where the MBH is one, and the annualized LRS is 30%. For seldom will be heard, a discouraging word. And the sky won't be cloudy all day! :-)

Jump to page : 1
Now viewing page 1 [25 messages per page]
back

Legend    Action      Notification  
Administrator
Forum Moderator
Registered User
Unregistered User
E-Mail this thread to a friend
(un)/Freeze thread |
Toggle e-mail notification


Nirvana Systems
For any problems or issues please contact our Webmaster at webmaster@nirvsys.com.