-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathkantu_simulation.lfm
More file actions
316 lines (316 loc) · 5.5 KB
/
kantu_simulation.lfm
File metadata and controls
316 lines (316 loc) · 5.5 KB
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
object SimulationForm: TSimulationForm
Left = 297
Height = 623
Top = 67
Width = 640
BorderStyle = bsToolWindow
Caption = 'GHOST'
ClientHeight = 623
ClientWidth = 640
FormStyle = fsStayOnTop
Position = poMainFormCenter
LCLVersion = '1.2.6.0'
object OptTargetComboBox: TComboBox
Left = 304
Height = 33
Top = 96
Width = 183
ItemHeight = 25
ItemIndex = 0
Items.Strings = (
'Balance'
'Max DD'
'Max DD Length'
'Profit/Max DD Ratio'
'Profit Factor'
'Linear Fit (R^2)'
'SQN'
'Winning %'
'Reward To Risk'
'Skewness'
'Kurtosis'
'Ulcer Index'
'Standard Deviation'
'Std.Dev Breach'
'Total ME'
'Custom Filter'
''
)
Style = csDropDownList
TabOrder = 0
Text = 'Balance'
end
object Label15: TLabel
Left = 304
Height = 25
Top = 72
Width = 156
Caption = 'Optimization Target'
ParentColor = False
end
object EndInSampleEdit: TEdit
Left = 304
Height = 33
Top = 197
Width = 183
OnClick = EndInSampleEditClick
ReadOnly = True
TabOrder = 1
Text = '01/01/2009'
end
object Label16: TLabel
Left = 304
Height = 25
Top = 173
Width = 97
Caption = 'Ending Date'
ParentColor = False
end
object Label1: TLabel
Left = 304
Height = 25
Top = 128
Width = 103
Caption = 'Starting Date'
ParentColor = False
end
object BeginInSampleEdit: TEdit
Left = 304
Height = 33
Top = 144
Width = 183
OnChange = BeginInSampleEditChange
OnClick = BeginInSampleEditClick
TabOrder = 2
Text = '01/01/1985'
end
object Label2: TLabel
Left = 304
Height = 25
Top = 229
Width = 126
Caption = 'OS Ending Date'
ParentColor = False
end
object EndOutOfSampleEdit: TEdit
Left = 304
Height = 33
Top = 253
Width = 183
OnClick = EndOutOfSampleEditClick
ReadOnly = True
TabOrder = 3
Text = '01/01/2020'
end
object UsedInputsList: TCheckListBox
Left = 504
Height = 576
Top = 32
Width = 120
ItemHeight = 0
TabOrder = 4
end
object Label3: TLabel
Left = 504
Height = 25
Top = 8
Width = 122
Caption = 'Input Variables '
ParentColor = False
end
object Button1: TButton
Left = 304
Height = 25
Top = 32
Width = 183
Caption = 'Show Options'
TabOrder = 5
end
object OptionsPanel: TPanel
Left = 312
Height = 512
Top = 64
Width = 183
ClientHeight = 512
ClientWidth = 183
TabOrder = 6
Visible = False
object UseSLCheck: TCheckBox
Left = 23
Height = 29
Top = 16
Width = 144
Caption = 'Use Stop-Loss'
TabOrder = 0
end
object UseTPCheck: TCheckBox
Left = 23
Height = 29
Top = 43
Width = 150
Caption = 'Use Take-Profit'
TabOrder = 1
end
object UseHourFilter: TCheckBox
Left = 23
Height = 29
Top = 127
Width = 147
Caption = 'Use Hour Filter'
TabOrder = 2
end
object UseDayFilter: TCheckBox
Left = 23
Height = 29
Top = 154
Width = 138
Caption = 'Use Day Filter'
TabOrder = 3
end
object LROriginCheck: TCheckBox
Left = 23
Height = 29
Top = 192
Width = 169
Caption = 'LR through origin'
TabOrder = 4
end
object UseFixedSLTP: TCheckBox
Left = 23
Height = 29
Top = 72
Width = 154
Caption = 'Use Fixed SL/TP'
TabOrder = 5
end
object UseFixedHour: TCheckBox
Left = 23
Height = 29
Top = 100
Width = 150
Caption = 'Use Fixed Hour'
TabOrder = 6
end
end
object OptionsGrid: TStringGrid
Left = 20
Height = 600
Top = 8
Width = 292
ColCount = 2
Columns = <
item
Alignment = taCenter
Title.Alignment = taCenter
Title.Caption = 'Value'
Width = 81
end>
Options = [goFixedVertLine, goFixedHorzLine, goVertLine, goHorzLine, goRangeSelect, goEditing, goSmoothScroll]
RowCount = 15
ScrollBars = ssAutoVertical
TabOrder = 7
ColWidths = (
180
81
)
Cells = (
25
0
1
'Rules'
0
2
'Max Shift'
0
3
'Shift variation step'
0
4
'StopLoss (if fixed)'
0
5
'TakeProfit (if fixed)'
0
6
'TrailingStop (if fixed)'
0
7
'Hour (if fixed)'
0
8
'SL/TP/TL Shift variation Step'
0
9
'Max SL/TP/TL '
0
10
'Number of Cores'
0
11
'Bars used for ME analysis'
0
12
'Number of requested systems'
1
0
'Value'
1
1
'3'
1
2
'100'
1
3
'5'
1
4
'1'
1
5
'1'
1
6
'1'
1
7
'0'
1
8
'0.5'
1
9
'3'
1
10
'3'
1
11
'100'
1
12
'600'
)
end
object EndInSampleCalendar: TCalendarDialog
Date = 39814
OKCaption = '&OK'
CancelCaption = 'Cancel'
left = 588
top = 196
end
object BeginInSampleCalendar: TCalendarDialog
Date = 31048
OKCaption = '&OK'
CancelCaption = 'Cancel'
left = 588
top = 396
end
object EndOutOfSampleCalendar: TCalendarDialog
Date = 41326
OKCaption = '&OK'
CancelCaption = 'Cancel'
left = 572
top = 300
end
end