<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	 xmlns:media="http://search.yahoo.com/mrss/" >

<channel>
	<title>MT4 &#8211; SUMOFX.CO</title>
	<atom:link href="https://www.sumofx.co/tag/mt4/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.sumofx.co</link>
	<description>Forex Programming ที่มีมากกว่าคำว่า EA</description>
	<lastBuildDate>Wed, 07 Apr 2021 02:59:20 +0000</lastBuildDate>
	<language>th</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.5.5</generator>

<image>
	<url>https://www.sumofx.co/wp-content/uploads/2020/08/cropped-logo-final-01-2-32x32.png</url>
	<title>MT4 &#8211; SUMOFX.CO</title>
	<link>https://www.sumofx.co</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>การ Import Data ลง MT4 เพื่อทำ BackTest</title>
		<link>https://www.sumofx.co/import-data-to-mt4-backtest/</link>
					<comments>https://www.sumofx.co/import-data-to-mt4-backtest/#respond</comments>
		
		<dc:creator><![CDATA[Tanapon Sriwan]]></dc:creator>
		<pubDate>Fri, 15 Jan 2021 16:29:59 +0000</pubDate>
				<category><![CDATA[บทความ]]></category>
		<category><![CDATA[EA]]></category>
		<category><![CDATA[MT4]]></category>
		<guid isPermaLink="false">https://www.sumofx.co/?p=750</guid>

					<description><![CDATA[ในบทความนี้เราจะมาแนะนำการ import data ลงในโปรแกรม MT4  [&#8230;]]]></description>
										<content:encoded><![CDATA[
<center><a href="https://bit.ly/3kWEWJX" target="_blank" rel="noopener"><img decoding="async" src="https://imp.accesstrade.in.th/img.php?rk=0006eh00101a" border="0"></a></center>



<p>ในบทความนี้เราจะมาแนะนำการ <strong>import data</strong> ลงในโปรแกรม <a href="https://www.sumofx.co/%e0%b8%a0%e0%b8%b2%e0%b8%a9%e0%b8%b2-mql4-%e0%b8%84%e0%b8%b7%e0%b8%ad%e0%b8%ad%e0%b8%b0%e0%b9%84%e0%b8%a3/" class="rank-math-link">MT4</a> เพื่อที่จะดูข้อมูลกราฟย้อนหลังหรือเพื่อใช้ทำ <strong>Backtest</strong> ซึ่งเราจำเป็นต้อง Download ข้อมูล history มาเก็บไว้ที่เครื่องของเรา เพราะข้อมูล history ที่โบรกเกอร์มีให้นั้นไม่มากพอที่จะทำ Backtest หลาย ๆ เดือน หรือหลาย ๆ ปีได้ โดยจะมีขั้นตอนยังไงบ้างนั้นมาดูกันเลยครับ</p>



<h2 class="wp-block-heading">การ Import Data ลง MT4 สำหรับการทำ Backtest</h2>



<ol><li>ขั้นตอนแรกให้ไปที่เว็บไซต์ <a aria-label="https://www.histdata.com/download-free-forex-data/ (opens in a new tab)" href="https://www.histdata.com/download-free-forex-data/" target="_blank" rel="noreferrer noopener nofollow" class="rank-math-link">https://www.histdata.com/download-free-forex-data/</a> จากนั้นเลือกที่ M1 (1 Minute Bar) Data </li></ol>



<div class="wp-block-image"><figure class="aligncenter size-large"><a href="https://www.histdata.com/download-free-forex-data/" target="_blank" rel="noopener noreferrer"><img fetchpriority="high" decoding="async" width="1024" height="526" src="https://www.sumofx.co/wp-content/uploads/2021/01/1-1024x526.png" alt="histdata forex" class="wp-image-751" srcset="https://www.sumofx.co/wp-content/uploads/2021/01/1-1024x526.png 1024w, https://www.sumofx.co/wp-content/uploads/2021/01/1-300x154.png 300w, https://www.sumofx.co/wp-content/uploads/2021/01/1-768x395.png 768w, https://www.sumofx.co/wp-content/uploads/2021/01/1-1536x790.png 1536w, https://www.sumofx.co/wp-content/uploads/2021/01/1.png 1568w" sizes="(max-width: 1024px) 100vw, 1024px" /></a></figure></div>



<p>2. เลือกคู่เงินที่ต้องการจะ download ในที่นี้เราจะเลือกที่ EUR/USD</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img decoding="async" width="778" height="1024" src="https://www.sumofx.co/wp-content/uploads/2021/01/2-778x1024.png" alt="Backtest" class="wp-image-752" srcset="https://www.sumofx.co/wp-content/uploads/2021/01/2-778x1024.png 778w, https://www.sumofx.co/wp-content/uploads/2021/01/2-228x300.png 228w, https://www.sumofx.co/wp-content/uploads/2021/01/2-768x1011.png 768w, https://www.sumofx.co/wp-content/uploads/2021/01/2.png 883w" sizes="(max-width: 778px) 100vw, 778px" /></figure></div>



<p>3. เลือกเดือน/ปี ที่ต้องการจะ download ในที่นี้เราจะเลือกแค่ 5 เดือนล่าสุดนะครับ</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img decoding="async" width="943" height="1024" src="https://www.sumofx.co/wp-content/uploads/2021/01/3-943x1024.png" alt="Download Free Forex Historical Data" class="wp-image-753" srcset="https://www.sumofx.co/wp-content/uploads/2021/01/3-943x1024.png 943w, https://www.sumofx.co/wp-content/uploads/2021/01/3-276x300.png 276w, https://www.sumofx.co/wp-content/uploads/2021/01/3-768x834.png 768w, https://www.sumofx.co/wp-content/uploads/2021/01/3.png 1015w" sizes="(max-width: 943px) 100vw, 943px" /></figure></div>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><a href="https://bit.ly/3wwlQj3" target="_blank" rel="noopener"><img decoding="async" src="//i0.wp.com/sumofx.co/wp-content/uploads/2021/01/binance-1.jpg" alt="Binance" class="wp-image-843" width="497" height="279" srcset="https://www.sumofx.co/wp-content/uploads/2021/01/binance-1.jpg 1410w, https://www.sumofx.co/wp-content/uploads/2021/01/binance-1-300x169.jpg 300w, https://www.sumofx.co/wp-content/uploads/2021/01/binance-1-1024x575.jpg 1024w, https://www.sumofx.co/wp-content/uploads/2021/01/binance-1-768x431.jpg 768w" sizes="(max-width: 497px) 100vw, 497px" /></a></figure></div>



<p>4. เมื่อได้ download ข้อมูลที่ต้องการแล้วให้แตกไฟล์ออกมาดังรูป</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img decoding="async" width="1024" height="575" src="https://www.sumofx.co/wp-content/uploads/2021/01/4-1024x575.png" alt="import data to mt4" class="wp-image-754" srcset="https://www.sumofx.co/wp-content/uploads/2021/01/4-1024x575.png 1024w, https://www.sumofx.co/wp-content/uploads/2021/01/4-300x168.png 300w, https://www.sumofx.co/wp-content/uploads/2021/01/4-768x431.png 768w, https://www.sumofx.co/wp-content/uploads/2021/01/4.png 1269w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure></div>



<p>5. ไปที่โปรแกรม MT4 แล้วเลือกที่เมนู Tools &gt; History Center แล้วเลือกที่คู่เงินที่เราต้องการจะ import เมื่อเลือกคู่เงินแล้วให้เลือกที่เมนู 1 Minute(M1) แล้วกดปุ่ม Import</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img decoding="async" width="1024" height="610" src="https://www.sumofx.co/wp-content/uploads/2021/01/5-1024x610.png" alt="History Center" class="wp-image-755" srcset="https://www.sumofx.co/wp-content/uploads/2021/01/5-1024x610.png 1024w, https://www.sumofx.co/wp-content/uploads/2021/01/5-300x179.png 300w, https://www.sumofx.co/wp-content/uploads/2021/01/5-768x458.png 768w, https://www.sumofx.co/wp-content/uploads/2021/01/5.png 1227w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure></div>



<p>6. เมื่อกดปุ่ม import แล้วให้กดที่ Browse เพื่อที่จะเลือกไฟล์ data ที่เราโหลดมา (import ได้ทีละไฟล์)</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img decoding="async" width="857" height="528" src="https://www.sumofx.co/wp-content/uploads/2021/01/6.png" alt="Browse Data" class="wp-image-756" srcset="https://www.sumofx.co/wp-content/uploads/2021/01/6.png 857w, https://www.sumofx.co/wp-content/uploads/2021/01/6-300x185.png 300w, https://www.sumofx.co/wp-content/uploads/2021/01/6-768x473.png 768w" sizes="(max-width: 857px) 100vw, 857px" /></figure></div>



<p>7. จากนั้นให้เปิดกราฟคู่เงินที่ตรงกับ data ที่โหลดมาเลือก Time Frame 1M แล้วไปที่ Script เลือก PeriodConverter แล้วลากลงไปที่กราฟ</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img decoding="async" width="353" height="704" src="https://www.sumofx.co/wp-content/uploads/2021/01/7.png" alt="Time Frame" class="wp-image-757" srcset="https://www.sumofx.co/wp-content/uploads/2021/01/7.png 353w, https://www.sumofx.co/wp-content/uploads/2021/01/7-150x300.png 150w" sizes="(max-width: 353px) 100vw, 353px" /></figure></div>



<p>8. ในการ Converter Data ให้เราใส่ตัวเลข Time Frame ลงไปเช่น Time Frame 5 นาที ให้ใส่เลข 5 ลงไป</p>



<ul><li>15 (Time Frame 15 นาที)</li><li>30 (Time Frame 30 นาที)</li><li>60 (Time Frame 1 ชั่วโมง)</li><li>240 (Time Frame 4 ชั่วโมง)</li></ul>



<div class="wp-block-image"><figure class="aligncenter size-large"><img decoding="async" width="940" height="488" src="https://www.sumofx.co/wp-content/uploads/2021/01/8.png" alt="Converter Data " class="wp-image-759" srcset="https://www.sumofx.co/wp-content/uploads/2021/01/8.png 940w, https://www.sumofx.co/wp-content/uploads/2021/01/8-300x156.png 300w, https://www.sumofx.co/wp-content/uploads/2021/01/8-768x399.png 768w" sizes="(max-width: 940px) 100vw, 940px" /></figure></div>



<p>จากนั้นรอมัน Conveter เสร็จซึ่งมันไม่ได้บอกเวลาเอาไว้แนะนำให้ทิ้งไปสักพักนึงครับ และในบทความต่อไปเราจะมาแนะนำวิธีการทำ Backtest กันด้วย EA ที่เรามีอยู่กันครับ</p>



]]></content:encoded>
					
					<wfw:commentRss>https://www.sumofx.co/import-data-to-mt4-backtest/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
