Help: only one line appears instead of four
Results 1 to 3 of 3

Thread: Help: only one line appears instead of four

  1. #1
    Hello,
    I'm not a coder, but was able to edit somebody else code. If anyone can be so kind and fix it I will apricieate. Here's the story:

    Base was USDx that's weighted average of couple of USD croses, that reveals real USD index.

    My aim was to change it into four lines that reveals separetly averages for USD, EUR, GBP and JPY croses. Listed below are meant formulas for each average:

    1) (UJ 1/EU 1/GU)/3
    two) (EU EG EJ/100)/3
    3) (GU 1/EG GJ/100)/3
    4) (1/(EJ GJ UJ))/300

    I attach what I did [this just show first average] and oryginal [USDx.mq4] file.

    My first intention was to create four different indiors simply by exchanging some pairs with another in a code, but then when I eliminated USD crosses from formula it revealed no line nor pubs [it was pub ind initially]


    Thanks a lot for the help.
    https://forexintuitive.com/attachmen...1837827727.mq4
    https://forexintuitive.com/attachmen...1347991024.mq4

  2. #2

  3. #3
    Great job!
    Thanks very, very much!
    I really don't understand why actually you aded these 0,0000001 items, but it works just perfect.

    In one window it doesn't look great, so I divide it, if anybody else would love to grab this, I attach what I did. [It is rather messy, but functions and that is the thing]
    https://forexintuitive.com/attachmen...1679035727.mq4
    https://forexintuitive.com/attachmen...3157182665.mq4
    https://forexintuitive.com/attachmen...5181573465.mq4
    https://forexintuitive.com/attachmen...1330999867.mq4

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners more information