<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Topics tagged with curves]]></title><description><![CDATA[A list of topics that have been tagged with curves]]></description><link>http://quantiacs.com/community/tags/curves</link><generator>RSS for Node</generator><lastBuildDate>Mon, 16 Mar 2026 05:55:15 GMT</lastBuildDate><atom:link href="http://quantiacs.com/community/tags/curves.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 16 Jun 2021 21:16:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[EMA angles and curves]]></title><description><![CDATA[<p dir="auto">Hello.</p>
<p dir="auto">Try to use ROC (Rate Of Change).</p>
<p dir="auto"><a href="https://www.investopedia.com/terms/p/pricerateofchange.asp#:~:text=The%20Price%20Rate%20of%20Change%20(ROC)%20is%20a%20momentum%2D,certain%20number%20of%20periods%20ago" rel="nofollow ugc">https://www.investopedia.com/terms/p/pricerateofchange.asp#:~:text=The Price Rate of Change (ROC) is a momentum-,certain number of periods ago</a>.</p>
...
import qnt.ta as qnta
...
def single_pass_strategy(data, wma_period=20, roc_period=10):
   wma = qnta.lwma(data.sel(field='close'), wma_period)
   sroc = qnta.roc(wma, roc_period) # it measures the angle (tg)
   weights = xr.where(sroc &gt; 0, 1, 0)
   return weights
...

<p dir="auto">Regards.</p>
]]></description><link>http://quantiacs.com/community/topic/88/ema-angles-and-curves</link><guid isPermaLink="true">http://quantiacs.com/community/topic/88/ema-angles-and-curves</guid><dc:creator><![CDATA[support]]></dc:creator><pubDate>Wed, 16 Jun 2021 21:16:49 GMT</pubDate></item></channel></rss>