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
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
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.