My ESPL Dollar Index script so far, using the CME Globex forex futures feeds from Interactive Brokers.
procedure MyCustomSymbol;
var
eur, jpy, gbp, cad, sek, chf: real; {the six symbols variables (1-6): EUR, JPY, GBP, CAD, SEK, CHF}
thepower:real; {swap variable used for powers}...