You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
By the euro on the story. Made in haste, just for experimentation.
The euro on the story. Made in haste, just for experimentation.
That is, on the model of the dollar index
Try to make EUR index (if it is possible to put it that way) of considered currencies. In this case, from USD, JPY, GBP, CHF, AUD, finalizing your code:
ExtMapBuffer1[i]=100*(s1("EURUSD",i)+s1("EURJPY",i)+s1("EURGBP",i)+s1("EURCHF",i)+s1("EURAUD",i))/5;
where s1=(c-l)/(h-l);
Since the basic calculation of "meter" is done as an average of (c-l)/(h-l) values for each currency pair as a percentage and therefore we only need to enter correction factors for the corresponding summands and we will obtain something similar to the index:
ExtMapBuffer1[i]=100*(s1("EURUSD",i)*K1+s1("EURJPY",i)*K2+s1("EURGBP",i)*K3+s1("EURCHF",i)*K4+s1("EURAUD",i)*K5)/5,
where s1=(c-l)/(h-l);
Just what is the guideline for assigning these coefficients?
It would be interesting to know the opinion of forum regulars on the degree of delirium of the idea.
P.S.Maybe someone will be useful article on the calculation of the dollar index.
It calculates indices for all currencies, and all calculated indices are expressed in the same units.
For example, we want to see how GBP looks only relative to EUR and JPY. It would be very useful, especially last Thursday after the Bank of England's interest rate announcement, when the whole world was mocking the cable.
Look for the MIndex indicator, it is available here in the libraries, and you can find it on the forum.
It calculates indices for all currencies, and all calculated indices are expressed in the same units.
Do you mean _xMeter_mini_v.1.3?
yes
I wanted to put my currency index indicator in Code Base, but they don't allow it yet. This year's screenshot is just as a refresher :-)
Your indicator was very helpful in understanding the essence of this "meter". And immediately I got an idea of how to make it more objective or something.
I.e. to try to make the EUR index (if I may say so) for the currencies in question.
Try to make EUR index (if it is possible to put it that way) of considered currencies. In this case, from USD, JPY, GBP, CHF, AUD, finalizing your code:
ExtMapBuffer1[i]=100*(s1("EURUSD",i)+s1("EURJPY",i)+s1("EURGBP",i)+s1("EURCHF",i)+s1("EURAUD",i))/5;
where s1=(c-l)/(h-l);
Since the basic calculation of "meter" is done as an average of (c-l)/(h-l) values for each currency pair as a percentage and therefore we only need to enter correction factors for the corresponding summands and we will obtain something similar to the index:
ExtMapBuffer1[i]=100*(s1("EURUSD",i)*K1+s1("EURJPY",i)*K2+s1("EURGBP",i)*K3+s1("EURCHF",i)*K4+s1("EURAUD",i)*K5)/5,
where s1=(c-l)/(h-l);
Just what is the guideline for assigning these coefficients?
It would be interesting to know the opinion of forum regulars on the degree of delirium of the idea.
P.S.Maybe someone will be useful article on the calculation of the dollar index.
I tried it once, didn't like it.