PureBytes Links
Trading Reference Links
|
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@xxxxxxxxxx> 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
__._,_.___
**** 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/
__,_._,___
|