MetaStock™ Zone Forum & FAQ Artykuły Linki Elliott Waves EasyLanguage™ Zone

A B C D E F G H I J K L M N O P R S T U V W Y Z #

Kase Indicator by Cynthia Kase
Re: Kase Indicator

* To: <metastock@xxxxxxxxxxxxx>
* Subject: Re: Kase Indicator
* From: "Glen Wallace" <gcwallace@xxxxxxxx>
* Date: Tue, 24 Jul 2001 09:54:56 -0700
* References: <sb5d508a.097@xxxxxxxxxxxxxxxxxxxxxxxxxx>
* Reply-To: metastock@xxxxxxxxxxxxx
* Sender: owner-metastock@xxxxxxxxxxxxx

----- Original Message -----
From: "Erich Kohlhofer" <KohlhoEG@xxxxxxxxxxxx>
To: <metastock@xxxxxxxxxxxxx>
Sent: Tuesday, July 24, 2001 1:40 AM
Subject: Kase Indicator

> Hi, this is the Cynthia Kase indicator written for Omega-Tradestation:
>
> input: N1(10);
>
> var:KSDIUP(0),KSDIDN(0);
>
> if average(@TrueRange, n1) > 0 then
> KSDIUP = ((high[N1]/low))/(( average(V, N1) * SquareRoot(n1)))
> else KSDIUP = KSDIUP[1];
>
> if average(@TrueRange, n1) > 0 then
> KSDIDN = ((high/low[N1]))/(( average(V, N1) * SquareRoot(n1)))
> else KSDIDN = KSDIDN[1];
>
> if KSDIUP>KSDIDN then plot1(l,"l");
> if KSDIUP<KSDIDN then plot2(h,"h");
>
> if KSDIUP=KSDIDN then plot3((h+l)/2,"m")
>
> Does anyone have the MS code for this?
>
> Erich

Here it is in MetaStock Language with a MetaStock chart and TradeStation chart attached for comparison. Erich, please tell us about the logic and how the indicator is used.


Kase Indicator

N1:= 10;
KSDIUP:= If(ATR(N1)>0,
(Ref(H,-N1)/L)/(Mov(V,N1,S)*Sqrt(N1)),
Ref((Ref(H,-N1)/L)/(Mov(V,N1,S)*Sqrt(N1)),-1));
KSDIDN:= If(ATR(N1)>0,
(H/Ref(L,-N1))/(Mov(V,N1,S)*Sqrt(N1)),
Ref((H/Ref(L,-N1))/(Mov(V,N1,S)*Sqrt(N1)),-1));
Plot:= If(KSDIUP>KSDIDN, LOW,
If(KSDIUP<KSDIDN, HIGH, (HIGH+LOW)/2));
Plot;

 

I wondered about the logic myself. The line you highlighted is just moving average volume multiplied by the square root of 10. The ATR, volume, and square root stuff is smoke and mirrors, while the essence of the entire indicator is:

If (Ref(High,-10) / Low) > (High / Ref(Low,-10)) then plot the Low
If (Ref(High,-10) / Low) < (High / Ref(Low,-10)) then plot the High

Source / From: TOP
http://purebytes.com/archives/metastock/

Equis and MetaStock® and MetaStock Professional® are registered trademarks of Equis International. Achelis Binary Wave®, The DownLoader®,
Expert Advisor®, OptionScope®, Quotecenter® and Smart Charts® are trademarks of Equis International, a Thomson Reuters company.

TradeStation® Pro, TradeStation® 2000i, OptionStation®, SuperCharts®, PowerEditor® and EasyLanguage®
are registered trademarks of TradeStation Technologies, Inc. Other names and marks referred to are the property of their respective owners.

All information provided on this website is for educational purposes only. Trading involves risk, including possible loss of principal and other losses.

Ten i inne materiały na tej stronie zostały zamieszczone zostały jedynie w celach edukacyjnych, nie ponoszę żadnej odpowiedzialno¶ci za ich stosowanie.

Gra na giełdzie i rynkach walutowych (FOREX) niesie ze sob± ryzyko poważnych strat finansowych!