es-31"><span class="linenos">31</span></a>
</span><span id="sample_prices-32"><a href="#sample_prices-32"><span class="linenos">32</span></a>    <span class="k">if</span> <span class="n">max_bars</span> <span class="o">&gt;</span> <span class="mi">0</span><span class="p">:</span>
</span><span id="sample_prices-33"><a href="#sample_prices-33"><span class="linenos">33</span></a>        <span class="n">prices</span> <span class="o">=</span> <span class="n">prices</span><span class="o">.</span><span class="n">t