Help me solve this problem - there is a buy/sell signal, EA opens a deal, sets a profit and a stop. And if the deal is closed on stop on the same candle, then the advisor opens the deal again, and I need it not to open, i.e. on one signal one deal was opened.
Hi all. Is there any way to programmatically set the value of a variable (e.g. StartBalance) equal to the value of AccountBalance() which was at the time the EA was turned on (so that this value does not change until the end of its operation)
Hi all. Is there any way to programmatically set the value of a variable (e.g. StartBalance) equal to the value of AccountBalance() which was at the time the EA was turned on (so that this value does not change until the end of its operation)
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.
Help me solve this problem - there is a buy/sell signal, EA opens a deal, sets a profit and a stop. And if the deal is closed on stop on the same candle, then the advisor opens the deal again, and I need it not to open, i.e. on one signal one deal was opened.
How to do it?
It should work like this.
if (Volume[0]>1) return;
We need some help! My head is already boiling! To the point:
I need to set pending sell limit and buy limit orders.
1. StopLoss = 30
2. takeProfit = 40
3. the pending orders are deleted after 3 hours (if they did not work).
I need a sell limit and buy limit code Please help!!!
I need some help! My head is already boiling! To the point:
I need to set pending sell limit and buy limit orders.
1. StopLoss = 30
2. takeProfit = 40
3. the pending orders are deleted after 3 hours (if they did not work).
Need a sell limit and buy limit code Please help!!!
the pending order is placed in one line, the question is at what distance?
Hi all. Is there any way to programmatically set the value of a variable (e.g. StartBalance) equal to the value of AccountBalance() which was at the time the EA was turned on (so that this value does not change until the end of its operation)
Can you suggest how to do this?
Hi all. Is there any way to programmatically set the value of a variable (e.g. StartBalance) equal to the value of AccountBalance() which was at the time the EA was turned on (so that this value does not change until the end of its operation)
Do you know how to do it?
>> about that.
>>Thank you!!!
suggest indicators for 1m 15m pips
Any suitable channel turkey.
For example, from the address - Channels ...!
This should work.
if (Volume[0]>1) return;
Do not use this method to open positions! It works correctly only in the tester!
And online, more than half of the input signals will be ignored...
>> Thank you!!!
See the previous post above...