Create and Test Forex Strategies
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| express-generator:data-source [2023/07/04 17:24] – created Miroslav Popov | express-generator:data-source [2026/05/29 10:23] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 6: | Line 6: | ||
| ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | ||
| - | ; Express Generator loads data by either " | + | ; Express Generator loads data either |
| - | ; Server is the data files folder under the " | + | ; Server is actually |
| + | ; Provided servers: Premium, Dukascopy, MetaQuotes, Darwinex, Eightcap, BlackBull | ||
| server = Premium | server = Premium | ||
| symbol = EURUSD | symbol = EURUSD | ||
| - | ; Period can be in text format: M15, H1, D1 or in number of minutes: 5, 60, 1440 | + | ; Available values: M1, M5, M15, M30, H1, H4, D1 |
| period = M30 | period = M30 | ||
| - | ; Data file from Premium data or exported from Meta Trader | + | ; Data file from Premium data, or exported from MetaTrader. |
| ; Example: data_file = ./ | ; Example: data_file = ./ | ||
| - | ; The usage of " | + | ; Using " |
| data_file = | data_file = | ||
| </ | </ | ||
| + | |||
| + | ===== Fetch and use provided data ===== | ||
| + | |||
| + | Fetch data: | ||
| + | |||
| + | < | ||
| + | node .\bin\fetch.js --server Darwinex --symbol USDJPY --period M15 --max-data-bars 100000 | ||
| + | </ | ||
| + | |||
| + | |||
| + | Generate new strategies: | ||
| + | < | ||
| + | node .\bin\gen.js --server Darwinex --symbol USDJPY --period M15 --max-data-bars 100000 | ||
| + | </ | ||
| + | |||
| + | The workflow is consistent: fetch with '' | ||
| + | You may also combine this with Data Horizon and Out of Sample settings in '' | ||
| + | |||
| + | |||
| + | ===== Use data from MetaTrader ===== | ||
| + | |||
| + | You can also use data from your MetaTrader account. We highly recommend exporting data from MT5 because it includes real spread information. | ||
| + | |||
| + | * Export data from MT with the "Data Export.mq5" | ||
| + | * Place the files in a subdirectory of ExGen' | ||
| + | * Use the directory' | ||
| + | |||
| + | < | ||
| + | node .\bin\gen.js --server MyData --symbol EURUSD --period M15 --max-data-bars 100000 | ||
| + | </ | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||