- Katılım
- 23 Eki 2020
- Mesajlar
- 1,828
----- 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: |