Here are the four scripts that go along with the TOS dashboard in last week’s post. For MDTN members, these essentially reflect the visual “BBs” (NOT Bollinger Bands … rather think small bullets), and Clifford/Cherry/Stevia indicators which I’ve found to be fantastic visual momentum overlays. Once set, you can remove any MACD or momentum indicators as these take their place. I’ll expand on their use in future posts, yet it should be relatively intuitive, and here’s the resulting visual, using today’s MATD opening as a backdrop.
Scripts:
Name: DM Down-Above
Once loaded, on Data tab, uncheck Show Data Plot, and on “X” tab, set as Boolean, Down Arrow @ High, Line, 2 Width, and orange color.
plot Data = close;
input fastLength = 12;
input slowLength = 26;
input MACDLength = 9;
input averageType = AverageType.EXPONENTIAL;
input showBreakoutSignals = no;
def Value = MovingAverage(averageType, close, fastLength) – MovingAverage(averageType, close, slowLength);
def Avg = MovingAverage(averageType, Value, MACDLength);
def Diff = Value – Avg;
def ZeroLine = 0;
def Condition1 = if
value < avg and
value > Zeroline
then 1 else Double.NaN;
plot x = Condition1;
x.SetPaintingStrategy(paintingStrategy = PaintingStrategy.BOOLEAN_ARROW_UP);
Name: DM Down-Below
Once loaded, on Data tab, uncheck Show Data Plot, and on “X” tab, set as Boolean, Down Arrow @ High, Line, 5 Width, and red color.
plot Data = close;
input fastLength = 12;
input slowLength = 26;
input MACDLength = 9;
input averageType = AverageType.EXPONENTIAL;
input showBreakoutSignals = no;
def Value = MovingAverage(averageType, close, fastLength) – MovingAverage(averageType, close, slowLength);
def Avg = MovingAverage(averageType, Value, MACDLength);
def Diff = Value – Avg;
def ZeroLine = 0;
def Condition1 = if
value < avg and
value < Zeroline
then 1 else Double.NaN;
plot x = Condition1;
x.SetPaintingStrategy(paintingStrategy = PaintingStrategy.BOOLEAN_ARROW_UP);
Name: DM Up-Above
Once loaded, on Data tab, uncheck Show Data Plot, and on “X” tab, set as Boolean, Up Arrow @ Low, Line, 5 Width, and green color.
plot Data = close;
input fastLength = 12;
input slowLength = 26;
input MACDLength = 9;
input averageType = AverageType.EXPONENTIAL;
input showBreakoutSignals = no;
def Value = MovingAverage(averageType, close, fastLength) – MovingAverage(averageType, close, slowLength);
def Avg = MovingAverage(averageType, Value, MACDLength);
def Diff = Value – Avg;
def ZeroLine = 0;
def Condition1 = if
value > avg and
value > Zeroline
then 1 else Double.NaN;
plot x = Condition1;
x.SetPaintingStrategy(paintingStrategy = PaintingStrategy.BOOLEAN_ARROW_UP);
Name: DM Up-Below
Once loaded, on Data tab, uncheck Show Data Plot, and on “X” tab, set as Boolean, Up Arrow @ Low, Line, 2 Width, and orange color.
plot Data = close;
input fastLength = 12;
input slowLength = 26;
input MACDLength = 9;
input averageType = AverageType.EXPONENTIAL;
input showBreakoutSignals = no;
def Value = MovingAverage(averageType, close, fastLength) – MovingAverage(averageType, close, slowLength);
def Avg = MovingAverage(averageType, Value, MACDLength);
def Diff = Value – Avg;
def ZeroLine = 0;
def Condition1 = if
value > avg and
value < Zeroline
then 1 else Double.NaN;
plot x = Condition1;
x.SetPaintingStrategy(paintingStrategy = PaintingStrategy.BOOLEAN_ARROW_UP);