<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Forex Software — Identify Expert Advisor within a Portfolio of Expert Advisors]]></title>
	<link rel="self" href="https://forexsb.com/forum/feed/atom/topic/9178/" />
	<updated>2022-08-06T13:57:34Z</updated>
	<generator>PunBB</generator>
	<id>https://forexsb.com/forum/topic/9178/identify-expert-advisor-within-a-portfolio-of-expert-advisors/</id>
		<entry>
			<title type="html"><![CDATA[Re: Identify Expert Advisor within a Portfolio of Expert Advisors]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/70207/#p70207" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Popov wrote:</cite><blockquote><p>Because the numbers are huge it will be very difficult to find the desired strategy even if they are sorted by Magic number.</p><p>Probably I have to sort the numbers alphabetically instead of numerically.</p><p>I&#039;m not sure how useful this feature will be like that.</p><p>If we add search or a possibility to write a list of numbers to prune will be better.</p><p>An idea:</p><p>A possibility is to use the &quot;Filter records&quot; tool.<br />If we add a &quot;Filter by magic number&quot; field and we start writing down a number, the Collection to filter out the matching numbers dynamically.</p></blockquote></div><br /><p>Right -- I understand.&nbsp; But at least the main problem would be solved -- i.e. how to &quot;connect&quot; a strategy that is traded by MT4/MT5 with the corresponding strategy in EA Studio.</p><p>Another possibility could be a &#039;Search MagicNumber&#039; edit box -- i.e. enter a MagicNumber and EA Studio searches for the corresponding strategy in the collection.</p>]]></content>
			<author>
				<name><![CDATA[sleytus]]></name>
				<uri>https://forexsb.com/forum/user/9721/</uri>
			</author>
			<updated>2022-08-06T13:57:34Z</updated>
			<id>https://forexsb.com/forum/post/70207/#p70207</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Identify Expert Advisor within a Portfolio of Expert Advisors]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/70206/#p70206" />
			<content type="html"><![CDATA[<p>Because the numbers are huge it will be very difficult to find the desired strategy even if they are sorted by Magic number.</p><p>Probably I have to sort the numbers alphabetically instead of numerically.</p><p>I&#039;m not sure how useful this feature will be like that.</p><p>If we add search or a possibility to write a list of numbers to prune will be better.</p><p>An idea:</p><p>A possibility is to use the &quot;Filter records&quot; tool.<br />If we add a &quot;Filter by magic number&quot; field and we start writing down a number, the Collection to filter out the matching numbers dynamically.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2022-08-06T13:35:46Z</updated>
			<id>https://forexsb.com/forum/post/70206/#p70206</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Identify Expert Advisor within a Portfolio of Expert Advisors]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/70192/#p70192" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Popov wrote:</cite><blockquote><p>We will probably need a new option for the Portfolio Expert: whether to use Base magic number (like now) or to use individual magic numbers from EA Studio.</p><p>The option may be in EA Studio or in the exported Portfolio Expert.</p></blockquote></div><p>Yes -- either way works, though if I had a vote I would vote to make it an input option for the EA, with the default setting being to continue using the Base magic number.</p><p>This still would require you figure out a way to embed the unique MagicNumbers into the generated source code.</p>]]></content>
			<author>
				<name><![CDATA[sleytus]]></name>
				<uri>https://forexsb.com/forum/user/9721/</uri>
			</author>
			<updated>2022-08-06T09:12:38Z</updated>
			<id>https://forexsb.com/forum/post/70192/#p70192</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Identify Expert Advisor within a Portfolio of Expert Advisors]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/70190/#p70190" />
			<content type="html"><![CDATA[<p>We will probably need a new option for the Portfolio Expert: whether to use Base magic number (like now) or to use individual magic numbers from EA Studio.</p><p>The option may be in EA Studio or in the exported Portfolio Expert.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2022-08-06T08:49:04Z</updated>
			<id>https://forexsb.com/forum/post/70190/#p70190</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Identify Expert Advisor within a Portfolio of Expert Advisors]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/70189/#p70189" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Popov wrote:</cite><blockquote><p>Even the Generator calculates the Magic number gain <img src="https://forexsb.com/forum/img/smilies/smile.png" width="15" height="15" alt="smile" />))))</p><p><a href="https://image-holder.forexsb.com/store/eas-magic-number-sorting-idea-generator-progress.png"><span class="postimg"><img src="https://image-holder.forexsb.com/store/eas-magic-number-sorting-idea-generator-progress-thumb.png" alt="https://image-holder.forexsb.com/store/eas-magic-number-sorting-idea-generator-progress-thumb.png" /></span></a></p></blockquote></div><p>This is very interesting.&nbsp; I don&#039;t know how many users are concerned with &quot;pruning&quot; a portfolio EA based on testing in demo account, but I would find this most helpful.&nbsp; It would make it easier to use the results from demo testing and apply them to prune the collection in EA Studio.</p>]]></content>
			<author>
				<name><![CDATA[sleytus]]></name>
				<uri>https://forexsb.com/forum/user/9721/</uri>
			</author>
			<updated>2022-08-06T08:44:48Z</updated>
			<id>https://forexsb.com/forum/post/70189/#p70189</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Identify Expert Advisor within a Portfolio of Expert Advisors]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/70187/#p70187" />
			<content type="html"><![CDATA[<p>Even the Generator calculates the Magic number gain <img src="https://forexsb.com/forum/img/smilies/smile.png" width="15" height="15" alt="smile" />))))</p><p><a href="https://image-holder.forexsb.com/store/eas-magic-number-sorting-idea-generator-progress.png"><span class="postimg"><img src="https://image-holder.forexsb.com/store/eas-magic-number-sorting-idea-generator-progress-thumb.png" alt="https://image-holder.forexsb.com/store/eas-magic-number-sorting-idea-generator-progress-thumb.png" /></span></a></p><br /><p>To optimise the magic number? We can make a contest of the highest or smallest or a good looking Magic number <img src="https://forexsb.com/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2022-08-06T08:35:52Z</updated>
			<id>https://forexsb.com/forum/post/70187/#p70187</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Identify Expert Advisor within a Portfolio of Expert Advisors]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/70186/#p70186" />
			<content type="html"><![CDATA[<p>Just spend 20 minutes to prototype such a feature.</p><p>Here is what it may look like:</p><p><a href="https://image-holder.forexsb.com/store/eas-magic-number-sorting-idea.png"><span class="postimg"><img src="https://image-holder.forexsb.com/store/eas-magic-number-sorting-idea-thumb.png" alt="https://image-holder.forexsb.com/store/eas-magic-number-sorting-idea-thumb.png" /></span></a></p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2022-08-06T08:28:05Z</updated>
			<id>https://forexsb.com/forum/post/70186/#p70186</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Identify Expert Advisor within a Portfolio of Expert Advisors]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/70177/#p70177" />
			<content type="html"><![CDATA[<p>&gt; When a portfolio EA is created by EA Studio would it be possible to display both the ID and the MagicNumber for each strategy? </p><p>The ID numbers are meaningfull only for the current EA Studio session. They are completely dynamic. EA Studio calculates them every time a new strategy is generated or the application is restarted.</p><p>It is meaningless and even counterproductive to store them.</p><br /><p>On the other hand, during the work on the new Generator ( <a href="https://forexsb.com/forum/topic/9057/im-yet-to-build-the-best-backtester-and-generator/">https://forexsb.com/forum/topic/9057/im … generator/</a> ) I found a formula, which describes a strategy with a unique number.</p><p>Just now I realised it may be used for a Magic Number. </p><p>If I decide to use it, it will not be compatible with the current Portfolio Experts, which use a Base Number.</p><p>I may tray this idea later. </p><p>I&#039;m going to upload new release of EA Studio this weekend. Stay tuned.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2022-08-06T07:36:29Z</updated>
			<id>https://forexsb.com/forum/post/70177/#p70177</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Identify Expert Advisor within a Portfolio of Expert Advisors]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/70176/#p70176" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Popov wrote:</cite><blockquote><p>The Magic Numbers of the experts or the individual strategies in a Portfolio Expert have no relation with the Id tags you see in EA Studio.</p><p>EA Studio does not use Magic Numbers.</p><p>&gt; if I have a bot with a magic number 100001, what is its ID, for example ID545.1</p><p>Import the expert in EA Studio and it will receive an ID. It may be a completely new or an old one. EA Studio keeps a track of 10000 ID tags. They serve to identify your strategies in a collection within EA Studio.</p><p>&gt;This is very important to create portfolios tested in demo in live market.</p><p>Import your portfolio in EA Studio, recalculate it and remove the strategies you do not want.</p><p>You may disable individual strategies from the portfolio by editing the Portfolio Expert code.</p></blockquote></div><br /><br /><p>I&#039;ve encountered the same issue -- i.e. I wish to prune a portfolio EA based on a strategy&#039;s performance in a demo account.&nbsp; A difficulty arises because demo accounts use MagicNumbers and EA Studio uses IDs.&nbsp; How to reconcile the two?&nbsp; &nbsp;Importing back into EA Studio doesn&#039;t solve the problem because I want to prune based on demo testing (and not on back-testing) and once imported back into EA Studio I lose track of which strategy I wanted to remove.</p><p>Here&#039;s one way to approach this...</p><p>1. Save the collection that was used to create a portfolio EA.<br />2. When trading, the portfolio EA uses MagicNumbers that are zero-based.&nbsp; For example, MagicNumber 100001 is the 2nd strategy, MagicNumber 100011 is the 12th strategy, and so on...<br />3. There are two ways to prune -- for example, suppose you want to remove the 12th strategy:<br />&nbsp; &nbsp; a. Reload the collection back into EA Studio and delete the 12th strategy.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; or<br />&nbsp; &nbsp; b. Edit the source code and delete or comment-out the 12th strategy and decrement the &#039;strategiesCount&#039; global variable by 1.</p><br /><p>Popov -- here&#039;s an idea, though I&#039;m not sure whether it makes sense.&nbsp; When a portfolio EA is created by EA Studio would it be possible to display both the ID and the MagicNumber for each strategy?&nbsp; Under Portfolio / Content each individual strategy is displayed along with its ID.&nbsp; Would it be possible to display the future MagicNumber along-side the ID?</p>]]></content>
			<author>
				<name><![CDATA[sleytus]]></name>
				<uri>https://forexsb.com/forum/user/9721/</uri>
			</author>
			<updated>2022-08-06T04:44:37Z</updated>
			<id>https://forexsb.com/forum/post/70176/#p70176</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Identify Expert Advisor within a Portfolio of Expert Advisors]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/70173/#p70173" />
			<content type="html"><![CDATA[<p>The Magic Numbers of the experts or the individual strategies in a Portfolio Expert have no relation with the Id tags you see in EA Studio.</p><p>EA Studio does not use Magic Numbers.</p><p>&gt; if I have a bot with a magic number 100001, what is its ID, for example ID545.1</p><p>Import the expert in EA Studio and it will receive an ID. It may be a completely new or an old one. EA Studio keeps a track of 10000 ID tags. They serve to identify your strategies in a collection within EA Studio.</p><p>&gt;This is very important to create portfolios tested in demo in live market.</p><p>Import your portfolio in EA Studio, recalculate it and remove the strategies you do not want.</p><p>You may disable individual strategies from the portfolio by editing the Portfolio Expert code.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2022-08-05T21:52:25Z</updated>
			<id>https://forexsb.com/forum/post/70173/#p70173</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Identify Expert Advisor within a Portfolio of Expert Advisors]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/70172/#p70172" />
			<content type="html"><![CDATA[<p>I have recently purchased the software license, thanks for the great development work.</p><p>I have a concern, when I use FXBLUE to track Expert Advisors separately I see their Magic Number, I can disable them from the code with the sequence //</p><p>But I don&#039;t know how to identify that expert advisor in the program: What is its ID? For example, if I have a bot with a magic number 100001, what is its ID, for example ID545.1</p><p>This is very important to create portfolios tested in demo in live market.</p><p>Could you help me?</p>]]></content>
			<author>
				<name><![CDATA[DeyQmXRT]]></name>
				<uri>https://forexsb.com/forum/user/14067/</uri>
			</author>
			<updated>2022-08-05T15:06:57Z</updated>
			<id>https://forexsb.com/forum/post/70172/#p70172</id>
		</entry>
</feed>
