that makes no sense to me - which is why I gave you a non-sensical
reply.
Do you mean you want to run a backtest but don't know what the formula
is? Or?
d
On Wed, Jun 24, 2009 at 12:10 PM, Ton Sieverding
<ton.sieverding@scarlet.be>
wrote:
Thanks, no thanks Dingo. I meant just the other
way around. Let's say I want to Backtest an AFL and have jScript with
following code to do that :
AB = new ActiveXObject("Broker.Application"); // Create AB
object
AA =
AB.Analysis; // Get AA object from
AB
AA.ApplyTo
= 1; // Current Symbol
AA.RangeMode =
3; // Use from date for
Backtest
AA.RangeFromDate = SelDate; // Run Backtest from this
date
AA.LoadFormula(ActAFL);
AA.Backtest(0);
How do I get the variable 'ActAFL' ? This
should be the actual AFL ... The problem is that accessing AA does not mean
that you have the active AFL in AA ...
Ton.
----- Original Message -----
Sent: Wednesday, June 24, 2009 5:45
PM
Subject: Re: [amibroker] How to get
the name of a formula in AFL ?
Formula_Name = "Your formula name goes here";
d