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

[amibroker] Optimizer results "0.00" and "N/A"



PureBytes Links

Trading Reference Links




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@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.