| Coding Forum Collaborate, receive help, or discuss coding related issues. |
![]() | | Tweet | |
| | #1 | ||
![]() | Tradestation Help Thanks Variables: id.tl (0), id.txt (0), old_id(0), ccc(0), id.tl.top(0), id.tl.bot(0), inside(false), insidebar(false); if Low = Low[1] then begin id.tl.top = tl_new( date, time[1], LOW[1], date, time, LOW ); end else if high = high[1] then begin id.tl.top = tl_new( date, time[1], high[1], date, time, HIGH ); end else if high = high[1] and low = low[1] then begin id.tl.bot = tl_new( date, time[1], LOW[1], date, time, LOW ); id.tl.top = tl_new( date, time[1], HIGH[1], date, time, high ); end Also does anyone know how to have permanent straight lines in the volume area. I keep having to redraw them. ie straight lines at 2000, 5000,7000,9000 and 19000 | ||
| |
|
| | #2 | ||
![]() | Re: Tradestation Help It is difficult to read codes without tags.
__________________ Only an idiot would reply to a stupid post | ||
| |
|
| | #3 | ||
![]() | Re: Tradestation Help Quote:
eg. Code: plot100( 2000, "2000"); plot101( 5000, "5000"); plot102( 7000, "7000"); plot103( 9000, "9000"); plot104( 19000, "19000");
__________________ Only an idiot would reply to a stupid post | ||
| |
|
| The Following User Says Thank You to Tams For This Useful Post: | ||
xioxxio (08-31-2011) | ||
| | #4 | ||
![]() | Re: Tradestation Help if Low = Low[1] and high = high[1] then begin tl_new( date, time[1], LOW[1], date, time, LOW ); tl_new( date, time[1], high[1] , date, time, HIGH ); end; if Low = Low[1] then begin tl_new( date, time[1], LOW[1], date, time, LOW ); end; if high = high[1] then begin tl_new( date, time[1], high[1] , date, time, HIGH ); end; # Does anyone know how to make the colours of the lines that are drawn blue? Thanks | ||
| |
|
| | #5 | ||
![]() | Re: Tradestation Help code tag is the # button at the top of the message window frame. Code: if Low = Low[1] and high = high[1] then begin tl_new( date, time[1], LOW[1], date, time, LOW ); tl_new( date, time[1], high[1] , date, time, HIGH ); end; if Low = Low[1] then begin tl_new( date, time[1], LOW[1], date, time, LOW ); end; if high = high[1] then begin tl_new( date, time[1], high[1] , date, time, HIGH ); end;
__________________ Only an idiot would reply to a stupid post | ||
| |
|
| | #6 | ||
![]() | Re: Tradestation Help Quote:
the keyword TL_NEW does 2 things: 1. create a trendline, 2. assign a serial number to the trendline. When you do modifications to a trendline, you can use this serial number to identify the line you want to modify. you can use a variable to capture the trendline serial number: Code: var: myline(0); myline = tl_new( date, time[1], LOW[1], date, time, LOW ); to modify the trendline, add this: Code: TL_setcolor( myline, blue):
__________________ Only an idiot would reply to a stupid post Last edited by Tams; 09-01-2011 at 11:07 PM. | ||
| |
|
| The Following 2 Users Say Thank You to Tams For This Useful Post: | ||
TIKITRADER (09-02-2011), xioxxio (09-01-2011) | ||
![]() |
| Thread Tools | |
| Display Modes | Help Others By Rating This Thread |
| |
| ∧ Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| CBOT Market Profile® for TradeStation 2000i and TradeStation 8 | xioxxio | Market Profile | 0 | 08-13-2011 01:27 AM |