P_Cherry:
Hi,
I have indicator working on daily timeframe (comparing today close with yesterday close etc....).
Now I would like to compare not today's close but close 10min before the daily close.
Is is possible to access 10min value on 1day indicator or should I solve the whole indicator as 10min indicator?
Thanks for hint
Peter
1) you can use " ctrl+y " to see each day in separate.
2 ) it is the current price when you say today's close; so when you need close price for a day you must use past day's.
3) yes. and you can draw line manually on chart FOR M10 and see it on daily chart and compare.
4) oryou must have change in your indicator code to draw it automaticaly.
You can acces 10M data simply by using CopyClose. In your case maybe you want to call this function using a specified start datetime. See https://www.mql5.com/en/docs/series/copyclose
![Documentation on MQL5: Timeseries and Indicators Access / CopyClose Documentation on MQL5: Timeseries and Indicators Access / CopyClose](/i/community/logo_mql5_small.png)
Documentation on MQL5: Timeseries and Indicators Access / CopyClose
- www.mql5.com
Timeseries and Indicators Access / CopyClose - Documentation on MQL5
![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 have indicator working on daily timeframe (comparing today close with yesterday close etc....).
Now I would like to compare not today's close but close 10min before the daily close.
Is is possible to access 10min value on 1day indicator or should I solve the whole indicator as 10min indicator?
Thanks for hint
Peter