****Aroon Histogram (I set it to 150 or 200)**** Code Below. plot Data = close;#Tommy Staab declare lower; input length2 = 100; def up_index2 = GetMaxValueOffset(data = high, length = length2); def down_index2 = GetMinValueOffset(data = low, length = length2); def Up2 = (length2 - up_index2) * 100.0 / length2; def Down2 = (length2 - down_index2) * 100.0 / length2; def alert = (close); def alert2 = (close); plot signal = if up2 < down2 then alert else double.nan; plot signal2 = if up2 > down2 then alert2 else double.nan; signal.setdefaultcolor(color.red); signal.SetPaintingStrategy(PaintingStrategy.HISTOGRAM); signal2.setdefaultcolor(color.green); signal2.SetPaintingStrategy(PaintingStrategy.HISTOGRAM); ****Multiple Time Frame MACD with 3 filtering periods.**** I use default settings. Code below. # # thinkorswim, inc. (c) 2007-2009 # declare lower; input fastLength = 10; input slowLength = 30; input MACDLength = 15; def fastAvg = ExpAverage(data = close, length = fastLength); def slowAvg = ExpAverage(data = close, length = slowLength); def Value = fastAvg - slowAvg; def Avg = ExpAverage(data = Value, length = MACDLength); input fastLength2 = 30; input slowLength2 = 90; input MACDLength2 = 45; def fastAvg2 = ExpAverage(data = close, length = fastLength2); def slowAvg2 = ExpAverage(data = close, length = slowLength2); def Value2 = fastAvg - slowAvg; def Avg2 = ExpAverage(data = Value, length = MACDLength2); input fastLength3 = 120; input slowLength3 = 360; input MACDLength3 = 180; def fastAvg3 = ExpAverage(data = close, length = fastLength3); def slowAvg3 = ExpAverage(data = close, length = slowLength3); def Value3 = fastAvg3 - slowAvg3; def Avg3 = ExpAverage(data = Value3, length = MACDLength3); def up1 = value > 0; def up2 = value2 > 0; def up3 = value3 > 0; def down1 = value < 0; def down2 = value2 < 0; def down3 = value3 < 0; plot mtfmacd = if(IsNaN(close), double.nan, 0); mtfmacd.assignvaluecolor(if up1 and up2 and up3 then color.green else if down1 and down2 and down3 then color.red else color.gray); mtfmacd.SetPaintingStrategy(PaintingStrategy.POINTS); mtfmacd.setlineWeight(3);