Exponential Average of a Daily Pivot Point

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #172009 quote
    oyinloyea
    Participant
    Veteran

    Can you please help me code the Exponential moving average of the past 8 days. I will like to show on price

    Regards

    #172012 quote
    robertogozzi
    Moderator
    Master

    There you go:

    MyEma = Average[8,1](close)
    RETURN MyEma AS "Ema8"

    but if you just want it to be plotted on your chart, you could do it yourself with no programming required, by simply adding the built-in (predefined) Exponential Moving Average to your chart, then selecting 8 periods.

    #172017 quote
    oyinloyea
    Participant
    Veteran

    Thanks for your prompt reply. I think I sent the wrong question.

    Can you please help me code the EMA 8 of the Daily pivot on price.

    Regards

    capture2-1.jpg capture2-1.jpg
    #172023 quote
    robertogozzi
    Moderator
    Master

    Now I got it:

    // Daily Pivot
    Timeframe(Daily,UpdateOnClose)
    MyPivot = (high + low + close) /3  //Daily Pivot
    MyEma   = Average[8,1](MyPivot)    //Ema8 of Daily Pivot
    Timeframe(default)
    RETURN MyEma AS "Ema8 Pivot"
    #172025 quote
    oyinloyea
    Participant
    Veteran

    Thanks a million . Appreciated

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

Exponential Average of a Daily Pivot Point


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
oyinloyea @oyinloyea Participant
Summary

This topic contains 4 replies,
has 2 voices, and was last updated by oyinloyea
4 years, 7 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 06/18/2021
Status: Active
Attachments: 1 files
Logo Logo
Loading...