<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Financial Blog &#187; Mqllock</title>
	<atom:link href="https://fx1.net/blog/category/mqllock/feed/" rel="self" type="application/rss+xml" />
	<link>https://fx1.net/blog</link>
	<description>Forex, Futures, Programming</description>
	<lastBuildDate>Fri, 06 Mar 2015 16:13:23 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.1</generator>
	<item>
		<title>iCustom Indicator with MQLLock</title>
		<link>https://fx1.net/blog/icustom-indicator-with-mqllock/</link>
		<comments>https://fx1.net/blog/icustom-indicator-with-mqllock/#comments</comments>
		<pubDate>Fri, 02 Jan 2015 08:56:51 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[MQL]]></category>
		<category><![CDATA[Mqllock]]></category>
		<category><![CDATA[icustom]]></category>
		<category><![CDATA[mql]]></category>
		<category><![CDATA[mqllock]]></category>

		<guid isPermaLink="false">https://fx1.net/blog/?p=1997</guid>
		<description><![CDATA[I was asked if a mqllock protected indicator can be loaded with iCustom from another Strategy or Indicator which is not protected.. Setup for Test I have taken ForceIndex Indicator [&#8230;]]]></description>
				<content:encoded><![CDATA[<h3>I was asked if a mqllock protected indicator can be loaded with iCustom from another Strategy or Indicator which is not protected..</h3>
<h2 id=underline>Setup for Test</h2>
<p>I have taken <a href='http://ta.mql4.com/indicators/oscillators/force_index'>ForceIndex</a> Indicator to get started, then submitted it to mqllock using <a href='https://mqllock.com/start/'>https://mqllock.com/start/</a> and after several minutes i had a protected version. I have installed Protected version to my computer and applied both (protected and original to chart to see if it works after protection)</p>
<p><img src="https://fx1.net/blog/wp-content/uploads/2015/01/forceindex.png" alt="forceindex" width="846" height="500" class="alignnone size-full wp-image-2001" /></p>
<p>All seems to work well so far with open license. Now its time to write a test mql code like seen:</p>
<pre class="brush: php; title: ; notranslate">
void OnTick()
{

   // Original Indicator with iCustom
   double Ret1 = iCustom(Symbol(),Period(),&quot;ForceIndex&quot;,13,0,0,0,0);   
   // Protected Indicator with iCustom
   double Ret2 = iCustom(Symbol(),Period(),&quot;MQLLock_5200_ForceIndex_rev1&quot;,13,0,0,0,0);
   
   // Output
   Print(&quot;Original = &quot;+DoubleToStr(Ret1,2)+&quot; Protected = &quot;+DoubleToStr(Ret2,2));      
}
</pre>
<p>As you see i am calling original indicator with iCustom and Protected one with iCustom. <a href='http://docs.mql4.com/indicators/icustom'>Manual page for iCustom</a> is very well written and worth to check.
</p>
<h2  id=underline>It works!</h2>
<p>The results are very well like seen here on output; Original called iCustom values are exactly same as Protected version:
</p>
<p><img src="https://fx1.net/blog/wp-content/uploads/2015/01/to-1024x254.png" alt="to" width="700" height="174" class="alignnone size-large wp-image-2004" /></p>
<p>I have tried same with Account Number Licensing, it has worked too same good. As last test i have removed the license on mqllock administration panel and restarted the Metatrader4 Terminal, it has closed the terminal with insufficient license error! All works perfectly. </p>
<h2  id=underline>Conclusion</h2>
<p>MQLLock protected indicators applied to chart or called from iCustom works perfectly. No issues at all. All Features are compatible. Enjoy it</p>
]]></content:encoded>
			<wfw:commentRss>https://fx1.net/blog/icustom-indicator-with-mqllock/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
