Adding pips to a MA.

 

I am trying to place a trade in a band between a MA and pips added to the MA using the ATR. So say I want to open a trade only between the MA and X pips added to it. Will the code below work? Is ATR always a value returned in pips that can be added to price directly without any type of conversion?

Bid > MA and Bid < ( MA + iATR )

 

Is this correct?

Thank you. 

Reason: