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

Re: [amibroker] Re: pass parameters thro ole



PureBytes Links

Trading Reference Links

Title: Re: [amibroker] Re: pass parameters thro ole

Looks like you are looking for afl metric functions too ;-) I also have to run the Backtester twice to get my metrics. 


I Know VERY little about OLE and JS programming. However I use Persistent variables (see UKB) to pass parameters to JS (it reads the files) and I let JS write similar files, or modify existing ones, that are read by AFL. 


Are you an experienced JS programmer? If so, you might be able to develop a better method.


Do you have a GUI for parameters in JS?


herman


 


Saturday, November 8, 2008, 8:26:18 PM, you wrote:


> Hello Herman,


> Can you elaborate more on your method?


> Let's say I have a param in my AFL "metrics.afl".


> lookback = Param("Lookback Period", 14, 1, 252, 1);


> I want to run Analysis twice using OLE via python/jscript with lookback

> set to 14 and 28. Ordinarily in the GUI, I would just click the

> Parameters button in the Analysis window to set the parameter. I am

> looking for a way to do the same via OLE.


> Thanks!






> ------------------------------------


> **** IMPORTANT ****

> This group is for the discussion between users only.

> This is *NOT* technical support channel.


> *********************

> TO GET TECHNICAL 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


> <*> 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@xxxxxxxxxxxxxxx 

>     mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx


> <*> To unsubscribe from this group, send an email to:

>     amibroker-unsubscribe@xxxxxxxxxxxxxxx


> <*> Your use of Yahoo! Groups is subject to:

>     http://docs.yahoo.com/info/terms/



__._,_.___

**** IMPORTANT ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

*********************
TO GET TECHNICAL 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

*********************************




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

__,_._,___