Plot 8 Day EMA(close, 3) on Daily chart

Forums ProRealTime English forum ProBuilder support Plot 8 Day EMA(close, 3) on Daily chart

Viewing 9 posts - 1 through 9 (of 9 total)
  • #45302

    Hello,

    I’m NEW to ProRealCode.

    How to plot – 8 Day EMA(close, 3) on a daily chart?

    Also, how to turn that into screener?

    Thanks

     

    #45322

    What doeas parameter 3 mean (after close)?

    #45323

    Sorry that’s Pine script code. Its 3 period plot on 8 day chart.

    thanks

    #45637

    This kind of code should be close enough to a real daily EMA, but in intraday timeframes:

     

    #45653

    Thanks Nicolas. Based on EMA formula (http://stockcharts.com/school/doku.php?id=chart_school:technical_indicators:moving_averages) and my initial request:

    EMA(3) is what gets calculated. In you example code it is EMA(14). But what I need is to convert below pinescript:

    //@version=3
    study(“My Script”)
    m=security(tickerid, “8D”, ema(close,3))
    plot(m)

    also, once this is works I need to convert this as a screener. Currently Tradingview lacks in this. TOS doesn’t have 8D but they do have 1d, 2d, 3d and 4day period but NOT 8D :(.

    #45664

    So to be clear, you want to get the EMA 3 periods of an 8 days timeframe?

    #45668

    Yes, Nicolas but plot it on a Daily chart view.

    If you run that script I shared on Tradingview you will see what I mean.

    Finally, I need to convert it as sceener.

    Thanks

    #45693

    Just a quick and rough code this morning (have to go), please have in mind that there is no multi timeframe support in ProBuilder.

    About the screener, please give me at least one condition to fire alerts! Thank you.

    #45761

    Thanks Nicolas ..this gave me the idea … here’s the code but i’m not getting the quite the value it should be for 8D ema(3).

    within “if count” structure and having dclose(0) will get EMA(3) so Dclose(7) will get me close of 8th day. Previous ema calculation is what i think needs to be fixed to get my code working 100% accurately.

     

Viewing 9 posts - 1 through 9 (of 9 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login