Welcome to the Traders Laboratory Forums.
Linnsoft Discussion board for IRT users. Moderated by LS_Chad.

Reply
Old 09-11-2008, 03:23 PM   #1

Join Date: Sep 2008
Posts: 2
Ignore this user

Thanks: 0
Thanked 0 Times in 0 Posts



EasyLanguage Question on Tick Upate

My apologies it this is not the correct forum for this question. If it belongs elsewhere, could you please direct me to the correct forum?

I am trying to write the EL code to draw a horizontal line across the screen as each price tick is received. Here is the code I have written.

It is not drawing anything. I'd like to erase the previous line & draw a new one for each tick as it is received.

Any help would be appreciated. Thanks!
_________________________ ________________


[LegacyColorValue = true];

{ xSR_2 support and resistance for non-tick charts }

input: line_color(blue), bars_back(600);

vars: sr_line(0), date_bb(0), time_bb(0);

if (sr_line > 0) then
begin
tl_delete(sr_line);
end;

date_bb = date[bars_back];
time_bb = time[bars_back];

sr_line = TL_New(date_bb, time_bb, close, date, time, close);
TL_SetColor(sr_line, line_color);
bulldogcajun is offline  
Reply With Quote
Old 09-11-2008, 04:26 PM   #2

Join Date: Sep 2008
Posts: 2
Ignore this user

Thanks: 0
Thanked 0 Times in 0 Posts



Re: EasyLanguage Question on Tick Upate

I have continued to work on the code. This comes close to what I want it to do. However, it displays two lines: one shows the most recent tick, the other shows the close of the previous bar.
bulldogcajun 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
TICK lows on the Russell TICK, not NYSE TinGull Trading Videos 7 10-28-2011 04:00 AM
TS Tick by Tick PVP Plotted with VWAP and SD Bands dbntina Trading Indicators 50 10-25-2011 10:29 PM
Antonio: Please help me on MP for easylanguage nasdaq5048 Market Profile 13 09-23-2010 10:50 AM
Charrting Platforms - Tick by Tick Replay JBWTrader Brokers and Data Feeds 17 07-18-2008 08:00 AM
Some EasyLanguage Help Please jjthetrader Coding Forum 8 06-02-2008 05:20 PM

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