Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Plotting external data as an indicator Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
feltburner
Posted : Tuesday, June 24, 2014 10:45:44 AM
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.

Bruce_L
Posted : Tuesday, June 24, 2014 11:09:07 AM


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
feltburner
Posted : Tuesday, June 24, 2014 11:44:40 AM
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") ?

Bruce_L
Posted : Tuesday, June 24, 2014 12:17:50 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

That is exactly what you would do.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
feltburner
Posted : Tuesday, June 24, 2014 12:25:56 PM
Registered User
Joined: 1/16/2005
Posts: 72

Thanks Bruce.

Bruce_L
Posted : Tuesday, June 24, 2014 1:11:34 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

You're welcome.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.