percentage price oscillator indicator PPO

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

    Hi all,

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

    #66213 quote
    gabrigabri
    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
    mmtrademmtrade
    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
    mmtrademmtrade
    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
    robertogozzirobertogozzi
    Moderator
    Legend

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

    exponentialaverage[26](close)
    mmtrade thanked this post
    #66228 quote
    mmtrademmtrade
    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.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

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 mmtrademmtrade
8 years, 6 months ago.

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