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

[amibroker] Backtesting problem



PureBytes Links

Trading Reference Links

hello,

   mayby it is a stupid question, but i am really hopeless:( I wrote my 
own indicator in Delphi-works great. It purpose is to aproximate price 
movement in the past. I have my simple rules to buy when this 
aproximated price movements crosses 0 and goes up and sell when it 
crosses 0 and goes down. Everything is OK, but when I run backest, 
there is a problem, that this indicator is computed just once, so in 
fact buying signal in the middle of dates is computed using also prices 
after this point. Then  it looks like holy grail, because after 
aproximation aproximated curve is almost the same as the price curve, 
so there is no problem to buy low and sell high. What I want to do is 
that after runnig backets, every tick, it will compute my indicator 
from just past dates and then makes decision and again move one tick 
ahead and compute indicator, makes decisions and so on... I hope u 
undestand what I need, sorry for my english:( and thnak u very much for 
answers;)



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:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/