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

Re[2]: [RT] triple switch



PureBytes Links

Trading Reference Links

Hello  Bob,
I  can't  get the code below to verify in TS 8 . The word
TL_SetAll isn't recognized. Is there a change in this line that should
be made for TS8?

  Value2=TL_SetAll(Value1, color1, 1, 3, false, false);


Thursday, July 21, 2005, 12:30:12 PM, you wrote:

BF> At 11:02 AM 7/21/2005, robert pisani wrote:

>>Where can I get the TradeStation EL code for Triple Switch?

BF> Here is the text of two May 2003 posts by Clyde and Bob R.

BF> I have no idea if this code in the latest available.

BF> Bob Fulks

BF> From: "BobR" <bobrabcd@xxx> 
BF> Date: Thu May 29, 2003  11:22 am 
BF> Subject: Triple Switch explanation <http://profiles.yahoo.com/bobrabcd>bobrabcd 

BF> For those curious about the Triple Switch, attached is a chart showing that
BF> it is nothing more than a 3 period channel that only plots one side at a
BF> time except at the switch points. The switch points occur when the Close is
BF> greater than the upper channel or lower than the lower channel. Those
BF> switch points are not necessarily the best times to execute trades and can
BF> cause whipsaws like any moving average system. However, if you couple the
BF> TSwitch up with some pivot levels and time of day work, you might be able to
BF> extract something out of it. Changing the channel length and or the bar
BF> period produces different results of course. J. Bernstein promoted the 10
BF> bar high and 8 bar low channel technique in which he used a clear bar
BF> penetration of either side of the channel for his signal. The TSwitch could
BF> also be configured that way, hint hint. You could also use Typical Price or
BF> Median price instead of the Close.

BF> enjoy,
BF> bobr



BF> From: "clydelee.com" <clydelee@xxx> 
BF> Date: Fri May 23, 2003  10:32 am 
BF> Subject: Re: Triple Switch <http://profiles.yahoo.com/clydeleex>clydeleex 

BF> Bob (and lists),
 
BF> The attached  .txt  file is the code for the   .ela   that is attached.
 
BF> The  .gif  files show the use of the original "plot" version and the
BF> modified "trendline" version.
 
BF> Hope folks enjoy this as it is an excellent trend indicator.
 
BF> It can be easily modified to look only for longer trends.
 
BF> Clyde
 
 
BF> - - - - - - - - - - - - - - - - - - - - -  - - - - - - -
BF> Clyde Lee   Chairman/CEO          (Home of SwingMachine)
BF> SYTECH Corporation          email: <mailto:clydelee@xxxxxxxxxxxx>clydelee@xxxxxxxxxxxx  
BF> 7910 Westglen, Suite 105       Office:    (713) 783-9540
BF> Houston,  TX  77063               Fax:    (713) 783-1092
BF> Details at:                      <http://www.theswingmachine.com>www.theswingmachine.com
BF> - - - - - - - - - - - - - - - - - - - -  - - - - - - - -  
BF> ----- Original Message ----- 
BF> From: <mailto:bobrabcd@xxxxxxxxxxxxx>BobR 
BF> To: <mailto:clydelee@xxxxxxxxxxxx>Clyde Lee 
BF> Sent: Thursday, May 22, 2003 3:35 PM 
BF> Subject: Triple Switch 
  
BF> It is the FibonacciTrader Triple Switch.  I translated it and Clyde recoded it as he always does.  I should check with him to see if he has any problems with publishing his version.  I'll ask him
BF> and let him post it so he can get some free advertising. 
 



 
BF> {Indicator: BobR_Triple Switch}

BF> {Indicator, (FibonacciTrader Triple Switch) using plot
BF> commands was originally coded by Bob Roeske.
BF> Bob Roeske: <http://finance.groups.yahoo.com/group/realtraders/post?postID=eyzxzyTgW6Fqpec95SlkzPJG3rG5i1dDJgp4J-H_3_D8mrRbKReHvRpyVYUI-Ewf_wmKcyCZRyHzoVpFXfI>bobrabcd@xxx
BF> http://www.oextrader.com/sigma_trader

BF> Clyde Lee recoded it and provided the facility to use
BF> TRENDLINES to draw lines. Trendlines are much slower
BF> to initially draw the indicator but provide a much more
BF> pleasing picture.
BF> Clyde Lee: <http://finance.groups.yahoo.com/group/realtraders/post?postID=72ES8suKwUoD09v_jUhMkqXuJfbxNgytby0KafHG8NDiSZEnMryJR5rGoBJM0BgTQH9D-BtCUKSv0v1Hu4Zr>clydelee@xxx
BF> http://www.theswingmachine.com

BF> }


BF> Input: DoPlot(False), {set true to use faster plot method }
BF> {set false to use more pleasing trendlines }
BF> DoVert(True); {if in trendline mode, set false to inhibit}
BF> {drawing of vertical lines. }

BF> Var: Pos(1), TSUP(0), TSDN(0);
BF> Vars: Color1(GetPlotColor(1)), Color2(GetPlotColor(3));

BF> TSUP=Average(H,4)[1];
BF> TSDN=Average(L,4)[1];

BF> If Pos=+1 and C<=TSDN then begin
BF> If DoPlot then begin
BF> Plot1(TSUP,"TSUP");
BF> Plot2(TSUP,"TSUP");
BF> Plot3(TSDN,"TSDN");
BF> Plot4(TSDN,"TSDN");
BF> End
BF> Else Begin
BF> Value1=TL_New(Date[1],Time[1],TSUP,Date,Time,TSUP);
BF> Value2=TL_SetAll(Value1, color1, 1, 3, false, false);
BF> End;
BF> Pos=-1;
BF> End;

If Pos=-1 and C>>=TSUP then begin
BF> If DoPlot then begin
BF> Plot1(TSUP,"TSUP");
BF> Plot2(TSUP,"TSUP");
BF> Plot3(TSDN,"TSDN");
BF> Plot4(TSDN,"TSDN");
BF> End
BF> Else Begin
BF> Value1=TL_New(Date[1],Time[1],TSDN,Date,Time,TSDN);
BF> Value2=TL_SetAll(Value1, color2, 1, 3, false, false);
BF> End;
BF> Pos=+1;
BF> End;

BF> If DoPlot then begin
BF> If Pos=-1 and C<TSUP then Plot1(TSUP,"TSUP");
BF> If Pos=-1 and C<TSUP then Plot2(TSUP,"TSUP");
If Pos=+1 and C>>TSDN then Plot3(TSDN,"TSDN");
If Pos=+1 and C>>TSDN then Plot4(TSDN,"TSDN");
BF> End
BF> Else Begin
BF> If Pos=-1 then begin
BF> Value1=TL_New(Date[1],Time[1],TSUP,Date,Time,TSUP);
BF> Value2=TL_SetAll(Value1, color1, 1, 3, false, false);
BF> If TSUP[1]<>TSUP and Pos[1]=-1 and DoVert then begin
BF> Value1=TL_New(Date[1],Time[1],TSUP[1],Date[1],Time[1],TSUP);
BF> Value2=TL_SetAll(Value1, color1, 1, 3, false, false);
BF> End;
BF> End;
BF> If Pos=+1 then begin
BF> Value1=TL_New(Date[1],Time[1],TSDN,Date,Time,TSDN);
BF> Value2=TL_SetAll(Value1, color2, 1, 3, false, false);
BF> If TSDN[1]<>TSDN and Pos[1]=+1 and DoVert then begin
BF> Value1=TL_New(Date[1],Time[1],TSDN[1],Date[1],Time[1],TSDN);
BF> Value2=TL_SetAll(Value1, color2, 1, 3, false, false);
BF> End;
BF> End;
BF> End;








 
BF> Yahoo! Groups Links



 




-- 
Best regards,
 Roger                            mailto:mailrs@xxxxxxxxxx



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/DldnlA/9M2KAA/U1CZAA/zMEolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/realtraders/

<*> To unsubscribe from this group, send an email to:
    realtraders-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/