Re: How to get ExpressGenerator to run with Test.cmd file
> but how do you handle settings that are unique to a pair like swap long and swap short?
> That's where you create new variables, %4, %5, %6, etc.
I solve this problem by having separate "ini" files for each symbol in a subfolder.
For example:
.\ini\EURUSD.iniswap_long = -6.88 swap_short = 2.02 stop_loss_range_min = 20 stop_loss_range_max = 220
Then, we can call gen.js with two "ini" files:
node .\bin\gen.js --settings generate.ini .\ini\%symbol%.ini ...
I didn't know you could call two ini files like that I guess, even more slick!