Welcome to the Traders Laboratory Forums.
TradeStation Custom Programming Discuss projects, ideas, obstacles in programming with TradeStation.

Reply
Old 08-03-2011, 10:14 PM   #1

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

Define Color in Easy Language

var: CstmDrkRed(0);

CstmDrkRed=rgb(210,0,0); // Dark Red

Plot1(High + 1, "Peak"); // Set to Points. Shows a Dot over the high of the price

if Peaking then SetPlotColor(1, CstmDrkRed) else SetPlotColor(1, Black);

Here is a way to use the custom RGB color definition to create your own color, and use it later in the code.
__________________
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-04-2011, 12:04 AM   #2

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: Define Color in Easy Language

if you are looking for the color code...

look here:
http://www.traderslaboratory.com/for...values-ts.html


__________________



Only an idiot would reply to a stupid post
Tams is offline  
Reply With Quote

Reply

Tags
color, easy language, setplotcolor

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
Help with TS Easy Language Reg Coding Forum 3 07-26-2011 11:02 PM
Easy Language prabuc Introduce Yourself 2 08-12-2010 03:06 PM
MCFX Power Language(Easy Language) Coding Issue fireworkz Coding Forum 4 02-28-2010 11:32 AM
Easy Language Help JKLM Automated Trading 7 02-10-2009 11:17 PM
Help with Easy Language BrianA Coding Forum 29 01-13-2009 03:32 PM

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