11/15/24 17:11
Spent the morning and early arvo still troubleshooting the logging system but to no avail. Tried to write to different locations in C:\ and the user documents directory but still nothing. All permissions are correct but still nothing. Simplified it to the bare bones and still nothing. So wierd considering it was working fine earlier which points to the problem being in the code.. So considering the AI has exhausted all practical pathways for isolating the problem I have deleted all the logging data and am starting again, relatively. I have transferred all the logging to be printed in the terminal window instead of being written to a created file. Immediately encountering problems with printing to the terminal window relating to code relating to detection of bars in the OnTick fucntion. Could be the root cause of everything, could be unrelated. will know soon.
18:13
Some responses from the AI:
We're still not seeing the OnInit() prints, which is very strange. Let's try a different approach. Since we're in the Strategy Tester, let's add a TestStart print to see if OnInit() is even being called:
and shortly after other code alterations
Something very odd is happening here. We see "Expert PVEA NZDJPY,H1: loaded successfully" but none of our OnInit() prints are showing up. Let's try a more aggressive approach:....
You know something weird is happening when the AI comments on it.
MT4 starts the EA (the robot) but it wont run the simple print statements at the start of the code...
The plot thickens...
Comments
Post a Comment