- ago
The question about what information is available at the time point 'bar' still confuse me.
WL trading is based on a trade (either entry or exit) is placed on the next bar. So if I am currently at point 'bar', and place a trade like that below,

CODE:
PlaceTrade(bars, TransactionType.Buy, OrderType.Market, 0, " ");


the trade will be placed at point: bar + 1. Does this mean that ALL the information at point bar is AVAILABLE to use?
0
648
Solved
5 Replies

Reply

Bookmark

Sort
- ago
#1
Generally it's assumed to be available without the risk of peeking. But what particular 'information' do you have in mind?
1
- ago
#2
Thanks Eugene. I look for all information like pricing data and trade (P/L) to make trading decision. When creating strategies, this question come up often, as needed to layout the flow of code. With WL6, it is more intuitive to accept that all information is available at time of bar but with WL7 and its data flow is differed, the concept is a bit less clear for me.

Is it correct that from a timing perspective of entry and exit trades and when information is available, WL operates like that of end-of-day trading? At the end of day, all data for that data (time bar) is available and any trade placed at bar will be executed on the next day (bar + 1)?
0
Best Answer
Glitch8
 ( 11.81% )
- ago
#3
Yes you’re impression is correct.
1
- ago
#4
QUOTE:
Is it correct that from a timing perspective of entry and exit trades and when information is available, WL operates like that of end-of-day trading?

I would call it end-of-"bar" trading, so if you're working with Daily bars, it would be like end-of-day trading. But you are correct. All the information is available up to the last complete bar. However, none of the information is typically available from the off-the-chart partial (incomplete) bar.
1
- ago
#5
Thanks both.
0

Reply

Bookmark

Sort