[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] How to get the name of a formula in AFL ?



PureBytes Links

Trading Reference Links



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
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 <ton.sieverding@scarlet.be> 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

<*> To visit your group on the web, go to:
   http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
   Individual Email | Traditional

<*> To change settings online go to:
   http://groups.yahoo.com/group/amibroker/join
   (Yahoo! ID required)

<*> To change settings via email:
   mailto:amibroker-digest@yahoogroups.com
   mailto:amibroker-fullfeatured@xxxxxxxxxxxxcom

<*> To unsubscribe from this group, send an email to:
   amibroker-unsubscribe@xxxxxxxxxxxxcom

<*> Your use of Yahoo! Groups is subject to:
   http://docs.yahoo.com/info/terms/




__._,_.___


**** 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/





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

__,_._,___