How to use two underlyings (example: DOW and DAX) for a backtest --> for livetrading it is easily possible
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hy,
I want to use two underlyings within my expert advisor. For example two moveing averages:
double MA_US_cur=iMA("US30",0,1,0,MODE_SMA,PRICE_OPEN,0); // DOW Indices
double MA_DE_cur=iMA("DE30",0,1,0,MODE_SMA,PRICE_OPEN,0); // DAX (GERMAN 30) Indices
When I use the above code for live trading I have the MA values available but for a backtest only the "master" chart value can be used.
Do you know any solution?
Thanks in adavance
Serafino