The subject line is not well stated but I couldn't find a more concise way to ask what ways are available to use a different parameter for each symbol on which a code file is used.
Say I have a value, any value, but each symbol has a different value for it to perform the best. Thus, as a watchlist is run through an Explore, or a Backtest, I want the individual value to be used for each symbol. The value would not change bar by bar but would be true for the symbol and all of its data.
I have used the CASE statement in the past (in Jscript) but is this the best way given today's more advanced Amibroker program?
What about opening and reading an outside file? (not sure how I would program that anyway).
Can a CASE statement have more than 300 lines? ...more than 500? What upper limit?
What are your suggestions?
Thanks,
Ken
|