Is there any indicator to measure Moving Average slope and display strength of trend.

#1
Trading with the help of a trading system keeping in mind the slope of 200 Moving Average and estimating the strength of the current trend and displaying the parameters on the chart can be very useful..........

200 Moving Average rising up:
- Slope of the line is above 45 degrees then trend very strong
- Slope of the line is below 45 degrees then trend strong
- Slope of the line is below 10 degrees then current trend may come to end
- Slope of the line is almost 0 degrees then No Trend and wait for next move

200 Moving Average falling down:
- Slope of the line is below 315 degrees then trend very strong
- Slope of the line is above 315 degrees then trend strong
- Slope of the line is above 350 degrees then current trend may come to end
- Slope of the line is almost 380 degrees then No Trend and wait for next move


Can someone please share the afl if it exist.........
 
#2
Re: Is there any indicator to measure Moving Average slope and display strength of tr

An MA is not a line it is a curve,

so if you want to find the slant, you will have to convert it into a line . . .

A simple way to define a line is use 2 points . . .

so in your case, if one point is today, you will have to decide how far back will the second point be?

Now depending upon this choice the slope of the same moving average will vary vastly . . .

Instead of finding the slope, use RoC of that MA, it captures the displacement between 2 points

SM
 

umeshmandal

Well-Known Member
#3
Re: Is there any indicator to measure Moving Average slope and display strength of tr

May be something like this :

SetChartBkGradientFill(1,23);
_SECTION_BEGIN("Behgozin Slope Finder");

Tr2 = Ref(C,1);
Tr3=Ref(C,7);
Trend2 = MA(Tr2,7);
Trend3=MA(Tr3,7);
Slope=((Trend3-Trend2)/Trend3)*100;
Plot(Slope,"Buy When Slope was positive and sell when became negative",colorYellow,styleLine+styleDots|styleThick);
Tr4 = Ref(C,7);
Tr5=Ref(C,15);
Trend3 = MA(Tr4,15);
Trend4=MA(Tr5,15);
Slope=((Trend4-Trend3)/Trend4)*100;
Plot(Slope,"",colorGreen,styleLine+styleDots|styleThick);
Plot(0,"",colorWhite,styleLine);
_SECTION_END();
 
#5
Re: Is there any indicator to measure Moving Average slope and display strength of tr

Thanks.......Look to be good for me......need to study it before I can use.

May be something like this :

SetChartBkGradientFill(1,23);
_SECTION_BEGIN("Behgozin Slope Finder");

Tr2 = Ref(C,1);
Tr3=Ref(C,7);
Trend2 = MA(Tr2,7);
Trend3=MA(Tr3,7);
Slope=((Trend3-Trend2)/Trend3)*100;
Plot(Slope,"Buy When Slope was positive and sell when became negative",colorYellow,styleLine+styleDots|styleThick);
Tr4 = Ref(C,7);
Tr5=Ref(C,15);
Trend3 = MA(Tr4,15);
Trend4=MA(Tr5,15);
Slope=((Trend4-Trend3)/Trend4)*100;
Plot(Slope,"",colorGreen,styleLine+styleDots|styleThick);
Plot(0,"",colorWhite,styleLine);
_SECTION_END();
 
#6
Re: Is there any indicator to measure Moving Average slope and display strength of tr

Thanks.......Look to be good for me......need to study it before I can use.
Has to be good, because looks into future and repaints :lol:

Don't ever use anything that looks into future,

except perhaps for fun, never for trading

Tr2 = Ref(C,1);Tr3 = Ref(C,7);
Tr4 = Ref(C,7);Tr5 = Ref(C,15);

all refer to future quotes . . .


SM
 

DSM

Well-Known Member
#7
Re: Is there any indicator to measure Moving Average slope and display strength of tr

Quite agree. Praveen you need to be careful. Theory and practice are quite different. MA curve in real time will be very different from what appears after. Saying this, though MA is part of my trading tool.

Has to be good, because looks into future and repaints :lol:

Don't ever use anything that looks into future,

except perhaps for fun, never for trading

Tr2 = Ref(C,1);Tr3 = Ref(C,7);
Tr4 = Ref(C,7);Tr5 = Ref(C,15);

all refer to future quotes . . .


SM
 
#8
Re: Is there any indicator to measure Moving Average slope and display strength of tr

Has to be good, because looks into future and repaints :lol:

Don't ever use anything that looks into future,

except perhaps for fun, never for trading

Tr2 = Ref(C,1);Tr3 = Ref(C,7);
Tr4 = Ref(C,7);Tr5 = Ref(C,15);

all refer to future quotes . . .


SM


Quite agree. Praveen you need to be careful. Theory and practice are quite different. MA curve in real time will be very different from what appears after. Saying this, though MA is part of my trading tool.

Quote:
Originally Posted by Trading4Living View Post
Has to be good, because looks into future and repaints

Don't ever use anything that looks into future,

except perhaps for fun, never for trading

Tr2 = Ref(C,1);Tr3 = Ref(C,7);
Tr4 = Ref(C,7);Tr5 = Ref(C,15);

all refer to future quotes . . .


SM


Thanks guys for warning me.....ur suggestion will be very helpful..........Is there any way to stop this code from looking into future and make it more stable though we may have to face some failure trades........just looking for some programme to give good success rate of 60% profit trades.
 

Similar threads