You can remove both 'loop (pass n times)' blocks. You already selected the most recent trade inside the 'For each closed position'. Additionally I see you selected both buys and sells on the left purple block and sells only on the right one.
Posts made by l'andorrà
-
RE: partial exit not working correct on reporting with new fxdreema updatesposted in Bug Reports
-
RE: Custom Indicator Different Value Than Default When Testingposted in Questions & Answers
Probably fxDreema cannot fully accept the indicator. Did you emulate all buffers and input parameters as explained in this tutorial?
https://fxdreema.com/forum/topic/4208/tutorial-06-my-indicators-in-fxdreema
-
RE: Subsidiary under project. Iposted in Questions & Answers
I'm afraid I don't fully understand. Do you mean the file didn't compile correctly?
-
RE: Simple stop and reverse strategy not workingposted in Questions & Answers
I this the whole project or just part of it? If it is complete, the problem is in your terminal's data pool.
-
RE: Check distance pending orderposted in Questions & Answers
@hadi_shah Could you please create a separate thread for your question? That doesn't belong to this one.
-
RE: partial exit show arrowposted in Questions & Answers
Can you please share the link to the latest version?
-
RE: Check Profit (average) & Tralling Stopposted in Questions & Answers
That depends on your current configuration. Could you please share the link to your project?
-
RE: Need a free source code for a spike detector indicator to add in fxdreemaposted in Questions & Answers
If you find it, please share it here. I'm also interested.
-
RE: Subscription Queryposted in Questions & Answers
Did you pay via crypto? Crypto payments are checked at a very slow pace. I recommend you contact the admin and let him know. He'll provide as many extra days to your subscription as necessary.
-
RE: Is the admin modifying the code on variables?posted in Bug Reports
I will try, but This is becoming more and more weird. Now I see the wrong results are stored 24 hours beyond its max time limit. I left the EA working 'normally' and the second day the wrong results was hold. However, the third day, (ie 48 after the wrong result) variables were correctly reinitiated. The hidden memory is not everlasting so far.
-
RE: Cut loss at % and stop trading for the dayposted in Questions & Answers
@Alex81 No. Block 7 will reactivate it tomorrow because it is below the first block that will be activated every day.
-
RE: Buy/sell arrow + Heikin Ashiposted in Tutorials by Users
Can you please share the link to the project? I willl take a look at it.
-
RE: Email with Amount of Riskposted in General Discussions
You will have to calculate that risk separately and store the value into a variable. Then you can send that value normally via the 'send email' block.
-
RE: condicion > < x> x< >= <= == =! en variableposted in Questions & Answers
Ahora sí que lo entiendo. Perdón por el malentedido
No, los bloques no están diseñados para que se pueda usar una variable en ese espacio, lo siento. -
RE: Is the admin modifying the code on variables?posted in Bug Reports
I found the proof that there is some kind of 'hidden memory' storing the value beyond the time limit. I tested the structure for 24 hours and I looked at what happened at the day change in front of the chart. I selected a period of two minutes for block 1 to work so I was sure more than one tick was executing that block. Because it was a new day, there were no open trades nor any closed trade. All variables should be 0. Well, the value for the max profit was correctly reinitiated but values for max loss and the hour when that happened were persistent. Those values couldn't be obtained by the calculation structure of block 3 and below because, as I said, there were not any closed trade the new day.
When I tried roar's suggestion I used a 'once a day' block and the log info was correct. However, when I changed it to a 'time filter' as it is now, the problem persists. This means the block is reinitializing the variables correctly but the 'hidden memory' is immediately retaken the stored value.