PureBytes Links
Trading Reference Links
|
Thanks for the super-fast response Anthony. That seems to have solved
the problem.
Keith (B)
--- In amibroker@xxxx, Anthony Faragasso <ajf1111@xxxx> wrote:
> IN AA:
> Buys = MyRule1;
> Sells = MyRule2;
>
> valueBuys=buys > 0;
> valueSells=sells > 0;
> AddToComposite(ValueBuys,"BS","O");
> AddToComposite(ValueSells,"BS","H");
>
> IN IND BUILD:
> Buys = Foreign("BS","O");
> Sells = Foreign("BS","H");
> Plot(Buys/Sells,"",4,1);
>
>
> I have not tested , but this may work.
>
> Anthony
> kbennett99 wrote:
>
> >
> > I have a problem handling days with no data in the following
> > situation:
> >
> > IN AA:
> > Buys = MyRule1;
> > Sells = MyRule2;
> >
> > AddToComposite(Buys,"BS","O");
> > AddToComposite(Sells,"BS","H");
> >
> > IN IND BUILD:
> > Buys = Foreign("BS","O");
> > Sells = Foreign("BS","H");
> > Plot(Buys/Sells,"",4,1);
> >
> > How do I eliminate days with no data (holidays etc) which result
in
> > the plot droping to zero on those days?
> >
> > Keith (B)
> >
> >
> > Yahoo! Groups Sponsor
> ADVERTISEMENT
> [Click Here!]
> >
> > Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service.
|