Hi, I'm having a simple trouble. Using the Bootcamp "200-50 EMA Momentum Universe" I tried to add a Keltner Channel, but I'm having a problem. I know what's the problem but I'm not sure how to fix it.

I want to add a keltner channel to the SelectionData() class but I can't just added the same way as the other Exponential Moving Averages, the reason is because those indicators use just one price (for example closing price), while Keltner Channel use "IBaseDataBar", meaning the whole trade bar. This is because it use High, Low, Open and Close to calculate the different values of Middle Band, ATR, Upper band and Lower Band

Can someone show me how to add the keltner channel the right way in this code? I want the keltner Channel to be ready to use latter. It would be appreciated!

 

 

Author