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

[amibroker] Re: How do I plot this ???



PureBytes Links

Trading Reference Links

Graham,

Yes, that is what I want. The signal is today and I want to change 
the color of the bar 5 days ago.

I will try what you suggest.

Thanks,

Bill

--- In amibroker@xxxxxxxxxxxxxxx, Graham <kavemanperth@xxx> wrote:
>
> I assume you mean the trigger is on the last bar and you want 6 
bars
> back to show the change on the 6th bar back
> You would need to add condition that the bar is at least 6 bars 
from
> end of chart, eg
> Signal = ref(trigger,5) AND barindex()<=(Barcount-1-5);
> Otherwise I do not understand properly
> -- 
> Cheers
> Graham Kav
> AFL Writing Service
> http://www.aflwriting.com
> 
> 
> 
> On 15/08/07, billbarack <wbarack@xxx> wrote:
> > Graham,
> >
> > Thanks. That will work almost everywhere, except for the last bar
> > where my main concern lies.
> >
> > Any other ideas?
> >
> > Bill
> >
> > --- In amibroker@xxxxxxxxxxxxxxx, Graham <kavemanperth@> wrote:
> > >
> > > use Ref with positive period to look into future
> > >
> > > --
> > > Cheers
> > > Graham Kav
> > > AFL Writing Service
> > > http://www.aflwriting.com
> > >
> > >
> > >
> > > On 15/08/07, billbarack <wbarack@> wrote:
> > > > All,
> > > >
> > > > I want to evaluate a condition today and if it is met, 
specify a
> > > > change in the color of the bar 5 days ago.
> > > >
> > > > Any comments on how to do this?
> > > >
> > > > Thanks,
> > > >
> > > > Bill
> > > >
> > >
> >
> >
> >
> >
> > Please note that this group is for discussion between users only.
> >
> > To get support from AmiBroker please send an e-mail directly to
> > SUPPORT {at} amibroker.com
> >
> > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> > http://www.amibroker.com/devlog/
> >
> > For other support material please check also:
> > http://www.amibroker.com/support.html
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
>




Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/