Artyom Trishkin: I'm not offended by stubbornness. Why?
And variables need to be initialised explicitly. You'll get to the importance of initialization someday. In the meantime, you can throw out everything inside the curly brackets.
Задавайте вопросы по техническому анализу, обсуждайте торговые системы и улучшайте свои навыки программирования торговых стратегий на языке MQL5. Общайтесь и обменивайтесь опытом на форуме с трейдерами всего мира и помогайте ответами новичкам — наше сообщество развивается вместе с вами. Обсудим совместные проекты в редакторе - зачем они и...
If you delete an account in the terminal, I understand that only the display of the account in the terminal is deleted. the account itself on the broker's server is not deleted.
igrok333: If you delete an account in the terminal, I understand that only the display of the account in the terminal is deleted. the account itself on the broker's server is not deleted.
STARIJ: It's very simple. You need to set 7 parameters to calculate the iMA. The first parameter, the name of the symbol, is obvious. As the second, timeframe, set M1. The third parameter - the period - set as many times greater than you need, how many days is greater than one minute. The fourth parameter - shift = 0. The next two parameters - the method of averaging and price type - you know. The last one is the bar number. Please calculate the bar number if you know the time you need. That's all! Double-check it by making calculations for M5 and M15 timeframes. Maybe even for M30.
Can you tell me how to catch and lock the reversal moment of the Parabolic SAR indicator? At least just an idea how to do it. I have no idea how to use it.
Hello, dear forum members. Can you advise what needs to be done to ensure that the t1 ticket is not redrawn when a position is opened under the same conditions. So that when a condition to close these (but not other) positions occurs, both (or possibly more)
if(ЗДЕСЬ УСЛОВИЕ ОТКРЫТИЯ ПОЗИЦИИ БАЙ)
{
t1=OrderSend(Symbol(),OP_BUY,lot,Ask,slippage,0,0,"",0,0,Green);
if(t1>0)
{
if(OrderSelect(t1,SELECT_BY_TICKET,MODE_TRADES))
{ Print("Открыта позиция BUY20");
buy20=true;
}
}
elsePrint("Error opening BUY20 order : ",GetLastError());
return;
}
ticket. So far only the last ticket is read and the closing loop ignores the first one. The loop seems to be built correctly:
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'm not offended by stubbornness. Why?
Appreciate the humour. Thank you.
Can you tell me what's wrong, I don't understand how to get the value of the Fibo fan line on the previous candle?
Can you tell me what's wrong, I don't understand how to get the value of the Fibo fan line on the previous candle?
Something is piled up here, both mql4 and mql5...
What language should I use to get the value?
Comparison of numbers with a floating point for equality
If you delete an account in the terminal, I understand that only the display of the account in the terminal is deleted. the account itself on the broker's server is not deleted.
Yes, you got that right.
It's very simple. You need to set 7 parameters to calculate the iMA. The first parameter, the name of the symbol, is obvious. As the second, timeframe, set M1. The third parameter - the period - set as many times greater than you need, how many days is greater than one minute. The fourth parameter - shift = 0. The next two parameters - the method of averaging and price type - you know. The last one is the bar number. Please calculate the bar number if you know the time you need. That's all! Double-check it by making calculations for M5 and M15 timeframes. Maybe even for M30.
It's as simple as that.
It's like this.
I'll try it tomorrow and report back. Thank you)
Can you tell me how to catch and lock the reversal moment of the Parabolic SAR indicator? At least just an idea how to do it. Thanks in advance!
Can you tell me how to catch and lock the reversal moment of the Parabolic SAR indicator? At least just an idea how to do it. I have no idea how to use it.
you can check the current and previous bar.
For example, the previous one was higher than the price, the current one is lower than the price.
Hello, dear forum members. Can you advise what needs to be done to ensure that the t1 ticket is not redrawn when a position is opened under the same conditions. So that when a condition to close these (but not other) positions occurs, both (or possibly more)
ticket. So far only the last ticket is read and the closing loop ignores the first one. The loop seems to be built correctly: