Tick2Bar Matlab script

SPONSORED LINKS

    Specification

  • Version:
  • File size: 0 KB
  • File name: Tick2Bar.m
  • Last update:
  • Platform: Windows / Linux / Mac OS / BSD / Solaris
  • Language: Matlab
  • Price:Freeware
  • Company: Michael Robbins (View more)

Tick2Bar script description:



Tick2Bar is a Matlab script for Financial Modeling and Analysis scripts design by Michael Robbins. It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
Tick2Bar divides a time series into periods and returns high, low, open, close, volume.

Publisher review:
Tick2Bar divides a time series into periods and returns high, low, open, close, volume. TICK2BAR[T,H,L,O,C,V]=Tick2Bar(t,p,v,g)Divides a time series into periods of g days(may be less than one day).It is useful in conjunction with HIGHLOW[T,H,L,O,C,V]=Tick2Bar(t,p,v,g);highlow(H(:),L(:),C(:),O(:),'k',T(:));It returns:T date/time of the periodH high of the periodL low of the periodO open (first datum of the period)C close (last datum of the period)V volume of the periodgivent date/timep pricev volumeg time granularity [days]USAGE% test dataN=1e4;g=1/(24*60*60); % 1 minute granularityt=([1:N] rand(1,N)).*g; % timep=100 rand(1,N).*10; % pricev=1e4.*rand(1,N); % volume% add some test-NANsa=randperm(N);v(a(1:10))=nan;g=1/(24*60*60); % 1 minute granularity[T,H,L,O,C,V]=Tick2Bar(t,p,v,g);subplot(6,1,1:2);plot(t,p,'k');datetick;title('plot(t,p,''k'');')subplot(6,1,3);plot(t,v,'k');datetick;title('plot(t,v,''k'');');subplot(6,1,4:5);highlow(H(:),L(:),C(:),O(:),'k',T(:));datetick;title('highlow(H(:),L(:),C(:),O(:),''k'',T(:));');subplot(6,1,6);plot(T,V,'k');datetick;title('plot(T,V,''k'');');h=suptitle('[T,H,L,O,C,V]=Tick2Bar(t,p,v,g);');set(h,'FontSize',get(h,'FontSize').*2, ...'FontWeight','Bold'); Requirements: ยท MATLAB Release: R13
Operating system:
Windows / Linux / Mac OS / BSD / Solaris

Related script downloads:

Latest script and internet news

Samsung launched the Premium Music Hub

Samsung launched the Premium Music Hub

Samsung finally gives consumers multiple audio streaming countries promised a while. Premium Music Hub allows users access to over 19 million songs, along with other useful functions.

Posted on: 30 May 2012 13:02 by A. Brown

This could be the first photos of iPhone 5

This could be the first photos of iPhone 5

IPhone\'s case came online in a few pictures that confirm rumors of a larger screen. This could be the first photos of the next iPhone, but nothing is really safe to Apple announcement.

Posted on: 30 May 2012 12:58 by A. Brown

IE 10 for Windows 8, comes with Adobe Flash support

IE 10 for Windows 8, comes with Adobe Flash support

After criticism received at Metro version of Internet Explorer 10 , initially offered no support for Adobe Flash technology, Microsoft has taken measures to correct this problem by working directly with Adobe to integrate the necessary components into the

Posted on: 25 May 2012 10:36 by A. Brown

Windows 8: boot to fast to furious

Windows 8: boot to fast to furious

Last year began to circulate on the Internet videos where Windows 8 systems boot in 7 seconds. Unfortunately, from this performance derives some problems.

Posted on: 25 May 2012 07:28 by A. Brown

SPREAD THE WORD

User Rating

Tick2Bar
Rating: 4.0 out of 5
Based on 1 ratings. 1 user reviews.

  • Currently 4.00 out of 5
  • 1
  • 2
  • 3
  • 4
  • 5