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

Reply
Old 08-17-2011, 11:57 AM   #9
zdo

Join Date: Nov 2007
Location: boonies
Posts: 1,349
Ignore this user

Thanks: 317
Thanked 355 Times in 256 Posts
Blog Entries: 104

Re: Easylanguage Help

https://www.tradestation.com/wiki/di...ge/Timer+Class
zdo is offline  
Reply With Quote
Old 08-17-2011, 12:15 PM   #10
zdo

Join Date: Nov 2007
Location: boonies
Posts: 1,349
Ignore this user

Thanks: 317
Thanked 355 Times in 256 Posts
Blog Entries: 104

Re: Easylanguage Help

Tick charts (vs Minute) were mentioned... in the long run, you will be better off designing and coding all your systems to run off a 1 tick chart and getting setups and signals from 'higher' time frames via ADE/ELC or other Data#

hth
zdo is offline  
Reply With Quote
Old 08-17-2011, 01:48 PM   #11

Tradewinds's Avatar

Join Date: Nov 2008
Location: Northeast U.S.
Posts: 891
Ignore this user

Thanks: 373
Thanked 231 Times in 164 Posts
Blog Entries: 6

Re: Easylanguage Help

Quote:
Originally Posted by zdo »
Tick charts (vs Minute) were mentioned... in the long run, you will be better off designing and coding all your systems to run off a 1 tick chart and getting setups and signals from 'higher' time frames via ADE/ELC or other Data#

hth
I tried mixing NYSE $TICK data as tick aggregation time frame, and ES price data as tick aggregation time frame, and it doesn't work. This may not directly relate to this discussion, but I thought I'd mention it. The point in time in which one data source ticks, and the point in time when another data source ticks can be two different points in time. The platform needs a way to sync the data feeds. At least with tradestation, I can't mix two data feeds that are a tick aggregation. I'd be interested to know if there is a platform that can do that though.
__________________
Precise, "dialed-in", targeted combination setups, like opening a combination lock; is the experience you should be having while trading. Dial left, right, left, . . . click - the lock opens.
Tradewinds is offline  
Reply With Quote
Old 08-17-2011, 01:58 PM   #12

Tams's Avatar

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

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

Re: Easylanguage Help

Quote:
Originally Posted by Tradewinds »
I tried mixing NYSE $TICK data as tick aggregation time frame, and ES price data as tick aggregation time frame, and it doesn't work. This may not directly relate to this discussion, but I thought I'd mention it. The point in time in which one data source ticks, and the point in time when another data source ticks can be two different points in time. The platform needs a way to sync the data feeds. At least with tradestation, I can't mix two data feeds that are a tick aggregation. I'd be interested to know if there is a platform that can do that though.
MultiCharts can mix and match any symobls and resolutions in the same chart,
including mixing time-based resolution, sub-minute resolutions, and non-time-based resolutions.
__________________



Only an idiot would reply to a stupid post
Tams is offline  
Reply With Quote
The Following User Says Thank You to Tams For This Useful Post:
Tradewinds (08-17-2011)
Old 08-17-2011, 02:06 PM   #13

Tradewinds's Avatar

Join Date: Nov 2008
Location: Northeast U.S.
Posts: 891
Ignore this user

Thanks: 373
Thanked 231 Times in 164 Posts
Blog Entries: 6

Re: Easylanguage Help

Oh, interesting. It seems like the Timer Class forces the code to update on time intervals rather than whenever the data feed pushes data through. You can set the code to run every "X" seconds. I have a count down timer on my chart, and I'll see if I need to add this to the code.

It looks like the code will even continue to run if the internet connection is lost. Not that it will help you, if you need data from the internet.

This was one of the example codes given:

Code:
{
This example uses a Timer component to execute a handler method every 1 second.

 The following items were created or modified:
   Component tray: Timer1 dragged into document from the Toolbox
   Properties editor: Interval property set to 1000 milliseconds (1 second)
   Properites editor: Enable property set to True to start the timer when it is applied to a chart or RadarScreen.
   Properties editor: Update event assigned to the EasyLanguage method below.
   NOTE: AutoReset defaults to True indicating that the countdown automatically repeats after each timeup event.
}

method void Timer1_Elapsed( elsystem.Object sender, elsystem.TimerElapsedEventArgs args ) 
{The Elapsed event handler is called when the timer counts down to zero}
begin
	{ plots the current time as a string }
	Plot1(rightstr(elsystem.datetime.CurrentTime.tostring(),11),"Time");
end;
__________________
Precise, "dialed-in", targeted combination setups, like opening a combination lock; is the experience you should be having while trading. Dial left, right, left, . . . click - the lock opens.
Tradewinds is offline  
Reply With Quote

Reply

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
Antonio: Please help me on MP for easylanguage nasdaq5048 Market Profile 13 09-23-2010 09:50 AM
Easylanguage at What Price trader273 Coding Forum 1 05-22-2010 11:23 PM
Median in Easylanguage trader273 Coding Forum 9 04-06-2010 01:43 PM
Looking For Coder That Knows MQL & EasyLanguage CafeTrader Coding Forum 3 03-18-2009 07:05 PM
Some EasyLanguage Help Please jjthetrader Coding Forum 8 06-02-2008 04:20 PM

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