I have been modifying an indicator but can't get one thing to work, and respectfully requesting assistance. I took a Volatility Band indicator and modified it to have seperate inputs for the upper and lower bands and added the color change depending on being above or below the bands. I have been testing it out in this way: I look at this Vol_Band and if the bar is over the upper band NO TRADE and if it's under the lower band then take a half risk position. Also testing a pull back, if the candle closed with a red volatility bar, no trade but if the next candle closes at a better price and everything still says go and the vol_band is green go for it. Anyway what I am having trouble with is, I am trying to get the MA for the bands to not calculate the current candle, so each bar is compared to the ma of x number of days before and not including that bar. I get large bars that should be outside the band but the MA includes that bar in its calulation and keeps the bar inside. Hope this makes sense. ...... Solved...BandShift, thank you