To install the indicator on ThinkorSwim, open "Edit Studies and Strategies". Then click create. Then paste in the below code. # TS_MACD_BB # By Eric Purdy, ThinkScripter LLC # http://www.thinkscripter.com # thinkscripter@gmail.com # Last Update 07 Feb 2011 declare lower; input price = close; input BBlength = 10; input BBNum_Dev = 1.0; input MACDfastLength = 12; input MACDslowLength = 26; input MACDLength = 5; def MACD_Data = MACD(fastLength = MACDfastLength, slowLength = MACDslowLength, MACDLength = MACDLength); plot MACD_Dots = MACD_Data; plot MACD_Line = MACD_Data; plot BB_Upper = reference BollingerBands(price = MACD_Line, length = BBlength, Num_Dev_Dn = -BBNum_Dev, Num_Dev_Up = BBNum_Dev).UpperBand; plot BB_Lower = reference BollingerBands(price = MACD_Line, length = BBlength, Num_Dev_Dn = -BBNum_Dev, Num_Dev_Up = BBNum_Dev).Lowerband; plot BB_Midline = reference BollingerBands(price = MACD_Line, length = BBlength, Num_Dev_Dn = -BBNum_Dev, Num_D