Detrended Price Ocillator

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #8254 quote
    m-zeterm-zeter
    Participant
    Senior

    Guten Tag,

    ich möchte den Detrended Price Ocillator (DPO) Indikator benutzen, jedoch nicht mit dem Gleitenden Durchschnitt im Voraus sondern mit dem Gleitenden Durchschnitt in der Vergangenheit.

    Im Voraus lautet der Indikator glaube ich so: DPO[21](close)

    Nur wie heißt der in Vergangenheit? Wird das close in der Klammer durch etwas ersetzt?

     

    Danke im Voraus

    #8266 quote
    NicolasNicolas
    Keymaster
    Legend

    Hallo, können Sie diesen Code verwenden, um die DPO Werte der Vergangenheit  zu erhalten. Es ist das gleiche wie das Original in der Plattform:

    // **** DPO of past moving average and not future ones :
    
    avg = average[p](customclose)
    r = round(p/2) +1
    b = customclose - avg[r]
    myDPO = b
    
    RETURN myDPO as "Detrented Price Oscillator of past datas", 0 coloured(10,10,255) as "0"
    DPOscillator-Past-Datas-only.itf
    #8280 quote
    m-zeterm-zeter
    Participant
    Senior

    Thank you!

Viewing 3 posts - 1 through 3 (of 3 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

Detrended Price Ocillator


ProBuilder: Indikatoren & Custom Tools

New Reply
Author
author-avatar
m-zeter @m-zeter Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by m-zeterm-zeter
10 years, 3 months ago.

Topic Details
Forum: ProBuilder: Indikatoren & Custom Tools
Language: German
Started: 05/27/2016
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...