<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Forex Software — Locking on an expert]]></title>
		<link>https://forexsb.com/forum/topic/9298/locking-on-an-expert/</link>
		<atom:link href="https://forexsb.com/forum/feed/rss/topic/9298/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Locking on an expert.]]></description>
		<lastBuildDate>Wed, 07 Dec 2022 09:51:43 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Locking on an expert]]></title>
			<link>https://forexsb.com/forum/post/72625/#p72625</link>
			<description><![CDATA[<div class="codebox"><pre><code>extern string Please_Enter_Password = &quot;&quot;;  // User must Type a password (Watermelon)
void OnTick()
  {
   if(__symbol!=_Symbol || __period!=_Period)
     {
      if(__period&gt;0)
        {
         actionTrade.OnDeinit(-1);
         actionTrade.OnInit();
        }
      __symbol = _Symbol;
      __period = _Period;
     }
//+------------------------------------------------------------------+
   {
      if (Please_Enter_Password != &quot;Watermelon&quot;) //&quot;Watermelon is a password
      {
         Alert (&quot;Wrong password&quot;); //Send allert if password is wrong
         ExpertRemove();
      }
   }
//+------------------------------------------------------------------+
   actionTrade.OnTick();
  }
//+------------------------------------------------------------------+
//|                                                                  |
//+------------------------------------------------------------------+
void OnDeinit(const int reason)
  {
   actionTrade.OnDeinit(reason);

   if(CheckPointer(actionTrade)==POINTER_DYNAMIC)
      delete actionTrade;
  }</code></pre></div><div class="quotebox"><cite>reza_akrami_azar wrote:</cite><blockquote><p>How to put a lock on a generated expert and limit it for its user?</p><p>Does anyone have experience in this matter?</p></blockquote></div>]]></description>
			<author><![CDATA[null@example.com (ridwan)]]></author>
			<pubDate>Wed, 07 Dec 2022 09:51:43 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/72625/#p72625</guid>
		</item>
		<item>
			<title><![CDATA[Re: Locking on an expert]]></title>
			<link>https://forexsb.com/forum/post/72623/#p72623</link>
			<description><![CDATA[<p>Make an &quot;input&quot; field asking for a password or activation token.<br />Then hard-code the correct one in the expert and check if they match.<br />Send only the compiled ex4 file to your user.</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Wed, 07 Dec 2022 09:44:34 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/72623/#p72623</guid>
		</item>
		<item>
			<title><![CDATA[Locking on an expert]]></title>
			<link>https://forexsb.com/forum/post/72254/#p72254</link>
			<description><![CDATA[<p>How to put a lock on a generated expert and limit it for its user?</p><p>Does anyone have experience in this matter?</p>]]></description>
			<author><![CDATA[null@example.com (reza_akrami_azar)]]></author>
			<pubDate>Wed, 16 Nov 2022 06:46:55 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/72254/#p72254</guid>
		</item>
	</channel>
</rss>
