PureBytes Links
Trading Reference Links
|
Hi intermilan04,
Thursday, November 24, 2005, 4:26:01 PM, you wrote:
i> Hi all,
i> I'm quite new to AmiBroker but I'm having a delay problem with the
i> backtester.
i> Say I have a very simple system like the following:
i> Buy = Cross(30, RSI());
i> Sell = Cross(RSI(), 30);
i> I'm trying to buy a stock when RSI falls below 30, and sell when RSI
i> goes above 30.
Okay, but RSI() has a look back period that is adjustable. You need
to set it. What RSI do you want to use?
You might try Buy = Cross(30, RSI(14)); -- for example.
i> When I run the backtester with Buy/Sell delay 0, the Backtester buys
i> stocks at the open, on the day where the CLOSE price would signal the
i> system.
You can set Buyprice = Close;
You can also SetTradeDelays (see help on this).
Yuki
------------------------ Yahoo! Groups Sponsor --------------------~-->
Try Online Currency Trading with GFT. Free 50K Demo. Trade
24 Hours. Commission-Free.
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~->
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 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/
<*> 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/
|