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.  


Reply via email to