<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Forex Software — Realistic SL in backtesting after (weekend) gap]]></title>
		<link>https://forexsb.com/forum/topic/9185/realistic-sl-in-backtesting-after-weekend-gap/</link>
		<atom:link href="https://forexsb.com/forum/feed/rss/topic/9185/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Realistic SL in backtesting after (weekend) gap.]]></description>
		<lastBuildDate>Sun, 07 Aug 2022 16:09:21 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Realistic SL in backtesting after (weekend) gap]]></title>
			<link>https://forexsb.com/forum/post/70239/#p70239</link>
			<description><![CDATA[<p>OK, perfect, I´ll be testing this once more, as these scenarios are very rare, it must have slipped me that EA Studio already simulates this correctly - amazing!</p><p>Yes, I absolutely agree about the fixed TP handling, this is how it should be and happens in reality.</p><p>Thanks again for thinking about everything :-) I am eager to see what further performance improvements will follow this year, I know you´ve got a lot of stuff in the pipeline :-) EA Studio, already now, is the fastest system generator out there by a margin of at least x10 - and I am using pretty much any other generator out there, be it StrategyQuant, Build Alpha, Adaptrade Builder, etc. </p><p>Keep up the great work :-)</p>]]></description>
			<author><![CDATA[null@example.com (geektrader)]]></author>
			<pubDate>Sun, 07 Aug 2022 16:09:21 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/70239/#p70239</guid>
		</item>
		<item>
			<title><![CDATA[Re: Realistic SL in backtesting after (weekend) gap]]></title>
			<link>https://forexsb.com/forum/post/70238/#p70238</link>
			<description><![CDATA[<p>&gt; Does EA Studio simulate that correctly yet?</p><p>Yes, EA Studio correctly simulates the SL, TP and Trailing Stop Loss.<br />If there is a gap and the SL or TP appears in the gap, EA Studio close at bar Open (+ spread for the short positions).<br />It does so because the bar Open is the first possible price to close.</p><br /><p>&gt; I just saw that you´ve been mentioning this in the latest EA Studio update: &quot;- Fixed close on Take Profit in a gap to be at current Open.&quot;</p><p>I fixed a bug where EA Studio was closing at the TP after a gap. Now it closes at Bar Open (in our favour <img src="https://forexsb.com/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /> ), but this is how I think should be.</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Sun, 07 Aug 2022 16:04:31 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/70238/#p70238</guid>
		</item>
		<item>
			<title><![CDATA[Realistic SL in backtesting after (weekend) gap]]></title>
			<link>https://forexsb.com/forum/post/70237/#p70237</link>
			<description><![CDATA[<p>Hi Miroslav,</p><p>I just saw that you´ve been mentioning this in the latest EA Studio update:</p><p>&quot;- Fixed close on Take Profit in a gap to be at current Open.&quot;</p><p>Which is the right way to do it after a gap indeed. But how about the SL? After a weekend gap, it will also be executed at the next open price, even if it was surpassed by whatever amount of pips. E.g., say we have a SL of 50 pips, the trade carries on during the weekend, then the market opens 100 pips below our set SL. The trade would be closed at a loss of 150 pips instead of 50 pips. Does EA Studio simulate that correctly yet? It doesn´t look like to me, but it would be the correct way to simulate this during backtesting because exactly this happens in real trading.</p><p>Thank you :-)</p>]]></description>
			<author><![CDATA[null@example.com (geektrader)]]></author>
			<pubDate>Sun, 07 Aug 2022 15:06:52 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/70237/#p70237</guid>
		</item>
	</channel>
</rss>
