lamont:
Why don't you simply copy desired weekly data (desired week)?
Hi, I'm a newbie to MQL5.
I can access the external weekly data in MT no problem. But i'm not sure how to put the data into an indicator.
There's new entry in the data every Tuesday, labelled with the date. What kind of algorithm Do I use to create an indicator that suits different time frames (monthly, weekly, daily)?
Do I use CopyTime() to get the bar dates first and loop through the data to find the closest entry? Or is there better way to do it?
Please help.
Much appreciated.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Hi, I'm a newbie to MQL5.
I can access the external weekly data in MT no problem. But i'm not sure how to put the data into an indicator.
There's new entry in the data every Tuesday, labelled with the date. What kind of algorithm Do I use to create an indicator that suits different time frames (monthly, weekly, daily)?
Do I use CopyTime() to get the bar dates first and loop through the data to find the closest entry? Or is there better way to do it?
Please help.
Much appreciated.