Hello,
I'm trying to design a building block strategy that restricts the number of trades per day to 1. My thought was to use the condition block "Number of Open Positions is equal to 0" and the Qualifier Block "Within past 20 bars". However, when I run my strategy with this included, there continues to be multiple trader per day.
Am I misusing this approach? Or, is there a better way to limit my strategy to 1 trade/day?
Appologies if this has been discussed for WL7/8, but I couldn't find any documentation or discussions on it.
Thanks very much.
I'm trying to design a building block strategy that restricts the number of trades per day to 1. My thought was to use the condition block "Number of Open Positions is equal to 0" and the Qualifier Block "Within past 20 bars". However, when I run my strategy with this included, there continues to be multiple trader per day.
Am I misusing this approach? Or, is there a better way to limit my strategy to 1 trade/day?
Appologies if this has been discussed for WL7/8, but I couldn't find any documentation or discussions on it.
Thanks very much.
Rename
Hi,
You could configure the "Max Entries per Bar" PosSizer for 1 entry like this:
You could configure the "Max Entries per Bar" PosSizer for 1 entry like this:
But if the strategy is run on intraday data?
In this case "For intraday trades..." should be checked.
We could add a condition for that in the Power Pack. It's a common request for intraday traders.
Thanks, Eugene,
This is a much more elegant solution and worked as intended when I just tested it. I never would have found it without your help. Cheers! Ben.
This is a much more elegant solution and worked as intended when I just tested it. I never would have found it without your help. Cheers! Ben.
Your Response
Post
Edit Post
Login is required