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 #

StTO Oscillator
----- Original Message -----
From: Angel Ibarra <ibarra@xxxxxxxxx>
To: <metastock@xxxxxxxxxxxxx>
Sent: Wednesday, June 23, 1999 2:02 AM
Subject: Re: StoRSI S&P Tracker

> Adam,
> I am rather new to this list and I do not know all the indicators that
> you mention. Can anyone tell me what is the StTO (short-term trend
> oscillator)?
> Thanks a lot
> Angel


Re: StoRSI S&P Tracker

· To: <metastock@xxxxxxxxxxxxx>
· Subject: Re: StoRSI S&P Tracker
· From: "VonHef" <VonHef@xxxxxxxxxxxxx>
· Date: Wed, 23 Jun 1999 18:32:25 -0500
· Organization: Microsoft Corporation
· References: <03015523449771@xxxxxxxxxxxx>
· Reply-To: metastock@xxxxxxxxxxxxx
· Sender: owner-metastock@xxxxxxxxxxxxx

Angel,

The StTO is really nothing unique. It is basically a momentum indicator and plots very similar to the "Chande Momentum Oscillator" with the main difference being the "StTO" doesn't seem to swing as far as the CMO.
I am not sure how the math is calculated for the CMO,but the (basic) math for the StTO is:

(Close - Yesterday's Close) / (H-L)

Here is the MetaStock code I use:


StTO - Short-term Trend Oscillator

Lb:=Input("Smoothing Period?",1,60,5);
Num:=C-Ref(C,-1);
Den:=H-L;
Mn:=If(Mov(Num,Lb,S)=0,.01,Mov(Num,Lb,S));
Md:=If(Mov(Den,Lb,S)=0,.01,Mov(Den,Lb,S));
(Mn/Md)*100

 

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!