Metatrader5's API question

 

Hi i want to create a script that can get all symbols,

then with those symbols, get 9 - 10 candle's charts newest, from 1D, 4H, 1H, 30M, 15M, 5M

I want to know if those charts is red or green, get open, close value etc... of those charts.

How should i can do these things? I can't find any good tutorial to do these things.

Any advice or tutorial links or documents... about this?

Thank you guys

 

official document is the best manual

get the symbol totals and then loop https://www.mql5.com/en/docs/marketinformation

Documentation on MQL5: Market Info
Documentation on MQL5: Market Info
  • www.mql5.com
Market Info - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5