Normal
I was looking at the Custom Backtest (CBT) interface again this week and learnt something which I thought would be good to share.As usual there is more than one way to do something and here I have discovered 3 ways to do the same thing....wow what is this magic I hear you ask When you have some CBT code you want to run you can do it via one of the below options;Option 1 - on the Analysis settings -- Portfolio tab select you CBT .afl code to load[ATTACH=full]104344[/ATTACH]Option 2 - Insert your CBT code within your main .afl system code[ATTACH=full]104345[/ATTACH]Option 3 - have a single line of code in your main .afl system code which loads your CBT .afl codeSetCustomBacktestProc("c:\\Program Files\\AmiBroker\\Formulas\\Custom\\CBT_CustomBackTest.afl");So there you go, another interesting tip for you to digest or even better share one of your own.
I was looking at the Custom Backtest (CBT) interface again this week and learnt something which I thought would be good to share.
As usual there is more than one way to do something and here I have discovered 3 ways to do the same thing....wow what is this magic I hear you ask
When you have some CBT code you want to run you can do it via one of the below options;
Option 1 - on the Analysis settings -- Portfolio tab select you CBT .afl code to load
[ATTACH=full]104344[/ATTACH]
Option 2 - Insert your CBT code within your main .afl system code
[ATTACH=full]104345[/ATTACH]
Option 3 - have a single line of code in your main .afl system code which loads your CBT .afl code
SetCustomBacktestProc("c:\\Program Files\\AmiBroker\\Formulas\\Custom\\CBT_CustomBackTest.afl");
So there you go, another interesting tip for you to digest or even better share one of your own.
Hello and welcome to Aussie Stock Forums!
To gain full access you must register. Registration is free and takes only a few seconds to complete.
Already a member? Log in here.