<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Forex Software — Adding new indicator to FSB]]></title>
	<link rel="self" href="https://forexsb.com/forum/feed/atom/topic/9006/" />
	<updated>2022-08-12T03:55:10Z</updated>
	<generator>PunBB</generator>
	<id>https://forexsb.com/forum/topic/9006/adding-new-indicator-to-fsb/</id>
		<entry>
			<title type="html"><![CDATA[Re: Adding new indicator to FSB]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/70347/#p70347" />
			<content type="html"><![CDATA[<p>MQH files are libraries that the experts load. They are written in MQL as the other experts.<br />MQH files are suitable for indicators and other common functions that can be re-used by various experts.</p><p>The ATR Stop indicator is special because FSB Pro uses it to manage Stop Loss.<br />FSB Pro and EA Studio indicators are calculated on market data only. That is. The indicators do not have access to the positions or to the account parameters.</p><p>SL, TP and Break Even are managed by the backtester. </p><p>&gt; But I can only find the .mqh file for this indicator but not the .cs file?</p><p>All FSB Indicators are publicly available here: <a href="https://github.com/PopovMP/FSB_Pro_Indicators">https://github.com/PopovMP/FSB_Pro_Indicators</a><br />We created this C# project to be easier to create and compile custom indicators.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2022-08-12T03:55:10Z</updated>
			<id>https://forexsb.com/forum/post/70347/#p70347</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Adding new indicator to FSB]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/70344/#p70344" />
			<content type="html"><![CDATA[<p>Cool cheers,</p><p>I managed to make a small start by copying the Momentum MT indicator and making some edits which loaded up nicely as the same indicator but a different name.</p><p>However then I though I would try and modify the ATR stop indicator. But I can only find the .mqh file for this indicator but not the .cs file?</p><p>Also what is the .mqh file? It seems to be a file that can be compiled by both mt4 and mt5? If so what language is it written in?</p>]]></content>
			<author>
				<name><![CDATA[sammjacks]]></name>
				<uri>https://forexsb.com/forum/user/13248/</uri>
			</author>
			<updated>2022-08-12T00:05:17Z</updated>
			<id>https://forexsb.com/forum/post/70344/#p70344</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Adding new indicator to FSB]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/70292/#p70292" />
			<content type="html"><![CDATA[<p>Your custom MQL indicators go to:<br /></p><div class="codebox"><pre><code>C:\Program Files\Forex Strategy Builder Pro\User Files\MT4 Files\MQL\Forexsb.com\Custom</code></pre></div><p>The file is the same for MT4 and MT5. <br />(The folder is called MT4 Files because there was no MT5 at that time <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-10T04:10:57Z</updated>
			<id>https://forexsb.com/forum/post/70292/#p70292</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Adding new indicator to FSB]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/70289/#p70289" />
			<content type="html"><![CDATA[<p>Great so basically it look like the following:</p><p>CustomIndicator.cs in this folder: Forex Strategy Builder Pro\User Files\Indicators</p><p>CustomIndicator.mqh in this folder: Forex Strategy Builder Pro\User Files\MT4 Files\MQL\Forexsb.com</p><p>And then the export to advisor function should work as intended in fsbpro?</p>]]></content>
			<author>
				<name><![CDATA[sammjacks]]></name>
				<uri>https://forexsb.com/forum/user/13248/</uri>
			</author>
			<updated>2022-08-10T03:31:36Z</updated>
			<id>https://forexsb.com/forum/post/70289/#p70289</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Adding new indicator to FSB]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/70285/#p70285" />
			<content type="html"><![CDATA[<p>Ace cheers for make that clearer footon</p>]]></content>
			<author>
				<name><![CDATA[sammjacks]]></name>
				<uri>https://forexsb.com/forum/user/13248/</uri>
			</author>
			<updated>2022-08-10T00:49:13Z</updated>
			<id>https://forexsb.com/forum/post/70285/#p70285</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Adding new indicator to FSB]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/70234/#p70234" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>sammjacks wrote:</cite><blockquote><p>I have the same question, happy enough that I can make things work in C# by modifying existing indicators. </p><p>But how does it work when exporting to export advisors? What extra work needs to be done to get that working as all I see in the repository is c# code?</p><p>Cheers</p></blockquote></div><p>For export function to work, you have to make a .mqh version of the .cs indi.<br />Examples are in Custom and Indicators folder at&nbsp; &nbsp;Forex Strategy Builder Pro\User Files\MT4 Files\MQL\Forexsb.com</p><p>Your work must go into Custom folder.</p>]]></content>
			<author>
				<name><![CDATA[footon]]></name>
				<uri>https://forexsb.com/forum/user/1242/</uri>
			</author>
			<updated>2022-08-07T08:09:47Z</updated>
			<id>https://forexsb.com/forum/post/70234/#p70234</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Adding new indicator to FSB]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/70232/#p70232" />
			<content type="html"><![CDATA[<p>I have the same question, happy enough that I can make things work in C# by modifying existing indicators. </p><p>But how does it work when exporting to export advisors? What extra work needs to be done to get that working as all I see in the repository is c# code?</p><p>Cheers</p>]]></content>
			<author>
				<name><![CDATA[sammjacks]]></name>
				<uri>https://forexsb.com/forum/user/13248/</uri>
			</author>
			<updated>2022-08-07T02:54:12Z</updated>
			<id>https://forexsb.com/forum/post/70232/#p70232</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Adding new indicator to FSB]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/69978/#p69978" />
			<content type="html"><![CDATA[<p>learn how to program in c# <img src="https://forexsb.com/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /> or ask Footon and give him a lot of money <img src="https://forexsb.com/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[jetaro]]></name>
				<uri>https://forexsb.com/forum/user/9581/</uri>
			</author>
			<updated>2022-07-24T13:44:41Z</updated>
			<id>https://forexsb.com/forum/post/69978/#p69978</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Adding new indicator to FSB]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/67497/#p67497" />
			<content type="html"><![CDATA[<p>I have two indicators in my MT4 and I am using them during my trades. <br />How I can convert them to C# then adding to FSB?</p>]]></content>
			<author>
				<name><![CDATA[Zhiar33]]></name>
				<uri>https://forexsb.com/forum/user/13721/</uri>
			</author>
			<updated>2022-01-07T10:52:15Z</updated>
			<id>https://forexsb.com/forum/post/67497/#p67497</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Adding new indicator to FSB]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/67495/#p67495" />
			<content type="html"><![CDATA[<p>The easiest way is to modify some of the existing indicators.</p><p>Here you can find all of the embedded indicators in the FSB Pro distributions: <a href="https://github.com/PopovMP/FSB_Pro_Indicators">https://github.com/PopovMP/FSB_Pro_Indicators</a></p><p>Here are all community-developed custom indicators: <a href="https://forexsb.com/repository/repository_indicators/">https://forexsb.com/repository/repository_indicators/</a></p><p>You need an indicator written in C# for FSB Pro. You also need to have an MQL analogue of it for MetaTrader.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2022-01-07T09:25:24Z</updated>
			<id>https://forexsb.com/forum/post/67495/#p67495</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Adding new indicator to FSB]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/67493/#p67493" />
			<content type="html"><![CDATA[<p>How I can add my own indicator to FSB?<br />I want to add TMA to FSB</p>]]></content>
			<author>
				<name><![CDATA[Zhiar33]]></name>
				<uri>https://forexsb.com/forum/user/13721/</uri>
			</author>
			<updated>2022-01-07T08:47:33Z</updated>
			<id>https://forexsb.com/forum/post/67493/#p67493</id>
		</entry>
</feed>
