Backtrader Community

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

    Posts made by han shen

    • RE: How to optimize custom indicator parameters?

      @cdubya

      class Volume_Reversal_line(bt.Indicator):
          lines = ('Pr_chg','Std_100day','Avg5d_vol','Past_5d_avg_vol')
      
          params = (
              ('period',12),
              ('stdperiod',50)
          )
      
      

      I am referring to the parameters here. The parameters here cannot be adjusted with optstrategy.

      posted in Indicators/Strategies/Analyzers
      han shen
      han shen
    • How to optimize custom indicator parameters?

      optstrategy can adjust the parameters in the strategy, how can I adjust the parameters in the previous section, Custom Indicators?

      posted in Indicators/Strategies/Analyzers
      han shen
      han shen
    • 1 / 1