MACD Retraso nulo

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #13887 quote
    RafaelNRafaelN
    Moderator
    Senior

    Hola forer@s,

     

    Este indicador se solicita muy a menudo a ProRealTime:

    
    MACD zero lag complet:r=9
    q=26
    p=12
    
    EMA1=ExponentialAverage[p](close)
    EMA2=ExponentialAverage[p](EMA1)
    DIFFERENCE=EMA1-EMA2
    ZEROLAGEMA13=EMA1+DIFFERENCE
    
    EMA11=ExponentialAverage[q](close)
    EMA22=ExponentialAverage[q](EMA11)
    DIFFERENCE1=EMA11-EMA22
    ZEROLAGEMA21=EMA11+DIFFERENCE1
    
    ZEROLAGMACD=ZEROLAGEMA13-ZEROLAGEMA21
    
    EMA33=ExponentialAverage[r](ZEROLAGMACD)
    EMA44=ExponentialAverage[r](EMA33)
    DIFFERENCE2=EMA33-EMA44
    
    ZEROLAGTRIG=EMA33+DIFFERENCE2
    
    HISTO = ZEROLAGMACD - ZEROLAGTRIG
    
    return ZEROLAGMACD AS "ZeroLagMACD" , ZEROLAGTRIG AS "ZeroLagsignal", HISTO as "Histogram"
    Nicolas thanked this post
Viewing 1 post (of 1 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

MACD Retraso nulo


ProBuilder: Indicadores y Herramientas

New Reply
Author
author-avatar
RafaelN @rafaeln Moderator
Summary

This topic contains 1 voice and has 0 replies.

Topic Details
Forum: ProBuilder: Indicadores y Herramientas
Language: Spanish
Started: 09/29/2016
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...