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
<[email protected]>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 -----
> *From:* dingo <[email protected]>
> *To:* [email protected]
> *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
>
> On Wed, Jun 24, 2009 at 10:30 AM, amsiev <[email protected]>wrote:
>
>> Of course there should be some where some how a function that gives me the
>> name of the active formula in AFL. I cannot find it. Any idea ?
>>
>> Thanks, Ton.
>>
>>
>>
>> ------------------------------------
>>
>> **** 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
>>
>>
>>
>>
>
>
> 
>
>

Reply via email to