I have written many strategies and finally came up with a decent, imo, engine for testing rulesets. This engine incorporates 3 Session Start and End times for evaluating different timeperiods, 4 different targets and a runner (each can be selected separately or together), initial stop, move to breakeven, and trailing stop. Each of these parameters can be enabled or disabled. I am providing this code for Elite members only. So please don't share this with others without getting my permission.
To use, connect to your datafeed, and put this strategy on a chart. You don't have to use strategy analyzer. However, it works in strategy analyzer as well. You will notice a PNL summary in the lower left of the chart which makes it nice for quick analysis of rulesets without having to use the strategy analyzer.
Please contact me via private message if you have questions as opposed to leaving a comment here. I won't get the comments.
The only thing I ask is that you share your profitable rules with me if you use my code. Additionally, I'm willing to work with anyone who has a system they are currently trading successfully.
Good luck,
Mike Winfrey
Version 2 is now a bit more functional that version 1. I found several things that were less than desirable and hope I've fixed them.
This version allows for:
1. selection of either long, short, or both entries.
2. stop and reverse (this is not an option provided by a parameter. it automatically reverses postion if an opposite signal appears.
3. Fixed miscellaneous other issues that I won't detail.
Category The Elite Circle
|
|
|