Welcome to the Traders Laboratory Forums.
Coding Forum Collaborate, receive help, or discuss coding related issues.

Reply
Old 04-15-2010, 12:32 PM   #1

Join Date: Jan 2010
Location: Seoul
Posts: 20
Ignore this user

Thanks: 7
Thanked 2 Times in 2 Posts



(TS) Recall Specific Day's Value During This Same Time Bar ?

For example

in 1min chart : yesterday's volume value or specific day's volume value in this same time bar (09:01)

can we recall this value during this bar in easylanuge??

or should we make some function or code for this job?
duhhhh is offline  
Reply With Quote
Old 04-15-2010, 12:48 PM   #2

Tams's Avatar

Join Date: Sep 2008
Location: Geelong
Posts: 3,590
Ignore this user

Thanks: 2,027
Thanked 1,402 Times in 862 Posts



Re: (TS) Recall Specific Day's Value During This Same Time Bar ?

there are 2 ways to reference a previous bar:

1. pre-store the value in a variable... so that you can recall it later.

e.g.

Code:
var:
volume_at_901(0);

if time = 901 then volume_at_901 = ticks;
you can recall the variable volume_at_901 any time and get the value of the volume at 9:01am.



2. if you know how many bars back is the time 9:01, then you can use the [xx] to access that bar's values.

e.g.

if the time is 9:11 now.

9:01 is 10 bars back.

you can find out the volume of 9:01 by

ticks[10]


.
__________________


..........This is a terribly difficult question to answer. The only satisfactory answer is: "It depends"...
Tams is offline  
Reply With Quote
The Following User Says Thank You to Tams For This Useful Post:
duhhhh (04-15-2010)
Old 04-15-2010, 01:03 PM   #3

Join Date: Jan 2010
Location: Seoul
Posts: 20
Ignore this user

Thanks: 7
Thanked 2 Times in 2 Posts



Re: (TS) Recall Specific Day's Value During This Same Time Bar ?

Thanks tams

From your reply I guess there's no way to simply recall specific day and time's value

e.g. volume value of 4/05 ( 09:00 ),, right???
duhhhh is offline  
Reply With Quote
Old 04-15-2010, 01:07 PM   #4

Tams's Avatar

Join Date: Sep 2008
Location: Geelong
Posts: 3,590
Ignore this user

Thanks: 2,027
Thanked 1,402 Times in 862 Posts



Re: (TS) Recall Specific Day's Value During This Same Time Bar ?

Quote:
Originally Posted by duhhhh »
Thanks tams

From your reply I guess there's no way to simply recall specific day and time's value

e.g. volume value of 4/05 ( 09:00 ),, right???
yes you can.
see answer above.
__________________


..........This is a terribly difficult question to answer. The only satisfactory answer is: "It depends"...
Tams is offline  
Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Playback of the Day's Action john67 Beginners Forum 3 01-08-2010 05:58 AM
EL: Get High of a Bar from a Specific Time Yesterday TraderFoo Coding Forum 25 11-10-2009 03:51 PM
I Want Alerts Based on Specific Parameters? Johnson S. Mcdermott Trading and the Markets 5 06-08-2009 05:39 PM
Need to Rewrite Specific Macd from MQL or MultiChart for NT backfoot Automated Trading 2 09-05-2008 02:24 PM
Be Specific: Precisely What Are You Doing Wrong? MrPaul Market Analysis 4 11-14-2006 07:58 PM

All times are GMT -4. The time now is 05:54 AM.
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
CS to VB integration by DeskLancer
©2006-2011 Traders Laboratory, All Rights Reserved.