PureBytes Links
Trading Reference Links
|
The ASX has a market auction similar to pre-open to determine the
official close price. The closing is then timed against ticker
alphabet to stagger them, like market opens. Then ther are the after
market trades beyond this time. It gets more complex as on the last
trade day of each month the auction time is longer.
So normal close would be between 4:05 and 4:08pm, then at month end
4:10 to 4:13pm. These times for example of what happens.
I want to include the actual last trades of official market, and
exclude any further after amrket trades/transfers. There are no trades
between 4:00pm and the auction close. Of course there are also cases
of no trades after 4pm.
Can anyone help with how to write this in AFL.
something like
LateTrade = timenum()== valuewhen( cross( timenum(), 160001 ), timenum() );
UseVol = V * LateTrade;
just not sure how to make certain all the above requirements are met.
TIA
--
Cheers
Graham
http://e-wire.net.au/~eb_kavan/
------------------------ Yahoo! Groups Sponsor --------------------~-->
In low income neighborhoods, 84% do not own computers.
At Network for Good, help bridge the Digital Divide!
http://us.click.yahoo.com/EpW3eD/3MnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~->
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/
|