<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Forex Software — WHS Prostation Platform Data Conversion]]></title>
	<link rel="self" href="https://forexsb.com/forum/feed/atom/topic/779/" />
	<updated>2009-02-22T10:35:55Z</updated>
	<generator>PunBB</generator>
	<id>https://forexsb.com/forum/topic/779/whs-prostation-platform-data-conversion/</id>
		<entry>
			<title type="html"><![CDATA[WHS Prostation Platform Data Conversion]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/2160/#p2160" />
			<content type="html"><![CDATA[<div class="quotebox"><blockquote><p>Dear FSB,</p><br /><p>I am trading on CFD indexes and I use the WHSProstation platform (supplier: Dealbook). I am trying to load chart data into FSB but was unsuccessful so far. I attach the notepad file which i get from Prostation and would appreciate if you could have a look at it and advise me.</p><br /><p>Thank you in advance for your help.</p><br /><p>Données de graphique: .F40.cfd - France 40 cash, EUR, Liste d&#039;agrégats(60 min) à 22.02.2009 09:22:28.433</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Heure&nbsp; &nbsp; Ouvrir&nbsp; &nbsp; &nbsp; Haut&nbsp; &nbsp; &nbsp; &nbsp;Bas&nbsp; &nbsp; Fermer&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Premier&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Dernier&nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />30.10.2008 23:00:00.000&nbsp; &nbsp;3&#039;412.8&nbsp; &nbsp;3&#039;414.8&nbsp; &nbsp;3&#039;400.3&nbsp; &nbsp;3&#039;404.8&nbsp; &nbsp;30.10.2008 23:00:00.000&nbsp; &nbsp;30.10.2008 23:59:59.999&nbsp; &nbsp;<br />31.10.2008 00:00:00.000&nbsp; &nbsp;3&#039;404.8&nbsp; &nbsp;3&#039;407.3&nbsp; &nbsp;3&#039;382.3&nbsp; &nbsp;3&#039;391.3&nbsp; &nbsp;31.10.2008 00:00:00.000&nbsp; &nbsp;31.10.2008 00:59:59.999&nbsp; &nbsp;<br />31.10.2008 01:00:00.000&nbsp; &nbsp;3&#039;391.3&nbsp; &nbsp;3&#039;409.8&nbsp; &nbsp;3&#039;388.3&nbsp; &nbsp;3&#039;397.3&nbsp; &nbsp;31.10.2008 01:00:00.000&nbsp; &nbsp;31.10.2008 01:59:59.999&nbsp; &nbsp;<br />31.10.2008 02:00:00.000&nbsp; &nbsp;3&#039;397.3&nbsp; &nbsp;3&#039;405.8&nbsp; &nbsp;3&#039;387.8&nbsp; &nbsp;3&#039;400.3&nbsp; &nbsp;31.10.2008 02:00:00.000&nbsp; &nbsp;31.10.2008 02:59:59.999</p></blockquote></div><br /><p>There are several incompatibilities of the format of your data file. We will correct them one by one.</p><p>1. Using Notepad remove the title rows.&nbsp; Let the file starts with the data columns. Like this:<br />30.10.2008 23:00:00.000&nbsp; &nbsp;3&#039;412.8&nbsp; &nbsp;3&#039;414.8&nbsp; &nbsp;3&#039;400.3&nbsp; &nbsp;3&#039;404.8&nbsp; &nbsp;30.10.2008 …<br />31.10.2008 00:00:00.000&nbsp; &nbsp;3&#039;404.8&nbsp; &nbsp;3&#039;407.3&nbsp; &nbsp;3&#039;382.3&nbsp; &nbsp;3&#039;391.3&nbsp; &nbsp;31.10.2008 …</p><p>2. Remove the thousands separator&nbsp; ( apostrophe) . Replace it (Ctr+H) with nothing (Replace All).<br />30.10.2008 23:00:00.000&nbsp; &nbsp;3412.8&nbsp; &nbsp;3414.8&nbsp; &nbsp;3400.3&nbsp; &nbsp;3404.8&nbsp; &nbsp;30.10.2008 …<br />31.10.2008 00:00:00.000&nbsp; &nbsp;3404.8&nbsp; &nbsp;3407.3&nbsp; &nbsp;3382.3&nbsp; &nbsp;3391.3&nbsp; &nbsp;31.10.2008 …</p><p>3. Change the format of the bar time. 23:00:00.000 -&gt; 23:00 Use replace :00.000 with nothing.<br />30.10.2008 23:00&nbsp; &nbsp;3412.8&nbsp; &nbsp;3414.8&nbsp; &nbsp;3400.3&nbsp; &nbsp;3404.8&nbsp; &nbsp;30.10.2008 23:00&nbsp; &nbsp;… <br />31.10.2008 00:00&nbsp; &nbsp;3404.8&nbsp; &nbsp;3407.3&nbsp; &nbsp;3382.3&nbsp; &nbsp;3391.3&nbsp; &nbsp;31.10.2008 00:00&nbsp; &nbsp;… </p><p>4. Replace the three intervals between price columns with comma.<br />30.10.2008 23:00,3412.8,3414.8,3400.3,3404.8,30.10.2008 23:00,30.10.2008 23:59:59.999,<br />31.10.2008 00:00,3404.8,3407.3,3382.3,3391.3,31.10.2008 00:00,31.10.2008 00:59:59.999,</p><p>5. Replace the interval delimiter between date and time with coma <br />30.10.2008,23:00,3412.8,3414.8,3400.3,3404.8,30.10.2008,23:00,30.10.2008,23:59:59.999,<br />31.10.2008,00:00,3404.8,3407.3,3382.3,3391.3,31.10.2008,00:00,31.10.2008,00:59:59.999,</p><p>5. Save the file as F40CFD60.CSV Use quotation marks in order to force the Notepad to change the file extension. “F40CFD” is the name of the instrument. “60” is the time frame in minutes.</p><p>6. Open this CSV file in Microsoft Excel or in Open Office Calc and remove all the time columns after price close. Be careful. The program can remove none meaning zeroes from the prices but FSB needs at least one number after the decimal separator. You can add a dummy volume column if you want. Fill it with zeroes. Save the file.<br />10/30/08,23:00,3412.80,3414.80,3400.30,3404.80,0<br />10/31/08,00:00,3404.80,3407.30,3382.30,3391.30,0<br />10/31/08,01:00,3391.30,3409.80,3388.30,3397.30,0<br />10/31/08,02:00,3397.30,3405.80,3387.80,3400.30,0<br />10/31/08,03:00,3399.80,3424.80,3391.30,3415.80,0</p><p>7. Put this file in Data directory of Forex Strategy Builder.</p><p>8. Use Market Menu-&gt; Edit Instruments to add&nbsp; F40CFD. Set the spread, swaps, commissions…</p><p>That is all. You can automate the process by using the AWK converter. <br /><a href="http://forexsb.com/downloads/awkconverter.exe">AWK Converter</a></p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2009-02-22T10:35:55Z</updated>
			<id>https://forexsb.com/forum/post/2160/#p2160</id>
		</entry>
</feed>
