I have a strategy where I want to granular process two separate exits (stop below close price) as well as a limit order for a profit target.
This example strategy has the same results using granular and without granular processing (using IQFeed). How do you utilize granular processing for exists of this nature?
This example strategy has the same results using granular and without granular processing (using IQFeed). How do you utilize granular processing for exists of this nature?
Rename
Granular processing doesn't (yet) work for two exits like this of the same position, the order that you define the exits will take precedence.
it would be a good enhancement for granular processing though!
it would be a good enhancement for granular processing though!
Thank you! That's kind of what I figured. Yes indeed, a great enhancement!
As a follow up, I ran this test and it seems to randomize the outcome (between stop and limit) when both are hit on the next bar. I was under the assumption if I used the stop above it would trigger that first (giving worst case scenario results) but it occasionally triggers the limit too when both are hit.
Ok yes that rings a bell. That makes sense with how we designed WL to randomize ambiguous outcomes.
Your Response
Post
Edit Post
Login is required