Below >>
--
Terry
-----Original Message-----
Subject: [amibroker] Intra-day bars
Hello,
does anyone know how intra-day data is handled in Amibroker? For
example - if you get 5 minute data feed, is it given and intepreted as
one bar that represents what happened in a 5 minute period? i.e.
O,H,L,C for each 5 minute period.
>>YES, this is correct.
Also when using Amibroker in real time trading, how do you for
example, base a trailing stop on yesterdays High while using intra-day
bars to generate entry/exit signals?
>>One way to do this:
openBar = DayOfWeek() != Ref(DayOfWeek,-1);
PriorClose = ValueWhen(openBar,Ref(C,-1),1);
In backtest i use daily data so I only need to do ref(High,-1) to get
yesterdays high, but this won't work using intra-day bars.
Any ideas are appreciated.
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:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/