ESPL: Custom Quote List

Q:  I’d like to create and edit daily a custom symbol with about 50 or more stocks in the index.  Instead of editing ESPL code, would it be possible to reference an array in the E10 spreadsheet, which can be updated more easily?  What would the basic code look like?

A:  Use the predefined   sList   variable which is a TStringList variable.  TStringList has useful methods for working with a list of strings.   The data source file would be an ASCII file that you edit using Notepad, or it could be a custom quote page file, such as   MyList.dat.    When using a custom quote file the records have a market group character in the 1st character position, followed by the symbol.   This example copies the symbol from the 2nd character position.