<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Yet Another Improved RSI	</title>
	<atom:link href="https://financial-hacker.com/yet-another-improved-rsi/feed/" rel="self" type="application/rss+xml" />
	<link>https://financial-hacker.com/yet-another-improved-rsi/</link>
	<description>A new view on algorithmic trading</description>
	<lastBuildDate>Wed, 11 Oct 2023 01:41:50 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: Yet Another Improved RSI - QuantInfo - Empowering Algorithmic Trading Insights		</title>
		<link>https://financial-hacker.com/yet-another-improved-rsi/#comment-95467</link>

		<dc:creator><![CDATA[Yet Another Improved RSI - QuantInfo - Empowering Algorithmic Trading Insights]]></dc:creator>
		<pubDate>Wed, 11 Oct 2023 01:41:50 +0000</pubDate>
		<guid isPermaLink="false">https://financial-hacker.com/?p=4255#comment-95467</guid>

					<description><![CDATA[[&#8230;] This post originally published at https://financial-hacker.com/yet-another-improved-rsi/. [&#8230;]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] This post originally published at <a href="https://financial-hacker.com/yet-another-improved-rsi/" rel="ugc">https://financial-hacker.com/yet-another-improved-rsi/</a>. [&#8230;]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Quantocracy&#039;s Daily Wrap for 12/15/2021 - Quantocracy		</title>
		<link>https://financial-hacker.com/yet-another-improved-rsi/#comment-78196</link>

		<dc:creator><![CDATA[Quantocracy&#039;s Daily Wrap for 12/15/2021 - Quantocracy]]></dc:creator>
		<pubDate>Fri, 28 Jan 2022 06:46:35 +0000</pubDate>
		<guid isPermaLink="false">https://financial-hacker.com/?p=4255#comment-78196</guid>

					<description><![CDATA[[&#8230;] Yet Another Improved RSI [Financial Hacker] [&#8230;]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] Yet Another Improved RSI [Financial Hacker] [&#8230;]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Giles Penny		</title>
		<link>https://financial-hacker.com/yet-another-improved-rsi/#comment-77533</link>

		<dc:creator><![CDATA[Giles Penny]]></dc:creator>
		<pubDate>Wed, 22 Dec 2021 19:42:42 +0000</pubDate>
		<guid isPermaLink="false">https://financial-hacker.com/?p=4255#comment-77533</guid>

					<description><![CDATA[Now I realise there are two ways to calculate the Hann coefficients:
Symmetric:  0.5 cos(2πn/(N-1))

Periodic: cos(2πn/(N+1))
&quot;This option is useful for spectral analysis because it enables a windowed signal to have the perfect periodic extension implicit in the discrete Fourier transform.&quot;]]></description>
			<content:encoded><![CDATA[<p>Now I realise there are two ways to calculate the Hann coefficients:<br />
Symmetric:  0.5 cos(2πn/(N-1))</p>
<p>Periodic: cos(2πn/(N+1))<br />
&#8220;This option is useful for spectral analysis because it enables a windowed signal to have the perfect periodic extension implicit in the discrete Fourier transform.&#8221;</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Giles Penny		</title>
		<link>https://financial-hacker.com/yet-another-improved-rsi/#comment-77517</link>

		<dc:creator><![CDATA[Giles Penny]]></dc:creator>
		<pubDate>Wed, 22 Dec 2021 12:32:58 +0000</pubDate>
		<guid isPermaLink="false">https://financial-hacker.com/?p=4255#comment-77517</guid>

					<description><![CDATA[Thanks for this interesting and very useful blog.

The Hann Function to generate an array of smoothing coefficients is widely published and implemented, eg;
Matlab https://uk.mathworks.com/help/signal/ref/hann.html
Scipy https://docs.scipy.org/doc/scipy/reference/generated/scipy.signal.windows.hann.html

Here&#039;s the formula:
0.5 cos(2πn/(N-1))
N = length of window

However the formula Ehlers uses is different:
1 – cos(2πn/(N+1))

In Python an 8 element, standard Hann Window is :

import numpy as np
N = 8
n = np.arange(N)

0.5 * (1 – np.cos(2*math.pi*(n/(N-1))))
0. , 0.1882551 , 0.61126047, 0.95048443, 0.95048443, 0.61126047, 0.1882551, 0.
(this matches the output from the Matlab and Scipy implementations)

If we use Ehlers formula, again in Python, the output is quite different
N=8
X = np.arange(1, N+1)
1 – np.cos(2*math.pi*(n/(N+1)))
0, 0.23395556, 0.82635182, 1.5, 1.93969262, 1.93969262, 1.5, 0.82635182

So what’s going on here ? 
I have read through Ehler’s two articles in TASC (Sep 2021 and Jan 2022), have spent several hours coding away and feel none the wiser!]]></description>
			<content:encoded><![CDATA[<p>Thanks for this interesting and very useful blog.</p>
<p>The Hann Function to generate an array of smoothing coefficients is widely published and implemented, eg;<br />
Matlab <a href="https://uk.mathworks.com/help/signal/ref/hann.html" rel="nofollow ugc">https://uk.mathworks.com/help/signal/ref/hann.html</a><br />
Scipy <a href="https://docs.scipy.org/doc/scipy/reference/generated/scipy.signal.windows.hann.html" rel="nofollow ugc">https://docs.scipy.org/doc/scipy/reference/generated/scipy.signal.windows.hann.html</a></p>
<p>Here&#8217;s the formula:<br />
0.5 cos(2πn/(N-1))<br />
N = length of window</p>
<p>However the formula Ehlers uses is different:<br />
1 – cos(2πn/(N+1))</p>
<p>In Python an 8 element, standard Hann Window is :</p>
<p>import numpy as np<br />
N = 8<br />
n = np.arange(N)</p>
<p>0.5 * (1 – np.cos(2*math.pi*(n/(N-1))))<br />
0. , 0.1882551 , 0.61126047, 0.95048443, 0.95048443, 0.61126047, 0.1882551, 0.<br />
(this matches the output from the Matlab and Scipy implementations)</p>
<p>If we use Ehlers formula, again in Python, the output is quite different<br />
N=8<br />
X = np.arange(1, N+1)<br />
1 – np.cos(2*math.pi*(n/(N+1)))<br />
0, 0.23395556, 0.82635182, 1.5, 1.93969262, 1.93969262, 1.5, 0.82635182</p>
<p>So what’s going on here ?<br />
I have read through Ehler’s two articles in TASC (Sep 2021 and Jan 2022), have spent several hours coding away and feel none the wiser!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Henry Stern		</title>
		<link>https://financial-hacker.com/yet-another-improved-rsi/#comment-77375</link>

		<dc:creator><![CDATA[Henry Stern]]></dc:creator>
		<pubDate>Wed, 15 Dec 2021 07:41:01 +0000</pubDate>
		<guid isPermaLink="false">https://financial-hacker.com/?p=4255#comment-77375</guid>

					<description><![CDATA[Adding a windowing function to an indicator smooths the output, but at the cost of additional phase delay (lag). Window functions, such as Hann, Hamming, and Blackman, are effectively low pass finite impulse response (FIR) filters, which, like all low pass filters, result in the smoothing. The longer the window length, the more the smoothing, but also the more the phase delay, an unavoidable tradeoff. So, while the additional smoothing can help avoid some of the whipsaws, the added delay also slows the response to rapid changes in longer-term trends, which most likely is responsible for the worsened performance. The smoothed windowed output looks nice on a chart, though!]]></description>
			<content:encoded><![CDATA[<p>Adding a windowing function to an indicator smooths the output, but at the cost of additional phase delay (lag). Window functions, such as Hann, Hamming, and Blackman, are effectively low pass finite impulse response (FIR) filters, which, like all low pass filters, result in the smoothing. The longer the window length, the more the smoothing, but also the more the phase delay, an unavoidable tradeoff. So, while the additional smoothing can help avoid some of the whipsaws, the added delay also slows the response to rapid changes in longer-term trends, which most likely is responsible for the worsened performance. The smoothed windowed output looks nice on a chart, though!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Arnis Lapsa		</title>
		<link>https://financial-hacker.com/yet-another-improved-rsi/#comment-77368</link>

		<dc:creator><![CDATA[Arnis Lapsa]]></dc:creator>
		<pubDate>Tue, 14 Dec 2021 20:13:33 +0000</pubDate>
		<guid isPermaLink="false">https://financial-hacker.com/?p=4255#comment-77368</guid>

					<description><![CDATA[&#062; I can only say what you cannot do: replacing the RSI in a working strategy with RSIH.

Not much luck here either.

Somehow I find RSIS most useful although not a huge fan of RSI concept to begin with.

And still failing to find a use for windowing.]]></description>
			<content:encoded><![CDATA[<p>&gt; I can only say what you cannot do: replacing the RSI in a working strategy with RSIH.</p>
<p>Not much luck here either.</p>
<p>Somehow I find RSIS most useful although not a huge fan of RSI concept to begin with.</p>
<p>And still failing to find a use for windowing.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
