<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Forex Software — N-Days Range Switch indicator request]]></title>
	<link rel="self" href="https://forexsb.com/forum/feed/atom/topic/4096/" />
	<updated>2013-03-21T20:50:08Z</updated>
	<generator>PunBB</generator>
	<id>https://forexsb.com/forum/topic/4096/ndays-range-switch-indicator-request/</id>
		<entry>
			<title type="html"><![CDATA[N-Days Range Switch indicator request]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/18998/#p18998" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[ahmedalhoseny]]></name>
				<uri>https://forexsb.com/forum/user/1512/</uri>
			</author>
			<updated>2013-03-21T20:50:08Z</updated>
			<id>https://forexsb.com/forum/post/18998/#p18998</id>
		</entry>
</feed>
