How I Can to make a custom indicator that use the data from two cross EURUSD and EURJPY?

 

Hi, staff how I can to make a custom indicator that use the data from two cross, EURUSD and EURJPY? 

Thank you for all help.

 
80613536:

Hi, staff how I can to make a custom indicator that use the data from two cross, EURUSD and EURJPY? 

Thank you for all help.

Code your indicator using the data from the 2 symbols, just remember that you can't use presets like High[] or Time[] etc. You will need to use iHigh(), iTime() etc.

You will not be able to use it in the strategy tester.

 
  1. On MT4: Unless the current chart is that specific symbol(s)/TF(s) referenced, you must handle 4066/4073 errors before accessing candle/indicator values.

              Download history in MQL4 EA - Forex Calendar - MQL4 programming forum - Page 3 #26.4 2019.05.20

  2. Read your values. Do not assume iTime(other,x) == Time[x] — always use iBarShift.

    Perhaps you should read the manual. Timeseries and Indicators Access
       How To Ask Questions The Smart Way. 2004
          How To Interpret Answers.
             RTFM and STFW: How To Tell You've Seriously Screwed Up.

  3. You can only read the other symbol and trade the current one.

  4. 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

    We're not going to code it for you (although it could happen if you are lucky or the problem is interesting).
              No free help 2017.04.21

Reason: