Do you have the formulas for XAUX and BTCX?xaux --> showing xau index and btcx --> showing btc index... same like usdx indicator --> showing usd index
Do you have the formulas for XAUX and BTCX?xaux --> showing xau index and btcx --> showing btc index... same like usdx indicator --> showing usd index
Unfortunately, MT4 doesn't support candlesticks as indicator draw type.Hi is possible have japan candel also in MT4 ?? thanks
Hello.Version 1.02 released to simplify the MT5 indicator and introduce minor improvements into the MT4 indicator.
input string IndexPairs = "EURUSD, USDJPY, GBPUSD, USDCAD, USDSEK, USDCHF"; IndexCoefficients = "-0.576, 0.136, -0.119, 0.091, 0.036, 0.042"; // Index coefficients: do not change for USDX.
Yes, you right! Thanks for reporting!Hello.
It seems to me that there is a typo in the code and it needs to be swapped.
...MQL5:input string IndexPairs = "EURUSD, USDJPY, GBPUSD, USDCAD, USDSEK, USDCHF"; IndexCoefficients = "-0.576, 0.136, -0.119, 0.091, 0.036, 0.042"; // Index coefficients: do not change for USDX.
USDSEK^0,042*USDCHF^0,036
You don't need to recompile it, you can change the currency pairs it uses via input parameters. Make sure you are setting the names correctly. Also, make sure you are updating the coefficient correctly for pairs that get inverted. For example, as far as I know, the futures pair for CHF is calculated (CHF/USD, not as USD/CHF), so the weight should be changed to negative.Hi all. Thank you for your time. I'd like to know whether I can use this indicator to compare futures pairs also and if so how do I go about it. I tried updating the input pairs before compiling the file insider the mt5 editor with the names of my pairs but nothing showed on the indicators window on MT5 and It came back with error messages. Can someone help me with this please?
Thank you very much. Do you know the date range of data I will need to download to calculate to coefficiency of the pairs please?You don't need to recompile it, you can change the currency pairs it uses via input parameters. Make sure you are setting the names correctly. Also, make sure you are updating the coefficient correctly for pairs that get inverted. For example, as far as I know, the futures pair for CHF is calculated (CHF/USD, not as USD/CHF), so the weight should be changed to negative.
If you are still getting some errors, please report them here.
It doesn't matter. If you are using the same currencies, you just use the same coefficients but paying attention to their signs - inverting the sign if the futures symbol is inverted compared to the respective currency pair.Thank you very much. Do you know the date range of data I will need to download to calculate to coefficiency of the pairs please?
Thank you for your patience with me. I'm perhaps not as versed as you so maybe I don't understand something and it is late here in England I understand I need Index Coefficients values to match the index pairs...BUT the markets I wish to track aren't "pairs" specifically but futures contracts ( S&P 500, NASDAQ, DOW and Gold futures ) I understand I still need the coefficient values for the markets to display and this is what I tried perhaps poorly to convey. I'd appreciate one last input from you so I completely understand but take into consideration it's way past my bedtime. lol. Thank you!It doesn't matter. If you are using the same currencies, you just use the same coefficients but paying attention to their signs - inverting the sign if the futures symbol is inverted compared to the respective currency pair.
Sorry, I thought you were trying to re-create the same USDX index but using the currency futures instead of currency pairs.Thank you for your patience with me. I'm perhaps not as versed as you so maybe I don't understand something and it is late here in England I understand I need Index Coefficients values to match the index pairs...BUT the markets I wish to track aren't "pairs" specifically but futures contracts ( S&P 500, NASDAQ, DOW and Gold futures ) I understand I still need the coefficient values for the markets to display and this is what I tried perhaps poorly to convey. I'd appreciate one last input from you so I completely understand but take into consideration it's way past my bedtime. lol. Thank you!