Run Analysis on Specific symbol rather than "current"

Hi,

I got a model in the formula file and would like that to be applied only on one specific symbol. Till now i have been using the "Current" option in "Apply To" drop down of Analysis window with AutoScan frequency set at 1 min.

However, if I open another chart with a different symbol, during the market hours.. the "Current" is getting switched to the new symbol.

Is there a way for me specify the Symbol in AFL code to limit the application of the code?

Thanks in advance,
Prasanth.

Hi,

Dont use "Current".
Instead create a watchlist and add that symbol to it and use Filter in Apply To.

https://www.amibroker.com/guide/h_exploration.html
http://www.amibroker.com/kb/tag/exploration/

1 Like