For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/

change the from plotting with a line to plotting with a marker



  • How do I change the from plotting with a line to plotting with a marker for ParabolicSAR indicator. I've tried:

    class ParabolicSAR(ta_ind.SAR):
        plotlines = {'SAR': dict(
            marker='o', color='blue',
            markersize=8.0, fillstyle='full')}
    

    then in Strategy:

    def __init__(self):
          self.Parabolic_SAR = ParabolicSAR(self.datas[0].high, self.datas[0].low, plotlinelabels=True)
    

    It did not do it

    Am I on a right track?

    Advice appreciated!


  • administrators

    ls='' to disable linestyle.

    It's already so in the built-in PSAR ...

    0_1560867872178_5e36a9e0-eb12-47b5-be61-b49ad0db7edb-image.png


Log in to reply
 

});