This works fine (compiles, runs, gives alerts) UNLESS, I add any currencies, ie :
//Add("EURUSD", PeriodType.Range, 4); // 4
//Add("GBPUSD", PeriodType.Range, 4); // 4
//Add("USDCHF", PeriodType.Range, 4); // 4
If any of the above are un-commented, then when I try to add any strategies (from ControlCenter/Strategies/NewStrategy)
the entire popup window to add-strategy is empty. If I re-comment the instrument, it is again available to run.
2. Also on the multi-instrument strategy; all my Add(instrument)s are done with Range bars. If I've
stopped/edited/recompiled/restarted the strategy, can it somehow get access to the range bars which -precede- the
restart? I know the data is available, since I'm watching it on Charts with range bars.
3. Initialization question - when I do 'Strategies/<right-click>/NewStrategy', it looks like the Initialization function for < All strategies I've ever written> get run, rather than just the init function for the strategy I'm adding getting run. Is this the expected behavior?
Thanks,
Bruce.
Comment