[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Plot Daily,Weekly,Monthly



PureBytes Links

Trading Reference Links

You can also use trendlines especially since these are just horizontal lines
and not have this limit.

> -----Original Message-----
> From: TaoOfDow [mailto:TaoOfDow@xxxxxxxxxxxxxx]
> Sent: Tuesday, September 03, 2002 4:54 PM
> To: Benjamin Blanco
> Cc: Matt Bowen; omega-list
> Subject: Re: Plot Daily,Weekly,Monthly
>
>
> True, TS only allows 4 Plot statements ---
>
> AND one can plot many more results than 4 with a little cost
> in resolution,
> which should be moot with long-term indicators such as are
> discussed here.
>
> Given what Mr. Blanco provided, here's how it could be
> modified so as to plot it
> instead in one indicator, having effectively 6 plots using 3
> Plot statements:
>
> {Same Inputs as below}
>
> IF Mod(DaysAgo, 2) = 0 THEN Plot1(HighD(DaysAgo),"Daily") ELSE
> Plot1(LowD(DaysAgo),"Daily"'');
>
> IF Mod(WeeksAgo, 2) = 0 THEN Plot1(HighW(WeeksAgo),"Weekly") ELSE
> Plot2(LowW(WeeksAgo),"Weekly");
>
> IF Mod(MnthsAgo, 2) = 0 THEN Plot1(HighM(MnthsAgo),"Mnthly") ELSE
> Plot3(LowM(MnthsAgo),"Mnthly");
>
> And make sure that you plot using dots or crosses and not lines.
>
> And a point of confusion for me: The statement, for example,
> HighD(DaysAgo)
> shows use of parentheses (ie, () )--- I'm not sure what
> you're trying to do, but
> what came up for me was the possibility of using square
> brackets instead (ie, []
> ).
>
>
>
> Benjamin Blanco wrote:
>
> > Only plots1-4 are allowed in an indicator.  Create three
> separate indicators
> > as follows.  Set maxbarsback to auto-detect, scale to same
> as symbol for all
> > three indicators.
> >
> > { Indicator name: DailyHiLo }
> > Inputs: DaysAgo( 1 ) ;
> >
> > Plot1( HighD( DaysAgo ), "DailyHi" ) ;
> > Plot2( LowD( DaysAgo ), "DailyLo" ) ;
> >
> > { Indicator name: WeeklyHiLo }
> > Inputs: WeeksAgo( 1 ) ;
> >
> > Plot1( HighW( WeeksAgo ), "WeeklyHi" ) ;
> > Plot2( LowW( WeeksAgo ), "WeeklyLo" ) ;
> >
> > { Indicator name: MnthlyHiLo }
> > Inputs: MnthsAgo( 1 ) ;
> >
> > Plot1( HighM( MnthsAgo ), "MnthlyHi" ) ;
> > Plot2( LowM( MnthsAgo ), "MnthlyLo" ) ;
> >
> > Best regards,
> >
> > Benjamin Blanco,
> > EasyLanguageŽ Specialist
> > ( former TradeStation Technologies, Inc. employee of six years )
> > http://www.blancofamily.net/ezlang.htm
> >
> > EasyLanguage is a registered trademarks of TradeStation
> Technologies, Inc.
> >
> > ----- Original Message -----
> > From: "Matt Bowen" <mattbowen@xxxxxxxxxxxxx>
> > To: <Omega-list@xxxxxxxxxx>
> > Sent: Monday, September 02, 2002 8:09 PM
> > Subject: Fw: Plot Daily,Weekly,Monthly
> >
> > I'm trying to get TradeStation 6 to plot horizontal lines
> for the following:
> >
> > Daily High and Daily Low
> > Weekly High and Weekly Low
> > Monthly High and Monthly Low
> >
> > The horizontal line plot  should show me where these lines
> are on intraday
> > charts. In other words, if I'm on a 15 minute chart and I
> change it to a 60-
> > minute chart I should be able to see the same lines (just
> on a higher time
> > frame).
> >
> > Any help with the code below is greatly appreciate...Thanks
> in advance!
> >
> > =====================================================
> >
> > inputs: High_Color( Blue ), Low_Color( Red );
> > variables: HighD( 0 ), LowD( 999999 ) ; HighW(0), LowW(999999),
> > HighM(0), LowM(999999);
> >
> > { Setup }
> > if Time = Sess1EndTime then
> > begin
> > HighD = 0 ;
> > LowD = 999999 ;
> > HighW = 0;
> > LowW = 999999;
> > HighM = 0;
> > LowM= 999999;
> > end ;
> >
> > { Calculation & Plot }
> > if Date = CurrentDate and Time >= Sess1StartTime and
> > Time <= Sess1EndTime then begin
> >
> > HighD ( 1 );
> > LowD ( 1 ) ;
> > HighW (1);
> > LowW (1);
> > HighM (1);
> > LowM (1);
> >
> > Plot1( HighD, "DayHigh", High_Color ) ;
> > Plot2( LowD, "DayLow", Low_Color ) ;
> > Plot3( HighW, "WeeklyHigh", High_Color ) ;
> > Plot4( LowW, "WeeklyLow", Low_Color ) ;
> > Plot5( HighM, "MonthlyHigh", High_Color ) ;
> > Plot6( LowM, "MonthlyLow", Low_Color ) ;
> > end ;
> >
> > ----- Original Message -----
> > From: "Matt Bowen" <mattbowen@xxxxxxxxxxxxx>
> > To: <Omega-list@xxxxxxxxxx>
> > Sent: Sunday, September 01, 2002 1:47 PM
> > Subject: Plot Daily,Weekly,Monthly
> >
> > > Does anybody know how to plot the daily, weekly and monthly
> > > (continuous lines) on to a intraday 60-minute chart?
> > > In other words, say you have a blank 60-min chart and you want
> > > to plot a continuous line from last month's lowest low
> and the highest
> > > high (previous month). Next, you do the same for the
> weekly and for
> > > the daily bars. The end result should look like this...
> > > Here's what it looks like on CQG: http://www.quanbeck.com
> > >
> > >
> > >
>
>
>