PureBytes Links
Trading Reference Links
|
Hi,
I am backtesting in 1 min timeframe with 2 yrs of data. When I use
the function Timeframeset and Timeframerestore. It only gives me a
month worth of backtest. The lower the timeframe i set it to, the
more back the backtesting does.
Has anyone experieced this? Can someone plesae help me?
Below is the code:
TimeFrameSet( 3*in1Minute );
rsi3min = rsi(10);
TimeFrameRestore();
TimeFrameSet( in15Minute );
rsi15min = rsi(10);
TimeFrameRestore();
Buy= (BarIndex() > 100)
AND (rsi3min < 20)
and (rsi15min < 20)
;
BuyPrice= Ref(H,-1);
Buy= (Ref(Buy, -1)) AND (H>Ref(H,-1)) ;
Sell = (rsi3min > 80 ) ;
SellPrice= O;
Sell= ( Ref(Sell,-1) );
THANKS!!!
------------------------------------
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/
|