Hello tradeandeam , here you have the lin of how to draw a button that draws a fibo.
https://fxdreema.com/shared/WG1GOa55
Posts made by cesardefez
-
RE: check button state does not recognize me when the button is pressed.posted in General Discussions
-
use mt4 errors to make decisionsposted in General Discussions
Hello I would like to know if you can read the errors of mt4 to make a decision.
specifically, I want to read errors 148 (number of orders exceeded), and 134 (not enough money). If I get these errors, I want to close the orders and stop the EA. -
RE: EJECUTAR CODIGO AL DESELECCIONAR OBJET0posted in General Discussions
https://fxdreema.com/shared/EpjSRUS0d
here is the project link.
I have been modifying things as I try.
Is it possible to name the fibo when you create it? -
RE: EJECUTAR CODIGO AL DESELECCIONAR OBJET0posted in General Discussions
Hi, I'm still trying to make the ea.
for the moment, I can draw a button, and when I press it draws me a fibo that is selected.
As soon as you draw the fibo, I want you to turn off the pin 20, the logic hangs from this pin to open the orders.
as soon as I deselect I want it to turn on the brooch 20, to let the orders execute.

As seen in the screenshot, the logic I want to use, and I don't know if it's okay, is the following:
if the fibo is selected? = false, then go to the next pin where you turn on pin 20, in order to place orders.
it doesn't work for me.I don't know if it is because of the logic I use in this screenshot, or because when I put that the price reaches the fibo price level, I have it wrong.
I have tried to put.
I have tried to level, (an integer n, 4) and also in% 61.8. but it doesn't work for me in any way.

-
configure fxdreema fibo levels (solucionado)posted in General Discussions
When drawing a fibo, there are levels from 0 to 32, a total of 33 levels.
As these levels are configured, it can be customized, for example, put a level -23%. When drawing them, if I put levels, separated by "," I can't get them to come out. -
RE: [Custom Block Release] Send a message or screenshot to Telegram Blocksposted in Tutorials by Users
@spuzy Hi spuzy.
my congratulations for this great educational work that you offer us.
You have made a block, just for the opposite. That is to say, collect notifications from telegram to place orders in mt4, whether pending, direct to market or total or partial closings, or move TP, and SL, according to the telegram notification.
thank you -
RE: Creation of new variables by the EA.posted in General Discussions
It's interesting, I didn't know that you can put multiple groups, separated by commas.
but the problem is that I don't know what n groups I have running.
if there is any way to check the group of all open operations, create a list and save them in a text variable. you could use that variable.
example: variable .... open_grups = 1,3,6,8,9,12
If after group 6 is closed then update open_grups = 1,3,8,9,12, in the same way if a new group is opened (2 for example). it becomes update open_grups = 1,2,3,8,9,12
open_grups would use it as a variable in the group field of the unrealized benefits block. -
RE: Creation of new variables by the EA.posted in General Discussions
Thank you, I missed your help. always highly valued.
It would be a solution if the number of groups were always the same.
but my EA can create more or less groups.
In the example I have put with groups 1,3,4,6. I put the groups alternate, because at some point the groups 2 and 5 existed and were closed, at some point there were 5 or six groups, as well as at some point there may be more groups (4,6, .... n) -
RE: Creation of new variables by the EA.posted in General Discussions
Hi. It seems to me that I buy myself when it comes to expressing what I need. I will try to do it as simple as possible.
I need to check the unrealized benefit, filtered by group #.
groups # do not have to always be the same.For example, I have orders with these groups at the moment.
group 1
group 3
group 4
group 6a total of 4 non-consecutive groups to filter. (could be more than 4 groups).
I pass the link to the example. What would it take to make it work?
https://fxdreema.com/shared/Jdp7P3qXc
thank you -
RE: Creation of new variables by the EA.posted in General Discussions
I leave you the link of the project, explaining what it does and the problems I find.
thanks -
RE: Creation of new variables by the EA.posted in General Discussions
ok gracias. lo seguiré en inglés.
-
RE: Creation of new variables by the EA.posted in General Discussions
hola,
voy a seguir con mis reflexiones.
inicializar la variable en principio no debe de ser difícil,
cuando se cumpla una condición, colocamos una caja Custom MQL code,

En este ejemplo no se si funcionaria, al querer nombrar la variable con una parte fija "sytem" y otra variable que provenga de un contador (n+1). El problema lo veo que la variable está definida, pero no en fxdream (variables),

¿se puede utilizar una variable no definida por fxdreeam?
¿como seria mas rapido el EA, intentar definir la variable cuando se necesite, o crearlas todas ( sytem_1...system_n) aunque nunca se necesiten?.supongo que lo más fácil es crear las todas, con valor falso.
conforme se necesiten se modifica su valor a true.
cuando se lanza el primer sitema, sytem_1, coje el valor true.
si sytem _n = true entonces se utiliza el filtro grupo = "n", para ese sistema.Pero entonces necesito comprobar el valor de todas las variables sytem_n, y coger la primera que este en false, para modificar a true y utilizarla para el nuevo sistema. ¿como se podria hacer esto último?
-
RE: Creation of new variables by the EA.posted in General Discussions
hola . no entiendo tu pregunta. según google translator, ¿Estás rugiendo o miro leyendo esto, por favor? :).
-
Creation of new variables by the EA.posted in General Discussions
Hi.
I am designing an EA, with a grid strategy.
The EA, I put n orders for sale and n for purchase, expecting a profit. I call this a series.
The EA will put more than one series.
I want to control the profit by series so that this is closed.
As I cannot determine if the system will place 1, 2, 3 .. or 100 series.
I need the EA to create new variables for me every time it creates a new one, and to delete them when the series closes upon reaching the profit. (system1, system2,… .system100)
With this I intend to create a loop, where it verifies the unrealized profit for each variable.
If you pass this block, it will execute the blocks that hang from it and re-execute the unrealized profit block with the following variable "system2", until all systems are evaluated.
My doubts.
1- How to create and delete new variables as needed.
2- How to make the loop. -
EVENTSposted in General Discussions
HI.
when making a project, I only use the event in tick.
I have looked for information in the instructions, and in the forum, but I can not find anything.
Could you tell me where I can find documentation, about when or what should I use each event for?
thanks -
RE: EJECUTAR CODIGO AL DESELECCIONAR OBJET0posted in General Discussions
muchas gracias lo pruebo,.
la pestaña on chart no suelo tenerla en cuenta. y por lo visto es muy interesante, ya es la segunda vez que me hacen referencia a esta pestaña.
es hora de estudiarla detenidamente.
muchas gracias MAESTRO. -
RUN BLOCKSposted in General Discussions
Hello, this block indicates which blocks are executed when it passes through "run blocks", my question is according to the following example:

block 10 executes block 6,
What sequence would follow later: ??
6--19--3--7--9--8--5--17 keep running everything afterwards.
6-19-17 executes everything that is connected to it
or
6-17 executes that block alone and returns it to the "run blocks" block
