Alpha-Decreasing Exponential Moving Average ( ADEMA) from Tradingview

Forums ProRealTime English forum ProBuilder support Alpha-Decreasing Exponential Moving Average ( ADEMA) from Tradingview

Viewing 2 posts - 1 through 2 (of 2 total)
  • #220383
    Al

    Hello ,

    I am requesting a code translation from Pine script of Tradingview to Prorealtime langage .

    Here is the code

    //@version=4
    // Copyright (c) 2019-present, Alex Orekhov (everget)
    // Alpha-Decreasing Exponential Moving Average script may be freely distributed under the terms of the GPL-3.0 license.
    study(“Alpha-Decreasing Exponential Moving Average”, shorttitle=”ADEMA”, overlay=true)
    alpha = 2 / (int(bar_index) + 1)
    ema = close
    ema := alpha * ema + (1 – alpha) * nz(ema[1], ema)
    plot(ema, title=”ADEMA”, linewidth=2, color=color.orange)
    Thanks in advance
    #220406

    Here is the translated code to be used with ProRealTime for the ADEMA

     

    1 user thanked author for this post.
    avatar Al
Viewing 2 posts - 1 through 2 (of 2 total)

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