<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Forex Software — Defining a custom ASCII file format]]></title>
	<link rel="self" href="https://forexsb.com/forum/feed/atom/topic/3967/" />
	<updated>2013-02-06T10:24:39Z</updated>
	<generator>PunBB</generator>
	<id>https://forexsb.com/forum/topic/3967/defining-a-custom-ascii-file-format/</id>
		<entry>
			<title type="html"><![CDATA[Re: Defining a custom ASCII file format]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/18096/#p18096" />
			<content type="html"><![CDATA[<p>The reason that you are seeing so many ambiguous bars is likely that you don&#039;t have any intraday data loaded (ie. you only have the EOD bars).&nbsp; When there are times when FSB needed to perform actions inside a bar, and if there is no intraday data to support the backtester, the bar is marked as ambiguous.</p><p>Some further information on this is available at <a href="http://forexsb.com/wiki/fsb/manual/ambiguous_bars">http://forexsb.com/wiki/fsb/manual/ambiguous_bars</a> and <a href="http://forexsb.com/wiki/fsb/manual/scanner">http://forexsb.com/wiki/fsb/manual/scanner</a>.</p><p>I would suggest trying to find some stock data that you can get EOD and intraday data files for, and then run some tests in FSB to see if the accuracy is improved.&nbsp; Not sure about how to do this with mldownloader, although I have successfully used non-FX data in FSB using QCollector as per the documentation available at <a href="http://forexsb.com/wiki/fsb/manual/iqfeed_esignal_data">http://forexsb.com/wiki/fsb/manual/iqfeed_esignal_data</a>.</p><p>ab</p>]]></content>
			<author>
				<name><![CDATA[ab]]></name>
				<uri>https://forexsb.com/forum/user/5420/</uri>
			</author>
			<updated>2013-02-06T10:24:39Z</updated>
			<id>https://forexsb.com/forum/post/18096/#p18096</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Defining a custom ASCII file format]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/18088/#p18088" />
			<content type="html"><![CDATA[<p>1st notice&nbsp; : to edit instrument for each stock one by one it will be a time wasting for 100s of stocks , Do you have a way to edit multiple instruments and/or edit instruments by folder not one by one !!!</p><p>Another Notice Regarding to ambiguous bars why all stocks come with that huge number of&nbsp; ambiguous bars&nbsp; </p><br /><p>Regards</p>]]></content>
			<author>
				<name><![CDATA[ahmedalhoseny]]></name>
				<uri>https://forexsb.com/forum/user/1512/</uri>
			</author>
			<updated>2013-02-05T19:42:46Z</updated>
			<id>https://forexsb.com/forum/post/18088/#p18088</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Defining a custom ASCII file format]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/18087/#p18087" />
			<content type="html"><![CDATA[<p>I managed to convert stock data EOD using Mldownloader and text editor to make it compatible with FSB </p><p>i applied it on Nasdaq Composite Stocks and it works fine </p><br /><p>i uploaded&nbsp; data here if any one interested to test&nbsp; </p><p>http://www.4shared.com/rar/wqi3H8Rw/Nasdaq_Composite.html?</p>]]></content>
			<author>
				<name><![CDATA[ahmedalhoseny]]></name>
				<uri>https://forexsb.com/forum/user/1512/</uri>
			</author>
			<updated>2013-02-05T19:25:37Z</updated>
			<id>https://forexsb.com/forum/post/18087/#p18087</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Defining a custom ASCII file format]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/18047/#p18047" />
			<content type="html"><![CDATA[<p>It will be nice At least we need only to add 1440 at the end of file name . Thanks in advance </p><br /><br /><br /><p>Another idea i dnonot if it is applicable or not !!&nbsp; </p><p>The idea is : to write a function that will add 1440 to (only EOD stock data from FSB&nbsp; instrument editor ) ??</p><p>Thanks again</p>]]></content>
			<author>
				<name><![CDATA[ahmedalhoseny]]></name>
				<uri>https://forexsb.com/forum/user/1512/</uri>
			</author>
			<updated>2013-02-02T09:43:42Z</updated>
			<id>https://forexsb.com/forum/post/18047/#p18047</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Defining a custom ASCII file format]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/18046/#p18046" />
			<content type="html"><![CDATA[<p>I can easily allow FSB to read no-forex symbols (Stocks, Indexes) containing requested by you symbols.<br />But adding the numerical representation of the period (1, 5, 15,... ,1440) is obligatory. There is no other way for FSB to know what data period is in a file. <br />Without &#039;1440&#039;, FSB must open and read all files in order to determine the period and this will be unpractical.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2013-02-02T09:03:28Z</updated>
			<id>https://forexsb.com/forum/post/18046/#p18046</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Defining a custom ASCII file format]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/18045/#p18045" />
			<content type="html"><![CDATA[<p>Data after editing works fine with FSB</p>]]></content>
			<author>
				<name><![CDATA[ahmedalhoseny]]></name>
				<uri>https://forexsb.com/forum/user/1512/</uri>
			</author>
			<updated>2013-02-02T08:54:23Z</updated>
			<id>https://forexsb.com/forum/post/18045/#p18045</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Defining a custom ASCII file format]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/18044/#p18044" />
			<content type="html"><![CDATA[<p>mldownloader ASCII format setup that can be&nbsp; used with FSB attached</p>]]></content>
			<author>
				<name><![CDATA[ahmedalhoseny]]></name>
				<uri>https://forexsb.com/forum/user/1512/</uri>
			</author>
			<updated>2013-02-02T08:50:48Z</updated>
			<id>https://forexsb.com/forum/post/18044/#p18044</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Defining a custom ASCII file format]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/18043/#p18043" />
			<content type="html"><![CDATA[<p>TO make FSB read these names i have to edit the stock files every day when the price get updated </p><p>I used advanced renamer which is a free software to rename bulk amount of files&nbsp; So for example </p><p>Apple Inc._AAPL&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Becomes&nbsp; &nbsp; AppleIncAAPL1440</p><p>O&#039;Reilly Automoti_ORLY&nbsp; Becomes&nbsp; &nbsp; OReillyAutomotiORLY1440&nbsp; but this process couldnot be done every day or even every week using 100s of stock data&nbsp; </p><br /><p>With these steps i managed to export and edit 10 historical stock data and FSB read them perfectly </p><p>It will be better if FSB manage to read these names without the external editing process </p><br /><p>Regards</p>]]></content>
			<author>
				<name><![CDATA[ahmedalhoseny]]></name>
				<uri>https://forexsb.com/forum/user/1512/</uri>
			</author>
			<updated>2013-02-02T08:45:17Z</updated>
			<id>https://forexsb.com/forum/post/18043/#p18043</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Defining a custom ASCII file format]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/18042/#p18042" />
			<content type="html"><![CDATA[<p>Note : &#039;&#039;and its not an Ad to the software &#039;&#039; iam using Mldownloader to obtain EOD data , AND they have a good ASCII editor&nbsp; , one of the options there when selecting the name of file ( either Name or Symbol or both )&nbsp; iam selecting both&nbsp; so the format comes like that (Stock Name_Symbol)&nbsp; </p><br /><p>this come with empty Spaces , Dots ,^ ,_,- ,&amp; and numbers)&nbsp; also it comes with no 1440 at the end of the name </p><p>Example Nasdaq 100&nbsp; stocks</p><p>Nasdaq 100_^NDX<br />Activision Blizza_ATVI&nbsp; <br />Apple Inc._AAPL<br />Bed Bath &amp; Beyond_BBBY<br />O&#039;Reilly Automoti_ORLY</p><p>Regards</p>]]></content>
			<author>
				<name><![CDATA[ahmedalhoseny]]></name>
				<uri>https://forexsb.com/forum/user/1512/</uri>
			</author>
			<updated>2013-02-02T08:36:18Z</updated>
			<id>https://forexsb.com/forum/post/18042/#p18042</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Defining a custom ASCII file format]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/18040/#p18040" />
			<content type="html"><![CDATA[<p>What names do you want to use?</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2013-02-02T08:17:32Z</updated>
			<id>https://forexsb.com/forum/post/18040/#p18040</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Defining a custom ASCII file format]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/18037/#p18037" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Popov wrote:</cite><blockquote><p>Forex names are fixed to 6 chars.<br />Sub-folders of Data folder are called &quot;Data Sources&quot; in FSB Pro, Data sources also comprise all symbol settings of its data.</p></blockquote></div><p>I know&nbsp; But i considering trade with interactive brokers now and they offer global stocks plus forex as well&nbsp; this is why iam asking to make FSB more fixable in reading the instruments names , if that happens the FSB itself will have more benefits for any market&nbsp; and BTW this small modification will spread the use of FSB hugely </p><br /><p>Regards And thanks for the great job</p>]]></content>
			<author>
				<name><![CDATA[ahmedalhoseny]]></name>
				<uri>https://forexsb.com/forum/user/1512/</uri>
			</author>
			<updated>2013-02-02T07:00:07Z</updated>
			<id>https://forexsb.com/forum/post/18037/#p18037</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Defining a custom ASCII file format]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/18030/#p18030" />
			<content type="html"><![CDATA[<p>Forex names are fixed to 6 chars.<br />Sub-folders of Data folder are called &quot;Data Sources&quot; in FSB Pro, Data sources also comprise all symbol settings of its data.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2013-02-01T21:40:35Z</updated>
			<id>https://forexsb.com/forum/post/18030/#p18030</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Defining a custom ASCII file format]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/18029/#p18029" />
			<content type="html"><![CDATA[<p>hello popov and thanks for the answer&nbsp; ,&nbsp; May you ease the instrument name&nbsp; to be able to read any name&nbsp; for example names containing &quot;^&quot; and &quot;.&quot; .</p><p> Also&nbsp; may you add the option of sub-folder in data directory. </p><p>Regards</p>]]></content>
			<author>
				<name><![CDATA[ahmedalhoseny]]></name>
				<uri>https://forexsb.com/forum/user/1512/</uri>
			</author>
			<updated>2013-02-01T21:26:02Z</updated>
			<id>https://forexsb.com/forum/post/18029/#p18029</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Defining a custom ASCII file format]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/18028/#p18028" />
			<content type="html"><![CDATA[<p>This is the full answer:<br /></p><div class="codebox"><pre><code>        SpacePattern  = @&quot;[\t ;,]&quot;;
        DatePattern   = @&quot;\d{1,4}[\./-]\d{1,4}[\./-]\d{1,4}&quot;;
        TimePattern   = @&quot;\d{1,2}(:\d{1,2}){1,2}&quot;;
        PricePattern  = @&quot;\d+([\.,]\d+)?&quot;;
        VolumePattern = @&quot;\d{1,10}&quot;;</code></pre></div><p>Separator between columns can be tab, space, semicolon or comma<br />Date can be three groups of digits separated by point, dash or &#039;/&#039; : 2012-03-21, 12.03.21, 12/2/1<br />Price can be with decimal point or without one: 1.234 or 1,234 or 1234<br />Volume must be an integer number 1 to 10 digits</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2013-02-01T20:09:20Z</updated>
			<id>https://forexsb.com/forum/post/18028/#p18028</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Defining a custom ASCII file format]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/18027/#p18027" />
			<content type="html"><![CDATA[<p>Hello Popov </p><p>i noticed that data folder in forex strategy builder contains IBM stock data which has different format of ASCII </p><p>So how many ASCII data format supported by FSB</p>]]></content>
			<author>
				<name><![CDATA[ahmedalhoseny]]></name>
				<uri>https://forexsb.com/forum/user/1512/</uri>
			</author>
			<updated>2013-02-01T19:56:02Z</updated>
			<id>https://forexsb.com/forum/post/18027/#p18027</id>
		</entry>
</feed>
