PureBytes Links
Trading Reference Links
|
Hi All,
I have been playing around with the following formula
kindly supplied to me by Anthony Faragasso:
* Moving Average Crossover*/
/* Can be used for Daily, Weekly, Monthly*/
/* by changing your chart time frame ( Daily, Weekly,
Monthly )*/
/* Simple Moving Averages */
/* If you want an Exponential Moving Average , Place a
E in front of MA
in all instances*/
MaxGraph=8;
/* You can change these variables to get different
results*/
/* They will be automatically changed in the
formulas*/
MA1=15;
MA2=36;
MA3=9; /* signal line */
Graph0=MA(C,MA1)/MA(C,MA2); /* Red Line ; Division */
Graph1=MA(Graph0,MA3); /* Blue Line :Signal
line, Moving average
of Division, when red line crosses above blue (
bullish ) crosses
below ( bearish ), */
Is there anyway I can lag MA2 by a factor of 10 i.e.
if i was using 36-weeks, could I lag this by 10-weeks?
Kind regards
Russ
__________________________________________________
Do You Yahoo!?
Find a job, post your resume.
http://careers.yahoo.com
|