Questions from Beginners MQL4 MT4 MetaTrader 4 - page 45

 
Dmitry Melnichenko:

how to count bollinger from another indicator in mql4!

iBandsOnArray()
 
Vitalie Postolache:
iBandsOnArray()
Can you give me an example?
 
Dmitry Melnichenko:
Can you give me an example?
You can't search at all? Here's an example.
 
Dmitry Melnichenko:

how to count bollinger from another indicator in mql4!

You can not count BB from another, but just put in the conditions.

 
The MT4 platform has stopped connecting to the brokers' servers. Neither Alpari nor Prfoit Group are working. Neither old nor new versions. I open a demo through the terminal - login and password come. But there is no connection, no "running" kilobytes in the corner. Firewall disabled, anti-virus disabled and deleted, except I prayed on it. I've added it to all the exceptions - all to no avail.
 
Sergey Izhutov:
MT4 platform has stopped connecting to brokers servers. Neither Alpari nor Prfoit Group are working. Neither old versions, nor new ones. I open demo through the terminal - login and password come. But there is no connection, no "running" kilobytes in the corner. Firewall disabled, anti-virus disabled and deleted, except I prayed on it. I've added it to all the exceptions - all to no avail.

Checked it out, it's OK,

ping the broker.

 
iv1986:
Hello, could you please tell me how to make a global variable save its value after turning the computer on and off (I turn it off on Friday and turn it on on Monday)?
What prevents me from using functions fromGlobalVariable..... series?
 
How do I know the ticket of a trade that has just opened?

If a trade has opened - you need to write its ticket into a variable.
 
igrok333:
How do I know the ticket of a trade that has just opened?

If a trade has opened - you need to write its ticket into a variable.
int ticket;//тикет ордера
..........
ticket=OrderSend(.....);//приказ и запоминаем тикет ордера
if(ticket>0)//открылась
{
//действия с тикетом
}
 
Renat Akhtyamov:
int ticket;//тикет ордера
..........
ticket=OrderSend(.....);//приказ и запоминаем тикет ордера
if(ticket>0)//открылась
{
//действия с тикетом
}

Oh man, I forgot thatOrderSend gives the value of the ticket. thanks for the reply.

Reason: