andwilson
Private Group
Posts: 43
Received Likes: 13
|
Post by andwilson on Aug 30, 2016 14:25:14 GMT
Open two Analysis using diferent AFLs, let say
AFL_MA per = Param("Period",20,10,30,1); mm = MA(C, per); Filter = C > mm;
and
AFL_EMA per = Param("Period",20,10,30,1); mm = EMA(C, per); Filter = C > mm;
Click the parameter button of Analysis and change period to 25, select other Analysis and period of other AFL is changed to 25 too.
|
|
fxshrat
Private Group
Posts: 566
Received Likes: 211
|
Post by fxshrat on Aug 30, 2016 14:59:07 GMT
This is not a bug but it is expected behaviour.
Param functions are bound to ChartID. Basically originally all param functions were made for charts.
Since chartID for all analysis windows are zero it means that if having same param description in two or more different AFLs and if you apply them in two analysises then you will get outcome that you have observed in post #1.
|
|
fxshrat
Private Group
Posts: 566
Received Likes: 211
|
Post by fxshrat on Aug 30, 2016 15:04:04 GMT
One thing you could do is searching for gParam functions on Yahoo list and apply the AFLs to separate chart panes. Then from chart pane apply same each AFL to analysis. Params are changed from chart pane.
|
|
fxshrat
Private Group
Posts: 566
Received Likes: 211
|
Post by fxshrat on Aug 30, 2016 15:06:36 GMT
Best option for analysis is using hard coded params.
You don't even have to click "save" after each change. Just change param then hit explore/scan/backtest or whatever. AB automatically saves new AFl state before analyising.
|
|
fxshrat
Private Group
Posts: 566
Received Likes: 211
|
Post by fxshrat on Aug 30, 2016 17:06:39 GMT
|
|
andwilson
Private Group
Posts: 43
Received Likes: 13
|
Post by andwilson on Aug 30, 2016 19:17:55 GMT
Never said it was a bug! But it is something that if you forget you might get unezpected results
|
|
fxshrat
Private Group
Posts: 566
Received Likes: 211
|
Post by fxshrat on Aug 30, 2016 19:26:33 GMT
Well, you posted in issues section. So it might be interpreted as bug by other users. But it is not an issue.
It simply is by design. That's why I posted it again in Basics section.
|
|