Thanks
Graham,
yes i
have done that but it is but it gets rather messy during development when code
changes often. I was hoping someone had developped scripts that can do
this.
best
regards,
herman
__._,_.___-----Original Message-----For starters you can set the params to be read by the backtest/analysis window. Try adding staticvarset and conditional statements for if backtest or indicator
From: [email protected] [mailto:[EMAIL PROTECTED]On Behalf Of Graham
Sent: October 24, 2006 6:32 AM
To: [email protected]
Subject: Re: [amibroker] Performing Backtest from Indicator ParamTrigger()
if(status("action")==1) staticvarset("Var1",param("var1",5,1,10,1));
if(status("action")>1) staticvarget("Var1");
Never tried, nor needed to run backtest straight from chart, but you would probably need to set a OLE type interface to run external vbs file. No idea if this is possible
--
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://www.aflwriting.com
On 24/10/06, Herman <[EMAIL PROTECTED]> wrote:Hello,
has anyone written code to perform a Backtest from a ParamTrigger()?
I trade from indicators and often want to have a quick look at how real-trading compares to a Backtest. I would like to do this by having a "Backtest" item in my Indicator Param window that is normally open, so that I can perform a Backtest with a single mouse-click. btw, I know I can do it from the editor menu but I prefer a one-click solution.
Also, if possible, I would like the BT to use the Indicator Param settings so I don't have to always go trough the param list to ensure they are identical.
Many thanks,
herman
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
SPONSORED LINKS
| Investment management software | Investment property software | Investment software |
| Investment tracking software | Return on investment software |
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
__,_._,___
