buy when moving average is green- sell when is red

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #23200 quote
    enzo_52
    Participant
    Senior

    hi, this is  Quadruple Exponential Moving Average indicator, how can i go long when QEMA is green and short when is red?

    thanks in advance

     

    //PRC_QEMA | indicator
    //23.01.2017
    //Nicolas @ www.prorealcode.com
    //Sharing ProRealTime knowledge
    
    //--- parameters
    // period = 14
    // method = MOVING AVERAGE TYPE
    // ---
    
    Price=customclose
    
    MA1=Average[period,method](Price)
    MA2=Average[period,method](MA1)
    MA3=Average[period,method](MA2)
    MA4=Average[period,method](MA3)
    MA5=Average[period,method](MA4)
    QEMA=5*MA1-10*MA2+10*MA3-5*MA4+MA5
    
    RETURN QEMA as "Quadruple Exponential Moving Average indicator"
    #23206 quote
    Nicolas
    Keymaster
    Master

    Enzo, if you want to speak English, please post in English Forums, not in the Italian one. I moved your topic to the right section.

    You have already posted this request before and already get an answer here: https://www.prorealcode.com/topic/long-short-when-moving-average-changed-color/

    #23219 quote
    enzo_52
    Participant
    Senior

    sorry Nicolas…it was my mistake…

    thanks a lot

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

buy when moving average is green- sell when is red


ProOrder support

New Reply
Author
author-avatar
enzo_52 @enzo_52 Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by enzo_52
9 years ago.

Topic Details
Forum: ProOrder support
Language: English
Started: 01/31/2017
Status: Active
Attachments: No files
Logo Logo
Loading...