MATLAB Dates on the x - axis - Matlab, R project and Python | futures io social day trading
futures io futures trading


MATLAB Dates on the x - axis
Updated: Views / Replies:7,241 / 11
Created: by jakfourie Attachments:1

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 1  
 
Thread Tools Search this Thread
 

MATLAB Dates on the x - axis

  #11 (permalink)
Trading Apprentice
Greenville, South Carolina, US
 
Futures Experience: Beginner
Platform: Matlab
Favorite Futures: Stocks/Options
 
Posts: 1 since Jun 2011
Thanks: 0 given, 1 received


jakfourie View Post
Do you maybe know of a way I can get a crosshair in my graphs to make it easier to read the price at a coresponding date?

try using the "ginput" function. This function will give you the crosshairs that you are looking for. Further, if you use a script like the following

[x,y] = ginput();

then you can left-click on the chart and the x- and y-values will be saved in the "x" and "y" variables. You end the input by hitting the "Enter" key.

Reply With Quote
The following user says Thank You to fendrfake for this post:
 
  #12 (permalink)
Trading Apprentice
South Africa
 
Futures Experience: Beginner
Platform: JSE
Favorite Futures: Stocks
 
Posts: 7 since Mar 2011
Thanks: 1 given, 1 received

Hi, sorry for the long wait, but I am back to working on my project now, and hope to start trading very soon.

I used the following code to get the data from the plot with the data pointer:

 
Code
function txt = myupdatefcn(empt, event_obj)
pos = get(event_obj, 'Position');
datevalue = dates(pos(1));

datecol = 1;
datevalue(:,datecol) = datevalue(:,datecol) + datenum('30-Dec-1899');


txt = {['Date:',datestr(datevalue,20)],['Value:',num2str(pos(2))]};
In main when using plot:
 
Code
dcm_obj = datacursormode(figure(1)); %Data Cursor Updates!!
set(dcm_obj, 'UpdateFcn',@myupdatefcn);
dates are read from the excel file.

Hope this helps someone

Reply With Quote

Reply



futures io > > > > MATLAB Dates on the x - axis

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Does anyone know of a one-stop site for contract expiration dates? Mopaditi Traders Hideout 3 April 10th, 2016 05:07 PM
Changing rollover dates for CL DarrenH Reviews of Brokers and Data Feeds 57 February 4th, 2015 01:30 PM
InvestorRT axis label coloring Big Mike Investor/RT 3 August 18th, 2011 07:53 AM
Formatting the Y-Axis Fat Tails NinjaTrader Programming 12 January 26th, 2011 06:32 AM
plot reference axis SARdynamite NinjaTrader Programming 1 July 8th, 2010 08:50 AM


All times are GMT -4. The time now is 10:24 PM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts
Page generated 2017-12-11 in 0.06 seconds with 20 queries on phoenix via your IP 54.145.16.43