<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Forex Software — New Pivot Point Indicator]]></title>
		<link>https://forexsb.com/forum/topic/2857/new-pivot-point-indicator/</link>
		<atom:link href="https://forexsb.com/forum/feed/rss/topic/2857/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in New Pivot Point Indicator.]]></description>
		<lastBuildDate>Thu, 15 Dec 2011 23:44:48 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[New Pivot Point Indicator]]></title>
			<link>https://forexsb.com/forum/post/11872/#p11872</link>
			<description><![CDATA[<p>My pivot point indicator finds:</p><p>If R1 and Previous Day High are the same by +/- %5 of the R1 - S1 range (Resistance 1 - Support 1)<br />Then a long order is placed 2 pips above whichever level is higher (R1 or Last Days High)</p><p>The opposite goes for a short position</p><br /><p>The target is 70% of range R1 - S1 and stoploss is %40 of the R1-S1 range.</p><p>I have had alittle bit of success with this but want to back test it<br />Im not sure if its possible however to program in individual TP and SLosses for each trade</p><p>So I was hoping someone could help me with this I have only programed this in Visual Basic 6</p><p>I find that when using this indicator when a long order is placed there is almost always a short order placed at the same time.&nbsp; SO ambigous bars are expected</p><p>Here is what the code looks like as an app for Visual Basic:</p><div class="codebox"><pre><code>        &#039;Calculate Pivot Points
        pivot.Text = (Val(highbox.Text) + Val(lowbox.Text) + Val(closebox.Text)) / 3
        rone.Text = 2 * Val(pivot.Text) - Val(lowbox.Text)
        sone.Text = 2 * Val(pivot.Text) - Val(highbox.Text)
        rtwo.Text = Val(pivot.Text) + (Val(rone.Text) - Val(sone.Text))
        stwo.Text = Val(pivot.Text) - (Val(rone.Text) - Val(sone.Text))


        &#039;Check For Buy Signal
        If Val(highbox.Text) &gt; (Val(rone.Text) - ((Val(rone.Text) - Val(sone.Text)) * 0.1)) And Val(highbox.Text) &lt; (Val(rone.Text) + ((Val(rone.Text) - Val(sone.Text)) * 0.1)) Or Val(rone.Text) = Val(highbox.Text) Then
            &#039;Buy Signal good then
            If Val(highbox.Text) &gt; Val(rone.Text) Or Val(highbox.Text) = Val(rone.Text) Then
                buyat.Text = Val(highbox.Text) + ((Val(rone.Text) - Val(sone.Text)) * 0.05)
            End If
            If Val(highbox.Text) &lt; Val(rone.Text) Then
                buyat.Text = Val(rone.Text) + ((Val(rone.Text) - Val(sone.Text)) * 0.05)
            End If
            exitbuy.Text = Val(buyat.Text) - ((Val(rone.Text) - Val(sone.Text)) * 0.4)
            targetbuy.Text = Val(buyat.Text) + ((Val(rone.Text) - Val(sone.Text)) * 0.7)
        Else
            buyat.Text = &quot;No Buy&quot;
            exitbuy.Text = &quot;0&quot;
            targetbuy.Text = &quot;0&quot;
        End If


        &#039;Check For Sell Signal
        If Val(lowbox.Text) &gt; (Val(sone.Text) - ((Val(rone.Text) - Val(sone.Text)) * 0.1)) And Val(lowbox.Text) &lt; (Val(sone.Text) + ((Val(rone.Text) - Val(sone.Text)) * 0.1)) Or Val(sone.Text) = Val(lowbox.Text) Then
            &#039;Sell Signal good then
            If Val(lowbox.Text) &gt; Val(sone.Text) Or Val(lowbox.Text) = Val(sone.Text) Then
                sellat.Text = Val(sone.Text) - ((Val(rone.Text) - Val(sone.Text)) * 0.05)
            End If
            If Val(lowbox.Text) &lt; Val(sone.Text) Then
                sellat.Text = Val(lowbox.Text) - ((Val(rone.Text) - Val(sone.Text)) * 0.05)
            End If
            exitsell.Text = Val(sellat.Text) + ((Val(rone.Text) - Val(sone.Text)) * 0.4)
            targetsell.Text = Val(sellat.Text) - ((Val(rone.Text) - Val(sone.Text)) * 0.7)
        Else
            sellat.Text = &quot;No Sell&quot;
            exitsell.Text = &quot;0&quot;
            targetsell.Text = &quot;0&quot;
        End If

        &#039;Display BUY and SELL signal Targets and Stop Losses in Pips
        pipsbuyexit.Text = Val(buyat.Text) - Val(exitbuy.Text)
        pipsbuytarget.Text = Val(targetbuy.Text) - Val(buyat.Text)

        pipssellexit.Text = Val(exitsell.Text) - Val(sellat.Text)
        pipsselltarget.Text = Val(sellat.Text) - Val(targetsell.Text)</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (mixmanmatt)]]></author>
			<pubDate>Thu, 15 Dec 2011 23:44:48 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/11872/#p11872</guid>
		</item>
	</channel>
</rss>
