EOD for Amibroker/Metastock

#1
i'm kinda new and the amount of information here has confused me :cool:

i have registered versions of Amibroker and Metastock
Now, i will be placing orders at late night or early morning
i want to know how to add historical BSE&NSE data to there softwares.
Also where do i get this historical data

another thing is that how do i keep updating this data each day so that the database is updated at EOD everyday?