Navigation

    Backtrader Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. gaojb
    For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/
    G
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 2
    • Best 0
    • Groups 0

    gaojb

    @gaojb

    0
    Reputation
    1
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    gaojb Unfollow Follow

    Latest posts made by gaojb

    • RE: ATR difference with Metatrader? + original welles wilder version

      I found a better way:
      just add a movav parameter when you use the ATR indicator like this:
      bt.indicators.AverageTrueRange(self.data0, period=20, movav=MovAv.Simple)

      posted in Indicators/Strategies/Analyzers
      G
      gaojb
    • RE: ATR difference with Metatrader? + original welles wilder version

      If you want to use simple moving average for ATR, you can simply use the MovAv.Simple instead of MovAv.Smoothed in the original indicator's params.

      posted in Indicators/Strategies/Analyzers
      G
      gaojb