Choosing Timeframes like what we do on Visualization Tab, for EAs

 

I'm working on my own EA that performs a procedure on several Timeframes which can be selected by user.

The common solution for choosing timeframe is to use input parameters and set their value to "true" or "false".

Since there are many timeframes in MT5, it is not convenient to do so.

I'm thinking if it's possible to select the desired timeframes for an EA, like what we do on Visualization Tab of an indicator.

Is it possible to do it? 

 
All is possible, but you will have to code it.