No idea friend. I just use it to chart and analyze spreads of all kinds. However, I had to outsource the lions share of that task to ThinkScript because I don't know how to do custom studies or scripts with TWS or the API. You'll have to research those functionalities. This might help.