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

Reply
Old 12-20-2011, 10:29 AM   #9

Join Date: Apr 2011
Posts: 55
Ignore this user

Thanks: 2
Thanked 14 Times in 13 Posts

Re: Help on Printing on Screen in EasyLanguage

Quote:
Originally Posted by Tams »
have you tried the search button?
yes, I said that in my first post. It's ok, you don't have to reply anymore I will figure it out. Thanks anyway
Chippy is offline  
Reply With Quote
Old 12-20-2011, 10:38 AM   #10

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: Help on Printing on Screen in EasyLanguage

Quote:
Originally Posted by Chippy »
yes, I said that in my first post. It's ok, you don't have to reply anymore I will figure it out. Thanks anyway
OK, I was too hard on you....

do a search on

abc floor traders pivot


it is a good example of what you want to achieve.
__________________



Only an idiot would reply to a stupid post

Last edited by Tams; 12-20-2011 at 11:03 AM.
Tams is offline  
Reply With Quote
The Following User Says Thank You to Tams For This Useful Post:
Chippy (12-20-2011)
Old 12-20-2011, 11:04 AM   #11

Join Date: Apr 2011
Posts: 55
Ignore this user

Thanks: 2
Thanked 14 Times in 13 Posts

Re: Help on Printing on Screen in EasyLanguage

Quote:
Originally Posted by Tams »
OK, I was too hard on you....

do a search on

abc floor traders pivot


it is a good example of what you want to achieve.
actually thats perfect. Thanks very much. I don't have the advanced skills...or any skills at all to find that lol
Chippy is offline  
Reply With Quote
The Following User Says Thank You to Chippy For This Useful Post:
Tams (12-20-2011)
Old 12-21-2011, 05:48 AM   #12

Join Date: May 2010
Posts: 180
Ignore this user

Thanks: 0
Thanked 47 Times in 38 Posts

Re: Help on Printing on Screen in EasyLanguage

This will plot text in the margin to the right. A lot of the code on the net uses calcdate and calctime to determine a date,time location in the future. This is a simplification that uses current date,time instead. Distance into the future is adjusted by the number of spaces between quotation marks in the SetString statement.

It's best to start simple and increase complexity. To add text for an average, add id2 and set id2's string to use +numtostr(avg,2) and it's location to (id2,d,t,avg); Or (id2,d,t,avg+10) if you have a reason to adjust it 10 pts higher.


Code:
var: id(0);

once begin
    id=text_new(d,t,c," ");
    text_setstyle(id,0,2);
end;

text_setString(id,"      " +numtostr(c,2));
text_setLocation(id,d,t,c);
onesmith is offline  
Reply With Quote
The Following User Says Thank You to onesmith For This Useful Post:
Chippy (12-21-2011)
Old 12-21-2011, 07:07 AM   #13

Join Date: Apr 2011
Posts: 55
Ignore this user

Thanks: 2
Thanked 14 Times in 13 Posts

Re: Help on Printing on Screen in EasyLanguage

Quote:
Originally Posted by onesmith »
This will plot text in the margin to the right. A lot of the code on the net uses calcdate and calctime to determine a date,time location in the future. This is a simplification that uses current date,time instead. Distance into the future is adjusted by the number of spaces between quotation marks in the SetString statement.

It's best to start simple and increase complexity. To add text for an average, add id2 and set id2's string to use +numtostr(avg,2) and it's location to (id2,d,t,avg); Or (id2,d,t,avg+10) if you have a reason to adjust it 10 pts higher.


Code:
var: id(0);

once begin
    id=text_new(d,t,c," ");
    text_setstyle(id,0,2);
end;

text_setString(id,"      " +numtostr(c,2));
text_setLocation(id,d,t,c);
very awesome and simple. thanks!!
Chippy 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
Why Screen Time Is Important bootstrap Technical Analysis 42 04-15-2011 01:53 PM
Printing Indicator Values to File RambleDog TradeStation Custom Programming 2 04-04-2011 08:21 AM
Who is Behind the Screen? Tender Beginners Forum 16 03-03-2011 11:05 AM
Master Your Quote Screen tradingRAW Trading and the Markets 0 09-23-2010 01:55 PM
Printing Help james_gsx General Discussion 8 09-11-2007 05:20 PM

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