PureBytes Links
Trading Reference Links
|
<FONT
size=2>can't you use
DaysClosePrice = <FONT
face="Lucida Console" color=#0000ff>TimeFrameGetPrice<FONT
face="Lucida Console">(<FONT face="Lucida Console"
color=#ff00ff>"C"<FONT
face="Lucida Console">,inDaily);
<FONT face=Arial
size=2>herman
<FONT face=Tahoma
size=2>-----Original Message-----From: ed
[mailto:ed2000nl@xxxxxxx]Sent: Thursday, May 20, 2004 6:58
AMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] last
bar in day, close price
hello,
I want to be able find the close price of
the last bar inside a day using intraday data.
The problem is that if the price stays within a
certain range during the day the position is closed at the close price.
However I need to know what the last bar is of that day otherwise it would
close out the position at the first intraday bar.
The condition therefor becomes:
1) Price is within the range.
2) AND this is the last intraday bar of this
day.
Currently I look one bar ahead to find that it is
the last bar of this day but this is not what I want,
thanks for help,
rgds, Ed Send
BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to
suggest@xxxxxxxxxxxxx-----------------------------------------Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Sponsor
ADVERTISEMENT
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 the Yahoo! Terms of Service.
|