<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Forex Software — Forumlar to get back from magicnumber the strategynumber]]></title>
		<link>https://forexsb.com/forum/topic/8593/forumlar-to-get-back-from-magicnumber-the-strategynumber/</link>
		<atom:link href="https://forexsb.com/forum/feed/rss/topic/8593/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Forumlar to get back from magicnumber the strategynumber.]]></description>
		<lastBuildDate>Sat, 27 Nov 2021 10:10:45 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Forumlar to get back from magicnumber the strategynumber]]></title>
			<link>https://forexsb.com/forum/post/67025/#p67025</link>
			<description><![CDATA[<p>Ohh I probably misunderstood the questions.</p><p>If you ask how to convert a magic number to a strategy number, it is:</p><div class="codebox"><pre><code>    int strategyIndex = magicNumber - 1000 * Base_Magic_Number;</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Sat, 27 Nov 2021 10:10:45 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/67025/#p67025</guid>
		</item>
		<item>
			<title><![CDATA[Re: Forumlar to get back from magicnumber the strategynumber]]></title>
			<link>https://forexsb.com/forum/post/67024/#p67024</link>
			<description><![CDATA[<p>The strategy number is in the &quot;strategyIndex&quot; variable.<br />Please note that the first strategy has an index 0.</p><p>The easiest way to have Magic Number equal to the strategy number is to change the formula to:<br /></p><div class="codebox"><pre><code>int GetMagicNumber(int strategyIndex)
  {
   return strategyIndex + 1;
  }</code></pre></div><br /><p>It will make the first strategy with magic number 1, the second with magic number 2, and so on.</p><p>Be careful to not override the magic number of one portfolio with another when they run on the same symbol.</p><p>The Portfolio Expert distinguishes the positions by symbols, so you can have the same magic number in different charts.</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Sat, 27 Nov 2021 10:05:10 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/67024/#p67024</guid>
		</item>
		<item>
			<title><![CDATA[Re: Forumlar to get back from magicnumber the strategynumber]]></title>
			<link>https://forexsb.com/forum/post/67023/#p67023</link>
			<description><![CDATA[<p>I think this will solve my problem as well.<br />Trying to figure out which strategy, portfolio is using, so need the strategy number...</p>]]></description>
			<author><![CDATA[null@example.com (VasTrader)]]></author>
			<pubDate>Sat, 27 Nov 2021 08:11:06 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/67023/#p67023</guid>
		</item>
		<item>
			<title><![CDATA[Forumlar to get back from magicnumber the strategynumber]]></title>
			<link>https://forexsb.com/forum/post/62750/#p62750</link>
			<description><![CDATA[<p>Hi,</p><p>Can someone help? Now Magic Numbers formula is</p><div class="codebox"><pre><code>int GetMagicNumber(int strategyIndex)
  {
   return 1000 * Base_Magic_Number + strategyIndex;
  }</code></pre></div><p>I need Formular to get it reverse. So that I only get the strategy number</p>]]></description>
			<author><![CDATA[null@example.com (Roughey)]]></author>
			<pubDate>Fri, 23 Oct 2020 12:46:40 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/62750/#p62750</guid>
		</item>
	</channel>
</rss>
