- ago
Hello, how can I correctly load the history of quotes for different timeframes for two instruments into a WealthLab script, so that this history can be retrieved in the script using the GetHistoryUnsynched() method? Currently, the history might be fully available for the daily timeframe and entirely absent for the hourly timeframe (returns null). Updating the instruments hasn't helped.
0
392
Solved
1 Replies

Reply

Bookmark

Sort
Cone8
 ( 4.28% )
- ago
#1
There are plenty of examples of this in the QuickRef. In the "Class" dropdown, see BarHistoryCompressor/Synchronizer and TimeSeriesCompressor/Synchronizer.

If that doesn't do it for you, explain precisely how you want to use GetHistoryUnsynched().
e.g., What's the primary chart/test scale?
What scale do you want to trade in? etc.

If the hourly timeframe returns null, it's probably because you don't have [or haven't put a checkmark next to] a Historical Provider that returns intraday data.
0
Best Answer

Reply

Bookmark

Sort