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 #

Percentage Price Oscillator
PPO
To: "List MetaStock" <metastock@xxxxxxxxxxxxx>
Subject: PPO
From: wooglin.org@xxxxxxxxxxx
Date: Fri, 9 Feb 2001 09:32:15 -0500
Reply-To: metastock@xxxxxxxxxxxxx
Sender: owner-metastock@xxxxxxxxxxxxx

In the last issue of TASC on page 32, The Percentage Price Oscillator is described. The use of a trigger line is also used with the PPO. If I create the PPO indicator and the "Trigger" in the same indicator as below, how do I get the indicator to plot both lines?


Percentage Price Oscillator I

PPO:= ((Mov(C,12,E ) - Mov(C,26,E))/Mov(C,12,E))*100;
Trigger:= Mov(PPO,9,E);
PPO; Trigger;

 

Thanks,

Jim Barone


Re: PPO (2°)
To: metastock@xxxxxxxxxxxxx
Subject: Re: PPO (2°)
From: Giancarlo Gaydou <giancarlogaydou@xxxxxxxxxxxx>
Date: Fri, 09 Feb 2001 18:22:01 +0100
In-Reply-To: <000801c092a5$43af6080$d892fea9@xxxxxx>
Reply-To: metastock@xxxxxxxxxxxxx
Sender: owner-metastock@xxxxxxxxxxxxx
Like this:

PPO:= ((Mov(C ,12,E ) - Mov(C,26,E))/Mov(C,12,E))*100;
Trigger:= Mov(C,9,E);
PPO;
Trigger;

but the lines will plot the same colour, and the Trigger shall never cross the PPO, since the PPO will be the average close of n days,and the Trigger a % difference between different MA of the close, maybe the solution is something like this:

Like this:

 


Percentage Price Oscillator II

PPO:= ((Mov(C ,12,E ) - Mov(C,26,E))/Mov(C,12,E))*100;
Trigger:= Mov(((Mov(C ,12,E ) - Mov(C,26,E))/Mov(C,12,E))*100,9,E);
PPO;
Trigger;

 

I would write them as 2 different indicators.
gg

[562-3]

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!