<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Forex Software — Close all Script]]></title>
	<link rel="self" href="https://forexsb.com/forum/feed/atom/topic/7787" />
	<updated>2019-06-14T11:50:29Z</updated>
	<generator>PunBB</generator>
	<id>https://forexsb.com/forum/topic/7787/close-all-script/</id>
		<entry>
			<title type="html"><![CDATA[Re: Close all Script]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/55943/#p55943" />
			<content type="html"><![CDATA[<p>I was inspired by miroslav his first video of the portfolio eas. he had run random strategies on m1 and was 500 usd in the plus.</p><p>I thought the generator ran for 15 minutes and was looking for strategies. timeframe I had used M5</p>]]></content>
			<author>
				<name><![CDATA[rantampla]]></name>
				<uri>https://forexsb.com/forum/user/9800/</uri>
			</author>
			<updated>2019-06-14T11:50:29Z</updated>
			<id>https://forexsb.com/forum/post/55943/#p55943</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Close all Script]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/55941/#p55941" />
			<content type="html"><![CDATA[<p>Wow, I barely believe it, so no optimizer?</p><p>15 Minutes generator, do you mean M15 TF?</p>]]></content>
			<author>
				<name><![CDATA[yonkuro]]></name>
				<uri>https://forexsb.com/forum/user/8447/</uri>
			</author>
			<updated>2019-06-14T11:34:01Z</updated>
			<id>https://forexsb.com/forum/post/55941/#p55941</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Close all Script]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/55940/#p55940" />
			<content type="html"><![CDATA[<p>Hi Yonkuro.</p><p>You will laugh.<br />No special settings. 6 months historical data. SL between 10 and 50 pips, but only possibly.<br />tp between 10 and 50 pips, but only possibly.<br />15 minutes generator, no Monte Carlo, no WF, nothing. Only portfolio.<br />But, that most important:<br />Early 8 o&#039;clock German time starts, and if a S / R level or $ 20 profit at 0.01 are reached, I will close everything and do nothing more that day.</p><p>Indicators are the default and no acceptance criteria</p><p>So it&#039;s a semi-automatic trading.<br />but I do not care how, main thing i can make money <img src="https://forexsb.com/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[rantampla]]></name>
				<uri>https://forexsb.com/forum/user/9800/</uri>
			</author>
			<updated>2019-06-14T11:15:41Z</updated>
			<id>https://forexsb.com/forum/post/55940/#p55940</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Close all Script]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/55939/#p55939" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>rantampla wrote:</cite><blockquote><p>10 weeks are over, still no change and still great results. Photo as attachment <img src="https://forexsb.com/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><br /><br /><p><a href="https://postimg.cc/LnLRD8Lp"><span class="postimg"><img src="https://i.postimg.cc/LnLRD8Lp/14-06-2019.png" alt="https://i.postimg.cc/LnLRD8Lp/14-06-2019.png" /></span></a></p><br /><p>88 Percent without all Tools, only Portfolio after 15 Minutes search in Generator <img src="https://forexsb.com/forum/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p></blockquote></div><p>Hi rantampla</p><p>That&#039;s amazing, mind to share some tips? especially about the acceptance criteria, indicators choice and historical data length.</p>]]></content>
			<author>
				<name><![CDATA[yonkuro]]></name>
				<uri>https://forexsb.com/forum/user/8447/</uri>
			</author>
			<updated>2019-06-14T10:10:57Z</updated>
			<id>https://forexsb.com/forum/post/55939/#p55939</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Close all Script]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/55936/#p55936" />
			<content type="html"><![CDATA[<p>10 weeks are over, still no change and still great results. Photo as attachment <img src="https://forexsb.com/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><br /><br /><p><a href="https://postimg.cc/LnLRD8Lp"><span class="postimg"><img src="https://i.postimg.cc/LnLRD8Lp/14-06-2019.png" alt="https://i.postimg.cc/LnLRD8Lp/14-06-2019.png" /></span></a></p><br /><p>88 Percent without all Tools, only Portfolio after 15 Minutes search in Generator <img src="https://forexsb.com/forum/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p>]]></content>
			<author>
				<name><![CDATA[rantampla]]></name>
				<uri>https://forexsb.com/forum/user/9800/</uri>
			</author>
			<updated>2019-06-14T07:29:44Z</updated>
			<id>https://forexsb.com/forum/post/55936/#p55936</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Close all Script]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/55768/#p55768" />
			<content type="html"><![CDATA[<p>I have been playing around with this idea for a few weeks. Currently I’m running like this:</p><p>Generate over 4000 bars for a few hours and use optimisation and Monte Carlo, I generate about 1000 strategies or so and stress test till I have 100 of the best using Monte Carlo. </p><p>All strategies have there own SL but not TP. </p><p>I then set a % of account balance TP and SL of 1% </p><p>I am getting good results and I am quick to prune the port of bad strategies (I run for a week then over the weekend prune bad strategies) </p><p>However! What I have found is that when the market say takes a dump and rises very quickly I am left with a huge amount of strategies all opening positions in the same direction which leaves me with huge exposure. This is where the SL of account balance comes in.</p><p>However say market dumps I now have a large number of open positions, markets flattens and begins reverse I get stopped out and all positions close with a 1% loss to my account. Happy days.<br />But next bar opening the strategies open again in all in the direction and the same thing happens. This is because all indicators are thrown to extremes because of high volitility in previous bars. </p><p>Which brings me to my next idea. How can we code into the portfolio that if the account protection SL is reached the strategies cannot open and new positions for X number of bars or for X number of hours/minutes etc?</p>]]></content>
			<author>
				<name><![CDATA[Michael1]]></name>
				<uri>https://forexsb.com/forum/user/10884/</uri>
			</author>
			<updated>2019-06-01T23:40:03Z</updated>
			<id>https://forexsb.com/forum/post/55768/#p55768</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Close all Script]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/55751/#p55751" />
			<content type="html"><![CDATA[<p>ok, so I have google translator use, I&#039;m only perfect in German <img src="https://forexsb.com/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /><br />So 8 weeks ago I did it like this.<br />15 minutes running the generator on EurUsd, no optimization, no Monte Carlo, nothing at all.<br />Simply create a portfolio EA, and load into MT4.<br />Beginning 8 am German time, he opens the trades. Then I watch the support and resistance zones, I am not sure if these are the pivot points, have bought an old EA years ago, which records me always. After that I judge, probably the pivot points.<br />I always decide for feeling if I close everything shortly before or at the breakthrough, I observe the strength of EurUsd. With little strength I close shortly before and with great strength I break through and close afterwards.<br />After that, I turn off auto-cycling for the rest of the day and let it restart early at 8am.<br />This results in daily between 1-3% profit with minimal DD, sometimes even after 30 minutes the trading day is over, because I have reached 3%.<br />I think if you could tie this to Pivot, that could be great. But always with the rule, once goal achieved in the day, end for the day.</p><p>I have tried everything possible with EAStudio for several years now, but I have never been able to achieve lasting success. Even after mega strong rules with Monte Carlo, Multi Market etc.<br />FSB has much more stable EA after development than EAStudio<br />But: This system here is completely relaxing, because of minimal DD for me and it basically throws off daily profits. very rarely have I finished the trading day with minimal loss.<br />Even on extreme trend days due to news, I have made either good profit or minimal loss.<br />You can say it&#039;s actually just random. This shows the profit share of 58%. But this is also related to the fact that the profit target everything is closed.<br />The market changes so often at M5. With the daily restart you seem to reach again and again a kind of reset.<br />I am totally thrilled and live totally quiet with these trades. It&#039;s crazy I know .... I like it <img src="https://forexsb.com/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[rantampla]]></name>
				<uri>https://forexsb.com/forum/user/9800/</uri>
			</author>
			<updated>2019-05-31T11:02:09Z</updated>
			<id>https://forexsb.com/forum/post/55751/#p55751</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Close all Script]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/55748/#p55748" />
			<content type="html"><![CDATA[<p>so we have to code the daily pivot points. what do you mean with support and resistance. if it go to support zone close??&nbsp; also resistance zone close? so if pivot point reach close?</p>]]></content>
			<author>
				<name><![CDATA[Roughey]]></name>
				<uri>https://forexsb.com/forum/user/10939/</uri>
			</author>
			<updated>2019-05-31T10:01:13Z</updated>
			<id>https://forexsb.com/forum/post/55748/#p55748</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Close all Script]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/55747/#p55747" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Roughey wrote:</cite><blockquote><p>did you working now full automatic or semi?</p><p>Did you use the percent profit close function</p></blockquote></div><br /><p>Till now i have use semi. (my Experience with that last 8 weeks is, i make semi on support or ressistence zones, when we can make this automated, i think the portfolio ea can run without semi. But for that, i have no idea to coding). The percent close i have not tested. But i will it test soon <img src="https://forexsb.com/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[rantampla]]></name>
				<uri>https://forexsb.com/forum/user/9800/</uri>
			</author>
			<updated>2019-05-31T09:56:22Z</updated>
			<id>https://forexsb.com/forum/post/55747/#p55747</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Close all Script]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/55744/#p55744" />
			<content type="html"><![CDATA[<p>did you working now full automatic or semi?</p><p>Did you use the percent profit close function</p>]]></content>
			<author>
				<name><![CDATA[Roughey]]></name>
				<uri>https://forexsb.com/forum/user/10939/</uri>
			</author>
			<updated>2019-05-31T09:29:00Z</updated>
			<id>https://forexsb.com/forum/post/55744/#p55744</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Close all Script]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/55743/#p55743" />
			<content type="html"><![CDATA[<p>Thank you Roughey, small time last days...i hope it work now <img src="https://forexsb.com/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>My Account have now 8 weeks tradetime and 70 Percent Profit with max. 18 percent DD.</p><br /><p><a href="https://postimg.cc/crSCxyWw"><span class="postimg"><img src="https://i.postimg.cc/crSCxyWw/fsb.png" alt="https://i.postimg.cc/crSCxyWw/fsb.png" /></span></a></p>]]></content>
			<author>
				<name><![CDATA[rantampla]]></name>
				<uri>https://forexsb.com/forum/user/9800/</uri>
			</author>
			<updated>2019-05-31T08:39:38Z</updated>
			<id>https://forexsb.com/forum/post/55743/#p55743</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Close all Script]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/55670/#p55670" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>rantampla wrote:</cite><blockquote><p>yes, please.<br />thanks Rougey, but i have xx errors in code, when i put it inside.<br />can you help? <img src="https://forexsb.com/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p></blockquote></div><p>i have forget to pu an ) at the end so it have to look like this</p><div class="codebox"><pre><code>if(Open_Orders_Profit() &gt;= AccountBalance()*(TPPercentwin/100))</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Roughey]]></name>
				<uri>https://forexsb.com/forum/user/10939/</uri>
			</author>
			<updated>2019-05-24T19:59:57Z</updated>
			<id>https://forexsb.com/forum/post/55670/#p55670</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Close all Script]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/55658/#p55658" />
			<content type="html"><![CDATA[<p>yes, please.<br />thanks Rougey, but i have xx errors in code, when i put it inside.<br />can you help? <img src="https://forexsb.com/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[rantampla]]></name>
				<uri>https://forexsb.com/forum/user/9800/</uri>
			</author>
			<updated>2019-05-24T11:57:44Z</updated>
			<id>https://forexsb.com/forum/post/55658/#p55658</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Close all Script]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/55653/#p55653" />
			<content type="html"><![CDATA[<p>Hi, would it possible for anyone to put all the added code into a ea studio mq4?<br />where it´s supposed to be..<br />close all script and this one</p><p>thanks</p><br /><br /><br /><div class="quotebox"><cite>Roughey wrote:</cite><blockquote><div class="quotebox"><cite>Michael1 wrote:</cite><blockquote><p>Is there anyway to further this code by making it close all trades when % of account balance is won or lost? </p><p>I’ve been trying but haven’t had much success.</p><p>I’m thinking if we could do this it would be so powerful as it is scalable with your account size as well avoiding those nasty drawdown. </p><p>Ie close all trades when account balance + open orders profit = 5% <br />Close all trades when account balance + open orders profit = -5%</p></blockquote></div><p>i have that running.</p><div class="codebox"><pre><code>input double               TPPercentwin          = 0;                    // Close all winner x% reached of AccountBalance
input double               TPPercentloss          = 0;                    // Close all losses x% reached of AccountBalance</code></pre></div><p>in OnTick add this:</p><div class="codebox"><pre><code>if(Open_Orders_Profit() &gt;= AccountBalance()*(TPPercentwin/100)
{
CloseAllPositions();
}</code></pre></div><div class="codebox"><pre><code>if(Open_Orders_Profit() &lt;= AccountBalance()*(TPPercentloss/100)
{
CloseAllPositions();
}</code></pre></div><p>Check this out.</p></blockquote></div>]]></content>
			<author>
				<name><![CDATA[timpa]]></name>
				<uri>https://forexsb.com/forum/user/10956/</uri>
			</author>
			<updated>2019-05-24T08:27:58Z</updated>
			<id>https://forexsb.com/forum/post/55653/#p55653</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Close all Script]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/55646/#p55646" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Michael1 wrote:</cite><blockquote><p>Is there anyway to further this code by making it close all trades when % of account balance is won or lost? </p><p>I’ve been trying but haven’t had much success.</p><p>I’m thinking if we could do this it would be so powerful as it is scalable with your account size as well avoiding those nasty drawdown. </p><p>Ie close all trades when account balance + open orders profit = 5% <br />Close all trades when account balance + open orders profit = -5%</p></blockquote></div><p>i have that running.</p><div class="codebox"><pre><code>input double               TPPercentwin          = 0;                    // Close all winner x% reached of AccountBalance
input double               TPPercentloss          = 0;                    // Close all losses x% reached of AccountBalance</code></pre></div><p>in OnTick add this:</p><div class="codebox"><pre><code>if(Open_Orders_Profit() &gt;= AccountBalance()*(TPPercentwin/100)
{
CloseAllPositions();
}</code></pre></div><div class="codebox"><pre><code>if(Open_Orders_Profit() &lt;= AccountBalance()*(TPPercentloss/100)
{
CloseAllPositions();
}</code></pre></div><p>Check this out.</p>]]></content>
			<author>
				<name><![CDATA[Roughey]]></name>
				<uri>https://forexsb.com/forum/user/10939/</uri>
			</author>
			<updated>2019-05-23T12:31:04Z</updated>
			<id>https://forexsb.com/forum/post/55646/#p55646</id>
		</entry>
</feed>
