Hi guys , i exhausted all my debugging skills to try to wrap my mind around this issue but i could not solve it, i found discrepancy in the log so i cant really trust it, for example if im looping from 200 to 1 , the log only show wen counter is 100 and goes on to 1 why is that is there something i can do to solve this issue? my second problem is in function IsThisCandleFresh im setting the loop to go from index to 1 by decrementing but the debugging statements show the counter i actually increase rather than decrease i have no statments to alter the value of i the only one is i--(i used i in multiple instances but in another scopes of the program),thank you for your time
as you see in log print statement line 288 how it skipped the for loop
this does not make any sense
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- 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 guys , i exhausted all my debugging skills to try to wrap my mind around this issue but i could not solve it, i found discrepancy in the log so i cant really trust it, for example if im looping from 200 to 1 , the log only show wen counter is 100 and goes on to 1 why is that is there something i can do to solve this issue? my second problem is in function IsThisCandleFresh im setting the loop to go from index to 1 by decrementing but the debugging statements show the counter i actually increase rather than decrease i have no statments to alter the value of i the only one is i--(i used i in multiple instances but in another scopes of the program),thank you for your time
as you see in log print statement line 288 how it skipped the for loop
this does not make any sense