Trend Advisor Diamond Phase

A forum for all EdgeRater users

Moderator: Chris White

Post Reply
henry1224
Posts: 457
Joined: Wed Feb 24, 2016 12:04 pm

Trend Advisor Diamond Phase

Post by henry1224 »

Here is my version

ML1:=MA(Close,50);
ML2:=MA(Close,200);
RecP:= If((ML1 < ML2 & Close < ML2 & Close > ML1) ,1,0),ColorLightGreen;
WarnP:= If((ML1 > ML2 & Close > ML2 & Close < ML1) ,-1,0),ColorOrange;
AcumP:= If((ML1 < ML2 & Close > ML2 & Close > ML1) ,2,0),ColorGreen;
DispP:= If((ML1 > ML2 & Close < ML2 & Close < ML1) ,-2,0),ColorRed;
BullP:= If((ML1 > ML2 & Close > ML2 & Close > ML1) ,3,0),ColorDarkGreen;
BearP:= If((ML1 < ML2 & Close < ML2 & Close < ML1),-3,0),ColorDarkRed;
PlotUp1: FILLRGN(RecP,0, 1),ExtendLR,Brush#80ADFF2F;
PlotUp2: FILLRGN(AcumP,0, 2),ExtendLR,Brush#8000FF00;
PlotUp3: FILLRGN(BullP,0, 3),ExtendLR,Brush#80008000;
PlotDn1: FILLRGN(WarnP,-1,0),ExtendLR,Brush#80FFA500;
PlotDn2: FILLRGN(DispP,-2, 0),ExtendLR,Brush#80FF0000;
PlotDn3: FILLRGN(BearP,-3, 0),ExtendLR,Brush#808B008B;
henry1224
Posts: 457
Joined: Wed Feb 24, 2016 12:04 pm

Re: Trend Advisor Diamond Phase

Post by henry1224 »

A little info on Chuck Dukas and Trend Advisor Diamond Phase

http://trendadvisor.com/Diamond%20Analysis.html
henry1224
Posts: 457
Joined: Wed Feb 24, 2016 12:04 pm

Re: Trend Advisor Diamond Phase

Post by henry1224 »

This version is for the SPX you can compare it against any stock provided that the symbol $SPX is in the same symbol list as the stock


Under the parameter tab

SYM Symbol $SPX


SC:=Fml(Sym,'C');
ML1:=MA(SC,50);
ML2:=MA(SC,200);
RecP:= If((ML1 < ML2 & SC < ML2 & SC > ML1) ,1,0),ColorLightGreen;
WarnP:= If((ML1 > ML2 & SC > ML2 & SC < ML1) ,-1,0),ColorOrange;
AcumP:= If((ML1 < ML2 & SC > ML2 & SC > ML1) ,2,0),ColorGreen;
DispP:= If((ML1 > ML2 & SC < ML2 & SC < ML1) ,-2,0),ColorRed;
BullP:= If((ML1 > ML2 & SC > ML2 & SC > ML1) ,3,0),ColorDarkGreen;
BearP:= If((ML1 < ML2 & SC < ML2 & SC < ML1),-3,0),ColorDarkRed;
Total:(RecP+WarnP+AcumP+DispP+BullP+BearP),ColorBlack;
PlotUp1: FILLRGN(RecP,0, 1),ExtendLR,Brush#80ADFF2F;
PlotUp2: FILLRGN(AcumP,0, 2),ExtendLR,Brush#8000FF00;
PlotUp3: FILLRGN(BullP,0, 3),ExtendLR,Brush#80008000;
PlotDn1: FILLRGN(WarnP,-1,0),ExtendLR,Brush#80FFA500;
PlotDn2: FILLRGN(DispP,-2, 0),ExtendLR,Brush#80FF0000;
PlotDn3: FILLRGN(BearP,-3, 0),ExtendLR,Brush#808B008B;
henry1224
Posts: 457
Joined: Wed Feb 24, 2016 12:04 pm

Re: Trend Advisor Diamond Phase

Post by henry1224 »

here is a chart Image

there are 2 different indicators, the top indicators are 4 MA rank and the bottom ones are the Trend Advisor Diamond Phase.
the upper ones are for the underlying security and the lower ones are for the SPX.

I would imagine that the higher the correlation between the stock and the SPX all of the indicators would be very comparable.
Post Reply