Hello,
Why does WLP put Exit code after the Entry code, but you are putting the Exit code before the Entry code in example you give?
thanks,
Size:
Color:
Hello,
You place exit logic on top of entry rules to prevent the exit logic from being applied to positions opened on the same bar.
Size:
Color:
Why does the rule generated code place the the Exit login on top then?
What happens if try to exit a position on the same bar without enabling it in preferences?
Size:
Color:
QUOTE:
Why does the rule generated code place the the Exit login on top then?
Because of this:
<<You place exit logic on top of entry rules to prevent the exit logic from being applied to positions opened on the same bar.>>
QUOTE:
Why does WLP put Exit code after the Entry code,
Could you be more specific?
Size:
Color:
Sorry for my error in asking the follow up question. When you create a strategy using rules, it puts the exit code after the entry code. I was asking whey it does this.
This is an example of code from a simple rules based strategy, with the exit after the entry.
CODE:
Please log in to see this code.
Size:
Color:
In this case of a multi-position strategy code, exit logic can be applied to positions opened on the same bar.
Size:
Color:
Ah, Single vs Multi position strategy is the difference. I took a look at the code generated by rules for each case.
Thanks for the weekend support!
Size:
Color:
You're welcome!
Size:
Color: