Average Price (Multi-Market) issue.
-
I am trying to use this average price code made by @miki in a multicurrency market but I notice that it only reads the variable for the currency that is on the screen and not for the others simultaneously, do you have any idea how to make this work in a multicurrency market?
Project Test --> https://fxdreema.com/shared/dk6e7dRGc
-
@ontradingx The set market will change pink but your variables are fixed, change these each loop by using the orange variable, maybe draw the line at bottom of loop rather than yellow, this activates when all symbols have looped.

-
@jstap Sorry I didn't understand where I have to make this change. Can you help me with this by adjusting the project there?
-
@ontradingx Is the orange dots in the picture.
-
@jstap

Are the orange dots correct? You mean I have to write something in the fields?
Sorry, but again I didn't understand how to work with this data, I've seen it in other projects but I don't know what they are for.
Should I put a number or something similar? -
@ontradingx If you hover your mouse over them, it tells you what and when it does something, changes to variables you have created. Orange sets a variable to what you want every time the the loop activates orange, not practiced much with two loops but, I think it will do 1st loop, then second.
-
@jstap If you write something like +1 then it will add 1 every time the loop activat's orange, if you write 0, variable will =0 every time loop activates orange.