thanks i will, i think i know why but is not really clear
Latest posts made by sosel
-
RE: position mismatch errorposted in Questions & Answers
-
RE: position mismatch errorposted in Questions & Answers
I found this in the code and this is the message that I'm seeing in the error but I don't get why this is happening, I have partial closes in my EA
@fxDreema can you please explain to us the meaning of this part of the code? or any idea why I'm getting this error?
-
position mismatch errorposted in Questions & Answers
I'm getting this error sometimes, anybody knows what is the meaning?

-
RE: EA is not working the same in backs testing and demo account in MT5posted in Questions & Answers
@l-andorrà i changed the program to MT4, is working as expected
-
RE: ANOTHER MT5 BUG?posted in Bug Reports
@ambrogio did you find a fix? I'm facing the same error/bug with "for each" or "pips away" block, when i open a trade it executes all the blocks inside of for each block instantly and don't take the pips away condition, i copied the blocks to a MT4 project and work without problem

-
RE: EA is not working the same in backs testing and demo account in MT5posted in Questions & Answers
I just did it but the result is the same, I'm thinking is a bug with "for each" or "pips away"or I don't know where, I copied the same blocks literally even has the same name in MT4 hehe and is working fine in MT4


-
RE: EA is not working the same in backs testing and demo account in MT5posted in Questions & Answers
@l-andorrà I modified it after this picture as the example in the other question, this is my last iteration, but still happening the same, can you please try to download and run it in the demo account, just open a trade with the button "comprar" instantly it opens the trade and close partially, seem like runs everything inside of the loop "for each", it doesn't take the pipis away block, it works in backtesting but no in demo, even I tried to break and skip the loop for next iteration with the block loop(next) attached to the yellow button of pipis away block to skip the trades that are not X pips away from open price but it didn't work

here is the link:
https://fxdreema.com/shared/8TxJzIIbb -
RE: close half positionposted in Questions & Answers
@l-andorrà sorry for the spam but this is exactly what I need to do, I try this same combination of blocks in demo account, and is happening the same, it execute the close partially even if the trades are not pips away, the EA does it automatically after opening a trade BUT only in demo account if i run it in backtesting worked as expected, can be this a bug? or do i missing something when i run it in demo account?

-
RE: EA is not working the same in backs testing and demo account in MT5posted in Questions & Answers
i modify the EA to this:

replacing BE block for modifying stops to only use block of the same type, but the problem is the same, once i open a trade it executes all the blocks inside of the loop and i want to stop the loop if the trade is not X pips away of the open price even i tried this to try to break the loop but didn't work :

-
RE: EA is not working the same in backs testing and demo account in MT5posted in Questions & Answers
sorry, i just saw the answer, I want to explain in more detail my problem I won't do it again, thanks so much I will try moving BE block, but is there a reason why it worked in backtesting and not in demo account?