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

[amibroker] first/last 1-minute bar of each day



PureBytes Links

Trading Reference Links

hello group,
 
i want to simulate/backtest a system which closes all positions via MOC. how do i reference the LAST 1-minute bar for each individual day (sometimes my DB has 15:59, sometimes 15:58, sometimes 16:00 etc.)
and how would i code the FIRST 1-minute bar for the day?
 
thanks,
dirk 

 			
---------------------------------
Get your own web address for just $1.99/1st yr. We'll help. Yahoo! Small Business.