Getting information into a script

 

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