Hi there buddy, I found this code here that plots a USDX index using the currencies from your broker market watch, it plots an index identical to the ICE USDX index (indicator attached).
But it plots it on a subwindow of the main chart.
My idea was: can you turn this into a USDX chart generator? This way we could have the index as a main chart, with volume and be able to apply indicators to it (it would aggregate the volume from each currency from the basket, so we can used volume based indicators).
Can you make two versions of it? One using the same currency basket provided in the original code, and another version using only EURUSD, GBPUSD, USDJPY and AUDUSD (so each currency will have equal 25% weight)?
We would drop the indicator in any chart, then it would create an offline chart that would update at every tick. Or it can be a script, your choice.
Best regards