Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BarData ¶
type BarData struct { CTM uint64 // 0 8 current time in seconds, MQL4 datetime Open float64 // 8 8 OHLCV High float64 // 24 8 H Low float64 // 16 8 L Close float64 // 32 8 C Volume uint64 // 40 8 V Spread uint32 // 48 4 RealVolume uint64 // 52 8 }
BarData wrap the bar data inside hst (60 Bytes)
type HST401 ¶
type HST401 struct {
// contains filtered or unexported fields
}
HST401 MT4 history data format .hst with version 401
type Header ¶
type Header struct { Version uint32 // 0 4 HST version (401) Copyright [64]byte // 4 64 Copyright info Symbol [12]byte // 68 12 Forex symbol Period uint32 // 80 4 Symbol timeframe Digits uint32 // 84 4 The amount of digits after decimal point in the symbol TimeSign uint32 // 88 4 Time of sign (database creation) LastSync uint32 // 92 4 Time of last synchronization // contains filtered or unexported fields }
Header structure for hst version 401 (148 bytes).
Click to show internal directories.
Click to hide internal directories.