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.
Question 1 :
Howto initialise for example an external variables
#property show_inputs
extern string start_date="2009.01.20";
extern string finish_date="2009.01.27";
How change those dates automaticaly to start_ date = todays date and finish_date to start_date + 1 day.
Trieed todo it in the init()function but diden't work.
Question 2 :
Howto have a list to choose from
Want to process history data to draw trendlines from my trades.
#property show_inputs
extern int Order=-1;
if Order = -1 ==> I draw all trades in history for the current chart-Symbol combination.
But how to have a list to choose from all history orders, now I have to fill it in by hand
Kind regards
And Thank for helping