@skf1883 busca esta línea dentro del código fuente y elimínala, son de las primeras líneas de código
.
Best posts made by Leka 0
-
RE: how i remove magic number from expert setting page ?posted in Questions & Answers
Latest posts made by Leka 0
-
RE: how i remove magic number from expert setting page ?posted in Questions & Answers
@skf1883 busca esta línea dentro del código fuente y elimínala, son de las primeras líneas de código
. -
RE: 98% WIN rate - Looking for expert to partner with.posted in Questions & Answers
@cashflows Quizá puedo ayudarte amigo , tengo ya 2 años trabajando con fxdreema.
-
Manejador OnTradeposted in Questions & Answers
Muy buenas a todos amigos de FXdreema,
Alguien que trabaje con código puro y me ayude a hacer esto que aparece en la imagen, ya lo tengo hecho en FXdreema pero me gustaría pasarlo a código MQL5.
Lo único que necesito hacer en el código es que el EA me detecte cuando se allá creado una posición de venta o una posición de compra.
Por ejemplo digamos que se acaba de abrir una operación de venta en cierto activo y que después de eso el EA me ejecute tal acción.
En la imagen se entiende un poco mas lo que quiero aprender a hacer en el código.
Muchísimas gracias de antemano...
-
RE: percentage of account at riskposted in Questions & Answers
@roar Hello me again, there is something in the custom code block that affects some parameters of the EA in other assets, for example I have programmed the EA that when a certain event occurs I turn off some blocks, the detail is that it turns them off for all currency pairs in which I also have the EA running, and it turns them off although that event did not occur there, how could I tell the EA that the only thing I want to take into account of the other pairs is the percentage that is in account risk, not affected by any other EA parameter?
-
RE: percentage of account at riskposted in Questions & Answers
@roar you are a crack, thank you very much
-
RE: percentage of account at riskposted in Questions & Answers
@l-andorrà thank you very much, help @miro or @roar
-
RE: percentage of account at riskposted in Questions & Answers
@l-andorrà Sure, I just need to know how to get the value and then compare it.
-
RE: percentage of account at riskposted in Questions & Answers
@l-andorrà Yes, but I did not refer to the float, perhaps I have not explained myself well yet, well the first thing in this case is that we are not interested in knowing the float that the operations have, we are not interested in knowing if the float is negative or positive, we are not interested either To know if the operation was closed by SL or TP, what we are interested in knowing is what percentage of the account is added by those Stops of the operations that are active regardless of whether their float is negative or positive.
For example, let's say that the EA opened 4 trades for me, each in a different pair, and at the time the trades are open I want the EA to calculate how much those stops of said trades are, if they are already equal to 6% of the account. Well, I no longer open more operations.