percentage price oscillator indicator PPO

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #66186 quote
    mmtrade
    Participant
    New

    Hi all,

    can anybody help me where to find the  percentage price oscillator indicator PPO? Many thanks in advance.

    #66213 quote
    gabri
    Participant
    Master

    You can use this code:

    a=exponentialaverage(26)(close)
    b=exponentialaverage(12)(close)
    
    c=100*(b-a)/a
    
    signal=exponentialaverage(9)(c)
    return c as "PPO", signal as "Signal"
    robertogozzi and mmtrade thanked this post
    #66223 quote
    mmtrade
    Participant
    New

    Hi Gabri,

    thank you very much. It is showing an error (Line 1 Number 25) but unfortunately i can not figure out what the error is. Can you please have a chek. I have attached a screenshot. Many thanks in advance.

    syntax_error.png syntax_error.png
    #66225 quote
    mmtrade
    Participant
    New

    Hi Gabri,

    thank you very much. It is showing an error (Line 1 Number 25) but unfortunately i can not figure out what the error is. Can you please have a chek. I have attached a screenshot. Many thanks in advance.

    Attachments:
    syntax_error-1.png syntax_error-1.png
    #66227 quote
    robertogozzi
    Moderator
    Master

    Any average should be written with their period within brackets, not parenthesis:

    exponentialaverage[26](close)
    mmtrade thanked this post
    #66228 quote
    mmtrade
    Participant
    New

    Thank you very much!

    gabri thanked this post
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.

percentage price oscillator indicator PPO


ProBuilder: Indikatoren & Custom Tools

New Reply
Author
author-avatar
mmtrade @mmtrade Participant
Summary

This topic contains 5 replies,
has 3 voices, and was last updated by mmtrade
7 years, 11 months ago.

Topic Details
Forum: ProBuilder: Indikatoren & Custom Tools
Language: German
Started: 03/23/2018
Status: Active
Attachments: 2 files
Logo Logo
Loading...