Hello,

You can not change it from AFL because then you will get chicken-and-egg problem
(code is already running with built-in arrays being setup for given interval 
and you
change it - so code has to re-initialize everything and start from the 
beginning).

The interval can be only set from the outside (like external JScript) using OLE 
automation.

TimeFrameSet of course works in AA but its application is different: to MIX 
different
time frames in single formula http://www.amibroker.com/guide/h_timeframe.html


Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "murthysuresh" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, September 07, 2007 8:34 PM
Subject: [amibroker] Re: setparam and periodicity


> the analysis windows uses the timeframe used in the parameters tab to 
> do the scan/explore/backtest. when using afl, there is obviously ways 
> to change the options in the paremeters tab except for "Periodicity"
> i do not belive that timeframeset and timeframerestore is used when 
> you are using the analysis window. They are used when it is run as a 
> indicator only
> If i am wrong. let me know. infact i tried to do some guess work and 
> it kicked me with error. <code>SetOption
> ( "Periodicity",in1Minute  );</code>
> 
> 
> 
> --- In [email protected], "danielwardadams" 
> <[EMAIL PROTECTED]> wrote:
>>
>> seede,
>> Are timeframeset and timeframerestore what you're looking for?
>> 
>> Dan
>> 
>> --- In [email protected], "murthysuresh" <money@> wrote:
>> >
>> > Hello
>> > I could not find any options to change the periodicity using AFL 
> for 
>> > the backtester settings. Am i right or i am not looking at the 
> right 
>> > spot. I amlooking at the user guide pdf file.
>> > Appreciate ur input.
>> > 
>> > seede
>> >
>>
> 
> 
> 
> 
> Please note that this group is for discussion between users only.
> 
> To get support from AmiBroker please send an e-mail directly to 
> SUPPORT {at} amibroker.com
> 
> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
> 
> For other support material please check also:
> http://www.amibroker.com/support.html
> 
> Yahoo! Groups Links
> 
> 
> 
> 
>

Reply via email to