<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Forex Software — static input Entry_Amount & Max_Open_Positions]]></title>
		<link>https://forexsb.com/forum/topic/9642/static-input-entryamount-maxopenpositions/</link>
		<atom:link href="https://forexsb.com/forum/feed/rss/topic/9642" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in static input Entry_Amount & Max_Open_Positions.]]></description>
		<lastBuildDate>Sat, 13 Jan 2024 08:13:29 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: static input Entry_Amount & Max_Open_Positions]]></title>
			<link>https://forexsb.com/forum/post/78286/#p78286</link>
			<description><![CDATA[<p>You can easily enable the Entry Amount for optimization.</p><p>Please open the expert cod in the editor.&nbsp; The <strong>Entry_Amount</strong> variable is at the top of the code.</p><p><a href="https://image-holder.forexsb.com/store/make-entry-amount-optimisable.png"><span class="postimg"><img src="https://image-holder.forexsb.com/store/make-entry-amount-optimisable-thumb.png" alt="https://image-holder.forexsb.com/store/make-entry-amount-optimisable-thumb.png" /></span></a></p><p>It is marketed as &quot;static&quot;. Please remove the &quot;static&quot; descriptor, and you will be able to optimize the Entry amount.</p><p>The code should look like this:</p><div class="codebox"><pre><code>static input string _Properties_ = &quot;------&quot;; // --- Expert Properties ---
static input int    Magic_Number = 365481517; // Magic number
       input double Entry_Amount =     0.19; // Entry lots
       input int    Stop_Loss    =     5000; // Stop Loss   (pips)
       input int    Take_Profit  =     7000; // Take Profit (pips)</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Sat, 13 Jan 2024 08:13:29 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/78286/#p78286</guid>
		</item>
		<item>
			<title><![CDATA[static input Entry_Amount & Max_Open_Positions]]></title>
			<link>https://forexsb.com/forum/post/78281/#p78281</link>
			<description><![CDATA[<p>I hope this message finds you well.</p><p>I am currently utilizing an Expert Advisor (EA) that you have developed, and I have encountered a challenge that I believe you could assist me with. The issue pertains to the optimization of the Entry_Amount variable within the MetaTrader 5 Strategy Tester.</p><p>The EA operates effectively, and I am impressed with its performance. However, I have noticed that the Entry_Amount parameter is not selectable for optimization in the Strategy Tester. This limitation hinders my ability to fully optimize the EA&#039;s performance for different trading conditions.</p><p>Here is the specific line of code where Entry_Amount is utilized:</p><p>mql5<br />ManageOrderSend(command, Entry_Amount, stopLoss, takeProfit, 0, signal.MagicNumber);<br />I have attempted to resolve this by ensuring that the optimization settings are correctly configured and that the Entry_Amount is listed as an optimizable variable. Despite these efforts, the issue persists.</p><p>Could you kindly provide guidance on how to modify the EA&#039;s code to allow for the optimization of the Entry_Amount variable? If there are any specific instructions or code adjustments needed, I would greatly appreciate your expertise.</p><p>Thank you for your time and assistance. I look forward to your valuable input.</p><p>Best regards,</p>]]></description>
			<author><![CDATA[null@example.com (gabdecsters)]]></author>
			<pubDate>Sat, 13 Jan 2024 05:23:50 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/78281/#p78281</guid>
		</item>
	</channel>
</rss>
