<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Forex Software — Close the position after n bars if in loss]]></title>
	<link rel="self" href="https://forexsb.com/forum/feed/atom/topic/9948/" />
	<updated>2025-05-29T17:18:29Z</updated>
	<generator>PunBB</generator>
	<id>https://forexsb.com/forum/topic/9948/close-the-position-after-n-bars-if-in-loss/</id>
		<entry>
			<title type="html"><![CDATA[Re: Close the position after n bars if in loss]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/82693/#p82693" />
			<content type="html"><![CDATA[<p>Thanks for pointing that out, footon, the last comment in particular is something that I missed!</p>]]></content>
			<author>
				<name><![CDATA[LoT]]></name>
				<uri>https://forexsb.com/forum/user/17200/</uri>
			</author>
			<updated>2025-05-29T17:18:29Z</updated>
			<id>https://forexsb.com/forum/post/82693/#p82693</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Close the position after n bars if in loss]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/82692/#p82692" />
			<content type="html"><![CDATA[<p>Brilliant workaround! Percent Change has nothing do to with opening price, but N Bars has, therefore they would be conditionally connected and position will be closed at N bars when it is in loss.</p><p>N Bars and Percent Change need to have the same logical group sign, then they work in unison.</p><p>And one more remark - N Bars stays active for all following bars (gives an exit signal) after N has been reached, so after that it depends on Percent Change whether exit is executed or not (the point being that it will be not conditionally connected to position opening price any longer, it will trail the price instead according to its period setting).</p>]]></content>
			<author>
				<name><![CDATA[footon]]></name>
				<uri>https://forexsb.com/forum/user/1242/</uri>
			</author>
			<updated>2025-05-29T11:10:51Z</updated>
			<id>https://forexsb.com/forum/post/82692/#p82692</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Close the position after n bars if in loss]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/82691/#p82691" />
			<content type="html"><![CDATA[<p>I was thinking that a combination of Percent Change (as &quot;lower than the level line&quot;) and N Bars Exit - both set to the same number of bars/period - would do the trick?</p>]]></content>
			<author>
				<name><![CDATA[LoT]]></name>
				<uri>https://forexsb.com/forum/user/17200/</uri>
			</author>
			<updated>2025-05-28T18:32:16Z</updated>
			<id>https://forexsb.com/forum/post/82691/#p82691</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Close the position after n bars if in loss]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/82690/#p82690" />
			<content type="html"><![CDATA[<p>This is an interesting idea.</p><p>I&#039;m going to start developing a new Strategy Builder. It will be a combination between FSB Pro and EA Studio.</p><p>I may add such custom logical rules.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2025-05-28T10:04:31Z</updated>
			<id>https://forexsb.com/forum/post/82690/#p82690</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Close the position after n bars if in loss]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/82689/#p82689" />
			<content type="html"><![CDATA[<p>Hello,</p><p>I&#039;d like to introduce the condition in subject, to be able to close a position if in loss after a certain amount of time.</p><p>Any suggestions on how to specify it in a logical group?</p><p>Thank you.</p>]]></content>
			<author>
				<name><![CDATA[LoT]]></name>
				<uri>https://forexsb.com/forum/user/17200/</uri>
			</author>
			<updated>2025-05-28T06:27:59Z</updated>
			<id>https://forexsb.com/forum/post/82689/#p82689</id>
		</entry>
</feed>
