Yeah, using a list instead of numpy.arange helps.
Looks like the reason causing this error is inside BBands indicator class. Because, for example, feeding ATR indicator with numpy.arange array works perfect!
For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/
Latest posts made by MiXaLFtruck
-
RE: Optimizer gives me " only size-1 arrays can be converted to Python scalars" error