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

Re: [amibroker] How can you find out how many ticks have completed in a tick chart?


  • To: <amibroker@xxxxxxxxxxxxxxx>
  • Subject: Re: [amibroker] How can you find out how many ticks have completed in a tick chart?
  • From: "Tomasz Janeczko" <amibroker@xxxxxx>
  • Date: Sat, 19 Feb 2005 21:04:06 +0100

PureBytes Links

Trading Reference Links

Hello,
 
This may or may not work due to QuickAFL and the fact that ticks are counted from day change.
 
More reliable way is:
 
x = BarsSince( Day() != Ref(Day(), -1 ) );
TicksToGo = x % 10;

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
Sent: Saturday, February 19, 2005 6:19 PM
Subject: RE: [amibroker] How can you find out how many ticks have completed in a tick chart?

perhaps
 
TicksToGo = Barcount%10 ?
 
best regards,
herman
 
 
-----Original Message-----
From: sinhavishal [mailto:sinhavishal@xxxxxxxxxxx]
Sent: Saturday, February 19, 2005 12:12 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] How can you find out how many ticks have completed in a tick chart?


I have a tick chart and the current bar comprises of 10 ticks.
How can I find out how many ticks have completed for the current bar
so that I know its going to print. I mean the is complete before
moving to next bar in the chart?

Thanks in advance!
Choco





Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html





Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html





Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html



Yahoo! Groups Sponsor

Get unlimited calls to

U.S./Canada



Yahoo! Groups Links