- Joined
- 8 June 2008
- Posts
- 13,203
- Reactions
- 19,457
This is crazy MA, usually i develop a system, test on a few time periods and then look at AB MC.@Newt Here's a quick and dirty example for you. This assumes you are using the latest version of Excel. Also assumed you know how to export the results out of AB into a CSV (which you do).
Referring to the pic below, all you do is open the CSV file (from AB) in Excel and then you will see in the top right hand corner there is an "Analyze Data" button. Click it and you will be presented with the Analyze Data options on the righthand size. You can see it is even showing a pre-packaged histogram option (frequency). You just click on that and hey presto a histogram is automatically generated for you--don't need to worry about formulas etc. See the second image below. You can do this analysis on whatever column of data you want. The Analyze Data option is a fantastic tool and allows you to do a lot of statistic analysis on your data--it's an invaluable tool. More on that tomorrow.
As a related but side issue--a very important aspect of any system is positive expectancy. You can see from the second picture below that based on the 1000 runs shown in the first figure that this system has a positive expectancy, that is none of the 1000 runs returned a negative net profit. However, if you look at the third image below AB's MC analysis certainly does not show that the same system has a positive expectancy with only around 10% of the 1000 runs returning a positive return--according to AB 90% resulted in complete capital loss. This is not because AB has some amazing way of doing MC--as I mentioned previously it is flawed.
View attachment 127833
View attachment 127834
View attachment 127835
Good stuff Frog. Very keen to read about your experience.This is crazy MA, usually i develop a system, test on a few time periods and then look at AB MC.
On results like that,i would back off.
AB is not only wrong but also very misleading.
So far after running 2h on Guppy and FB, seems ok just looking thru results but still have to go thru excel.
I did a miss of 20% of buys, via random function.will put the result of the experience on my thread.
Social life awaits before we get in lockdown too
I think @Linus van Pelt covered everything pretty well. One downside of RT though is that it is a one-man band. If marsten was to stop, get sick and take some time off, etc., then RT wouldn't progress any further.
I know very little about the development team behind AB, but isn't AB development pretty much a one-man band as well? It is certainly not open source so I don't believe there's a true development community.
Sadly no easy way with excel2010...Hi All,
This is a bit more of a follow up to my recent posts about using Excel to analyze your systems and how I use Excel.
This assumes you are using the current version of Excel. Previous versions of Excel may support the following approach but I'm not 100% whether earlier versions are as straightforward. The first Excel chart below gives me all the essential information I need to know about my system in "dashboard" view and this can be easily created with a few mouse clicks and no need to manually type in complex formulas.
The the sake of this example the chart below is only showing four system metrics, but you can apply this to any system metric you like. From left to right and top to bottom the chart below shows some common system metrics: average % loss of each trade, system % drawdown, average % profit of each trade and CAR. As you can see, the Excel below contains a visual frequency distribution chart for each metric, but importantly each frequency distribution contains a statistical analysis on the left of each histogram. For me the statistical analysis contains the most important information about the associated frequency distribution. The statistical metrics I am most interested in include: mean, std error, std deviation, sample variance, min and max values, and the confidence level. I won't discuss in this post why they are important to me, but I will do that in a later post. The purpose of this post is to show you how I quickly get the below chart with a few clicks.
View attachment 127885
First thing is first--let's generate the statistical analysis. You need to open your raw data (this is the CSV imported from AB). Click in the "Data" menu in the top left of Excel. At this point you will see "Data Analysis" function in the top righthand corner of Excel. Click on that and you will see a detail Analysis Tool pop-up (see middle of the image below). At this stage click on the "Descriptive Statistics" option.
View attachment 127888
When you click on the Descriptive Statistics option you will be presented with the image below. At this point you need to select the column of data you're interested in, which in the case of this example I'm interested in column C which is the % net profit. When you select the column this should automatically transfer across to the Input Range of the Descriptive Statistics box. Make sure you tick the four options at the bottom: Summary Statistics, Confidence Level for Mean, Kth Largest and Kth Smallest. You are now all done so just click the OK button and hey presto you will get all of the statistical information shown in the first chart above. The statistical information will be placed in a new worksheet and will be in the exact same format as the first image above. Pretty easy, hey?
View attachment 127889
Creating the histogram chart is just as easy. Select your column of data of interest and select the home menu. As shown below, in the top right hand corner of Excel there is an Analyze Data option. Click it and in the right hand side of Excel you will be give a bunch of options, one of which is to generate a histogram. Click it and hey presto you will get a histogram chart like that show in the original diagram above.
View attachment 127891
So that is it...you can get some really insightful information about your system with just a few clicks of a mouse in Excel.
Stay classy ASF.
boooSadly no easy way with excel2010...
Thanks Newt, I implemented the code via formula etc but not as easy so you stick to basics, thanks for telling me about the addinNice work Moving Average, and thanks again for sharing details of how you achieve and value assessing key parameters.
Qldfrog, don't panic - this stuff improves across versions but has been there for yonks - you should be able to activate the descriptive stats "Add-in" in Excel 2010 - hardest part may be just finding where the option is:
Descriptive Statistics in Excel
You can use the Excel Analysis Toolpak add-in to generate descriptive statistics. For example, you may have the scores of 14 participants for a test.www.excel-easy.com
No clue how you can do this MA well done.every single day has been+xxx at 11/12 -xxx or more by the eodHappy to see FY22 got off to a reasonable start for me. Two of my three live systems had a respectable July.
First up, my weekly put on 6.27%
View attachment 128173
My EOD swing system put on 3.93%
View attachment 128174
Finally, my EOD breakout gets this month's dog award having given up 0.41%
View attachment 128176
Hopefully July is setting this scene for the run into the end of the year.
Stay classy ASF.
Haha...Thanks for the complement. I could simplify my effort by saying "I simply trade the system", but we all know system trading is not that simple and a lot of effort goes on in the background. I've said this before, I'm more concerned about keeping things simple and setting up my systems for consistency (ironing out the volatility) but that comes at the cost of not capturing those massive random big trades.No clue how you can do this MA well done.every single day has been+xxx at 11/12 -xxx or more by the eod
Playing defensive—do you use an index filter?Yep, well done MA.
I'm down 0.5% so far this new FY. Playing defense with minimal positions currently - up 0.28% this week at least.....
Despite the recent sideways movement my index filter has remained on. My weekly and EOD breakout have been fully invested for some time. July didn’t see too many exits or new positions so systems have been pretty steadyYes - but mixture of VIX, Cum New Highs/Lows, % Stocks above MA150
No red alerts, but tighter stops for now in bumpy markets essentially for my trend following.
Glad your disversified systems are still paying.
what do you mean?lowest in price ? or lowest correlated, in that case something like GEAR VS BEAR,, should always move opposite?Does anyone know which are the lowest 2 correlated stocks in the ASX200 ?
Gunnerguy
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?