PureBytes Links
Trading Reference Links
|
I have 2 questions.
1. I have loaded an AFL formula like the one below inside the
Automatic Analysis window and I wanted to do an Individual
Backtest with the TimeFrameSet( inHourly ) option, but when
I do the Backtest the results come out in TimeFrameSet( inDaily ).
How can I do the Backtest with TimeFrameSet( inHourly ) ?
// *** AFL Formula , the code for aeVWMA is not listed *** //
sharesFloat = Param("Shares Floating", 2, 0, 20, 0.5 );
SmoothValue = Param("Smoothing period", 8, 1, 20, 0.5);
PositionSize = 5000; // invest $5000 into single security
TimeFrameSet( inHourly ); // switch now to hourly
beVWMA = aeVWMA( Close, Volume, 4);
Buy = Cross(beVWMA, EMA(beVWMA, 8));
Sell = Cross(EMA(beVWMA, 8), beVWMA);
// *** ------------------------------------------------- *** //
2. Is it possible to use a JScript and the COM interface to
perform an Individual Backtest on a database and modify the Param
values for the above AFL formula and export the data to *.csv file ?
If the answer is yes, where can I find the info to do so ?
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.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/
|