Topic: EA generator data import fails with big time horizon
to describe my problem I'll talk about what I did first.
1. Download Data Export.mq5 from EA Studio Data tab.
2. Import script in Metatrader5
3. Apply script to EURUSD
4. Copy exported data in separate folder in EA generator.
When I apply the script with default settings it works with the generator.
But when I set the maximum count of bars to unlimited and the start limitation to 1989 I get the following error when I start the generator. When I import the data into EA Studio there are no errors and everything looks good.
Do you have any idea on how to fix this?
I don't want to compromise on the time horizon.
Other users have reported that they use older data than what I have.
So I don't realy understand where I did go wrong.
C:\Users\PC\Desktop\EA Generator>node .\bin\gen.js --symbol EURUSD --period M30 --data_file = ./data/IC_Markets/EURUSD30.json
..:: Express Generator v2.34 ::..
SyntaxError: Unexpected token � in JSON at position 0
at JSON.parse (<anonymous>)
at Object.<anonymous> (C:\Users\PC\Desktop\EA Generator\bin\gen.js:59:25)
at Module._compile (node:internal/modules/cjs/loader:1254:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
at Module.load (node:internal/modules/cjs/loader:1117:32)
at Module._load (node:internal/modules/cjs/loader:958:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)