<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Forex Software — Exit at TP or SL only]]></title>
	<link rel="self" href="https://forexsb.com/forum/feed/atom/topic/9820/" />
	<updated>2024-08-25T13:10:02Z</updated>
	<generator>PunBB</generator>
	<id>https://forexsb.com/forum/topic/9820/exit-at-tp-or-sl-only/</id>
		<entry>
			<title type="html"><![CDATA[Re: Exit at TP or SL only]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/80980/#p80980" />
			<content type="html"><![CDATA[<p>Excellent work Mr Popov. Many Thanks.</p>]]></content>
			<author>
				<name><![CDATA[iamgreatest]]></name>
				<uri>https://forexsb.com/forum/user/14085/</uri>
			</author>
			<updated>2024-08-25T13:10:02Z</updated>
			<id>https://forexsb.com/forum/post/80980/#p80980</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Exit at TP or SL only]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/80976/#p80976" />
			<content type="html"><![CDATA[<p>Hello Traders,</p><p>With Express Generator v2.57, we can create strategies that exit at SL or TP only.</p><p>We do it by forcing the Generator to use the &quot;Do not Exit&quot; indicator as the only option.</p><p>Please follow these steps:</p><p>1. Disable all the exit indicators except &quot;Do not Exit&quot;:</p><div class="codebox"><pre><code>;; Exit indicators
...
exit_directional_indicators = false
exit_do_not_exit            = true
exit_donchian_channel       = false
...</code></pre></div><p>2. Set the Generator to use only one exit slot:<br /></p><div class="codebox"><pre><code>; Max number of indicators to use
max_exit_slots  = 1</code></pre></div><p>3. Set the Generator always to use SL and TP. Set also the corresponding ranges<br /></p><div class="codebox"><pre><code>stop_loss_usage   = AlwaysUse
take_profit_usage = AlwaysUse</code></pre></div><br /><p>Please see the attached ini file as an example.<br />If you have another ini file, set this one last.</p><div class="codebox"><pre><code>node .\bin\gen.js --server Premium --symbol EURUSD --period M15 --settings do-not-exit.ini</code></pre></div><p>Trade Safe!</p><p>.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2024-08-24T08:43:04Z</updated>
			<id>https://forexsb.com/forum/post/80976/#p80976</id>
		</entry>
</feed>
