<?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: MarketTurbulence.com update</title>
	<atom:link href="http://novicebear.com/2008/05/11/marketturbulencecom-update/feed/" rel="self" type="application/rss+xml" />
	<link>http://novicebear.com/2008/05/11/marketturbulencecom-update/</link>
	<description>A Scientist's Struggle to Beat the Market</description>
	<pubDate>Thu, 16 Oct 2008 01:49:15 +0000</pubDate>
	<generator>http://wordpress.org/?v=MU</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ken 'Kuf' Gilb</title>
		<link>http://novicebear.com/2008/05/11/marketturbulencecom-update/#comment-188</link>
		<dc:creator>Ken 'Kuf' Gilb</dc:creator>
		<pubDate>Mon, 12 May 2008 18:34:49 +0000</pubDate>
		<guid isPermaLink="false">http://novicebear.wordpress.com/?p=619#comment-188</guid>
		<description>Take a look at the RealCode I posted under your Zig Zag entry (or open my shared chart named Zig Zag with RealCode).

It produces ALMOST the exact same line as your code above. 

RealCode indicators always loop from the first index in the Price History array to the last. It also gives you two properties you can check: isFirstBar (index = 0) and isLastBar (index = PriceHistory.Count -1).  Using an undocumented method: addToOutput, you can create your own lines of any size. If you like I can write up a full  post on worden.com about the zig zag indicator and go line by line over the code.</description>
		<content:encoded><![CDATA[<p>Take a look at the RealCode I posted under your Zig Zag entry (or open my shared chart named Zig Zag with RealCode).</p>
<p>It produces ALMOST the exact same line as your code above. </p>
<p>RealCode indicators always loop from the first index in the Price History array to the last. It also gives you two properties you can check: isFirstBar (index = 0) and isLastBar (index = PriceHistory.Count -1).  Using an undocumented method: addToOutput, you can create your own lines of any size. If you like I can write up a full  post on worden.com about the zig zag indicator and go line by line over the code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Stiles</title>
		<link>http://novicebear.com/2008/05/11/marketturbulencecom-update/#comment-187</link>
		<dc:creator>Paul Stiles</dc:creator>
		<pubDate>Mon, 12 May 2008 18:03:26 +0000</pubDate>
		<guid isPermaLink="false">http://novicebear.wordpress.com/?p=619#comment-187</guid>
		<description>Kuf,

Regarding your first comment.  I'm not using the "built-in" loop of RealCode.  I need the indexing so I can run through every bar and record if an event has happened.  For example,

For i = 1 to inputcount-1
  If "event is true"
   x = x + 1
     array(i) = x
Else
array(i) = 0
   end if
next

So now I have an array with mostly zeros in it, separated by a data point that corresponds to the barcount when the event happened.  I then take that array and get rid of the zeros.

For j=1 to inputcount-1
    If array(j) &#60; &#62; 0
          n= n + 1
          arrray2(n) = j
     End if
Next

I went through your quick RealCode manual and couldn't figure it out.  Can your translate the above code?

</description>
		<content:encoded><![CDATA[<p>Kuf,</p>
<p>Regarding your first comment.  I&#8217;m not using the &#8220;built-in&#8221; loop of RealCode.  I need the indexing so I can run through every bar and record if an event has happened.  For example,</p>
<p>For i = 1 to inputcount-1<br />
  If &#8220;event is true&#8221;<br />
   x = x + 1<br />
     array(i) = x<br />
Else<br />
array(i) = 0<br />
   end if<br />
next</p>
<p>So now I have an array with mostly zeros in it, separated by a data point that corresponds to the barcount when the event happened.  I then take that array and get rid of the zeros.</p>
<p>For j=1 to inputcount-1<br />
    If array(j) &lt; &gt; 0<br />
          n= n + 1<br />
          arrray2(n) = j<br />
     End if<br />
Next</p>
<p>I went through your quick RealCode manual and couldn&#8217;t figure it out.  Can your translate the above code?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Stiles</title>
		<link>http://novicebear.com/2008/05/11/marketturbulencecom-update/#comment-186</link>
		<dc:creator>Paul Stiles</dc:creator>
		<pubDate>Mon, 12 May 2008 17:47:47 +0000</pubDate>
		<guid isPermaLink="false">http://novicebear.wordpress.com/?p=619#comment-186</guid>
		<description>Hmm...that is strange because I did some translating and I found RealCode to be painfully slow with loops.  Perhaps I was just doing something wrong.  I'll send you a sample and you can tell me what you think.


Paul</description>
		<content:encoded><![CDATA[<p>Hmm&#8230;that is strange because I did some translating and I found RealCode to be painfully slow with loops.  Perhaps I was just doing something wrong.  I&#8217;ll send you a sample and you can tell me what you think.</p>
<p>Paul</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ken 'Kuf' Gilb</title>
		<link>http://novicebear.com/2008/05/11/marketturbulencecom-update/#comment-185</link>
		<dc:creator>Ken 'Kuf' Gilb</dc:creator>
		<pubDate>Mon, 12 May 2008 17:42:57 +0000</pubDate>
		<guid isPermaLink="false">http://novicebear.wordpress.com/?p=619#comment-185</guid>
		<description>Also if you save the chart with your RealCode indicator, you can "share" that with your readers by making the file available to download from your blog, or sharing it with the built in Share tool and password protecting it.</description>
		<content:encoded><![CDATA[<p>Also if you save the chart with your RealCode indicator, you can &#8220;share&#8221; that with your readers by making the file available to download from your blog, or sharing it with the built in Share tool and password protecting it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ken 'Kuf' Gilb</title>
		<link>http://novicebear.com/2008/05/11/marketturbulencecom-update/#comment-184</link>
		<dc:creator>Ken 'Kuf' Gilb</dc:creator>
		<pubDate>Mon, 12 May 2008 17:41:58 +0000</pubDate>
		<guid isPermaLink="false">http://novicebear.wordpress.com/?p=619#comment-184</guid>
		<description>Actually, I think you're just mistaken on how Real Code is implemented. It's doing the loop for you so you no longer need to. If you need to do some custom looping it's also easy to do. RealCode should be no slower than code blocks.

Let me know if you need some help translating some existing code.</description>
		<content:encoded><![CDATA[<p>Actually, I think you&#8217;re just mistaken on how Real Code is implemented. It&#8217;s doing the loop for you so you no longer need to. If you need to do some custom looping it&#8217;s also easy to do. RealCode should be no slower than code blocks.</p>
<p>Let me know if you need some help translating some existing code.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
