script for data download

 
I need to download historical data on technical indicator values per candle. Is there an existing MT4 script on this forum that I could use as a template?
 
Reason: