Sorry for such a simple post, but I couldn't find another community thread about this.

I am trying to create a variable for the price of my asset to assess whether or not it's above a set of indicators. 

I have my BB indicators assigned to self.bb1, bb2, and bb3.

I want to create an if statement that will buy or sell whenever the price is above or below the lower and upper bounds of the Bollinger Bands. 

How do I create this variable for the price? Or is there another way I should go about this that would be more efficient?

Thank you in advance, I love this platform!

Author