I'm too early in the Tradeview program to help you but if your'e using the TDI in a EA, you will have a money making machine there. I use one in my present MEME EA but I didn't program it. I am in this program to improve the complete structure of the EA. It works great on time frames that set beautiful higher highs and higher lows which is the H4 & M5 charts. I set my EA to M5 chart using set distances, set times but no other indicators other than 10EMA. Good luck.