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

RE: [amibroker] code problem



PureBytes Links

Trading Reference Links




Hi 
there again !
<SPAN 
class=875035214-02072004> 
I went 
back to the manual ( good ole F1 ) and found a function:  <FONT 
size=3><FONT 
face="Times New Roman">TimeFrameSet( interval 
)   this seems to be the solution to my problem... I think 
!
<SPAN 
class=875035214-02072004> 
Keep 
well and " may the trend be with you "
<SPAN 
class=875035214-02072004> 
Louw 
Coetzer
<SPAN 
class=875035214-02072004> 



<SPAN 
class=875035214-02072004> 
<FONT face=Tahoma 
size=2>-----Original Message-----From: Louw-Roux Coetzer 
[mailto:lcoetzer@xxxxxxxxxxxx]Sent: 02 July 2004 04:42 
PMTo: Amibroker@xxxxxxxxxxxxxxxSubject: Back testing 
HelpImportance: High
Hallo Everyone 
!
<FONT face=Arial 
size=2> 
I have not been in 
here for ages, hope everything is still going strong ... I see AmiBroker has 
improved with leaps !
<FONT face=Arial 
size=2> 
I wish to know if 
anyone could direct me to some posts with regards to using daily data in 
combination with say 15 minute data in a blackest.  What I plan on scanning 
is as follows.
<FONT face=Arial 
size=2> 
I simply want the 
system to enter the market on the 15 min chart if the price breaks higher than 
yesterday's high and short a position if the price breaks below yesterday's 
low.
<FONT face=Arial 
size=2> 
Extra 
Info:
<FONT face=Arial 
size=2> 
  Each day starts at 
  0H00:00 hours and ends the same ... thus the high and low of the previous 
  period and not the latest one is needed.
<FONT face=Arial 
size=2> 
<FONT face=Arial 
size=2> 
I have tried ( 
obviously not enough ) methods, but just can not get it to work properly 
...
<FONT face=Arial 
size=2> 
Also am I correct to 
say that the "buyprice" AFL facility gives me the opportunity 
to customise the entry price...in other words in the above mentioned "system" 
could I use it to this effect:
<FONT face=Arial 
size=2> 
buyprice = 
ref(h,-1);
buy =  < buy 
scenario ...>
<FONT face=Arial 
size=2> 
will it then use 
yesterdays HIGH instead of the default close or open or whatever the settings 
are for ?
<FONT face=Arial 
size=2> 
Thank you in advance 
!
<FONT face=Arial 
size=2> 
Kind 
regards
<FONT face=Arial 
size=2> 
<FONT face=Arial 
size=2>Louw has notified the sender that this message has been received.


Check AmiBroker web page at:
http://www.amibroker.com/

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.