Dear programming experts! Could you please add the function of checking the opening hours to the EA code? I.e. the EA should open positions only within a certain time interval, for example from 8 am to 8 pm (Moscow time).
Friends, just now, literally 15 to 20 minutes... noticed exactly how my DC is cheating... :) I am writing an article and at the same time I am testing my Expert Advisor on the demo, I hear the sound of connection loss from the terminal and look - it says "No connection" on the bottom right. Well, I think - God is with you ... although there is a connection everywhere - the mail is received dashingly - about 20 meters so swiftly flow in... I hear the terminal sound again - the connection appeared, I look down to the right... Right - there's the communication data. Then again the same thing: No communication -> Communication available. No connection for about 5 to 6 minutes, then I look at the chart and see the picture:
Where the first long bearish candle is - there's the first time there's no connection. The next bar (dodge-over-tombstone) - there is a connection, and the next bearish candle - there is no connection again... As they say, you are cheating, gentlemen brokers... :) Of course I don't care - I've got a Buy open on the demo... but it's still a bit of a nuisance.
double Temporary_variable_reserve_stop = found value of stop; double Temporary_variable_stop_stop = found value of take;
I'm not biting or swearing :) :). So, what should I do if I want to include an error analyzer in my EA? I wrote an Expert Advisor, but how to make sure that the server error, etc. do not break the entire plan?
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.
Even if it's just a bare-bones strategy without any graphics, it's all the same... empty in the results, like in a vacuum...
not even the ripostes work if there is no visualisation ?
I'm sorry, but I didn't ask how to find StopLoss and TakeProfit data, we know that!
You are getting scared of answering... :)
double Temporary_variable_reserve_stop = found value of stop;
double temporary_variable_stop_stop = found value of take;
Dear programming experts! Could you please add the function of checking the opening hours to the EA code? I.e. the EA should open positions only within a certain time interval, for example from 8 am to 8 pm (Moscow time).
Who knows where to get an EA that knows how to close all orders at once?
Who knows where to get an EA that can close all orders at once?
Friends, just now, literally 15 to 20 minutes... noticed exactly how my DC is cheating... :) I am writing an article and at the same time I am testing my Expert Advisor on the demo, I hear the sound of connection loss from the terminal and look - it says "No connection" on the bottom right. Well, I think - God is with you ... although there is a connection everywhere - the mail is received dashingly - about 20 meters so swiftly flow in...
I hear the terminal sound again - the connection appeared, I look down to the right... Right - there's the communication data. Then again the same thing: No communication -> Communication available. No connection for about 5 to 6 minutes, then I look at the chart and see the picture:
Where the first long bearish candle is - there's the first time there's no connection. The next bar (dodge-over-tombstone) - there is a connection, and the next bearish candle - there is no connection again...
As they say, you are cheating, gentlemen brokers... :) Of course I don't care - I've got a Buy open on the demo... but it's still a bit of a nuisance.
You're getting scared of answering... :)
double Temporary_variable_reserve_stop = found value of stop;
double Temporary_variable_stop_stop = found value of take;
I'm not biting or swearing :) :). So, what should I do if I want to include an error analyzer in my EA? I wrote an Expert Advisor, but how to make sure that the server error, etc. do not break the entire plan?