timeframe/period in mql5

 

hi

new to mql5 coding.

can i add a line to an overlay indictor to simply display the time frame as text? thank you

 
  1. If you have the code, yes.
  2. What you want likely has nothing to do with the indicator. Write another.
 
William Roeder:
  1. If you have the code, yes.
  2. What you want likely has nothing to do with the indicator. Write another.

thank you.

i have an indicator that displays the symbol (instead of the standard mt5 ticker line), i like to add the period as well.

right now for instance it says AUDUSD, i like it to say AUDUSD daily, if im on a daily chart.

 
jimnovak: i like to add …
  1. If you have the code, nothing is stopping you.
  2. Show us your attempt (using the CODE button) and state the nature of your problem.
              No free help 2017.04.21

    Or pay someone. Top of every page is the link Freelance.
              Hiring to write script - General - MQL5 programming forum 2018.05.12