/
MT4 Symbols (1).tpl
66 lines (53 loc) · 2.96 KB
/
MT4 Symbols (1).tpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
//
// MetaTrader structure SYMBOL: file format of "symbols.raw"
//
// All symbols of a file are sorted alphabetically by "name".
//
//
// @see https://github.com/rosasurfer/mt4-expander/blob/master/header/struct/mt4/Symbol.h
//
template "MT4 Symbols (1)"
description "File 'symbols.raw'"
applies_to file
multiple
begin
{ endsection // -------------- offset -
char[12] "Symbol" // 0
char[64] "Description" // 12
move 40 // 76
uint32 "Index" // 116
uint32 "ID" // 120
move -48 // 124
char[12] "Alt Symbol" // 76
char[12] "Base Currency" // 88
uint32 "Group" // 100
uint32 "Digits" // 104
uint32 "Trade Mode" // 108
hex 4 "Background Color" // 112
move 1524 // 116
double "?" // 1640
move 12 // 1648
uint32 "Spread" // 1660
move 8 // 1664
boole32 "Swap Enabled" // 1672
uint32 "Swap Type" // 1676
double "Swap Long" // 1680
double "Swap Short" // 1688
uint32 "Triple Rollover Weekday" // 1696
move 4 // 1700
double "Contract Size" // 1704
move 16 // 1712
uint32 "Stop Distance" // 1728
move 12 // 1732
double "Margin Init" // 1744
double "Margin Maintenance" // 1752
double "Margin Hedged" // 1760
double "Margin Divider" // 1768
double "Point Size" // 1776
double "Points per Unit" // 1784
move 24 // 1792
char[12] "Margin Currency" // 1816
move 104 // 1828
uint32 "?" // 1932
} // sizeof(SYMBOL) = 1936
end