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

Re: [amibroker] Parameters via context menu vs. Parameters via AutoAnalysis dialog



PureBytes Links

Trading Reference Links

Title: Re: [amibroker] Parameters via context menu vs. Parameters via AutoAnalysis dialog


The Indicator and AA each have their own independent Param window. This is by design. You can use Indicator Parameters in the AA by saving them in Static Variables and reading the static variables back in the AA. You suppress the Param statements in the AA by placing them in an if( Status("action") == 1 ) conditional block. That way they only show in Indicators.


I can't put my fingers on the code i used but some other users are doing this, perhaps someone else can post an example.


Good luck,

herman




Wednesday, September 2, 2009, 7:13:35 AM, you wrote:


> Sorry if it has been discussed already - I honestly tried, but haven't found any traces.


> I have a formula with a trading system which also plots ~~~EQUITY. It uses

> several parameters such as number of periods for MA etc which obviously affect

> both the backtest results and the shapes of various curves in different panes

> (passing the values via StaticVars). My idea was to be able to analyse my

> strategy visually, studying my custom indicator curves with trading arrows

> etc, and examine the backtest results at the same time. 


> I expected that right clicking the pane with underlying formula A and

> choosing Parameters is essentially the same as opening Automatic Analysis

> dialog for formula A and clicking Parameters. But it's not the case, unless I'm missing something fundamental.


> They do look the same. When I add or delete parameters in the formula, both

> abovementioned parameter list change accordingly. But when I change a

> parameter from Analysis dialog it does not automatically change in the pane's

> context menu, and vice versa. In practice it leads to "wiggling" charts. Say,

> I change a parameter from Analysis dialog and click Backtest. The formula is

> run, the results are produced and the charts that use this parameter visually

> change. This is to be expected. But then I click on the chart, the formula is

> run again,  but this time it picks parameters from the pane's context menu,

> which are unchanged, and the chart wiggles back. Therefore I need to change

> parameters in two places, otherwise either my backtest data or visual representation of the strategy is off.


> If anyone has an idea what I might be doing wrong, please share. Or any ideas how to overcome this.


> I'm using v5.20.  





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


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

__,_._,___