s="p">,</span> <span class="n">arr</span><span class="p">,</span> <span class="n">return_diff</span><span class="p">):</span>
        <span class="k">for</span> <span class="n">ar</span> <span class="ow">in</span> <span class="n">arr</span><span class="p">:</span>
            <span class="n">macd_res</span> <span class="o">=</span> <span class="p">[]</span>
            <span class="n">oriLen</span> <span class="o">=</span> <span class="nb">len</span><span class="p">(</span><span class="n">ar</span><span cla