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

Re: [amibroker] Re: Trend Deviation



PureBytes Links

Trading Reference Links

The formula that I sent to you Displays a 9 month average( graph1) of the
Division ( graph0), Graph0 = red line , Graph1=blue line, when red line
crosses above blue line, ( bullish ) when crosses below ( bearish ), for you
to have a signal line, which will indicate ( bullish or bearish ) , the 9
month average should be of the first average.

Hope this helps.

Russ Ty wrote:

> Hi Dimitris,
>
> I'm busy playing around with the formula Anthony
> supplied. I was initially referring to a signal line
> based on closing prices, but I would be very
> interested to see how the indicator works when based
> on the division.
>
> Kind regards
> Russ
> --- DIMITRIS TSOKAKIS <TSOKAKIS@xxxx> wrote:
> > Hi Russ,
> > A 36 month moving average will be active if you have
> > data for
> > more than 36 months.
> > A 9 month signal on this average needs at least 45
> > months
> > in your database.
> > Explain please the signal : Will it be a 9month
> > moving average
> > of close value or a 9month moving average of
> > division?
> > This will make your question more clear.
> > Dimitris Tsokakis
> > --- In amibroker@xxxx, Russ Ty
> > <untapped_energies@xxxx> 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
> >
> >
>
> __________________________________________________
> 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/

--------------B5849F372F40BF5348D1AC8B
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Hi Russ;
<p>The formula that I sent to you Displays a 9 month average(<font color="#000099">
graph1</font>)&nbsp; of the Division ( <font color="#CC0000">graph0</font>),
Graph0 = <font color="#CC0000">red line</font> , Graph1=<font color="#000099">blue
line</font>,&nbsp; when red line crosses above blue line, ( bullish ) when
crosses below ( bearish ), for you to have a signal line, which will indicate
( bullish or bearish )&nbsp; ,&nbsp; the 9 month average should&nbsp; be
of the first average.
<p>Hope this helps.
<p>Russ Ty wrote:
<blockquote TYPE=CITE>Hi Dimitris,
<p>I'm busy playing around with the formula Anthony
<br>supplied. I was initially referring to a signal line
<br>based on closing prices, but I would be very
<br>interested to see how the indicator works when based
<br>on the division.
<p>Kind regards
<br>Russ
<br>--- DIMITRIS TSOKAKIS &lt;TSOKAKIS@xxxx> wrote:
<br>> Hi Russ,
<br>> A 36 month moving average will be active if you have
<br>> data for
<br>> more than 36 months.
<br>> A 9 month signal on this average needs at least 45
<br>> months
<br>> in your database.
<br>> Explain please the signal : Will it be a 9month
<br>> moving average
<br>> of close value or a 9month moving average of
<br>> division?
<br>> This will make your question more clear.
<br>> Dimitris Tsokakis
<br>> --- In amibroker@xxxx, Russ Ty
<br>> &lt;untapped_energies@xxxx> wrote:
<br>> > Hi all,
<br>> >
<br>> > I would like to use the following indicator in my
<br>> > analysis: Divide a 15 month moving average by a 36
<br>> > month moving average. I would also like to use a 9
<br>> > month moving average as a signal line.
<br>> Unfortunately,
<br>> > I don't know how to program. Please will someone
<br>> help
<br>> > me with this indicator.
<br>> >
<br>> > Kind regards
<br>> > Russ
<br>> >
<br>> > __________________________________________________
<br>> > Do You Yahoo!?
<br>> > Find a job, post your resume.
<br>> > http://careers.yahoo.com
<br>>
<br>>
<p>__________________________________________________
<br>Do You Yahoo!?
<br>Find a job, post your resume.
<br>http://careers.yahoo.com
<br>&nbsp;
<br>&nbsp;
<p>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/</blockquote>
</html>

--------------B5849F372F40BF5348D1AC8B--

/* 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); /* Red Line ; Division */
Graph1=MA(Graph0,9); /* Blue Line :Signal line, Moving average of Division, when red line crosses above blue ( bullish ) crosses below ( bearish ), */