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

Re: [amibroker] indicators



PureBytes Links

Trading Reference Links

hmm you make it look so easy i just spent hour playing with Donald Dalley
without the right result :)

thanks once again
----- Original Message -----
From: "Tomasz Janeczko" <tj@xxxx>
To: <amibroker@xxxxxxxxxxx>
Sent: Thursday, December 28, 2000 9:15 PM
Subject: Re: [amibroker] indicators


> Hello,
>
> It is simple - for example to check if MACD is rising for two days in a
row
> just check if today MACD is greater than yesterday's and yesterday's MACD
is greater
> then MACD the day before yesterday. And do the same for stochastic. Then
> to check if both conditions are met just join them using 'AND' operator.
>
> The whole formula for buy signal is as follows:
>
> macdisrising = macd() > ref( macd(), -1 ) and ref( macd(), -1 ) > ref(
macd(), -2 );
> stochisrising = stochd() > ref( stochd(), -1 ) and ref( stochd(),-1 ) >
ref( stochd() , -2 );
>
> buy = macdisrising AND stochisrising;
>
> Best regards,
> Tomasz Janeczko
> ===============
> AmiBroker - the comprehensive share manager.
> http://www.amibroker.com
>
>
> ----- Original Message -----
> From: David <dtholz@xxxx>
> To: <amibroker@xxxxxxxxxxx>
> Sent: Thursday, December 28, 2000 10:51 AM
> Subject: [amibroker] indicators
>
>
> > Tomasz and others
> > hope post xmas leave you all well not to much food and drink .....now
> > thats hard.....
> >
> > I want to build an indicator that will
> > tell me when the macd is rising and if it is, is the Stochastic Slow
> > also rising
> > both indicator are in ami afl folder but i was hoping to build
> > something that will do multi searches ...
> >
> > thanks David
> >
> >
> >
> >
> >
> >
>
>
>
>
>
>
>