Wilder Moving Average Strategy

Forums ProRealTime English forum ProOrder support Wilder Moving Average Strategy

Viewing 7 posts - 1 through 7 (of 7 total)
  • #137161

    Could some convert this Pinescript strategy to a ProRealtime strategy please?

    //@version=4
    strategy(“Wilder’s Moving Average Strategy”, overlay=true)

    malength = input(36, “length”, minval=1)

    longd = false
    shortd = false
    lineColor = color.yellow
    wild = 0.0

    wild := nz(wild[1]) + (close -nz(wild[1]))/malength

    longd := wild > wild[1]

    shortd := wild < wild[1]

    lineColor := longd ? color.green : shortd ? color.red : color.yellow

    plot(wild, color=lineColor, linewidth=2, title=”WILD”)

    if longd
    strategy.entry(“long”, strategy.long, when = strategy.position_size <= 0) else if shortd strategy.entry(“short”, strategy.short, when = strategy.position_size >= 0)

    #137162

    Don’t you like the one built-in with the platform?

     

    #137165

    Vonasi pointed me out that it’s a strategy but you posted in ProBuilder (indicators).

    I’ll move your topic to ProOrder.

     

    #137181

    Apologies. I posted in the wrong place.

    #137211

    This strategy is basically using the slope of the Wilder Average to enter at market. Did you know how it operates? The assisted creation is your best friend in case of simple strategy like this.

    #137212
    #137213

    Thanks Nicolas. I didn’t think of that. Let me try it and see how it works.

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

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