           <span class="k">if</span> <span class="n">return_diff</span><span class="p">:</span>
                    <span class="k">assert</span> <span class="nb">len</span><span class="p">(</span><span class="n">macd_res</span><span class="p">)</span> <span class="o">==</span> <span class="n">oriLen</span>
                <span class="k">else</span><span class="p">:</span>
                    <span class="n">col</span> <span class="o">=</span> <span class="nb">list</span><span class="p">(</span><span class