Hi Pk
Excellent. Nice to see that you are experimenting and learning.. :clapping:
To be frank I am not a real fan of back Testing. I always get confused when I do a back test. When I run the back test on nifty stocks i would get acceptable results. When I run it on Midcaps the results would be pathetic. Even on testing in nifty particular stocks would come out big winners. I have played around with different setting and come out more confused. Hence I am not the correct person to advise on equity curve smoothing.
In my opinion over optimization generally produces a very smooth equity curve. This sort of curve fitted equity curve would look nice but necessarily produce results in real time. Other methods I have come across for smoothing the equity curve are adjusting the position sizing and increased trade frequency. You can play with position sizing and see.
Another important thing to see in the results of back testing is the distribution of profit. I mean a large number of stocks making decent profits is much better than a few stocks making huge profits while the remaining lot ends up loss. I trading system which is more consistent on large of stocks is any day better.
Using a walk forward optimization is always better. I think this is available in the latest version of AB.
Please do post the results / test of the system posted by me and also your question. We can learn a lot from that.
warm regards
Karthik
Excellent. Nice to see that you are experimenting and learning.. :clapping:
To be frank I am not a real fan of back Testing. I always get confused when I do a back test. When I run the back test on nifty stocks i would get acceptable results. When I run it on Midcaps the results would be pathetic. Even on testing in nifty particular stocks would come out big winners. I have played around with different setting and come out more confused. Hence I am not the correct person to advise on equity curve smoothing.
In my opinion over optimization generally produces a very smooth equity curve. This sort of curve fitted equity curve would look nice but necessarily produce results in real time. Other methods I have come across for smoothing the equity curve are adjusting the position sizing and increased trade frequency. You can play with position sizing and see.
Another important thing to see in the results of back testing is the distribution of profit. I mean a large number of stocks making decent profits is much better than a few stocks making huge profits while the remaining lot ends up loss. I trading system which is more consistent on large of stocks is any day better.
Using a walk forward optimization is always better. I think this is available in the latest version of AB.
Please do post the results / test of the system posted by me and also your question. We can learn a lot from that.
warm regards
Karthik
Another of those based on Range.
The original concept of SR based system was inspired by Saint's work but the code is based on the system posted by Karthik.
The example above is one of the ideal cases, we do get lots of wips.
You can see from both the charts that use of the buffer / filter or room make a big difference in getting right reversals and avoiding wipsaws.
Also the moneny management lesson of the flow method have been an eye opener for me, the adds will make all the difference, I have incorporated the filter concept buy yet to fully get the adds in.
I have posted a question to Karthik earlier on this thread, if you do find some time plz get back on that.
How to optimize a system/method to get a smoother equity curve? If you want I will upload examples / test runs based on the system you have shared on your blog (also posted here at later date). If that helps I can also ask you specific questions based on those backtests.
Regards
PK
The original concept of SR based system was inspired by Saint's work but the code is based on the system posted by Karthik.
Range based SRs
Saint Flow
(no adds, no gaps, no wrbs or BO failures, no lots of other things)
(no adds, no gaps, no wrbs or BO failures, no lots of other things)
The example above is one of the ideal cases, we do get lots of wips.
You can see from both the charts that use of the buffer / filter or room make a big difference in getting right reversals and avoiding wipsaws.
Also the moneny management lesson of the flow method have been an eye opener for me, the adds will make all the difference, I have incorporated the filter concept buy yet to fully get the adds in.
I have posted a question to Karthik earlier on this thread, if you do find some time plz get back on that.
How to optimize a system/method to get a smoother equity curve? If you want I will upload examples / test runs based on the system you have shared on your blog (also posted here at later date). If that helps I can also ask you specific questions based on those backtests.
Regards
PK