<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Forex Software — Position.OpeningBar - copying to new position when adding lots]]></title>
		<link>https://forexsb.com/forum/topic/2237/positionopeningbar-copying-to-new-position-when-adding-lots/</link>
		<atom:link href="https://forexsb.com/forum/feed/rss/topic/2237/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Position.OpeningBar - copying to new position when adding lots.]]></description>
		<lastBuildDate>Sat, 09 Apr 2011 00:42:34 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Position.OpeningBar - copying to new position when adding lots]]></title>
			<link>https://forexsb.com/forum/post/8898/#p8898</link>
			<description><![CDATA[<p>I&#039;d also like to add a new property for the first price of the position, even after more lots are added. Currently, I see Position.FormOrdPrice, which is the price of the order of the new lot. And there is Position.PosPrice, which is the average of all the opening prices as new positions are added.<br />I want to keep the first price when the position is opened, regardless of adding or reducing lots, called Position.PosStartPrice.</p>]]></description>
			<author><![CDATA[null@example.com (krog)]]></author>
			<pubDate>Sat, 09 Apr 2011 00:42:34 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/8898/#p8898</guid>
		</item>
		<item>
			<title><![CDATA[Position.OpeningBar - copying to new position when adding lots]]></title>
			<link>https://forexsb.com/forum/post/8889/#p8889</link>
			<description><![CDATA[<p>Hello,<br />In Backtester Calculator.cs, I&#039;ve found that when a lot is added to an existing position, it will transfer some info from the old position to the new position. This is in SetPosition (line 186), and the copying happens around lines 282 to 290. Adding to a long / short position is around lines 365 to 424.</p><p>However it does not copy over Position.OpeningBar. Is there a reason for not copying it? I&#039;m going to add it in for a feature I want to add, asking first in case it is known this will break something.</p><p>thanks</p>]]></description>
			<author><![CDATA[null@example.com (krog)]]></author>
			<pubDate>Fri, 08 Apr 2011 00:15:39 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/8889/#p8889</guid>
		</item>
	</channel>
</rss>
