Display chart on foreground script

 

Hi, I'm a beginner in MQL4 and my english is not so good, therefore it's a bit complicated for me to learn well MQL4. 

But I have wrote a script that apply a certain template to my graph, and i would like the same script to also set chart on foreground (price drawing above indicator drawing). Could someone help me pleaaase?

This is my code so far:

enum Templates {Trend}; 

void OnStart()
 {
   ChartApplyTemplate(0, EnumToString(Trend));
  }

 
chadlytiendrebeogo: I'm a beginner in MQL4  … Could someone help me pleaaase?
  1. Don't double post! You already had this thread open.
              General rules and best pratices of the Forum. - General - MQL5 programming forum 2017.07.19

  2. Help you with what? You haven't stated a problem, you stated a want. 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

  3. Why do you need to run a script to apply a template? Just apply the template.
  4. Edit your template.
 
chadlytiendrebeogo:

I have deleted your duplicated topic.