Hi everyone,
I am sure I am missing something basic here but after all online search still not sure why this would not work...
I am trying to read iStochastic values from multiple time frames (i.e. M5,M15,H1) and then store them in global variables for later use. I am testing the cose on M5 chart and while it ready properly M5 values I get all 0.0000 returned when trying to read any other time frame (i.e. M15).
Is there a limitation of reading other time frame indicator values from EA or I am missing something basic here?
Thanks in advance...
Here is the code:
and here is a screen capture of my execution log:
You don't have M15 history for your testing period.
Thanks a lot for a suggestion but I am getting the same result even when I connect to my demo account and then run the EA.
Also, I looked at the data available for testing on my machine and it seems to be there... or do I need to do something else to make the M15 availabe?
Thanks again...
Thanks a lot for a suggestion but I am getting the same result even when I connect to my demo account and then run the EA.
Also, I looked at the data available for testing on my machine and it seems to be there... or do I need to do something else to make the M15 availabe?
Thanks again...
Thanks for helping.... As expected it was a "user error"
Just in a case someone else is looking for the same answer in future here are screens and explanations:
1. I looked at the list of data available offline and confirmed that EURUSD is available for both M5 and M15 for Sept 6th 2-13. I have opened both chars offline.
2. I selected proper date, EA, and M5 timeframe and run the backtes.
3. It worked!!!
Thanks again RaptorUK, and WHRoeder
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi everyone,
I am sure I am missing something basic here but after all online search still not sure why this would not work...
I am trying to read iStochastic values from multiple time frames (i.e. M5,M15,H1) and then store them in global variables for later use. I am testing the cose on M5 chart and while it ready properly M5 values I get all 0.0000 returned when trying to read any other time frame (i.e. M15).
Is there a limitation of reading other time frame indicator values from EA or I am missing something basic here?
Thanks in advance...
Here is the code:
and here is a screen capture of my execution log: