<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Forex Software — Doji pattern in FSB]]></title>
	<link rel="self" href="https://forexsb.com/forum/feed/atom/topic/1799/" />
	<updated>2011-06-28T16:03:40Z</updated>
	<generator>PunBB</generator>
	<id>https://forexsb.com/forum/topic/1799/doji-pattern-in-fsb/</id>
		<entry>
			<title type="html"><![CDATA[Re: Doji pattern in FSB]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/9542/#p9542" />
			<content type="html"><![CDATA[<p>This indicator was designed to work with Forex Strategy Builder and Forex Strategy Trader.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2011-06-28T16:03:40Z</updated>
			<id>https://forexsb.com/forum/post/9542/#p9542</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Doji pattern in FSB]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/9539/#p9539" />
			<content type="html"><![CDATA[<p>HELLO<br />PLEASE, I DOWNLOADED THE DOGI BUT i COULD NOT INSTALL IT ON MY MT4</p>]]></content>
			<author>
				<name><![CDATA[igumzfx]]></name>
				<uri>https://forexsb.com/forum/user/4079/</uri>
			</author>
			<updated>2011-06-28T11:41:58Z</updated>
			<id>https://forexsb.com/forum/post/9539/#p9539</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Doji pattern in FSB]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/9538/#p9538" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Popov wrote:</cite><blockquote><p><a href="http://postimage.org/image/pfea0uw4/"><span class="postimg"><img src="http://s2.postimage.org/cwWwr.jpg" alt="http://s2.postimage.org/cwWwr.jpg" /></span></a></p><p>The formula was changed a little. You can correct it if you want.</p><div class="codebox"><pre><code>double point = (Digits == 5 || Digits == 3) ? 10 * Point : Point;
double maxOpenClose = 5 * point;
double minHeight    = 1.2 * maxOpenClose;

for (int iBar = 1; iBar &lt; Bars; iBar++)
    if (Math.Abs(Close[iBar - 1] - Open[iBar - 1]) &lt; maxOpenClose &amp;&amp; High[iBar - 1] - Low[iBar - 1] &gt; minHeight)
        doji[iBar] = 1;</code></pre></div></blockquote></div>]]></content>
			<author>
				<name><![CDATA[igumzfx]]></name>
				<uri>https://forexsb.com/forum/user/4079/</uri>
			</author>
			<updated>2011-06-28T11:40:50Z</updated>
			<id>https://forexsb.com/forum/post/9538/#p9538</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Doji pattern in FSB]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/9350/#p9350" />
			<content type="html"><![CDATA[<p>Exclamation points -- sounds like ambiguous signal. The indicator is telling it both long and short at the same time, in the side panel, &quot;Allow Long/Short Entry&quot; will both say &quot;yes&quot;. Try adding another indicator to break the tie.</p>]]></content>
			<author>
				<name><![CDATA[krog]]></name>
				<uri>https://forexsb.com/forum/user/1692/</uri>
			</author>
			<updated>2011-06-04T17:49:40Z</updated>
			<id>https://forexsb.com/forum/post/9350/#p9350</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Doji pattern in FSB]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/9348/#p9348" />
			<content type="html"><![CDATA[<p>I couldn&#039;t get these to work. They just put exclamation points above candles. Thoughts?</p><p>Thanks.</p>]]></content>
			<author>
				<name><![CDATA[therealdrag0]]></name>
				<uri>https://forexsb.com/forum/user/3109/</uri>
			</author>
			<updated>2011-06-04T04:47:38Z</updated>
			<id>https://forexsb.com/forum/post/9348/#p9348</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Doji pattern in FSB]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/6650/#p6650" />
			<content type="html"><![CDATA[<p>Thanks for the guidance.</p><p>I have now entered the percentage setup into the attached indicator.</p><p>I think it is correct, but it seem to work in back tests. Now it is interesting if it also works in forward testing.</p><p>If you have a moment please take a look at the coding. When I have results from the forward testing I will let you know of the performance.</p>]]></content>
			<author>
				<name><![CDATA[Itai]]></name>
				<uri>https://forexsb.com/forum/user/2210/</uri>
			</author>
			<updated>2010-09-20T21:09:42Z</updated>
			<id>https://forexsb.com/forum/post/6650/#p6650</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Doji pattern in FSB]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/6644/#p6644" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>double point = (Digits == 5 || Digits == 3) ? 10 * Point : Point;</code></pre></div><p>This line compensate 5 digit quotations. Using it you can set <em>n * point</em> where &quot;n&quot; will work with 5 digits as well as 4 digit quotation.</p><div class="codebox"><pre><code>double maxOpenClose = 5 * point;</code></pre></div><p>together with<br /></p><div class="codebox"><pre><code>Math.Abs(Close[iBar - 1] - Open[iBar - 1]) &lt; maxOpenClose</code></pre></div><p>limits the max body height to 5 pips.</p><br /><p>If you want percent rate, you can use:</p><div class="codebox"><pre><code>if (Math.Abs(Close[iBar - 1] - Open[iBar - 1]) &lt; PERCENT * (High[iBar - 1] - Low[iBar - 1]))
    ...</code></pre></div><p>You can use an entry numerical box to setup PERCENT value from the Indicator Properties dialog window.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2010-09-20T15:31:11Z</updated>
			<id>https://forexsb.com/forum/post/6644/#p6644</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Doji pattern in FSB]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/6643/#p6643" />
			<content type="html"><![CDATA[<p>Popov, thanks for the fast response and the attached indicator. </p><p>Just to understand it correctly. <br /></p><div class="codebox"><pre><code>double maxOpenClose = 5 * point;
double minHeight    = 1.2 * maxOpenClose;</code></pre></div><p>Does the first line of this code indicate the size of the body of the doji? That the body can be max 5 points?<br />Can I adjust somewhere that the body of the doji maximum should be 8 percent of the total candle (highest - lowest)?<br />And a final question, is there in this indicator any limitation to the size of the total candle (Highest - lowest)?</p>]]></content>
			<author>
				<name><![CDATA[Itai]]></name>
				<uri>https://forexsb.com/forum/user/2210/</uri>
			</author>
			<updated>2010-09-20T14:35:56Z</updated>
			<id>https://forexsb.com/forum/post/6643/#p6643</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Doji pattern in FSB]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/6632/#p6632" />
			<content type="html"><![CDATA[<p>The problem has been resolved<br />thanks&nbsp; Popov.</p>]]></content>
			<author>
				<name><![CDATA[FOX000]]></name>
				<uri>https://forexsb.com/forum/user/1709/</uri>
			</author>
			<updated>2010-09-20T03:41:18Z</updated>
			<id>https://forexsb.com/forum/post/6632/#p6632</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Doji pattern in FSB]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/6631/#p6631" />
			<content type="html"><![CDATA[<p>Dear Popov|<br /> open()-close()|&lt;=(( high() - low() )*p ) for Small body</p><p>|open()-close()|&gt;=(( high() - low() )*p ) for big body</p><br /><p>p=Percent .9 to 0.5 for small <br />p= Percent .5 to 0.1 for big </p><p>We need an Indicators calculates this equation with the possibility for give us Insert&nbsp; variable&nbsp; of Percent to make Optimizing</p>]]></content>
			<author>
				<name><![CDATA[FOX000]]></name>
				<uri>https://forexsb.com/forum/user/1709/</uri>
			</author>
			<updated>2010-09-20T03:24:22Z</updated>
			<id>https://forexsb.com/forum/post/6631/#p6631</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Doji pattern in FSB]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/6630/#p6630" />
			<content type="html"><![CDATA[<p><a href="http://postimage.org/image/pfea0uw4/"><span class="postimg"><img src="http://s2.postimage.org/cwWwr.jpg" alt="http://s2.postimage.org/cwWwr.jpg" /></span></a></p><p>The formula was changed a little. You can correct it if you want.</p><div class="codebox"><pre><code>double point = (Digits == 5 || Digits == 3) ? 10 * Point : Point;
double maxOpenClose = 5 * point;
double minHeight    = 1.2 * maxOpenClose;

for (int iBar = 1; iBar &lt; Bars; iBar++)
    if (Math.Abs(Close[iBar - 1] - Open[iBar - 1]) &lt; maxOpenClose &amp;&amp; High[iBar - 1] - Low[iBar - 1] &gt; minHeight)
        doji[iBar] = 1;</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2010-09-20T01:52:14Z</updated>
			<id>https://forexsb.com/forum/post/6630/#p6630</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Doji pattern in FSB]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/6629/#p6629" />
			<content type="html"><![CDATA[<p>Dear forum, </p><p>I think it could be very interested if it was possible to include a doji candle pattern in a strategy in the FSB. <br />I have worked out this formula:</p><p>( ( high() - low() ) * 0.64 ) &gt;= (( close () - open() )*(close()-open())) and high() - low() &gt; 1</p><p>This think this will be able to scan for dojis with a body no larger then 8 % of the high of the candle minus the low of the candle.</p><p>Does anyone know how this can be created as an indicator that can be used in FSB?</p><p>Best regards<br />Itai</p>]]></content>
			<author>
				<name><![CDATA[Itai]]></name>
				<uri>https://forexsb.com/forum/user/2210/</uri>
			</author>
			<updated>2010-09-19T23:15:49Z</updated>
			<id>https://forexsb.com/forum/post/6629/#p6629</id>
		</entry>
</feed>
