DAILY HI LO LINES

free & uncensored discussion arena for TheRumpledOne

Moderator: moderators

werner
rank: <50 posts
rank: <50 posts
Posts: 25
Joined: Thu May 07, 2009 6:50 pm
Reputation: 0
Gender: None specified

DAILY HI LO LINES

Postby werner » Tue Oct 13, 2009 1:52 pm

HI TRO :
I FOUND THIS INDICATOR FROM YOU IN TRADESTATION FORUM,PLEASE IS IT POSIBLE TOO SEE PREVIOUS DAILY HI LOW LINES IN A INTARDAY CHART?

THANKS IN REGARDS,

WERNER





[LegacyColorValue = true];

{ This indicator is for use with daily charts and
inserts 2 horizontal trendlines for each week, at the
high and low of the previous week, respectively. For
the current week, the trendlines are extended to the
right. }

inputs:
iDecimals(2),
Displace_Label( 0 ),

HighColor( Yellow ),
LowColor( Cyan ) ;

variables:


textTop(0),
textBottom(0),

HavePrevLines( false ),
TLHigh( 0 ),
TLLow( 0 ),
WeekHigh( 0 ),
WeekLow( 1000000 ),
PrevWeekHigh( 0 ),
PrevWeekLow( 0 ) ;

if DayOfWeek( Date ) < DayOfWeek( Date[1] ) then
{ ie, if new week }
begin

{ truncate the previous lines if they exist }
if HavePrevLines then
begin
TL_SetEnd( TLHigh, Date[1], Time[1],
PrevWeekHigh ) ;
TL_SetEnd( TLLow, Date[1], Time[1],
PrevWeekLow ) ;
TL_SetExtRight( TLHigh, false ) ;
TL_SetExtRight( TLLow, false ) ;
end ;

{ insert the new hi/lo lines and set their colors/
extents }
TLHigh = TL_New( Date[1], Time[1], WeekHigh,
Date, Time, WeekHigh ) ;
TLLow = TL_New( Date[1], Time[1], WeekLow,
Date, Time, WeekLow ) ;
TL_SetColor( TLHigh, HighColor ) ;
TL_SetColor( TLLow, LowColor ) ;
TL_SetExtLeft( TLHigh, false ) ;
TL_SetExtLeft( TLLow,false ) ;
TL_SetExtRight( TLHigh, true ) ;
TL_SetExtRight( TLLow, true ) ;



textTop = Text_New(Date, (CurrentTime + Displace_Label) ,WeekHigh,"Wk Hi ("+ NumToStr(WeekHigh, iDecimals )+")");
Text_SetStyle(textTop, 1, 1 );
Text_SetColor(textTop, HighColor );

textBottom = Text_New(Date, (CurrentTime + Displace_Label) ,WeekLow ,"Wk Lo ("+ NumToStr(WeekLow , iDecimals )+")");
Text_SetStyle(textBottom, 1, 1 );
Text_SetColor(textBottom, LowColor );


{ re-initialize hi/lo variables }
PrevWeekHigh = WeekHigh ;
PrevWeekLow = WeekLow ;
WeekHigh = High ;
WeekLow = Low ;


{ set flag }
if HavePrevLines = false then
HavePrevLines = true ;
end
else
{ if new hi/lo for week, save values }
begin
if High > WeekHigh then
WeekHigh = High ;
if Low < WeekLow then
WeekLow = Low ;
end ;

Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.

werner
rank: <50 posts
rank: <50 posts
Posts: 25
Joined: Thu May 07, 2009 6:50 pm
Reputation: 0
Gender: None specified

I FORGOT TOO POST A CHART EXAMPLE

Postby werner » Tue Oct 13, 2009 2:01 pm


User avatar
TheRumpledOne
rank: 10000+ posts
rank: 10000+ posts
Posts: 15561
Joined: Sun May 14, 2006 9:31 pm
Reputation: 3035
Location: Oregon
Real name: Avery T. Horton, Jr.
Gender: None specified
Contact:

Postby TheRumpledOne » Tue Oct 13, 2009 2:50 pm

I am sure somewhere in the TradeStation Motherlodes there is a daily high/low indicator.

You can use TRO_PLOT to plot the daily high and daily low. You will have to change the inputs.
IT'S NOT WHAT YOU TRADE, IT'S HOW YOU TRADE IT!

Please do NOT PM me with trading or coding questions, post them in a thread.

User avatar
forrestang
rank: <50 posts
rank: <50 posts
Posts: 14
Joined: Thu May 21, 2009 5:27 pm
Reputation: 0
Location: Chicago
Gender: Male
Contact:

Postby forrestang » Thu Oct 15, 2009 3:14 am

Is there anything that plots the Highs and Lows of EACH DAY?

That would show the highs and lows of each day as you look back over several days, that move and adjust with price?

User avatar
pablo101
rank: 500+ posts
rank: 500+ posts
Posts: 973
Joined: Tue Jun 30, 2009 3:10 pm
Reputation: 43
Real name: Pete
Gender: None specified

Postby pablo101 » Thu Oct 15, 2009 4:38 am

Maybe off topic from original posters question but I've a question which is in the same category.

I switched over MT4 datafeed for charts from Alpari to MBT but seems like start times are different between both. Therefore it seems like my daily highs are lows are all different levels ](*,)

Both look great but any suggestions of which broker feed I should stick with? I can never get a satifactory answer for this but I do want to be on the same page as everyone :smt119
Attachments
mbtdailyhigh.gif
mbtdailyhigh.gif (29.69 KiB) Viewed 7338 times
alparidailyhigh.gif
alparidailyhigh.gif (20.1 KiB) Viewed 7338 times
WAS A YALE STUDENT. Now? Let's see!

Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.

rrobin
rank: 50+ posts
rank: 50+ posts
Posts: 112
Joined: Fri May 19, 2006 11:09 am
Reputation: 0
Location: Cedar Creek Lake, Texas
Gender: Male

Postby rrobin » Thu Oct 15, 2009 10:57 am

Look For

_DailyOpenPrevClose

in TS Motherloads

werner
rank: <50 posts
rank: <50 posts
Posts: 25
Joined: Thu May 07, 2009 6:50 pm
Reputation: 0
Gender: None specified

Postby werner » Thu Oct 15, 2009 1:12 pm

Thanks TRO........tro_plot works fine

werner
rank: <50 posts
rank: <50 posts
Posts: 25
Joined: Thu May 07, 2009 6:50 pm
Reputation: 0
Gender: None specified

Postby werner » Thu Oct 15, 2009 1:19 pm

rrobin thanks

PINKPANTHER5
rank: 150+ posts
rank: 150+ posts
Posts: 216
Joined: Fri Feb 13, 2009 7:52 pm
Reputation: 0
Gender: None specified
Contact:

Postby PINKPANTHER5 » Thu Oct 15, 2009 1:27 pm

What are good ways to trade the daily highs and lows. I always wanted to know how people use them. They really only indicate the past

User avatar
foreman01
rank: 50+ posts
rank: 50+ posts
Posts: 100
Joined: Sat May 23, 2009 12:55 am
Reputation: 0
Gender: None specified

Postby foreman01 » Thu Oct 15, 2009 1:37 pm

Well Pink,

1) DTB-Rat is based exclusively on reversals off the daily high and low

2) Asian box is not exactly daily, but it is based on breakouts above the high and low of the Asian session.

Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.


Return to “TheRumpledOne”