Had to duplicate the question as no one has answered.
Please help me to understand it.
I have a question from MQL4 tutorial.
I have not received any message when entering the MA from above or below?
Please write what is wrong.
Replace line if(Bid > MA && Fact_Up == true) with line if(Bid > MA) and there will be message. Do the same with second condition if(Bid < MA && Fact_Dn == true) - remove Boolean variable check.
Та же библиотека с готовыми функциями управления МТ4.
//xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx // 7. FUNCTIONS FOR MQL4 PROGRAM MANAGEMENT. // // 7.1. The function deletes an Expert Advisor from the specified chart. If successful, the function returns TRUE, otherwise - FALSE. boolServiceDeleteExpert(int hwndChart); // System descriptor of the chart window to be deleted. //====================================================================================== // 7.2. FUNCTION removes indicators by name from the list of loaded indicators.
where is this library description?
i would like to see the function that disconnects an expert by its name on another chart :)
It seems to be some kind of a temporary failure in the DC, we will see tonight at 00.00, during mass order placement. I will write an update, thanks for the efficiency. I have understood from your replies that it is related to my brokerage company.
Replace the line if(Bid > MA && Fact_Up == true) with the line if(Bid > MA) and there will be a message. Do the same with second condition if(Bid < MA && Fact_Dn == true) - remove Boolean variable check.
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.
Did you change your brokerage company? There are brokerage companies where you have to set an order first and only then can you place stop orders.
No, I didn't change the DC, everything was fine, until tonight.
Has the DC itself not changed its terms and conditions? Do you want to ask the support office?
No, I didn't change the DC, everything was fine, until tonight.
Is it set by hand?
is it set by hand?
No.
taldy only to the dc support
Hello all.
Had to duplicate the question as no one has answered.
Please help me to understand it.
I have a question from MQL4 tutorial.
I have not received any message when entering the MA from above or below?
Please write what is wrong.
Replace line if(Bid > MA && Fact_Up == true) with line if(Bid > MA) and there will be message. Do the same with second condition if(Bid < MA && Fact_Dn == true) - remove Boolean variable check.
Та же библиотека с готовыми функциями управления МТ4.
//xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
// 7.
FUNCTIONS FOR MQL4 PROGRAM MANAGEMENT.
// // 7.1. The function deletes an Expert Advisor from the specified chart. If successful, the function returns TRUE, otherwise - FALSE.
bool ServiceDeleteExpert(int hwndChart); // System descriptor of the chart window to be deleted.
//======================================================================================
// 7.2. FUNCTION removes indicators by name from the list of loaded indicators.
where is this library description?
i would like to see the function that disconnects an expert by its name on another chart :)
Daldy only to the helpdesk of the dc
Replace the line if(Bid > MA && Fact_Up == true) with the line if(Bid > MA) and there will be a message. Do the same with second condition if(Bid < MA && Fact_Dn == true) - remove Boolean variable check.
Thanks for the reply.
Got it all figured out)