<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Forex Software — N-Days Range Switch indicator request]]></title>
		<link>https://forexsb.com/forum/topic/4096/ndays-range-switch-indicator-request/</link>
		<atom:link href="https://forexsb.com/forum/feed/rss/topic/4096/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in N-Days Range Switch indicator request.]]></description>
		<lastBuildDate>Thu, 21 Mar 2013 20:50:08 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[N-Days Range Switch indicator request]]></title>
			<link>https://forexsb.com/forum/post/18998/#p18998</link>
			<description><![CDATA[<p>Hello </p><p>Here are the codes of :</p><p>2 days range switch<br />If(C&gt;Ref(Max(H,Ref(H,-1)),-1),Min(L,Ref(L,-1)),If(C&lt;Ref(Min(L,Ref(L,-1)),-1),Max(H,Ref(H,-1)),PREV))</p><p>3 days range switch<br />If(C&gt;Ref(Max(H,Max(Ref(H,-1),Ref(H,-2))),-1),Min(L,Min(Ref(L,-1),Ref(L,-2))),If(C&lt;Ref(Min(L,Min(Ref(L,-1),Ref(L,-2))),-1),Max(H,Max(Ref(H,-1),Ref(H,-2))),PREV))</p><p>4 days range switch <br />If(C&gt;Ref(Max(Max(H,Ref(H,-3)),Max(Ref(H,-1),Ref(H,-2))),-1),Min(Min(L,Ref(L,-3)),Min(Ref(L,-1),Ref(L,-2))),If(C&lt;Ref(Min(Min(L,Ref(L,-3)),Min(Ref(L,-1),Ref(L,-2))),-1),Max(Max(H,Ref(H,-3)),Max(Ref(H,-1),Ref(H,-2))),PREV))</p><p>It seams good for all 4 slots <br />codes in metastock<br />Any FSb code for it </p><p>Thanks in advance</p>]]></description>
			<author><![CDATA[null@example.com (ahmedalhoseny)]]></author>
			<pubDate>Thu, 21 Mar 2013 20:50:08 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/18998/#p18998</guid>
		</item>
	</channel>
</rss>
