Hello,
I notice that most of the entry/exit code includes within the bracket "Bar + 1". (eg. BuyAtClose(Bar + 1, etc..)
Can someone please explain, what does this do differently to just having "Bar" ? (eg. BuyAtClose(Bar, etc...)
Size:
Color:
Size:
Color:
Thanks.
Size:
Color:
I have read the link and understood that a reason to use "Bar+1" would be to avoid 'peeking'.
I'm only using 'AtClose' orders and believe that I can use just "Bar" without having any 'peeking' issues - is this correct?
What are the other trading implications mentioned in this extract from the linked article? -
"(AtClose orders are actually an exception to this rule, but use of this signal type has other trading implications.) "
Size:
Color:
By the way, now in the WL5 Wiki:
Bars, Loops, and bar + 1QUOTE:
I'm only using 'AtClose' orders and believe that I can use just "Bar" without having any 'peeking' issues - is this correct?
Yes.
QUOTE:
What are the other trading implications mentioned in this extract from the linked article? -
For example, see the WealthScript Programming Guide -
* Programming Trading Strategies > Peeking
* Programming Trading Strategies > Alerts - How to: Alert for AtClose Signals
Size:
Color: