PureBytes Links
Trading Reference Links
|
At 11:02 AM 7/21/2005, robert pisani wrote:
>Where can I get the TradeStation EL code for Triple Switch?
Here is the text of two May 2003 posts by Clyde and Bob R.
I have no idea if this code in the latest available.
Bob Fulks
From: "BobR" <bobrabcd@xxx>
Date: Thu May 29, 2003 11:22 am
Subject: Triple Switch explanation <http://profiles.yahoo.com/bobrabcd>bobrabcd
For those curious about the Triple Switch, attached is a chart showing that
it is nothing more than a 3 period channel that only plots one side at a
time except at the switch points. The switch points occur when the Close is
greater than the upper channel or lower than the lower channel. Those
switch points are not necessarily the best times to execute trades and can
cause whipsaws like any moving average system. However, if you couple the
TSwitch up with some pivot levels and time of day work, you might be able to
extract something out of it. Changing the channel length and or the bar
period produces different results of course. J. Bernstein promoted the 10
bar high and 8 bar low channel technique in which he used a clear bar
penetration of either side of the channel for his signal. The TSwitch could
also be configured that way, hint hint. You could also use Typical Price or
Median price instead of the Close.
enjoy,
bobr
From: "clydelee.com" <clydelee@xxx>
Date: Fri May 23, 2003 10:32 am
Subject: Re: Triple Switch <http://profiles.yahoo.com/clydeleex>clydeleex
Bob (and lists),
The attached .txt file is the code for the .ela that is attached.
The .gif files show the use of the original "plot" version and the
modified "trendline" version.
Hope folks enjoy this as it is an excellent trend indicator.
It can be easily modified to look only for longer trends.
Clyde
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Clyde Lee Chairman/CEO (Home of SwingMachine)
SYTECH Corporation email: <mailto:clydelee@xxxxxxxxxxxx>clydelee@xxxxxxxxxxxx
7910 Westglen, Suite 105 Office: (713) 783-9540
Houston, TX 77063 Fax: (713) 783-1092
Details at: <http://www.theswingmachine.com>www.theswingmachine.com
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
----- Original Message -----
From: <mailto:bobrabcd@xxxxxxxxxxxxx>BobR
To: <mailto:clydelee@xxxxxxxxxxxx>Clyde Lee
Sent: Thursday, May 22, 2003 3:35 PM
Subject: Triple Switch
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 and let him post it so he can get some free advertising.
{Indicator: BobR_Triple Switch}
{Indicator, (FibonacciTrader Triple Switch) using plot
commands was originally coded by Bob Roeske.
Bob Roeske: <http://finance.groups.yahoo.com/group/realtraders/post?postID=eyzxzyTgW6Fqpec95SlkzPJG3rG5i1dDJgp4J-H_3_D8mrRbKReHvRpyVYUI-Ewf_wmKcyCZRyHzoVpFXfI>bobrabcd@xxx
http://www.oextrader.com/sigma_trader
Clyde Lee recoded it and provided the facility to use
TRENDLINES to draw lines. Trendlines are much slower
to initially draw the indicator but provide a much more
pleasing picture.
Clyde Lee: <http://finance.groups.yahoo.com/group/realtraders/post?postID=72ES8suKwUoD09v_jUhMkqXuJfbxNgytby0KafHG8NDiSZEnMryJR5rGoBJM0BgTQH9D-BtCUKSv0v1Hu4Zr>clydelee@xxx
http://www.theswingmachine.com
}
Input: DoPlot(False), {set true to use faster plot method }
{set false to use more pleasing trendlines }
DoVert(True); {if in trendline mode, set false to inhibit}
{drawing of vertical lines. }
Var: Pos(1), TSUP(0), TSDN(0);
Vars: Color1(GetPlotColor(1)), Color2(GetPlotColor(3));
TSUP=Average(H,4)[1];
TSDN=Average(L,4)[1];
If Pos=+1 and C<=TSDN then begin
If DoPlot then begin
Plot1(TSUP,"TSUP");
Plot2(TSUP,"TSUP");
Plot3(TSDN,"TSDN");
Plot4(TSDN,"TSDN");
End
Else Begin
Value1=TL_New(Date[1],Time[1],TSUP,Date,Time,TSUP);
Value2=TL_SetAll(Value1, color1, 1, 3, false, false);
End;
Pos=-1;
End;
If Pos=-1 and C>=TSUP then begin
If DoPlot then begin
Plot1(TSUP,"TSUP");
Plot2(TSUP,"TSUP");
Plot3(TSDN,"TSDN");
Plot4(TSDN,"TSDN");
End
Else Begin
Value1=TL_New(Date[1],Time[1],TSDN,Date,Time,TSDN);
Value2=TL_SetAll(Value1, color2, 1, 3, false, false);
End;
Pos=+1;
End;
If DoPlot then begin
If Pos=-1 and C<TSUP then Plot1(TSUP,"TSUP");
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");
End
Else Begin
If Pos=-1 then begin
Value1=TL_New(Date[1],Time[1],TSUP,Date,Time,TSUP);
Value2=TL_SetAll(Value1, color1, 1, 3, false, false);
If TSUP[1]<>TSUP and Pos[1]=-1 and DoVert then begin
Value1=TL_New(Date[1],Time[1],TSUP[1],Date[1],Time[1],TSUP);
Value2=TL_SetAll(Value1, color1, 1, 3, false, false);
End;
End;
If Pos=+1 then begin
Value1=TL_New(Date[1],Time[1],TSDN,Date,Time,TSDN);
Value2=TL_SetAll(Value1, color2, 1, 3, false, false);
If TSDN[1]<>TSDN and Pos[1]=+1 and DoVert then begin
Value1=TL_New(Date[1],Time[1],TSDN[1],Date[1],Time[1],TSDN);
Value2=TL_SetAll(Value1, color2, 1, 3, false, false);
End;
End;
End;
------------------------ 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/
|