Navigation

    Backtrader Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/

    Bokeh indicator lines dont show

    General Discussion
    2
    5
    53
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • V
      vivek last edited by

      Re: Bokeh Integration - Interactive Webbrowser Plotting

      Hi,
      Amazing work with integrating with Bokeh.. I was able to integrate it.. I am facing two issues. I am not able to figure out

      1. I have given style = bar. Yet it prints candlesticks
      2. I have a custom indicator and the lines dont show up.. I have attached how it shows in bokeh as well as how it shows in the original plot. Can you please help

      Bokeh plotting
      Bokeh_plot.PNG

      Here is the original backtrader plotting
      Original_plot_backtrader.PNG

      D 1 Reply Last reply Reply Quote 0
      • D
        dasch @vivek last edited by

        @vivek you could try a fork of backtrader_plotting which may support your custom indicator:

        https://github.com/happydasch/btplotting

        V 1 Reply Last reply Reply Quote 0
        • V
          vivek @dasch last edited by

          @dasch Wow thanks Dasch.. I was able to get it up and running.. But the issue is the same..
          If you notice, Lines that connect two points are not drawn (they do appear intermittently in some places if you notice) . Here is a snapshot

          compare this to the original one where you see blue dotted lines and red lines.

          Can you please help.. Really like this and want to make this work

          btplotting.PNG

          D 1 Reply Last reply Reply Quote 0
          • D
            dasch @vivek last edited by

            @vivek you could create an issue with some example code to reproduce the custom indicator line. but if it does not work with the current code, it may be hard to fix that.

            V 1 Reply Last reply Reply Quote 0
            • V
              vivek @dasch last edited by

              @dasch said in Bokeh indicator lines dont show:

              produce the custom indicator line. but if it

              Thanks Dasch.. I have opened a new issue https://github.com/happydasch/btplotting/issues/13

              One more update.. I tried drawing horizontal lines.. They work perfectly.. Really weird.. I am not able to debug :(btplotting_horizontal_lines.PNG

              All I am trying to do is plot the zigzag indicator that the admin of backtrader coded here https://community.backtrader.com/topic/773/zigzag-indicator

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              Copyright © 2016, 2017, 2018 NodeBB Forums | Contributors
              $(document).ready(function () { app.coldLoad(); }); }