Ken's Moving Averages
WebEx Study presentation, Starting at 56 Minutes into the presentation (link)
Plots two Exponential Moving Averages against each other.
When the line changes from a Red to a Green that indicates Ready for a buy trigger. Since the market is going up.
If the line changes from a Green to a Red the market is going down.
######################################################
#
# Hodorific Enterprises, inc. (c) 2009
#
# Plots 2 Exponential Moving Averages against each other.
# When the line changes from a Red to a Green that indicates
# Ready for a buy trigger. Since the market is going up. If
# the line changes from a Green to a Red the market is going
# down.
#
###################################################
input fastLength = 20;
input slowLength = 30;
def price = close;
def FastSignal = ExpAverage(price,fastLength);
def SlowSignal = ExpAverage (price,slowLength);
plot fastAvg = FastSignal;
fastAvg.AssignValueColor(if FastSignal>=SlowSignal then Color.UPTICK else Color.DOWNTICK);
plot slowAvg = SlowSignal;
slowAvg.SetDefaultColor(GetColor(4));
slowAvg.Hide();