I created this EA but it doesn't open orders, is there any way to check if there is something wrong? o Because it is not opening orders.
Thank you very much in advance...
I created this EA but it doesn't open orders, is there any way to check if there is something wrong? o Because it is not opening orders.
Thank you very much in advance...
Can you help me with this martingale?
With this martingale, the orders are doubling. 0.2 / 0.40 / 0.8
I would like it to be like this: 0.20 / 0.21 / 0.22.
That is, add only 0.01 to each martingale.
Thank you in advance.
I created this EA but it doesn't open orders, is there any way to check if there is something wrong? o Because it is not opening orders.
Thank you very much in advance...
@jstap Thank you very much for the help.
I made a new project with only the due date as a goal to put in an indicator, not in an EA,
In the EA it works normally, when the license expires it removes the Robot from the chart, through this line of code " (ExpertRemove() ".
How do I put this same code in an indicator? The image and complete code are attached.
Thank you very much in advance...
if (TimeCurrent() > D'2023.09.09' || TimeLocal() > D'2023.09.09')
{
Alert ("The trial version has expired at "+TimeToString(D'2023.09.09', TIME_DATE)+"");
ExpertRemove();
}

How can I partially close an order?
Example: I entered with a lot of $1.00, when I reach 50% of the distance from the desired target profit, close 50% of the value, that is, $0.50, and the other $0.50 is left open to get the other 50% of the desired target.
can you help me?
How do I open a buy or sell one from a variable that is tied to a draw line.
follow the image and design.
@l-andorrà
0_1651347455534_2022_Entrada_Martelo.mq5
I sent the image and the project.
Can you show me how to open a sale on this Draw Line Horinzontal, I marked this line in a variable.
That is, the Draw line = Variable.