<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Forex Software — New Portfolio Expert with Protections and a News Filter]]></title>
	<link rel="self" href="https://forexsb.com/forum/feed/atom/topic/9813/" />
	<updated>2026-04-13T17:16:28Z</updated>
	<generator>PunBB</generator>
	<id>https://forexsb.com/forum/topic/9813/new-portfolio-expert-with-protections-and-a-news-filter/</id>
		<entry>
			<title type="html"><![CDATA[Re: New Portfolio Expert with Protections and a News Filter]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/83235/#p83235" />
			<content type="html"><![CDATA[<p>Hi,</p><p>can someone explain me what the difference is?</p><p>Maximum daily loss (currency) &lt;-is this the same as daily drawdown? Only in currency?<br />Maximum daily drawdown %&lt;- is this the same as daily loss only in %</p><p>So is this the same the only difference is that i can use % or currency? So I only need one of them?</p><br /><p>Minimum equity (currency)<br />Maximum equity drawdown %<br />Maximum equity (currency)</p><p>Here i know Min Max what it is.. but when i use Max Equity drawdown % its the same what i put into currency Max Equity?</p><p>So i only decide if i want % and let the other to 0 (disable) or i use the currency variant and let the % to 0 for disable?</p>]]></content>
			<author>
				<name><![CDATA[Roughey]]></name>
				<uri>https://forexsb.com/forum/user/10939/</uri>
			</author>
			<updated>2026-04-13T17:16:28Z</updated>
			<id>https://forexsb.com/forum/post/83235/#p83235</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: New Portfolio Expert with Protections and a News Filter]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/82723/#p82723" />
			<content type="html"><![CDATA[<p>I think it’s safer to test each EA separately first. Then add them slowly. That way, you know where the problem is. Adding too many at once can cause bugs.</p>]]></content>
			<author>
				<name><![CDATA[BackStreetBoy]]></name>
				<uri>https://forexsb.com/forum/user/9076/</uri>
			</author>
			<updated>2025-06-30T04:00:30Z</updated>
			<id>https://forexsb.com/forum/post/82723/#p82723</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: New Portfolio Expert with Protections and a News Filter]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/82716/#p82716" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>BackStreetBoy wrote:</cite><blockquote><div class="quotebox"><cite>Roughey wrote:</cite><blockquote><p>When i use another ea on same Account and the new Portfolio. Will the Protections Effect the other ea?</p></blockquote></div><p>I also use more than one EA on my account. Each EA has a different magic number. So far, I don’t see any problem. They work fine together.</p></blockquote></div><br /><p>what i see is when i run a ea longer..than add another with new magicnumber....the stats are wrong it is getting 1 trade from another ea --dont know why....</p>]]></content>
			<author>
				<name><![CDATA[Roughey]]></name>
				<uri>https://forexsb.com/forum/user/10939/</uri>
			</author>
			<updated>2025-06-19T17:15:54Z</updated>
			<id>https://forexsb.com/forum/post/82716/#p82716</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: New Portfolio Expert with Protections and a News Filter]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/82714/#p82714" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Roughey wrote:</cite><blockquote><p>When i use another ea on same Account and the new Portfolio. Will the Protections Effect the other ea?</p></blockquote></div><p>I also use more than one EA on my account. Each EA has a different magic number. So far, I don’t see any problem. They work fine together.</p>]]></content>
			<author>
				<name><![CDATA[BackStreetBoy]]></name>
				<uri>https://forexsb.com/forum/user/9076/</uri>
			</author>
			<updated>2025-06-19T02:56:17Z</updated>
			<id>https://forexsb.com/forum/post/82714/#p82714</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: New Portfolio Expert with Protections and a News Filter]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/82405/#p82405" />
			<content type="html"><![CDATA[<p>The protections affect only the portfolio&#039;s own magic numbers.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2025-01-18T21:14:09Z</updated>
			<id>https://forexsb.com/forum/post/82405/#p82405</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: New Portfolio Expert with Protections and a News Filter]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/82403/#p82403" />
			<content type="html"><![CDATA[<p>When i use another ea on same Account and the new Portfolio. Will the Protections Effect the other ea?</p>]]></content>
			<author>
				<name><![CDATA[Roughey]]></name>
				<uri>https://forexsb.com/forum/user/10939/</uri>
			</author>
			<updated>2025-01-18T20:23:44Z</updated>
			<id>https://forexsb.com/forum/post/82403/#p82403</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: New Portfolio Expert with Protections and a News Filter]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/82351/#p82351" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Popov wrote:</cite><blockquote><p>Thank you for the report!</p><p>I&#039;ll check the code and fix any problems I may find.</p></blockquote></div><br /><p>hey.. i have now checked again. for some reason i used netting account..hedge is working..</p><p>But i only the Profit Calculation is wrong or sometimes not working..maybe some other user can check also</p>]]></content>
			<author>
				<name><![CDATA[Roughey]]></name>
				<uri>https://forexsb.com/forum/user/10939/</uri>
			</author>
			<updated>2025-01-12T12:14:25Z</updated>
			<id>https://forexsb.com/forum/post/82351/#p82351</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: New Portfolio Expert with Protections and a News Filter]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/82350/#p82350" />
			<content type="html"><![CDATA[<p>Thank you for the report!</p><p>I&#039;ll check the code and fix any problems I may find.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2025-01-12T10:41:53Z</updated>
			<id>https://forexsb.com/forum/post/82350/#p82350</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: New Portfolio Expert with Protections and a News Filter]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/82348/#p82348" />
			<content type="html"><![CDATA[<p>Hey Popov,</p><p>there must be a bug in LotCalculation also posStatCount posStatLots and posStatProfit not working correctly-</p><p>when i use this function for counting profit it works</p><div class="codebox"><pre><code>double CountProfit(void)
  {
   const int minMagic = GetMagicNumber(0);
   const int maxMagic = GetMagicNumber(strategiesCount);
   const int posTotal = PositionsTotal();
   double count = 0;

   for(int posIndex = posTotal - 1; posIndex &gt;= 0; posIndex--)
     {
      const ulong ticket = PositionGetTicket(posIndex);
      if(PositionSelectByTicket(ticket) &amp;&amp; PositionGetString(POSITION_SYMBOL) == _Symbol)
        {
         const long magicNumber = PositionGetInteger(POSITION_MAGIC);
         if(magicNumber &gt;= minMagic &amp;&amp; magicNumber &lt;= maxMagic)
            count += PositionGetDouble(POSITION_PROFIT);
        }
     }

   return count;
  } </code></pre></div><br /><p>but when i check all other thinks something is completely wrong with calculation of lots open trades and so on.<br />also its not counting positions correctly.</p><p>i checked on mql5</p>]]></content>
			<author>
				<name><![CDATA[Roughey]]></name>
				<uri>https://forexsb.com/forum/user/10939/</uri>
			</author>
			<updated>2025-01-11T11:12:31Z</updated>
			<id>https://forexsb.com/forum/post/82348/#p82348</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: New Portfolio Expert with Protections and a News Filter]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/82334/#p82334" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Popov wrote:</cite><blockquote><p>I&#039;ll check that.</p><p>Thank you for the report!</p></blockquote></div><br /><p>Is this fixed already i just checked but it is not working and calculate the Profit</p>]]></content>
			<author>
				<name><![CDATA[Roughey]]></name>
				<uri>https://forexsb.com/forum/user/10939/</uri>
			</author>
			<updated>2025-01-09T19:45:15Z</updated>
			<id>https://forexsb.com/forum/post/82334/#p82334</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: New Portfolio Expert with Protections and a News Filter]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/81848/#p81848" />
			<content type="html"><![CDATA[<p>I&#039;ll check that.</p><p>Thank you for the report!</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2024-11-12T20:04:36Z</updated>
			<id>https://forexsb.com/forum/post/81848/#p81848</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: New Portfolio Expert with Protections and a News Filter]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/81846/#p81846" />
			<content type="html"><![CDATA[<p>when close manually it will not show positions correctly also lotsize</p>]]></content>
			<author>
				<name><![CDATA[Roughey]]></name>
				<uri>https://forexsb.com/forum/user/10939/</uri>
			</author>
			<updated>2024-11-12T19:15:32Z</updated>
			<id>https://forexsb.com/forum/post/81846/#p81846</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: New Portfolio Expert with Protections and a News Filter]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/81845/#p81845" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Popov wrote:</cite><blockquote><p>I&#039;ll work on the MQL code next week.<br />Thank you for the reports!</p></blockquote></div><p>Hey i hope you are well. When will you update code? And i found another BUG.</p><p>It is not Showing results and when i close manually it is not calculate position size correctly.</p>]]></content>
			<author>
				<name><![CDATA[Roughey]]></name>
				<uri>https://forexsb.com/forum/user/10939/</uri>
			</author>
			<updated>2024-11-12T19:14:00Z</updated>
			<id>https://forexsb.com/forum/post/81845/#p81845</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: New Portfolio Expert with Protections and a News Filter]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/81376/#p81376" />
			<content type="html"><![CDATA[<p>I&#039;ll work on the MQL code next week.<br />Thank you for the reports!</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2024-10-04T19:17:03Z</updated>
			<id>https://forexsb.com/forum/post/81376/#p81376</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: New Portfolio Expert with Protections and a News Filter]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/81119/#p81119" />
			<content type="html"><![CDATA[<p>There must be a BUG.</p><p>The globalVariables are not initialized @Popov</p><p>You have forgot to call the function in OnInit!</p><div class="codebox"><pre><code>   InitGlobalVariables();</code></pre></div><p> &lt;--</p>]]></content>
			<author>
				<name><![CDATA[Roughey]]></name>
				<uri>https://forexsb.com/forum/user/10939/</uri>
			</author>
			<updated>2024-09-09T17:33:52Z</updated>
			<id>https://forexsb.com/forum/post/81119/#p81119</id>
		</entry>
</feed>
