Check average function problems
-
Again it has no sense.
It should have been sold !!!! This case is fabourable, but should be contrarian
Emilio
-
Emilio
-
What is the situation here... sorry, but these days I have more than 15 questions a day and my brain is not very capable

But I just saw your latest project, how the hell you got these large block numbers? I have seen this problem years ago, but I still don't know how everything starts. But can't you just give normal numbers for these blocks
-
Hello
Please forget the large numbers,too much copy paste, I´m asking for the function, It is a fact that is not working properly.(all they are the same group)First When trying to upload to the online version gives me an error when compiling. (= is left or something similar)
Second when working is not doing what I spected to do.( close trades if all the group profit amount >=-1)No problem to wait if finally resolved.
Emilio Muela
-
some screenshots?
-
Today´s example
and the settings
I´ve check the expert id is the same for the three short trades above.
What I want is just, if the profit is >0 close trades.
And in the case of the print screen 6,24 -1,09-2,87 = 2,28 ---> Should have been closed, doesn´t it ???
Should I change something ??
Emilio
-
Do you know what the word "Average" means in the title of this block? More than that, look at what "Profit mode" says - Pips. Pips are not Money. And the term "Pips" when different lot sizes are used is a little bit... even I can't tell you right now what these Pips means exactly

Again, your number 2,28 is the SUM of all profits in MONEY. This is not the AVERAGE value of some PIPS.
-
Do you mean that is better to change the profit mode from "pips" to "money" ???
Or there is a possibility to make the calculation more precise ?
Emilio
-
Even if you choose Money, this block still calculates the Average value, not the sum of all profits. For the sum there is another block - Check current unrealized profit.
Also, there is another way - https://fxdreema.com/examples/#Bucket-of... -
Thank you
I was using the wrong block.
Emilio