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

Re: Metastock indicator code for dynamic zone indicator



PureBytes Links

Trading Reference Links

Futher below find a copy of the original Dynamic Zones written for MetaStock (Great Tools!!!).
Below the rewritten RSI-DZ2 from SC/TS. Attached zip contains import-formulas!!.

Manualy : in the MSwin-Indicator Builder make 5 separate indicators, one by one,
then copy for each the right "name" and its "formulas+notes" to their rightious
fields, and save. Then in MSwin, open a chart, drop all in same (inner) window,
rightclick on one of them for "properties" and add "50" as value for horizontal line, press ok.

Chart's notes:
Middle chart consist of the natural Horizontal Straight Support & Resistance (HSS+HSR) levels
and the natural Trend Straight Support & Resistance lines(TSS+TSR). All idealy for "get-in and
get-out" use; trading. Unfortunatly no formulas have been written for the S&R levels.
Top-inner-window is RSI-9 and bottom-inner-window is RSI-14, the zones have RSI-9 as underlay.
Combined........................see GIF for results, view just "some" of the AEX-index history when it was
moving sideways(past 4 years) and slowly building up for the 1993/94 1st Elliot Wave-rally.

Additional:
For sturdy-concrete HSS&HSR-levels any of the dynamic "moving" are not suited, as they drift away.
Read up on the Bollinger Bands for interpretation of the narrowing and widening of the zones.

Regards,
Ton Maas
Ms-IRB@xxxxxxxxx

-----------------------------------------------------------------------------------------------
-----------//---------------////-------------------///////-------------------//////////------------
-----------------------------------------------------------------------------------------------

SC/TS-RSI-DZ2 for Metastock
name    :    RSI-DynZon MidBand
formula :    Mov( RSI(9),70,S)
name    :    RSI-DynZon HighBand-Outer
formula :    Mov( RSI(9),70,S)+(2.5*Stdev( Mov( RSI(9),1,S),70))
name    :    RSI-DynZon HighBand-Inner
formula :    Mov( RSI(9),70,S)+Stdev( Mov( RSI(9),1,S),70)
name    :    RSI-DynZon LowBand-Outer
formula :    Mov( RSI(9),70,S)-(2.5*Stdev( Mov( RSI(9),1,S),70))
name    :    RSI-DynZon LowBand-Inner
formula :    Mov( RSI(9),70,S)-Stdev( Mov( RSI(9),1,S),70)
notes    :    {Horizontal lines at 50(30,70); Buy/Sell rules for system :
                    If RSI(9) Crosses Over LowBand-Outer Then Buy on Close;
                    If RSI(9) Crosses Under HighBand-Outer Then Sell on Close;
                    If RSI(9) Crosses Under LowBand-Outer Then ExitLong on Close;
                    If RSI(9) Crosses Over HighBand-Outer Then ExitShort on Close;
                    Orig. publ. p27-summer '98 issue of Omega  Research Magazine}

========================================================
-------//-------------------////------------------///////---------------------//////////////--------------
========================================================

These are the original standard Dynamic Zones well to be used on any indicator
incl. Price(C) , these will then give the Dynamic Support & Resistance Zones.

----------------------------------------------------------------------------------------------------
DYNAMIC OB/OS ZONES - Jan van Gemeren
as published in Dutch TAM-magazine No.4 page 14(Sep97)-Triple Assets
E-mail:Triple.Assets@xxxxxxxxxxxx
(for the use in Metastock rewritten by Ton Maas-Amsterdam-NL980106)
Ms-IRB@xxxxxxxxx
----------------------------------------------------------------------------------------------------

Description:
Used with a signaling ob/os indicator, the level-binded "standard
deviation" values are replaced by dynamic "floating" levels. The
general problem of having to use the ankered values in a rising,
sideways or falling trend are now overcome with optimized
trend-following ob/os zones.
This indicator comes as a 5 piece-set to form, along with its
"underlaying", one inner window.

In Metastock 6.x

Indicator(1-5):
----------
1.Name    : +1 Dynamic OB/OS Zones - top
  formula : {dynamics inner zone - deviation 1 - top}
            Mov( RSI(14),200,S)+Stdev( Mov( RSI(14),1,S),200)
2.Name    : -1 Dynamic OB/OS Zones - bottom
  formula : {dynamics inner zone - deviation 1 - bottom}
            Mov( RSI(14),200,S)-Stdev( Mov( RSI(14),1,S),200)
3.Name    : +1.5 Dynamic OB/OS Zones - top
  formula : {dynamics outer zone -deviation1.5 - top}
            Mov( RSI(14),200,S)+(1.5*Stdev( Mov( RSI(14),1,S),200))
4.Name    : -1.5 Dynamic OB/OS Zones - bottom
  formula : {dynamics outer zone - deviation 1.5 - bottom}
            Mov( RSI(14),200,S)-(1.5*Stdev( Mov( RSI(14),1,S),200))
5.Name    : +0 +0 Dynamic OB/OS Zones
  formula : {dynamics "50" level}
            Mov( RSI(14),200,S)

NOTE: Above formula uses RSI for basics, but it can also be used with
any other overbought/oversold indicator.


===//===========/////============//////=============///////////=======
------------------------------------------------------------------------------------------------------
===//===========/////============//////=============///////////=======

-----Oorspronkelijk bericht-----
Van: Anil Chugani <achugani@xxxxxxxxxxxxxxxx>
Aan: metastock users group <metastock-list@xxxxxxxxxxxxx>
Datum: woensdag 3 juni 1998 12:39
Onderwerp: Metastock indicator code for dynamic zone indicator


>Is it possible to create the dynamic zone indicator in metastock ver 6.5?
>
>If anybody does have the code I would appreciate very much if you could let
>me know.
>
>The Easy Language code for Tradestation & SuperChart is reproduced below and
>is taken from page 27 of the summer '98 issue of Omega  Research Magazine.
>
>RSI-DZ2
>Inputs:PriRSI(Close), LenRSI(9), LookBack(70), StD(2.5), Smooth(1);
>Vars: MidBand(0), HighBand(0), LowBand(0);
>MidBand=Average(RSI(PriRSI, LenRSI), LookBack);
>HighBand=MidBand+StdDev(RSI(PriRSI, LenRSI), LookBack) * StD;
>HighBand=Average(HighBand, Smooth);
>LowBand=MidBand-StdDev(RSI(Pri(RSI,LenRSI), LookBack) * StD;
>LowBand=Average(LowBand, Smooth);
>
>Buy/Sell rules for system
>If RSI(PriRSI, LenRSI) Crosses Over LowBand Then Buy on Close;
>If RSI(PriRSI, LenRSI) Crosses Under HighBand Then Sell on Close;
>If RSI(PriRSI, LenRSI) Crosses  Under LowBand Then ExitLong on Close;
>If RSI(PriRSI, LenRSI) Crosses  Over HighBand Then ExitShort on Close:


Attachment Converted: "c:\eudora\attach\Ms65-DynZonRSI.zip"

Attachment Converted: "c:\eudora\attach\DynRSI-S&R.gif"