Indicator from file
Author: nysetrader
Creation Date: 4/16/2013 10:26 AM
profile picture

nysetrader

#1
Hello. How can I add to a daily chart data from file I've calculated outside wealth-lab?
I want to see it as indicator on sub chart pane. File contains of a number for each date.
profile picture

Cone

#2
The easiest and straightforward way would be to create an ASCII DataSet of the indicator directory, and access it as if it were a secondary symbol. If the indicator is different for each symbol, then you should adopt a naming convention for the file, like MSFT_RSI.txt.

If you don't do it that way, you'd have to manually read the data in each file into a DataSeries and synchronize it in your strategy code.
profile picture

Eugene

#3
We have a function in Community Components specifically designed to help populate a DataSeries with data from a text file:

FillSeriesFromFile

You can even import multiple series at once (if exist in your file).

P.S. Vasily, let me kindly ask you to log in with your original Wealth-Lab account "swiftmoscow" for contacting our support in the future (support portal and the forum alike). With this duplicate account, you are not able to download extensions.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).