i can explain why my advisor does not enter on the signals i have set (fractal breakthrough). or rather it enters 2 of 3 and 1 of 3 stupidly does not react to the signal. SOOOS!!!!!!)
Why do some EAs work well in the tester first and then do not open a single trade? I do not remember the names of the EAs, but I had three of them, maybe I am doing something wrong? mt4
Why do some EAs work well in the tester first and then do not open a single trade? I do not remember the names of the EAs, but I had three of them, maybe I am doing something wrong? mt4
The working conditions may be slightly different. For example, you can set stops and takei immediately in the tester, but you can't do it on the real account. You have to read the rules
Please advise, I have encountered a problem. When I switch off the terminal or restart the computer, the order ticket value is not saved and the EA does not see previously opened orders and opens them, despite the fact that they are already open and should not open until the EA closes them or a stop works.
Is there any way to deal with this, or should the EA not be interrupted?
Please advise, I have encountered a problem. When I switch off the terminal or restart the computer, the order ticket value is not saved and the EA does not see previously opened orders and opens them, despite the fact that they are already open and should not open until the EA closes them or a stop works.
Is there any way to deal with this, or should we not interrupt the work of the EA?
You can do something about it, and you can interrupt the work of the EA. You just need to change your approach.
We need the subject of the conversation - a rerun of the value of the fractal found and the required opening price of the order
I'm yelling because no one has responded 3 times already, but it's not the main point. i attached the EA file. i just don't know how to put the fractal values printout here. The idea is simple, always take into account two fractal values (up and down), the latter, and if the high of the last candle was above (below:dnfr && upfr) the fractal then sootv. open a deal either to sell or buy, and it closes after s candle. if you need more info, ok! And in my opinion they even closed not all through s candles. thanks in advance for your help!
Qwertee: Yes I am shouting because I have already asked this question twice and no one has written anything back. here is the code: https: //www.mql5.com/ru/forum/134688/page595 + there is an attached file of the expert himself. please take a look if you don't mind)
if(H>upfr && flag==0) //если фрактал вверх и уровень фрактала вверх превышен
{
tClose=tOpen+s*stime*60;
OrderSend(Symbol(),OP_BUY,lots,Ask,slippage,NULL,NULL);
flag=1;
}
elseif(L<dnfr && flag==0)//если фрактал вниз и уровень фрактала принижен
{
tClose=tOpen+s*stime*60;
OrderSend(Symbol(),OP_SELL,lots,Bid,slippage,NULL,NULL);
flag=1;
}
Without else, the first block is executed first, then the second one. With else - either the first or the second one.
The working conditions may vary slightly. For example, in the tester you can put stops and takes right away, but you can't in the real world. You have to read the rules of the game.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
I want to create a 2-dimensional array [ticket][opening price]. the question arises what type to declare the array as int or dowble?
i can also explain why i have a fractal open at prices i have found. SOOOS!!!!!!)
do not shout, not deaf.
we need to talk about the subject - unwind the value of a fractal found and the opening price of an order.
Why do some EAs work well in the tester first and then do not open a single trade? I do not remember the names of the EAs, but I had three of them, maybe I am doing something wrong? mt4
Why do some EAs work well in the tester first and then do not open a single trade? I do not remember the names of the EAs, but I had three of them, maybe I am doing something wrong? mt4
The working conditions may be slightly different. For example, you can set stops and takei immediately in the tester, but you can't do it on the real account. You have to read the rules
Please advise, I have encountered a problem. When I switch off the terminal or restart the computer, the order ticket value is not saved and the EA does not see previously opened orders and opens them, despite the fact that they are already open and should not open until the EA closes them or a stop works.
Is there any way to deal with this, or should the EA not be interrupted?
Please advise, I have encountered a problem. When I switch off the terminal or restart the computer, the order ticket value is not saved and the EA does not see previously opened orders and opens them, despite the fact that they are already open and should not open until the EA closes them or a stop works.
Is there any way to deal with this, or should we not interrupt the work of the EA?
You can do something about it, and you can interrupt the work of the EA. You just need to change your approach.
do not shout, not deaf.
We need the subject of the conversation - a rerun of the value of the fractal found and the required opening price of the order
Yes I am shouting because I have already asked this question twice and no one has written anything back. here is the code: https: //www.mql5.com/ru/forum/134688/page595 + there is an attached file of the expert himself. please take a look if you don't mind)
Fully understand the logic of the indicator.
Replace it first.
at
Also,
Without else, the first block is executed first, then the second one. With else - either the first or the second one.
The working conditions may vary slightly. For example, in the tester you can put stops and takes right away, but you can't in the real world. You have to read the rules of the game.