The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Plotting Entries/Exits on highlow chart of a financial time series
Replies: 2   Last Post: Dec 20, 2010 8:59 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 25
Registered: 8/6/10
Re: Plotting Entries/Exits on highlow chart of a financial time series
Posted: Dec 20, 2010 8:59 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Great stuff!!
I'm using openhigh method, still works.



"Wayne King" <> wrote in message
> "ladidalimey" <> wrote in message
> <sTHPo.50492$M94.21315@newsfe22.ams2>...

>> Hi,
>> I've created a highlow chart of an fts and wanted to indicate where
>> entries and exits take place by putting some kind of marker next to the
>> bar at the relevant price. The entries/exits consist of a date and a
>> price
>> I was using "text" , but this no longer seems to work now I'm using fts
>> (I was using vectors of data).
>> Any suggestions?
>> thanks.
>> L.

> Hi, can you use fts2mat() to convert your data and times to a matrix and
> then add the symbol at the appropriate place? I'm assuming you're using
> the plot method for the financial time series object.
> % Using a very simple object :)
> data = [1:6]';
> dates = [today:today+5]';
> tsobjkt = fints(dates, data);
> plot(tsobjkt);
> datamat = fts2mat(tsobjkt,1);
> hold on;
> % add marker
> plot(datamat(2,1),datamat(2,2),'^','markersize',10,'markerfacecolor',[1 0
> 0]);
> Also, I'm assuming you wanted to do it from the command line. If you are
> satisfied by just marking the plot, you can use edit plot.
> Wayne

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.