美元指数
50.14348113*pow(ask(EURUSD),-0.576)*pow(ask(USDJPY),0.136)*pow(ask(GBPUSD),-0.119)*pow(ask(USDCAD),0.091)*pow(ask(USDSEK),0.042)*pow(ask(USDCHF),0.036)
欧元指数
以纽约期货交易所为标准
34.38805726 *pow(ask(EURUSD),0.3155)*pow(ask(EURGBP),0.3056)*pow(ask(EURJPY),0.1891)*pow(ask(EURCHF),0.1113)*pow(ask(EURSEK),0.0785)
同理,完全可以把货币对拆成货币指数,比如JPYX,由几个日元的货币对编写日元指数,然后通过指数的走势去选择要做的货币对