
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
Unless you are using visual mode in the tester, there will never be anything in the journal.
I AM using Visual Mode in any case!
There is something else that is very strange. When I run the SAME EA with the SAME parameters more than once I get different transactions on the Visual Mode displayed!
Most of the time 90% are the same - but at certain places there are different results with multiple runs!
Is there some buffers (e.g. variables) that must be initialized or cleared after every run? I do try to initialize al variables in the declaration section.
Maybe my computer has gone haywire?? I am grabbing at straws at the moment.
I AM using Visual Mode in any case!
There is something else that is very strange. When I run the SAME EA with the SAME parameters more than once I get different transactions on the Visual Mode displayed!
Most of the time 90% are the same - but at certain places there are different results with multiple runs!
Is there some buffers (e.g. variables) that must be initialized or cleared after every run? I do try to initialize al variables in the declaration section.
Maybe my computer has gone haywire?? I am grabbing at straws at the moment.
Ok Guys! Solve this one!
Look at the larger piece of code I posted.
The first line is an "if" statement and if true will process the lines thereafter.
One of the actions that has to take place is the closing of any open Buy orders.
Now when I run the EA in the Tester it actually closes any Buy orders BUT...
It skips the Print statement in the middle of the code - and that does not get recorded in the Journal!
So I know the code is being processed, but only CERTAIN Print statements get recorded in the Journal - but others NOT!
So please explain that to me!
Now when I run the EA in the Tester it actually closes any Buy orders BUT...
It skips the Print statement in the middle of the code - and that does not get recorded in the Journal!
So I know the code is being processed, but only CERTAIN Print statements get recorded in the Journal - but others NOT!
So please explain that to me!
The following will print to the journal . . .
if they aren't printing then as far as I can see the possibilities are as follows:
if SellTicket equal zero, seriously ?
Right click the journal, select open, and open the journal log with notepad.
The journal tab does not always show all the logs.
I have looked at the Log file and there are no Sell or Buy transactions recorded there or any of the other "Print" commands.
I am so demotivated! I have been on this thing for 2 weeks now and have made no progress and have run out of ideas of what the problem could be.
(Just want to say for what it is worth that i also have Metatrader 5 installed on my comouter and run Windows 7 that stores some data and log files in Virtual Store under Users)
I have looked at the Log file and there are no Sell or Buy transactions recorded there or any of the other "Print" commands.
I am so demotivated! I have been on this thing for 2 weeks now and have made no progress and have run out of ideas of what the problem could be.
(Just want to say for what it is worth that i also have Metatrader 5 installed on my comouter and run Windows 7 that stores some data and log files in Virtual Store under Users)
I have created a folder under C:/ where I have installed MT4, but I have two other copies (one live & one demo) which are installed under Program Files (x86).
I do not have any log files with the last two but do have log files under the root MT4. (That is why I can report on what is in the Log file)
Now I have just noticed another anomaly. (I already mentioned the fact that I get different results from two identical runs)
I use iCCI to track the CCI index to make Buy/Sell transaction decisions. I have discovered that transactions happen even when the CCI condition is not true!
This is such a mess! I long back to my XP days where my system seemed to be much more simpler and stabler!
I am about ready to throw in the towel!