[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] Trend Deviation



PureBytes Links

Trading Reference Links

Hope this is what you want;

Best Wishes
Anthony

Russ Ty wrote:

> Hi all,
>
> I would like to use the following indicator in my
> analysis: Divide a 15 month moving average by a 36
> month moving average. I would also like to use a 9
> month moving average as a signal line. Unfortunately,
> I don't know how to program. Please will someone help
> me with this indicator.
>
> Kind regards
> Russ
>
> __________________________________________________
> Do You Yahoo!?
> Find a job, post your resume.
> http://careers.yahoo.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/

/* 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;

Graph0=MA(C,15)/MA(C,36);
Graph1=MA(Graph0,9);