Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User Joined: 1/16/2005 Posts: 72
|
I have a layout which includes an indicator derived from external data (as explained in a great video tutorial referenced in a prior discussion topic - http://forums.worden.com/default.aspx?g=posts&t=53230 ).
Tech support had mentioned in passing that it would be possible to have a second external data series plotted as a second, separate indicator for the same symbol, but I am not sure how that could be done, as you can't have two files with the same name (such as SP-500.csv).
Could you please explain how I can have two different external data sets plotted as separate indicators?
Thanks,
Bruce V.
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You would give the files different names. So for example, you could have:
SP-500.csv
SP-500$1.csv
SP-500$2.csv
Since the files have different names, you could reference the different files for different plots in StockFinder.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 1/16/2005 Posts: 72
|
Part of the realcode for the first indicator (which would draw upon a file named SP-500.csv) reads:
Dim reader As New MarketDataReader(Me.CurrentSymbol & ".csv")
Would I change that in the 2nd indicator (to read from a file named SP-500$1.csv):
Dim reader As New MarketDataReader(Me.CurrentSymbol & "$1.csv") ?
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
That is exactly what you would do.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 1/16/2005 Posts: 72
|
Thanks Bruce.
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |