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

Re: [amibroker] disappearing arrows?



PureBytes Links

Trading Reference Links

This was my 1st thought, but couldn't find any ref...:

/* my sell ma down price up sell cci*/

t=48;

now=ma(close,t);
en1=ref(ma(close,t),-1);
en2=ref(ma(close,t),-2);
e3=ref(ma(close,t),-3);
e5=ref(ma(close,t),-5);
e10=ref(ma(close,t),-7);
e15=ref(ma(close,t),-9);

er1=now-en1;
er2=en1-en2;
er3=en2-e3;

e1=now-e5;
e2=e5-e10;
e4=e10-e15;

r=ma(close,t)/e3;
d=close/ma(close,t);
e=ma(close,2)/ma(close,20);

bt=bbandtop(close);
rel=close/bt;

p=1.006;
k=10;

vrsi = rsi( 14 );

m200=ma(close,200);
m100=ma(close,100);

barnumber = cum( 1 );
lastbar = barnumber == lastvalue( barnumber )-1;

sell=e5<e10 and e10<e15 and r<p and e>1 and e1>e2 and e2>e4 and now/e10<0.98
and er1>er2 and d>0.95 and rel>0.89 and rel<1.11;


buy=cross( cci(14), -60 ) or cross(m100,m200) or lastbar;

p.s. "barnumber-1" because I sell next day at open.

Tomasz Janeczko wrote:

> Hi,
>
> Please send the formula. Maybe you are referencing future quotes
> in it?
>
> Best regards,
> Tomasz Janeczko
>
> > Hi,
> >
> > I had a red sell arrow in IMNX, so I shorted the bastard.
> >
> > Once I added another day to IMNX historical data, the red arrow
> > disappeared! How can it be?
> >
> > thanks,
> >
> > Isaac.
> >
> >
> >
> >
> > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
> >
> >
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/