Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

plot from external data file

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    plot from external data file

    I have an external data file with OHLC and optionally a time stamp.
    I would like to read this into an indicator (or ideally get the file to
    appear in the instrument list under a unique stock name.)
    I would then like to plot a candlestick chart with the data.
    I know how to do the Stream IO in the case of manual read in of the data.
    .
    I do NOT know how to get the data plotted as a candle stick chart
    or even plotted as pseudo-candle sticks in a sub panel.
    Any ideas would be helpful.

    #2
    Originally posted by roland_nt View Post
    I have an external data file with OHLC and optionally a time stamp.
    I would like to read this into an indicator (or ideally get the file to
    appear in the instrument list under a unique stock name.)
    I would then like to plot a candlestick chart with the data.
    I know how to do the Stream IO in the case of manual read in of the data.
    .
    I do NOT know how to get the data plotted as a candle stick chart
    or even plotted as pseudo-candle sticks in a sub panel.
    Any ideas would be helpful.
    This is pretty simple.

    I followed the NT StreamWriter example and just reversed it for the StreamReading.

    Hacked it in with their data series examples, and wow...

    add some time based code, and everything happens.


    StreamReader EXA:

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by pechtri, 06-22-2023, 02:31 AM
    10 responses
    124 views
    0 likes
    Last Post Leeroy_Jenkins  
    Started by judysamnt7, 03-13-2023, 09:11 AM
    4 responses
    59 views
    0 likes
    Last Post DynamicTest  
    Started by ScottWalsh, Yesterday, 06:52 PM
    4 responses
    36 views
    0 likes
    Last Post ScottWalsh  
    Started by olisav57, Yesterday, 07:39 PM
    0 responses
    7 views
    0 likes
    Last Post olisav57  
    Started by trilliantrader, Yesterday, 03:01 PM
    2 responses
    22 views
    0 likes
    Last Post helpwanted  
    Working...
    X