-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathkantu_simulation_show.lfm
More file actions
363 lines (363 loc) · 6.97 KB
/
kantu_simulation_show.lfm
File metadata and controls
363 lines (363 loc) · 6.97 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
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
object SimulationForm2: TSimulationForm2
Left = 779
Height = 520
Top = 353
Width = 661
BorderStyle = bsToolWindow
Caption = 'Simulation Options'
ClientHeight = 520
ClientWidth = 661
FormStyle = fsStayOnTop
Position = poMainFormCenter
LCLVersion = '1.2.6.0'
object OptTargetComboBox: TComboBox
Left = 321
Height = 23
Top = 96
Width = 183
Font.Height = -12
ItemHeight = 15
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'
''
)
OnChange = OptTargetComboBoxChange
ParentFont = False
Style = csDropDownList
TabOrder = 0
Text = 'Balance'
end
object Label15: TLabel
Left = 321
Height = 15
Top = 72
Width = 105
Caption = 'Optimization Target'
Font.Height = -12
ParentColor = False
ParentFont = False
end
object EndInSampleEdit: TEdit
Left = 321
Height = 23
Top = 197
Width = 183
Font.Height = -12
OnClick = EndInSampleEditClick
ParentFont = False
ReadOnly = True
TabOrder = 1
Text = '01/01/2009'
end
object Label16: TLabel
Left = 321
Height = 15
Top = 173
Width = 64
Caption = 'Ending Date'
Font.Height = -12
ParentColor = False
ParentFont = False
end
object Label1: TLabel
Left = 321
Height = 15
Top = 128
Width = 68
Caption = 'Starting Date'
Font.Height = -12
ParentColor = False
ParentFont = False
end
object BeginInSampleEdit: TEdit
Left = 321
Height = 23
Top = 144
Width = 183
Font.Height = -12
OnChange = BeginInSampleEditChange
OnClick = BeginInSampleEditClick
ParentFont = False
TabOrder = 2
Text = '01/01/1985'
end
object Label2: TLabel
Left = 321
Height = 15
Top = 229
Width = 82
Caption = 'OS Ending Date'
Font.Height = -12
ParentColor = False
ParentFont = False
end
object EndOutOfSampleEdit: TEdit
Left = 321
Height = 23
Top = 253
Width = 183
Font.Height = -12
OnChange = EndOutOfSampleEditChange
OnClick = EndOutOfSampleEditClick
ParentFont = False
ReadOnly = True
TabOrder = 3
Text = '01/01/2020'
end
object UsedInputsList: TCheckListBox
Left = 521
Height = 480
Top = 32
Width = 119
Font.Height = -12
ItemHeight = 0
OnClickCheck = UsedInputsListClickCheck
ParentFont = False
TabOrder = 4
end
object Label3: TLabel
Left = 521
Height = 15
Top = 8
Width = 80
Caption = 'Input Variables '
Font.Height = -12
ParentColor = False
ParentFont = False
end
object Button1: TButton
Left = 321
Height = 25
Top = 32
Width = 183
Caption = 'Show Options'
Font.Height = -12
OnClick = Button1Click
ParentFont = False
TabOrder = 5
end
object OptionsPanel: TPanel
Left = 312
Height = 445
Top = 67
Width = 200
ClientHeight = 445
ClientWidth = 200
Font.Height = -12
ParentFont = False
TabOrder = 6
Visible = False
object UseSLCheck: TCheckBox
Left = 22
Height = 29
Top = 16
Width = 104
Caption = 'Use Stop-Loss'
OnChange = UseSLCheckChange
TabOrder = 0
end
object UseTPCheck: TCheckBox
Left = 22
Height = 29
Top = 45
Width = 111
Caption = 'Use Take-Profit'
OnChange = UseTPCheckChange
TabOrder = 1
end
object UseHourFilter: TCheckBox
Left = 22
Height = 29
Top = 132
Width = 108
Caption = 'Use Hour Filter'
OnChange = UseHourFilterChange
TabOrder = 2
end
object UseDayFilter: TCheckBox
Left = 22
Height = 29
Top = 161
Width = 101
Caption = 'Use Day Filter'
OnChange = UseDayFilterChange
TabOrder = 3
end
object LROriginCheck: TCheckBox
Left = 22
Height = 29
Top = 190
Width = 123
Caption = 'LR through origin'
OnChange = LROriginCheckChange
TabOrder = 4
end
object UseFixedSLTP: TCheckBox
Left = 22
Height = 29
Top = 74
Width = 113
Caption = 'Use Fixed SL/TP'
OnChange = UseFixedSLTPChange
TabOrder = 5
end
object UseFixedHour: TCheckBox
Left = 22
Height = 29
Top = 103
Width = 109
Caption = 'Use Fixed Hour'
OnChange = UseFixedHourChange
TabOrder = 6
end
end
object OptionsGrid: TStringGrid
Left = 20
Height = 504
Top = 8
Width = 284
ColCount = 2
Columns = <
item
Alignment = taCenter
Title.Alignment = taCenter
Title.Caption = 'Value'
Width = 81
end>
Font.Height = -12
Options = [goFixedVertLine, goFixedHorzLine, goVertLine, goHorzLine, goRangeSelect, goEditing, goSmoothScroll]
ParentFont = False
RowCount = 15
ScrollBars = ssAutoVertical
TabOrder = 7
TitleFont.Height = -12
ColWidths = (
180
81
)
Cells = (
25
0
1
'Number of 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 = 41640
OnDayChanged = EndInSampleCalendarDayChanged
OnMonthChanged = EndInSampleCalendarDayChanged
OnYearChanged = EndInSampleCalendarDayChanged
OKCaption = '&OK'
CancelCaption = 'Cancel'
left = 577
top = 168
end
object BeginInSampleCalendar: TCalendarDialog
Date = 29221
OnDayChanged = BeginInSampleCalendarDayChanged
OnMonthChanged = BeginInSampleCalendarDayChanged
OnYearChanged = BeginInSampleCalendarDayChanged
OKCaption = '&OK'
CancelCaption = 'Cancel'
left = 577
top = 368
end
object EndOutOfSampleCalendar: TCalendarDialog
Date = 43831
OnDayChanged = EndOutOfSampleCalendarDayChanged
OnMonthChanged = EndOutOfSampleCalendarDayChanged
OnYearChanged = EndOutOfSampleCalendarDayChanged
OKCaption = '&OK'
CancelCaption = 'Cancel'
left = 561
top = 272
end
end