PureBytes Links
Trading Reference Links
|
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-----
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx]On
Behalf Of Graham
Sent: October 24, 2006 6:32 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] Performing Backtest from Indicator ParamTrigger()
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
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 <psytek@xxxxxxxx> 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
Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.13.27/517 - Release Date: 11/3/2006
|