I want to test consensus system where I only take position if 3 of my systems trigger. One way I know that should work would be to apply each sub-strategy to chart and have it output position via a file, global variable, or etc. a signal and then the master strategy would read that. I know that I could also re-code the strategy into a master strategy but I do not want to have to recode each strategy into a new master.
Assuming all the strategies run on same time frame-- might there be an easier way? Can the portfolio tester be used for consensus strategy?
Easy way to test consensus systems?
-
- Posts: 108
- Joined: 05 Mar 2014
- Has thanked: 1 time
- Been thanked: 12 times
- Kate MultiCharts
- Posts: 596
- Joined: 21 Oct 2020
- Has thanked: 9 times
- Been thanked: 148 times
Re: Easy way to test consensus systems?
Hello tpredictor,
You might want to work in Portfolio Trader using Money Management Signal and PMM/PMMS keywords.
If that doesn’t help, please describe what you are trying to achieve in more detail.
You might want to work in Portfolio Trader using Money Management Signal and PMM/PMMS keywords.
If that doesn’t help, please describe what you are trying to achieve in more detail.
-
- Posts: 108
- Joined: 05 Mar 2014
- Has thanked: 1 time
- Been thanked: 12 times
Re: Easy way to test consensus systems?
Example #1 I have 5 long only strategies. I only want to take a position when at least 2 strategies are long and the third triggers (and/or when all 3 trigger at the same time). I want to use the exit of the most recent strategy that triggered. If all 3 triggered then assume I use the first exit.
Example #2 I have 5 long/short strategies. I want to take a position only when at least 3 strategies trigger and I want to use the long/short status of all 5 strategies to inform my position sizing.
Example #2 I have 5 long/short strategies. I want to take a position only when at least 3 strategies trigger and I want to use the long/short status of all 5 strategies to inform my position sizing.
- Kate MultiCharts
- Posts: 596
- Joined: 21 Oct 2020
- Has thanked: 9 times
- Been thanked: 148 times
Re: Easy way to test consensus systems?
tpredictor,
I'd recommend checking the Portfolio Money Management keywords, they should help you with your script.
I'd recommend checking the Portfolio Money Management keywords, they should help you with your script.