Hello, i am using the icustom function to get values for current and lower tf but when i test it with strategy tester it is getting the value of current timeframe but i can not get value for lower time frame such as 5 min. Can someone help me to fix my problem, thanks
- iclose() not working for multiple timeframes
- Read custom indicator with different time frame
- Can someone help with this code, been driving me nuts
Berk Cetiner:
Hello, i am using the icustom function to get values for current and lower tf but when i test it with strategy tester it is getting the value of current timeframe but i can not get value for lower time frame such as 5 min. Can someone help me to fix my problem, thanks
Hello, i am using the icustom function to get values for current and lower tf but when i test it with strategy tester it is getting the value of current timeframe but i can not get value for lower time frame such as 5 min. Can someone help me to fix my problem, thanks
do you get an error when compiling this code
Nope, it is compiling without error. I copied only the part of icustom function and didnt copy the rest of code because it could be long.
Maybe this happens because there is a lack of history data in lower timeframe thats why i couldnt get the value for lower time frame because in backtesting if i set near date to current date, it gives value without error.
Do you have an idea or suggest to fix this issue?
Thanks
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