MultiCharts - US Dollar Index Multicharts Indicator
futures io futures trading


Categories Help    

MultiCharts
MultiCharts Downloads / MultiCharts Indicators

Share MultiCharts indicators, EasyLanguage indicators.


Entries
US Dollar Index Multicharts Indicator
After not being able to find a suitable source for this data without another data subscription, I decided to make my own indicator. It calculates the dollar index from 6 forex pairs. Pairs must be entered in the correct sequence to have it calculate properly. I have the six pairs entered and then hidden on the chart so that only the indicator shows.

Indicator txt code:

{US Dollar Index Calculated from Currency Pairs EURUSD, USDJPY, GBPUSD, USDCAD, USDSEK, and USDCHF.

Version 1.0

data1=EURUSD;
data2=USDJPY:
data3=GBPUSD;
data4=USDCAD;
data5=USDSEK;
data6=USDCHF;

Instruments must be entered in above order.

Formula for calculation:

USDx = 50.14348112 * EURUSD^(-0.576) * USDJPY^0.136 * GBPUSD^(-0.119) * USDCAD^0.091 * USDSEK^0.042 * USDCHF^0.036 }

Inputs:

EURUSD( Close Data1 ),
USDJPY( Close Data2 ),
GBPUSD( Close Data3 ),
USDCAD( Close Data4 ),
USDSEK( Close Data5 ),
USDCHF( Close Data6 );

Vars:

USDx(0);

USDx = 50.14348112*Power(EURUSD,(-0.576))*Power(USDJPY,0.136)*Power(GBPUSD,(-0.119))*Power(USDCAD,0.091)*Power(USDSEK,0.042)*Power(USDCHF,0.036);

Plot1 ( USDx, "USDx" ) ;


Category MultiCharts 
 
Suggest other entries I might like
Details: US Dollar Index Multicharts Indicator
Category: MultiCharts 


November 28th, 2014
Size: 3.24 KB
Downloaded: 139 times
 

 
Category
 



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.