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

Re: [amibroker] Re: customization of backtesting results



PureBytes Links

Trading Reference Links

Hi there,

I did not figure out how to pass a value from my system.afl to my
custom_backtesting.afl

Now I can call custom_backtesting.afl using SetCustomBacktestProc from
any system.afl.

But I want to be able to pass different values to my
custom_backtesting.afl from different systems.afl without changing
custom_backtesting.afl code.

I really do not know how to do it. Any ideas?

Thank you,

Radek

On Fri, Mar 20, 2009 at 7:00 PM, Mike <sfclimbers@xxxxxxxxx> wrote:
> 1. Have a look at custom metrics.
> http://www.amibroker.com/guide/a_custommetrics.html
>
> 2. You can refer to any defined variable from within your custom backtest
> code. Those variables can be defined in any .afl file and #include into the
> current .afl
> http://www.amibroker.com/guide/afl/afl_view.php?id=1
>
> 3. Divide your logic into modular files and #include as needed. e.g.
> buysell.afl, backtest.afl (#include's buysell.afl), explore.afl (#include's
> buysell.afl).
>
> Mike
>
> --- In amibroker@xxxxxxxxxxxxxxx, Radek Simcik <radek.simcik@xxx> wrote:
>>
>> hi all,
>>
>> could anybody give me a hint how I can add
>> - position score
>> - results per ticker not per trade
>> - trigger date
>>
>> to my backtesting result window?
>>
>> Also is there any way how I can pass parameter to my customized
>> backtester afl from my system afl? In case I want to have two separate
>> afl files?
>>
>> I want to have one special condition in my exploration but not in my
>> backtest/optimization. Is there any way I do not have to take care of
>> it manually?
>>
>> Thank you,
>>
>> Radek
>>
>
> 


------------------------------------

**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to 
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

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/