<?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: Petra on Programming: The Gann Hi-Lo Activator	</title>
	<atom:link href="https://financial-hacker.com/petra-on-programming-the-gann-hi-lo-activator/feed/" rel="self" type="application/rss+xml" />
	<link>https://financial-hacker.com/petra-on-programming-the-gann-hi-lo-activator/</link>
	<description>A new view on algorithmic trading</description>
	<lastBuildDate>Tue, 30 Aug 2022 11:26:43 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: Tom		</title>
		<link>https://financial-hacker.com/petra-on-programming-the-gann-hi-lo-activator/#comment-82271</link>

		<dc:creator><![CDATA[Tom]]></dc:creator>
		<pubDate>Tue, 30 Aug 2022 11:26:43 +0000</pubDate>
		<guid isPermaLink="false">https://financial-hacker.com/?p=3636#comment-82271</guid>

					<description><![CDATA[I coded this in PINE Version 5 (TRADINGVIEW.COM)

H_period=input.int(9)
L_period=input.int(9)

GHLA(HPeriod, LPeriod) =&#062;
    var int State = 0
    var float result = 0
    MaH = ta.sma(high,HPeriod)
    MaL = ta.sma(low,LPeriod)
    if close &#062; MaH[1]
        State := 1
    else
        if close &#060; MaL[1]
            State := -1
        else
            State := State[1] // return the previous state
    result := switch
        close 
            MaL[0]
        close &#062; MaH[1] =&#062;
            MaH[0]
        =&#062;   
            result[1]
    [result, State]

Just in case someone need it.]]></description>
			<content:encoded><![CDATA[<p>I coded this in PINE Version 5 (TRADINGVIEW.COM)</p>
<p>H_period=input.int(9)<br />
L_period=input.int(9)</p>
<p>GHLA(HPeriod, LPeriod) =&gt;<br />
    var int State = 0<br />
    var float result = 0<br />
    MaH = ta.sma(high,HPeriod)<br />
    MaL = ta.sma(low,LPeriod)<br />
    if close &gt; MaH[1]<br />
        State := 1<br />
    else<br />
        if close &lt; MaL[1]<br />
            State := -1<br />
        else<br />
            State := State[1] // return the previous state<br />
    result := switch<br />
        close<br />
            MaL[0]<br />
        close &gt; MaH[1] =&gt;<br />
            MaH[0]<br />
        =&gt;<br />
            result[1]<br />
    [result, State]</p>
<p>Just in case someone need it.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Petra Volkova		</title>
		<link>https://financial-hacker.com/petra-on-programming-the-gann-hi-lo-activator/#comment-69110</link>

		<dc:creator><![CDATA[Petra Volkova]]></dc:creator>
		<pubDate>Sat, 09 Jan 2021 10:34:53 +0000</pubDate>
		<guid isPermaLink="false">https://financial-hacker.com/?p=3636#comment-69110</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://financial-hacker.com/petra-on-programming-the-gann-hi-lo-activator/#comment-69101&quot;&gt;mitch tullman&lt;/a&gt;.

Learn programming! Then do any test you want. Unlike C++, C is a simple language that anyone can learn in a couple days.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://financial-hacker.com/petra-on-programming-the-gann-hi-lo-activator/#comment-69101">mitch tullman</a>.</p>
<p>Learn programming! Then do any test you want. Unlike C++, C is a simple language that anyone can learn in a couple days.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: mitch tullman		</title>
		<link>https://financial-hacker.com/petra-on-programming-the-gann-hi-lo-activator/#comment-69101</link>

		<dc:creator><![CDATA[mitch tullman]]></dc:creator>
		<pubDate>Fri, 08 Jan 2021 20:28:56 +0000</pubDate>
		<guid isPermaLink="false">https://financial-hacker.com/?p=3636#comment-69101</guid>

					<description><![CDATA[Would you mind repeating your test using the MMI as the only filter? I&#039;m a big fan of this site, but not a programmer

thanks]]></description>
			<content:encoded><![CDATA[<p>Would you mind repeating your test using the MMI as the only filter? I&#8217;m a big fan of this site, but not a programmer</p>
<p>thanks</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Quantocracy&#039;s Daily Wrap for 09/25/2020 &#124; Quantocracy		</title>
		<link>https://financial-hacker.com/petra-on-programming-the-gann-hi-lo-activator/#comment-67714</link>

		<dc:creator><![CDATA[Quantocracy&#039;s Daily Wrap for 09/25/2020 &#124; Quantocracy]]></dc:creator>
		<pubDate>Sat, 31 Oct 2020 05:46:35 +0000</pubDate>
		<guid isPermaLink="false">https://financial-hacker.com/?p=3636#comment-67714</guid>

					<description><![CDATA[[&#8230;] Petra on Programming: The Gann Hi-Lo Activator [Financial Hacker] [&#8230;]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] Petra on Programming: The Gann Hi-Lo Activator [Financial Hacker] [&#8230;]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Petra Volkova		</title>
		<link>https://financial-hacker.com/petra-on-programming-the-gann-hi-lo-activator/#comment-67316</link>

		<dc:creator><![CDATA[Petra Volkova]]></dc:creator>
		<pubDate>Sat, 26 Sep 2020 11:01:13 +0000</pubDate>
		<guid isPermaLink="false">https://financial-hacker.com/?p=3636#comment-67316</guid>

					<description><![CDATA[Yep. It&#039;s 2.32, but should also work with 2.30, I did not use any new feature.]]></description>
			<content:encoded><![CDATA[<p>Yep. It&#8217;s 2.32, but should also work with 2.30, I did not use any new feature.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: someone		</title>
		<link>https://financial-hacker.com/petra-on-programming-the-gann-hi-lo-activator/#comment-67315</link>

		<dc:creator><![CDATA[someone]]></dc:creator>
		<pubDate>Sat, 26 Sep 2020 09:07:06 +0000</pubDate>
		<guid isPermaLink="false">https://financial-hacker.com/?p=3636#comment-67315</guid>

					<description><![CDATA[One small suggestion, always state the Zorro Version used to give people a hint why in some cases code may not work for them.]]></description>
			<content:encoded><![CDATA[<p>One small suggestion, always state the Zorro Version used to give people a hint why in some cases code may not work for them.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ron		</title>
		<link>https://financial-hacker.com/petra-on-programming-the-gann-hi-lo-activator/#comment-67305</link>

		<dc:creator><![CDATA[Ron]]></dc:creator>
		<pubDate>Fri, 25 Sep 2020 18:57:36 +0000</pubDate>
		<guid isPermaLink="false">https://financial-hacker.com/?p=3636#comment-67305</guid>

					<description><![CDATA[Great Article, remind me about Mr. Robert Krausz. Worked with him personally with meetings in the USA and London. He died 2002. Great missing. Got most of his work which is still VERY valid.]]></description>
			<content:encoded><![CDATA[<p>Great Article, remind me about Mr. Robert Krausz. Worked with him personally with meetings in the USA and London. He died 2002. Great missing. Got most of his work which is still VERY valid.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
