<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Forex Software — FSB Structure and C# language]]></title>
		<link>https://forexsb.com/forum/topic/1735/fsb-structure-and-c-language/</link>
		<atom:link href="https://forexsb.com/forum/feed/rss/topic/1735/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in FSB Structure and C# language.]]></description>
		<lastBuildDate>Mon, 30 Aug 2010 22:18:07 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: FSB Structure and C# language]]></title>
			<link>https://forexsb.com/forum/post/6232/#p6232</link>
			<description><![CDATA[<p>All you need for developing custom indicators is the FST source code project. It is ready for compiling under Visual Studio 2008 Express Edition (Freeware). I&#039;m going to publish next beta of FST this weekend. Also its source code will be available.</p><div class="quotebox"><blockquote><p>Calculate(), with for-loop to run indicator code on each bar</p></blockquote></div><p><strong>Calculate() </strong> is called only once - before the backtesting. The indicator&#039;s values and signals are constant during the backtest. That&#039;s why one cannot make custom trailing stop, break even or so on. The position&#039;s and account&#039;s parameters are not acceptable by the indicators. An indicator uses the base properties and methods only, which are listed in the &quot;Indicator&quot; file.</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Mon, 30 Aug 2010 22:18:07 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/6232/#p6232</guid>
		</item>
		<item>
			<title><![CDATA[Re: FSB Structure and C# language]]></title>
			<link>https://forexsb.com/forum/post/6229/#p6229</link>
			<description><![CDATA[<p>Hello Krog <br />You are right to understand how we code indicators with FSB we have to know the base indicators very well&nbsp; because all info in these indicators are the corner stones of the FSB language ( it contains the vacabulary of the software <img src="https://forexsb.com/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /> )&nbsp; and this will help us to build the custom indicators ( paragraphs) and the C# will help us to build the structure of our new&nbsp; paragraphs</p><p>NB: In my previous post i aimed to find an easy way to see what the indicators consists of and its relations with base indicators&nbsp; <br />another thought and i donot know if u find it benefitial or not , to know any new vacabulary of any new language ( i mean here FSB language&nbsp; not the whole C#)&nbsp; we have to translate it to a language we know( english)&nbsp; so if we translate all base indicators into a readable english explanations it will accelerate our understanding to indicators and how we build them and this what i need to acheive i comming weeks </p><p>Regards</p>]]></description>
			<author><![CDATA[null@example.com (ahmedalhoseny)]]></author>
			<pubDate>Mon, 30 Aug 2010 20:24:49 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/6229/#p6229</guid>
		</item>
		<item>
			<title><![CDATA[Re: FSB Structure and C# language]]></title>
			<link>https://forexsb.com/forum/post/6228/#p6228</link>
			<description><![CDATA[<p>1-I will start by openning the FSB exe with the reflector to see what is in it and as you see it includes all build in indicator classes including also the indicators base plus other classes used to run software functions </p><p>2- I will start with the 1st indicator in the list ( Accelerator oscillator ) to navigate inside that indicator using the reflector add-ins <br />a- using Disassembler to show the structure of that indicator and methods included with in it ( attached here 2 pictures one collapsed and the other expanded to show the whole details of these methods )</p><p>b- The other function will be using the analyzer ( i think it is the most important tool for beginners) because it gives all details how the indicator connected to other classes and enums inside the software and as we see we will know that indicator depends on which and also it used by which indicator </p><p>If we expand ( Depends On) it will gives us Forex Strategy Builder And mscorlib) , sure we will focus on&nbsp; Forex Strategy Builder&nbsp; so lets expand it and here we can see how the indicator connected to the base indicators ( CheckParm , Indicator, IndicatorComp , Enums, NumericParam and ListParam) and as in picture we see it connected with each base indicator in more than on point , and by using expand function in analyzer it answer lots of Questions about which indicator depend on what and used by what</p><br /><p>pictures attached</p><p>Regards</p>]]></description>
			<author><![CDATA[null@example.com (ahmedalhoseny)]]></author>
			<pubDate>Mon, 30 Aug 2010 19:59:14 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/6228/#p6228</guid>
		</item>
		<item>
			<title><![CDATA[Re: FSB Structure and C# language]]></title>
			<link>https://forexsb.com/forum/post/6227/#p6227</link>
			<description><![CDATA[<p>I&#039;ve used the Indicators_Base download to find most of the info needed (enumerators, indicator logic and methods etc) to code some custom indicators. There used to be a link to Indicators_Base.zip, but I can&#039;t find it. Then use a few of the indicator source files as examples (<a href="http://forexsb.com/wiki/indicators/source/start">http://forexsb.com/wiki/indicators/source/start</a>) This used to be a zip too, I don&#039;t have the link.</p><p>Indicators look like a lot of code, but it helped me most to see the C# code in 6 parts:<br />- Slot types - Open (can use with Bar Opening) or OpenFilter (only with Bar Closing), and Close and CloseFilter<br />- Parameters - at top, with &quot;IndParam.ListParam&quot; and &quot;IndParam.NumParam&quot;<br />- Calculate(), with for-loop to run indicator code on each bar<br />- Components - get arrays from for loop to display info on side of chart, and entry/exit signals<br />- SetDescription() - makes a string to show on strategy overview<br />- ToString() - shows indicator description info on chart</p><p>In the Calculate section, usually I only need int, double, sometimes bool, and arrays of them, and a few members of the Math class -- ie even a very small amount of C# language is enough to do a lot.</p><p>One of the key parts is the Indicator Logic (eg, &quot;the _ rises&quot;, &quot;the _ falls&quot;, etc) in the parameters. In the Component section, usually the string is matched with an Indicator logic, which you can find in the lower half of Indicators_Base\Indicator.cs. </p><p>I&#039;ve attached my copy of Indicators_Base.zip until I find and can post the link to it. I&#039;ve learned C# from working with the indicators too, maybe I can help with some things and look forward to learning some new things.</p>]]></description>
			<author><![CDATA[null@example.com (krog)]]></author>
			<pubDate>Mon, 30 Aug 2010 18:24:09 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/6227/#p6227</guid>
		</item>
		<item>
			<title><![CDATA[Re: FSB Structure and C# language]]></title>
			<link>https://forexsb.com/forum/post/6219/#p6219</link>
			<description><![CDATA[<p>We will be with you</p>]]></description>
			<author><![CDATA[null@example.com (FOX000)]]></author>
			<pubDate>Mon, 30 Aug 2010 06:53:27 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/6219/#p6219</guid>
		</item>
		<item>
			<title><![CDATA[FSB Structure and C# language]]></title>
			<link>https://forexsb.com/forum/post/6215/#p6215</link>
			<description><![CDATA[<p>Dear All i decided to read about C# to best understand the software and to know how to code </p><p>I will use a free software and its add-ins , these tools will help me to walkthrough FSB and its indicators at the same time to learn C# language </p><p>I will post&nbsp; My work here which will be about indicators only</p><p>And i wish popov and all coders here to correct my posts and edit them to increase the technical contents in a proper way</p><p>Finaly i wish this step from my side will enhance all active members here to add there inputs </p><p>the free software is .NET Reflector <br />http://reflector.red-gate.com/download.aspx?TreatAsUpdate=1</p><p>Its Add-Ins <br />http://reflectoraddins.codeplex.com/</p><p>And this website contain lots of articles about how to best use that fantastic tool (.NET Reflector)<br />http://www.simple-talk.com/dotnet/.net-tools/</p>]]></description>
			<author><![CDATA[null@example.com (ahmedalhoseny)]]></author>
			<pubDate>Sun, 29 Aug 2010 20:34:48 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/6215/#p6215</guid>
		</item>
	</channel>
</rss>
