<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Forex Software — New Portfolio Expert with Protections and a News Filter]]></title>
		<link>https://forexsb.com/forum/topic/9813/new-portfolio-expert-with-protections-and-a-news-filter/</link>
		<atom:link href="https://forexsb.com/forum/feed/rss/topic/9813/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in New Portfolio Expert with Protections and a News Filter.]]></description>
		<lastBuildDate>Mon, 30 Jun 2025 04:00:30 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: New Portfolio Expert with Protections and a News Filter]]></title>
			<link>https://forexsb.com/forum/post/82723/#p82723</link>
			<description><![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>]]></description>
			<author><![CDATA[null@example.com (BackStreetBoy)]]></author>
			<pubDate>Mon, 30 Jun 2025 04:00:30 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/82723/#p82723</guid>
		</item>
		<item>
			<title><![CDATA[Re: New Portfolio Expert with Protections and a News Filter]]></title>
			<link>https://forexsb.com/forum/post/82716/#p82716</link>
			<description><![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>]]></description>
			<author><![CDATA[null@example.com (Roughey)]]></author>
			<pubDate>Thu, 19 Jun 2025 17:15:54 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/82716/#p82716</guid>
		</item>
		<item>
			<title><![CDATA[Re: New Portfolio Expert with Protections and a News Filter]]></title>
			<link>https://forexsb.com/forum/post/82714/#p82714</link>
			<description><![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>]]></description>
			<author><![CDATA[null@example.com (BackStreetBoy)]]></author>
			<pubDate>Thu, 19 Jun 2025 02:56:17 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/82714/#p82714</guid>
		</item>
		<item>
			<title><![CDATA[Re: New Portfolio Expert with Protections and a News Filter]]></title>
			<link>https://forexsb.com/forum/post/82405/#p82405</link>
			<description><![CDATA[<p>The protections affect only the portfolio&#039;s own magic numbers.</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Sat, 18 Jan 2025 21:14:09 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/82405/#p82405</guid>
		</item>
		<item>
			<title><![CDATA[Re: New Portfolio Expert with Protections and a News Filter]]></title>
			<link>https://forexsb.com/forum/post/82403/#p82403</link>
			<description><![CDATA[<p>When i use another ea on same Account and the new Portfolio. Will the Protections Effect the other ea?</p>]]></description>
			<author><![CDATA[null@example.com (Roughey)]]></author>
			<pubDate>Sat, 18 Jan 2025 20:23:44 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/82403/#p82403</guid>
		</item>
		<item>
			<title><![CDATA[Re: New Portfolio Expert with Protections and a News Filter]]></title>
			<link>https://forexsb.com/forum/post/82351/#p82351</link>
			<description><![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>]]></description>
			<author><![CDATA[null@example.com (Roughey)]]></author>
			<pubDate>Sun, 12 Jan 2025 12:14:25 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/82351/#p82351</guid>
		</item>
		<item>
			<title><![CDATA[Re: New Portfolio Expert with Protections and a News Filter]]></title>
			<link>https://forexsb.com/forum/post/82350/#p82350</link>
			<description><![CDATA[<p>Thank you for the report!</p><p>I&#039;ll check the code and fix any problems I may find.</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Sun, 12 Jan 2025 10:41:53 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/82350/#p82350</guid>
		</item>
		<item>
			<title><![CDATA[Re: New Portfolio Expert with Protections and a News Filter]]></title>
			<link>https://forexsb.com/forum/post/82348/#p82348</link>
			<description><![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>]]></description>
			<author><![CDATA[null@example.com (Roughey)]]></author>
			<pubDate>Sat, 11 Jan 2025 11:12:31 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/82348/#p82348</guid>
		</item>
		<item>
			<title><![CDATA[Re: New Portfolio Expert with Protections and a News Filter]]></title>
			<link>https://forexsb.com/forum/post/82334/#p82334</link>
			<description><![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>]]></description>
			<author><![CDATA[null@example.com (Roughey)]]></author>
			<pubDate>Thu, 09 Jan 2025 19:45:15 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/82334/#p82334</guid>
		</item>
		<item>
			<title><![CDATA[Re: New Portfolio Expert with Protections and a News Filter]]></title>
			<link>https://forexsb.com/forum/post/81848/#p81848</link>
			<description><![CDATA[<p>I&#039;ll check that.</p><p>Thank you for the report!</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Tue, 12 Nov 2024 20:04:36 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/81848/#p81848</guid>
		</item>
		<item>
			<title><![CDATA[Re: New Portfolio Expert with Protections and a News Filter]]></title>
			<link>https://forexsb.com/forum/post/81846/#p81846</link>
			<description><![CDATA[<p>when close manually it will not show positions correctly also lotsize</p>]]></description>
			<author><![CDATA[null@example.com (Roughey)]]></author>
			<pubDate>Tue, 12 Nov 2024 19:15:32 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/81846/#p81846</guid>
		</item>
		<item>
			<title><![CDATA[Re: New Portfolio Expert with Protections and a News Filter]]></title>
			<link>https://forexsb.com/forum/post/81845/#p81845</link>
			<description><![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>]]></description>
			<author><![CDATA[null@example.com (Roughey)]]></author>
			<pubDate>Tue, 12 Nov 2024 19:14:00 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/81845/#p81845</guid>
		</item>
		<item>
			<title><![CDATA[Re: New Portfolio Expert with Protections and a News Filter]]></title>
			<link>https://forexsb.com/forum/post/81376/#p81376</link>
			<description><![CDATA[<p>I&#039;ll work on the MQL code next week.<br />Thank you for the reports!</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Fri, 04 Oct 2024 19:17:03 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/81376/#p81376</guid>
		</item>
		<item>
			<title><![CDATA[Re: New Portfolio Expert with Protections and a News Filter]]></title>
			<link>https://forexsb.com/forum/post/81119/#p81119</link>
			<description><![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>]]></description>
			<author><![CDATA[null@example.com (Roughey)]]></author>
			<pubDate>Mon, 09 Sep 2024 17:33:52 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/81119/#p81119</guid>
		</item>
		<item>
			<title><![CDATA[Re: New Portfolio Expert with Protections and a News Filter]]></title>
			<link>https://forexsb.com/forum/post/81087/#p81087</link>
			<description><![CDATA[<p>Daily Loss:</p><p>Now i checked why is when i set Daily Loss 1000. Than it show eg 3000 and activate to late? Normally it should close and suspend at 1001.</p><p>BTW: What the difference between MaxOpen Lots and Max Positiions?</p>]]></description>
			<author><![CDATA[null@example.com (Roughey)]]></author>
			<pubDate>Fri, 06 Sep 2024 09:20:32 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/81087/#p81087</guid>
		</item>
	</channel>
</rss>
