<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Forex Software — How can I translate a cs indicator to mq4 indicator?]]></title>
	<link rel="self" href="https://forexsb.com/forum/feed/atom/topic/5357/" />
	<updated>2015-06-03T06:17:21Z</updated>
	<generator>PunBB</generator>
	<id>https://forexsb.com/forum/topic/5357/how-can-i-translate-a-cs-indicator-to-mq4-indicator/</id>
		<entry>
			<title type="html"><![CDATA[Re: How can I translate a cs indicator to mq4 indicator?]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/29605/#p29605" />
			<content type="html"><![CDATA[<div class="quotebox"><blockquote><p>a) Can you explain me further what is the reason of using Strategy.xml file inside Files Directory?</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; b) Do I have to copy each time Strategy.xml file (or one with the name of EA created by FSB pro?)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;in Files directory of MT4 by hand? If Yes, why this can not be done automatically by FSB pro?</p></blockquote></div><p>There is only one reason to do that - to hack the experts easier if you are a MQL guru.</p><p>You don&#039;t need doing anything said above for a normal usage. You just export the EA and use it in MT.</p><p>Read more here: <a href="http://forexsb.com/wiki/fsbpro_guide/exporting_expert_advisor">http://forexsb.com/wiki/fsbpro_guide/ex … rt_advisor</a><br />See this video: <a href="http://forexsb.com/wiki/videos/expert_advisor_series/p1_exporting_expert_advisors">http://forexsb.com/wiki/videos/expert_a … t_advisors</a></p><br /><br /><div class="quotebox"><blockquote><p>How to define in EA that my broker is ECN/STP?</p></blockquote></div><p>You don&#039;t need defining anything. The expert will detect the ECN rules automatically.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2015-06-03T06:17:21Z</updated>
			<id>https://forexsb.com/forum/post/29605/#p29605</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How can I translate a cs indicator to mq4 indicator?]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/29602/#p29602" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Popov wrote:</cite><blockquote><div class="quotebox"><blockquote><p>I just had to copy Forexsb.com directory of FSB in the Metatrader 5\MQL 5\Include directory</p></blockquote></div><p>This is the way I&#039;m developing the MT indicators.</p><p>You can copy the FSB_Expert_MT4.mq4 and FSB_Expert_MT5.mq5 files in the MT Experts folder and to copy an FSB Pro strategy named &quot;Strategy.xml&quot; in the Files folder. Then you can compile and run FSB_Expert_MT5 directly. It will load the Strategy.xml strategy.</p><p>This is an easier way to debug the expert and the indicators.</p></blockquote></div><br /><p>Dear Dr. Popov</p><p>I have some questions on that to understand better:</p><p> 1&gt; I created an EA in MT4 Experts folder using FSBpro specific Icon of Menu Bar of FSBpro.<br />&nbsp; &nbsp; &nbsp; Then I compile it, as it is, using MT4. I did not find any problem. <br />&nbsp; &nbsp; &nbsp; I did not see any question about Strategy.xml file or error by debugger.</p><p>&nbsp; &nbsp; &nbsp;<strong> <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; a) Can you explain me further what is the reason of using Strategy.xml file inside Files Directory?</strong></p><p><strong>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; b) Do I have to copy each time Strategy.xml file (or one with the name of EA created by FSB pro?)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;in Files directory of MT4 by hand? If Yes, why this can not be done automatically by FSB pro?<br /></strong></p><br /><p>2&gt; I created an EA in MT4 Experts folder using FSBpro specific Icon of Menu Bar of FSBpro.<br />&nbsp; &nbsp; &nbsp; Then I compile it, as it is, using MT4.</p><p>&nbsp; &nbsp; &nbsp;<strong>How to define in EA that my broker is ECN/STP?</strong></p>]]></content>
			<author>
				<name><![CDATA[GD]]></name>
				<uri>https://forexsb.com/forum/user/8542/</uri>
			</author>
			<updated>2015-06-03T01:26:19Z</updated>
			<id>https://forexsb.com/forum/post/29602/#p29602</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How can I translate a cs indicator to mq4 indicator?]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/29430/#p29430" />
			<content type="html"><![CDATA[<div class="quotebox"><blockquote><p>1&gt; Normally all the existed mqh indicators should exist also as css indicators (but not the opposite)<br />&nbsp; &nbsp; &nbsp;This does not happen. Is there some reason?</p></blockquote></div><p>There are about 100 indicators integrated in FSB Pro and you don&#039;t need a separate cs code for them in order to export EA. You need cs codes for the custom indicators. You normally download the code from the online repo - both cs and mqh. You need mqh code for all indicators because FSB Pro doesn&#039;t contain any mql code. Not all cs indicators are translated in mqh. If you see any discrepancy please report. </p><div class="quotebox"><blockquote><p>2&gt; Is it necessary css indicators and mqh indicators to have exactly the same name?<br />&nbsp; &nbsp; &nbsp;Normally it should be. Am I correct? In few cases this does not happen.</p></blockquote></div><p>The name of the cs file doesn&#039;t mater. The important things are the class name and the indicator name. The name of mqh file DOES matter. It must correspond to the indicator name.</p><p>I&#039;ll post a separate topic for the naming convention.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2015-05-27T13:36:01Z</updated>
			<id>https://forexsb.com/forum/post/29430/#p29430</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How can I translate a cs indicator to mq4 indicator?]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/29427/#p29427" />
			<content type="html"><![CDATA[<p>Dear Dr. Popov</p><p>I have some more questions relative to previous subject.</p><p>1&gt; Normally all the existed mqh indicators should exist also as css indicators (but not the opposite)<br />&nbsp; &nbsp; &nbsp;This does not happen. Is there some reason?<br />2&gt; Is it necessary css indicators and mqh indicators to have exactly the same name?<br />&nbsp; &nbsp; &nbsp;Normally it should be. Am I correct? In few cases this does not happen.</p>]]></content>
			<author>
				<name><![CDATA[GD]]></name>
				<uri>https://forexsb.com/forum/user/8542/</uri>
			</author>
			<updated>2015-05-27T12:41:09Z</updated>
			<id>https://forexsb.com/forum/post/29427/#p29427</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How can I translate a cs indicator to mq4 indicator?]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/29398/#p29398" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Popov wrote:</cite><blockquote><p>You need the css indicator in FSB in order to create the strategy and the mqh file in order to export the expert. After the export, you don&#039;t need either of them. The export EA contains the used indicators code in its file.</p><p>If you want to create custom indicators, you have to make both css and mqh files. You don&#039;t need changing any other files. Just put the new files in the proper FSB folders. You don&#039;t need any files in MT to trade with exported EAs. The exported EA is completely self containing.</p></blockquote></div><p>Thanks again. I got it and I have a lot of job...</p>]]></content>
			<author>
				<name><![CDATA[GD]]></name>
				<uri>https://forexsb.com/forum/user/8542/</uri>
			</author>
			<updated>2015-05-26T08:48:38Z</updated>
			<id>https://forexsb.com/forum/post/29398/#p29398</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How can I translate a cs indicator to mq4 indicator?]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/29397/#p29397" />
			<content type="html"><![CDATA[<p>You need the css indicator in FSB in order to create the strategy and the mqh file in order to export the expert. After the export, you don&#039;t need either of them. The export EA contains the used indicators code in its file.</p><p>If you want to create custom indicators, you have to make both css and mqh files. You don&#039;t need changing any other files. Just put the new files in the proper FSB folders. You don&#039;t need any files in MT to trade with exported EAs. The exported EA is completely self containing.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2015-05-26T08:46:30Z</updated>
			<id>https://forexsb.com/forum/post/29397/#p29397</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How can I translate a cs indicator to mq4 indicator?]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/29396/#p29396" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Popov wrote:</cite><blockquote><div class="quotebox"><blockquote><p>I just had to copy Forexsb.com directory of FSB in the Metatrader 5\MQL 5\Include directory</p></blockquote></div><p>This is the way I&#039;m developing the MT indicators.</p><p>You can copy the FSB_Expert_MT4.mq4 and FSB_Expert_MT5.mq5 files in the MT Experts folder and to copy an FSB Pro strategy named &quot;Strategy.xml&quot; in the Files folder. Then you can compile and run FSB_Expert_MT5 directly. It will load the Strategy.xml strategy.</p><p>This is an easier way to debug the expert and the indicators.</p></blockquote></div><p>Thanks You very much, I will try it ASAP to get the point.</p><p>I think what you say, it can be used if ALL MT4 indicators used inside EA are available in FSB corresponded directories. </p><p>But please answer me and the top 3 questions, &quot;Ηοw to translate indicator etc&quot;.<br />They have to do with the case, where not all mt4 indicators all available in cs form</p><p>In this case I have to create mt4 form to do not use bridge EA. Right?</p><p>So, please clarify to me</p><p>1) Do I need to have both css and mqh files existed at the same time?<br />2) Do mqh files only are not enough???<br />3) Do I need to make changes to other mqh files in the folder of your software,<br />except the same name indicator ones if cs indicator does not exist?</p>]]></content>
			<author>
				<name><![CDATA[GD]]></name>
				<uri>https://forexsb.com/forum/user/8542/</uri>
			</author>
			<updated>2015-05-26T08:30:26Z</updated>
			<id>https://forexsb.com/forum/post/29396/#p29396</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How can I translate a cs indicator to mq4 indicator?]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/29394/#p29394" />
			<content type="html"><![CDATA[<div class="quotebox"><blockquote><p>I just had to copy Forexsb.com directory of FSB in the Metatrader 5\MQL 5\Include directory</p></blockquote></div><p>This is the way I&#039;m developing the MT indicators.</p><p>You can copy the FSB_Expert_MT4.mq4 and FSB_Expert_MT5.mq5 files in the MT Experts folder and to copy an FSB Pro strategy named &quot;Strategy.xml&quot; in the Files folder. Then you can compile and run FSB_Expert_MT5 directly. It will load the Strategy.xml strategy.</p><p>This is an easier way to debug the expert and the indicators.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2015-05-26T08:21:16Z</updated>
			<id>https://forexsb.com/forum/post/29394/#p29394</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How can I translate a cs indicator to mq4 indicator?]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/29393/#p29393" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>GD wrote:</cite><blockquote><p>Dear Dr. Popov</p><p>I read also somewhere in Forum that to compile the new mq4 indicators of FSB format, I have to treat them as EAs in compilation if I use metatrader.</p><p>How to do that using metatrader for compilation and even testing?</p></blockquote></div><p>In&nbsp; this question I found the answer myself!!!</p><p>I just had to copy Forexsb.com directory of FSB in the Metatrader 5\MQL 5\Include directory<br />Then Metatrader Editor works fine... Great Job Popov</p><p>It has to work the same way in MT4. But for some reason it looks for MQL5 directory.<br />Maybe some problem cause I have installed MT4 and MT5.</p><p>I use <strong>&quot;C:\Program Files\MetaTrader 5\terminal64.exe&quot; /portable</strong> inside MT5 icon to call MT5.</p><p>See attach Picture.</p><p><a href="http://postimg.org/image/9t8bpfdc9/"><span class="postimg"><img src="http://s4.postimg.org/9t8bpfdc9/2015_05_26.jpg" alt="http://s4.postimg.org/9t8bpfdc9/2015_05_26.jpg" /></span></a></p>]]></content>
			<author>
				<name><![CDATA[GD]]></name>
				<uri>https://forexsb.com/forum/user/8542/</uri>
			</author>
			<updated>2015-05-26T07:55:06Z</updated>
			<id>https://forexsb.com/forum/post/29393/#p29393</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How can I translate a cs indicator to mq4 indicator?]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/29387/#p29387" />
			<content type="html"><![CDATA[<p>Dear Dr. Popov</p><p>I read also somewhere in Forum that to compile the new mq4 indicators of FSB format, I have to treat them as EAs in compilation if I use metatrader.</p><p>How to do that using metatrader for compilation and even testing?</p>]]></content>
			<author>
				<name><![CDATA[GD]]></name>
				<uri>https://forexsb.com/forum/user/8542/</uri>
			</author>
			<updated>2015-05-26T05:04:47Z</updated>
			<id>https://forexsb.com/forum/post/29387/#p29387</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[How can I translate a cs indicator to mq4 indicator?]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/29384/#p29384" />
			<content type="html"><![CDATA[<p>Dear Dr. Popov</p><p>I just bought your software, which I watch for a long time.</p><p>I cannot find what it needs exactly to translate a cs indicator to mq4 indicator. This is unfair for a so good software (permit me to say that), as the most practical part to develop and use it in a more advanced level (for even better results) is the translation of available free good mq4 indicators in your format of mq4.</p><p>I already found that you offer more than 150 examples of indicators in CS and MQL in project GitHub:<br /><a href="https://github.com/PopovMP/FSB_Pro_Indicators">https://github.com/PopovMP/FSB_Pro_Indicators</a>, which are included in the program MQL folder and your online repository.</p><p>Could you answer me please the following questions which will help me to go in the answers I need faster?</p><p>1) Do I need to have both css and mqh files existed at the same time? <br />2) Do mqh files only are not enough???<br />3) Do I need to make changes to other mqh files in the folder of your software,<br />except the same name indicator ones if cs indicator does not exist?</p><p>There is also a pdf file in Forum which is very useful to first time users like me to understand. It can be used to write a CS indicator but this is not my question...</p>]]></content>
			<author>
				<name><![CDATA[GD]]></name>
				<uri>https://forexsb.com/forum/user/8542/</uri>
			</author>
			<updated>2015-05-26T02:27:32Z</updated>
			<id>https://forexsb.com/forum/post/29384/#p29384</id>
		</entry>
</feed>
