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

[amibroker] Re: anyone have code for a countdown timer ... here is a nice one



PureBytes Links

Trading Reference Links

Steve,

Hey the file is apparently too big to post (even though it is really
small) so if you want I can email it to you.  Write me at
axled@xxxxxxx if you want it.

--- In amibroker@xxxxxxxxxxxxxxx, "Steve Dugas" <sjdugas@xxxx> wrote:
> Hi Alex,
> 
> Did you forget to attach the file? I ask because I did not receive any 
> attachment with your e-mail, and when I went to the Yahoo site to
look at 
> your message, I not not see any any indication that there was ever an 
> attachment. Meanwhile, after installing the latest batch of Windows 
> hotfixes, Dell Security is popping up a message that I *may have* an
error 
> on my computer that prevents me from seeing certain attachments. I
am trying 
> to determine if I need to install the fix for this. Thanks very much!
> 
> Steve
> 
> ----- Original Message ----- 
> From: "Alex Dolaptchiev" <axle_d@xxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Sunday, June 19, 2005 2:02 AM
> Subject: [amibroker] Re: anyone have code for a countdown timer ...
here is 
> a nice one
> 
> 
> >I have attached a Countdown Timer file
> >
> > --- In amibroker@xxxxxxxxxxxxxxx, "cfe55" <cfe55@xxxx> wrote:
> >> What about tick charts? This is for the minute charts, if I am not
> > wrong?
> >>
> >> --- In amibroker@xxxxxxxxxxxxxxx, "hoolee0820" <hoolee0820@xxxx>
wrote:
> >> > I have this little piece of code that I use on my charts:
> >> >
> >> > ////////////////////////////////// timer
> >> > thisbar = TimeNum();
> >> > nextbar = thisbar+(Interval()/60*100);
> >> > systime = Now(4)+30000; //pt time zone
> >> > systime = IIf(systime>=240000,systime-240000,systime);
> >> > anewbar = nextbar-systime-40;
> >> > nnewbar = LastValue(anewbar);
> >> > if (nnewbar > 20) timercode = anewbar;
> >> > else timercode = EncodeColor(colorBrightGreen)+anewbar;
> >> > ////////////////////////////////// timer
> >> >
> >> > title = title + "   " + timercode;
> >> > this adds the countdown timer to Title, watch it turns green
when 20
> >> > seconds or less are left in current bar (woodies CCI people like
> >> > this). If you are auto trading, use (nnewbar <= 5) to trigger the
> >> > trade when 5 seconds or less are left.
> >> >
> >> > You can get fancier with timer display, you can also write
something
> >> > to add the data feed lagging time, etc. but simplicity and
speed are
> >> > more important to me.
> >> >
> >> > Don't forget to synchronize your clock if your os doesn't do it for
> >> > you.
> >> >
> >> > Good luck.
> >> >
> >> > HL
> >> >
> >> > --- In amibroker@xxxxxxxxxxxxxxx, "coba702002" <coba702002@xxxx>
> >> > wrote:
> >> > > Anyone willing to share their code for a countdown timer that
i can
> >> > put
> >> > > in an indicator for various time frames from one to 30 minutes???
> >> > >
> >> > > thanks
> >
> >
> >
> >
> >
> > 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 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 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/

<*> 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/