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

Reply
Old 10-26-2009, 05:36 AM   #1

Join Date: Nov 2006
Location: France
Posts: 34
Ignore this user

Thanks: 44
Thanked 2 Times in 2 Posts

Low's Average of All Hourly Bars for Each Day

Hi,

in easylanguage, how can i have the low's average of all hourly bars for each day?

thank you for your help

Nuno
nuno-online is offline  
Reply With Quote
Old 10-26-2009, 07:05 AM   #2

Join Date: May 2008
Location: amsterdam
Posts: 114
Ignore this user

Thanks: 25
Thanked 39 Times in 30 Posts

Re: Low's Average of All Hourly Bars for Each Day

Edit: wrong place

Last edited by flyingdutchmen; 10-26-2009 at 07:18 AM.
flyingdutchmen is offline  
Reply With Quote
The Following User Says Thank You to flyingdutchmen For This Useful Post:
nuno-online (10-26-2009)
Old 10-26-2009, 07:53 AM   #3

Join Date: Nov 2006
Location: France
Posts: 34
Ignore this user

Thanks: 44
Thanked 2 Times in 2 Posts

Re: Low's Average of All Hourly Bars for Each Day

thank toy for your help

i have error "Unknown Function" with Hour(time)

here is the code
If D > D[1] Then Value1 = 1
Else
If Hour( Time ) <> Hour( Time )[1] Then Value1 = Value1 + 1;

Value2 = Average( Low, Value1 );

Plot1( Value2 );
nuno-online is offline  
Reply With Quote
Old 10-26-2009, 11:41 AM   #4

Join Date: May 2008
Location: amsterdam
Posts: 114
Ignore this user

Thanks: 25
Thanked 39 Times in 30 Posts

Re: Low's Average of All Hourly Bars for Each Day

i wasnt sure if it was a question, i am not sure what reserved word
tradestation or multichart uses to define a full hour.
in my software which also supports easy language to a certain level
it is just HOUR like in the example given.take a look in your help file,
the rest of the code should be ok.

Quote:
Originally Posted by nuno-online »
thank toy for your help

i have error "Unknown Function" with Hour(time)

here is the code
If D > D[1] Then Value1 = 1
Else
If Hour( Time ) <> Hour( Time )[1] Then Value1 = Value1 + 1;

Value2 = Average( Low, Value1 );

Plot1( Value2 );
flyingdutchmen is offline  
Reply With Quote
Old 10-27-2009, 08:50 AM   #5

Tams's Avatar

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

Thanks: 2,084
Thanked 1,477 Times in 912 Posts

Re: Low's Average of All Hourly Bars for Each Day

42

you can study this code as example

http://www.traderslaboratory.com/for...rage-5753.html


__________________



Only an idiot would reply to a stupid post

Last edited by Tams; 10-27-2009 at 09:07 AM.
Tams is offline  
Reply With Quote
The Following User Says Thank You to Tams For This Useful Post:
nuno-online (11-02-2009)

Reply

Tags
average

Thread Tools
Display Modes Help Others By Rating This Thread
Help Others By Rating This Thread:


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tick Bars trade4life Linnsoft 6 12-24-2009 10:25 PM
Problem in Plotting Hourly Chart in Multicharts. rajatheroyal Automated Trading 2 10-03-2009 09:42 PM
Vwap Hourly shrike Coding Forum 10 08-04-2009 07:41 PM
Range Bars vs Tick bars walterw Technical Analysis 14 07-16-2007 06:27 PM
New TICK Low's Chart Soultrader Technical Analysis 0 12-27-2006 02:58 AM

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