H4 OHLC export produces identical Open/High/Low/Close values (invalid bar data)
Posted: Wed Mar 04, 2026 2:38 pm
Hello,
I believe there is a bug in the Tickstory export functionality when exporting H4 bars.
When exporting XAUUSD H4 data using the custom output format below, every bar in the exported file has identical Open, High, Low, and Close values.
This results in flat bars with no price movement, which is not valid market data.
Example rows from the exported file:
20180102,00:00:00,1306.438,1306.438,1306.438,1306.438,0.000369
20180102,04:00:00,1309.388,1309.388,1309.388,1309.388,0.000750
Each bar has:
Open = High = Low = Close
This occurs for 100% of the rows in the exported file.
In real XAUUSD H4 data, OHLC values should differ on most bars.
Export settings used
Output format: Custom header
Data format:
{BarBeginTime:yyyyMMdd},{BarBeginTime:HH:mm:ss},{Open},{High},{Low},{Close},{Volume}
Symbol: XAUUSD
Timeframe: H4
Expected behavior
Tickstory should export correct OHLC bar values derived from the underlying tick data.
Each H4 bar should contain the true Open, High, Low, and Close prices.
Actual behavior
All OHLC values are identical, which indicates the export is incorrectly rendering the bar data.
Additional notes
This appears to be an export/rendering issue rather than a data issue, because the Open value changes from bar to bar but High/Low/Close are not populated correctly.
Could you please confirm whether this is a known issue with custom output formats or H4 exports?
I would appreciate guidance or a fix so the exported data reflects proper OHLC values.
Thank you.
I believe there is a bug in the Tickstory export functionality when exporting H4 bars.
When exporting XAUUSD H4 data using the custom output format below, every bar in the exported file has identical Open, High, Low, and Close values.
This results in flat bars with no price movement, which is not valid market data.
Example rows from the exported file:
20180102,00:00:00,1306.438,1306.438,1306.438,1306.438,0.000369
20180102,04:00:00,1309.388,1309.388,1309.388,1309.388,0.000750
Each bar has:
Open = High = Low = Close
This occurs for 100% of the rows in the exported file.
In real XAUUSD H4 data, OHLC values should differ on most bars.
Export settings used
Output format: Custom header
Data format:
{BarBeginTime:yyyyMMdd},{BarBeginTime:HH:mm:ss},{Open},{High},{Low},{Close},{Volume}
Symbol: XAUUSD
Timeframe: H4
Expected behavior
Tickstory should export correct OHLC bar values derived from the underlying tick data.
Each H4 bar should contain the true Open, High, Low, and Close prices.
Actual behavior
All OHLC values are identical, which indicates the export is incorrectly rendering the bar data.
Additional notes
This appears to be an export/rendering issue rather than a data issue, because the Open value changes from bar to bar but High/Low/Close are not populated correctly.
Could you please confirm whether this is a known issue with custom output formats or H4 exports?
I would appreciate guidance or a fix so the exported data reflects proper OHLC values.
Thank you.