For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/
PSAR indicator and multiple timeframes
-
Thanks @backtrader. That will cover most cases. Maybe the
SAREXT
indicator should also be added?In my case I'm working with a very large datasheet so to avoid performance issues I've coded something like:
def next(self): self.psar0._lookback = min(100, len(self.data0))
so I have a "dynamic"
_lookback
from 1 to 100And why 100?... newbie here! just by observation, it seems to be a good value to calculate a real
ParabolicSAR
value.