closed trade in Journal/Log File
-
Hi,
My EA does 1 Trade per Day.
I want it to print Win or Loss into the Journal at the end of the Day.
This is the way I have tried it:
https://fxdreema.com/shared/rt4XosftcBut I dont receive the information in the journal for the most days, and sometimes it writes win and loss like a maniac...
I have no idea how to solve that. Can you help me please?
Thanks in advance!
-
@siggi12345 You are duplicating loops for buys and sells. Considering that there will be just one trade per day, use one loop ('For each closed trade') block instead both buys and sells. Then use the other blocks identifying if it was a gain or a loss.
-
@l-andorrà thanks for the fast reply. You mean like this:
https://fxdreema.com/shared/Cvvi9CACb
this doesnt work either, it looks almost the same.
Sometimes it writes nothing, sometimes like a maniac and sometimes as desired
-
@l-andorrà i think i got i, i dont need "For each" in my situation, I can just check for win/loss at certain time and thats it

-
@siggi12345 Good for you! Congrats.
