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 helpwanted, Today, 03:06 AM
    1 response
    5 views
    0 likes
    Last Post sarafuenonly123  
    Started by Brevo, Today, 01:45 AM
    0 responses
    7 views
    0 likes
    Last Post Brevo
    by Brevo
     
    Started by aussugardefender, Today, 01:07 AM
    0 responses
    5 views
    0 likes
    Last Post aussugardefender  
    Started by pvincent, 06-23-2022, 12:53 PM
    14 responses
    242 views
    0 likes
    Last Post Nyman
    by Nyman
     
    Started by TraderG23, 12-08-2023, 07:56 AM
    9 responses
    384 views
    1 like
    Last Post Gavini
    by Gavini
     
    Working...
    X