applying a formula on 100 charts

 
i have 100 charts in meta trader. i wanna have a list of the charts in which 20-day moving average is below the closed price. how can i have this list?
 
ffarshadd36: i have 100 charts in meta trader. i wanna have a list of the charts in which 20-day moving average is below the closed price. how can i have this list?
  1. Go through the charts and get each symbol and TF.
  2. Get the MA and the Close price of that symbol and TF. Remember to handle 4066/4073 problems. Download history in MQL4 EA - MQL4 and MetaTrader 4 - MQL4 programming forum
  3. Write them to a file.
Reason: