หน้าแรก / เลือกโบรกเกอร์

เลือกโบรกเกอร์

MT4กับ MT5: order logic accountmode และการตรวจ SL ก่อนย้ายระบบ

เทียบ pendingtypes DOM timeframes tester และ MQLport จากเอกสารจริง พร้อม case เพิ่ม netting ด้วย explicitSL0ที่ลบ SL เดิมและ partialreduction ที่ต่างกัน

ภาพประกอบแนวคิด ไม่ใช่ราคาสดหรือหลักฐานการซื้อขาย
ในบทความนี้

หลังอ่าน คุณจะสามารถ

  • ตรวจ SL หลังเพิ่ม nettingposition ด้วย explicitzero
  • แยก raworderparameters จากค่าที่ interfaceinsert และ OneClickexceptions
  • ทดสอบ increase/partialreduction/StopLimit ตาม state หลัง acknowledgement และ fill

คำศัพท์ในบทความ

สต็อปลอส (Stop Loss) · Position size: ขนาดสถานะ · บัญชี demo: บัญชีทดลอง · คำสั่งรอดำเนินการ (Pending Order) · การดำเนินคำสั่ง (Order execution) · การป้องกันความเสี่ยง (Hedging) ·

MT4เปิดตัว2005และ MT5ปี2010 ทั้งคู่เป็น softwareplatform แต่ tradingAPI/accountlogic ต่างกัน เลือกจาก instrument accountmode และ tools ที่ต้องใช้ ไม่ได้พิสูจน์ว่า MT5เป็นส่วนแบ่งตลาดเท่าไรของ regulatedECNbrokers หรือทุกคนในปี2026ต้องย้าย

ทำไมการย้ายไม่ใช่แค่เปลี่ยนชื่อ platform?

MT4มี ecosystem ของ indicators/EA ที่ทำให้ migration มีต้นทุน แต่ไม่ได้ยืนยันเปอร์เซ็นต์ผู้ใช้ EU ในอดีต ประวัติ MetaQuotesระบุ MT4กรกฎาคม2005และ MT5ปี2010เป็น multiassetplatform MT5เพิ่ม trading/marketdatatools รวม exchangefunctionality Instrument ที่ broker เปิดจริงและเงื่อนไข product ยังต้องอ่านแยก ชื่อหุ้นหนึ่งอาจเป็น share หรือ CFD

ทั้งสองมี DepthofMarketinterface จึงไม่ถูกที่จะเรียก MT4ว่าไม่มี DOM เลย ดูMT4DOMเทียบMT5DOM ข้อมูล prices/volumes และ brokerconfiguration สำคัญกว่าการมีหน้าต่างหนึ่ง ส่วน platformversion ไม่เปลี่ยน contractedentity clientclassification หรือ legalprotection เอง และไม่มีหลักฐานในบทนี้ว่า ESMA2018ทำให้ migration ไป MT5เร็วขึ้น

SL หลังเพิ่ม nettingposition ต้องตรวจอีกครั้ง

โมเดลสมมุติ MT5netting symbol เดียว long0.40lot มี SL เดิม ส่ง Buy0.10lot โดยระบุ SL=0อย่างชัดเจนและ fill ครบ IgnoreTP costs และ price ตัวอย่างนี้ไม่ใช่การคลิก panel ปกติและไม่ใช้ OneClick

ExplicitSL0ใน nettingincrease ลบ SL เดิม

สมมุติ long0.40lot มี SL ส่ง Buy0.10symbol เดียว explicitSL0 fill ครบเป็น long0.50lot ไม่มี SL เดิม IgnoreTPcostprice ไม่ใช้ OneClick หรือ defaultform

เปิดแผนภาพขนาดเต็ม · อ่านข้อมูลในตารางด้านล่าง
ก่อนlong0.40lot มี SL เดิมแบบจำลองสมมุติ
Request ที่กำหนดชัดBuy0.10lot / SL0 / nettingแบบจำลองสมมุติ
หลัง fill ครบlong0.50lot หนึ่ง position SL เดิมถูกลบแบบจำลองสมมุติ

อ่าน submissionmethod และตรวจ actualpositionSL หลัง fill การเพิ่ม size ไม่รับรอง inheritance เดิม

สถานะก่อน request และหลัง nettingfill
ช่วงVolumeSL
ก่อนส่งlong0.40lot หนึ่ง positionมีระดับเดิม
RequestBuy0.10lot เพิ่ม symbol เดิมส่ง explicit0
หลัง fill ครบlong0.50lot หนึ่ง positionระดับเดิมถูกลบ

MT5SL/TPinheritanceกำหนดการเพิ่ม/กลับทิศ netting ให้ใช้ levels ตาม latestorder และ explicitzero ทำให้ลบ แต่เอกสารแยก orderwindow ที่ insertcurrentlevels อัตโนมัติและ OneClick ซึ่งไม่เปลี่ยน existingnettingSL/TP ไว้ต่างหาก อย่าเอา rawrequestSL0ไปแทนทุก submissionmethod ระบบอัตโนมัติที่ย้ายมาต้องทดสอบ case นี้บน demo และอ่าน actualSL หลัง fill ไม่สมมุติว่า platform ใหม่เก็บ protection ให้เสมอ

แปดด้านที่ควรเทียบตามงานที่ต้องใช้

  1. Instrumentcoverage:MT5รองรับ forex กับ exchangefunctionality แต่ actualavailableinstruments และ share/CFDclassification ตาม account/productdocs ไม่ใช่ทุก broker มีทุก asset
  2. Ordertypes:MT5มีหก pendingtypes เพิ่ม Buy/SellStopLimit จากสี่ Limit/Stop ปกติ ไม่ใช่21ordervariants ตามจำนวน timeframes FillpolicyFOK/IOC และ executionmode ขึ้นกับ symbol/server แม้ marketorder ก็ได้รับผล StopLimitactivation สร้าง limitrequest ยังไม่รับรอง position
  3. DOM:ทั้งคู่มี interface MT5แสดง broker-suppliedprice/volume ได้ แต่ OTCview ไม่ใช่ globalFXorderbook ครบ ตรวจ account ให้ข้อมูลอะไรจริง
  4. StrategyTester:MT5tester รองรับหลาย symbolsและ independentagents ทำ optimisationpasses ขนาน Speed ขึ้นกับ data modelling และ code ไม่รับรองเร็วกว่า MT4ด้วย fixedmultiple หรือทำให้ livefills เร็วขึ้น
  5. Economiccalendar:MT5มี calendar ใน platform สำหรับ MT4ต้องใช้ externalcalendar/plugin เมื่อจำเป็น เตรียม CPI NFP FOMC จาก officialschedule และตั้ง alerts ตาม features ของ client MT5alertsรองรับ price/timeconditions ไม่ใช่รับรองทุก event แจ้งเตือนอัตโนมัติหรือได้รับ notification เสมอ
  6. Accountmodels:broker กำหนด MT5netting หนึ่ง position สุทธิต่อ symbol หรือ hedging แยก positions MT4ใช้ ticket-basedpositionworkflow ต้องตรวจ brokerrestrictions ด้วย ไม่สมมุติว่าผู้ใช้เปลี่ยน mode ได้เองตามใจ
  7. Programming:MQL4ปัจจุบันก็รองรับ OOPเช่นเดียวกับ MQL5 แต่ tradinginterfaces ต่างกัน portEAต้องตรวจ order/deal/positionlogic dependencies และ indicatoraccess ไม่ใช่เปลี่ยนนามสกุลไฟล์แล้ว run ตรงกัน
  8. Testerresources:แยก parallelagents ของ tester ออกจากคำอ้างว่าทุก operation ใน terminal ใช้ทุก CPUcore การทดสอบหลาย passes ไม่ได้รับรอง out-of-sampleprofit หรือ executionquality

ตาราง MetaQuotesให้ standardtimeframesMT4เก้าและ MT5ยี่สิบเอ็ด คำว่า21จึงไม่ใช่ pendingordertypes แม้ manualtrading ก็อาจต้องใช้ pending orders accountmode charttools และ reports ต่างกัน ความถี่เทรดต่อสัปดาห์ไม่เลือกสอง features ที่สำคัญให้ทุกคน อ่านaccount/brokerchecklist

เมื่อใดการคง MT4ยังเป็นทางเลือกให้ประเมิน?

ตัวอย่างต่อไปนี้ไม่ใช่สามกรณีเดียวที่ยอมรับได้และไม่ใช่ marketshareclaim:

  • มี MQL4EA เฉพาะ:เทียบการอยู่ accountMT4ที่รองรับกับ port ไป MT5 ต้นทุนขึ้นกับ sourceaccess libraries และ logic ขอ scope/quote จริง ไม่สมมุติว่าทุก500/1,000lines ใช้ไม่กี่ชั่วโมงหรือ200–500EUR ไม่มี profit ย้อนหลัง100EUR ต่อเดือนที่ตัดสินคุ้ม port ให้ทุกโปรแกรม
  • Broker มี MT4เท่านั้นและ account ตรงงาน:ตรวจ instruments execution support/security ก่อน Platformname ไม่ได้พิสูจน์ brokerquality ถ้าต้องใช้ MT5specificfeature ค่อยเทียบ account ทางเลือกที่เหมาะ
  • ManualFXworkflow ใช้ features ร่วมได้:ยังต้องเช็ก indicators drawingtools timeframes และ pendingtypes ที่ต่าง ไม่เรียกเหมือนกันทั้งหมด

ตัวอย่าง fill ครบ long0.50lot แล้วส่ง Sell0.30บน netting เหลือ long0.20lot หนึ่ง position ส่วน hedging อาจเป็น long0.50และ short0.30แยกกัน netdirection0.20แต่ grossvolume0.80 ไม่ใช่ portfolioresult/cost/margin เหมือนกัน การถือ opposites ไม่ให้ freeprotection หรือ risk ลดเสมอ ดูhedgingpositions

ทางเลือกอื่นก็ต้องเช็ก operation และ connection จริง

cTrader TradingView และ proprietaryplatform เช่น SaxoTraderGO เป็นทางเลือก เทียบ requiredorders chartfunctions automationcompatibility reports และ actualbrokerconnection ไม่ใช้ชื่อ brand หรือภาษา programming พิสูจน์ superiorstability/transparentexecution/bestanalysis หรือความนิยมของ scalpers ที่ไม่มี survey

เลือก platform ที่ entity/account จริงเสนอและทำงานที่ต้องการได้ Interface ที่คุ้นช่วย operation ไม่ได้รับรอง provider หรือ execution ฟรี clientdownload ก็ไม่เท่ากับไม่มี spread commission financing หรือค่า optionalVPS/cloud/Markettools ตรวจแต่ละบริการแยก

Explicitzero ให้ผลต่างกันเมื่อเป็น increase กับ partialreduction

เริ่มจากผลโมเดลแรก long0.50lot ไม่มี SL จากนั้นสมมุติส่ง modification ให้ SL ระดับ S1ที่ valid และ server ยืนยันรับแล้ว ต่อมาส่ง Sell0.20lot เพื่อลด position เดิมโดย requestSL0 fill ครบไม่กลับทิศ ตามกฎ partialclose ที่เอกสารระบุ เหลือ long0.30lot และยัง SL=S1 ไม่ลบเหมือน caseBuy เพิ่มข้างต้น

S1เป็นชื่อระดับสมมุติ ไม่ใช่ stopprice ที่คำนวณ marketexecution ไว้ เราแยกคำขอ acceptedmodification แล้วออกจาก timeout/unknownreply และไม่สมมุติว่า SL ทำให้ realisedloss จำกัดแน่นอน ดังนั้น testport ต้องบันทึก actiontype accountmode requestparameters acknowledgement และ positionstate หลัง fill ไม่เทียบเพียง field ชื่อ SL0 การลดบางส่วนกับการเพิ่มเป็น state-transition คนละชนิด

ทดสอบงานที่ต้องทำก่อนคิดย้ายเงินจริง

  1. ดู currentplatformlist ของ entity/account จริง ไม่เหมารวม MT4-only เป็น provider ไม่ดี ตรวจ functionality execution support และ security ตามchecklist
  2. ทดสอบบนdemoที่ mode เหมาะ:orderentry SL/TP partialreduction cancellation reportexport สมมุติ BuyStopLimit:Ask1.10050ต่ำกว่า stop1.10100 ต่อมาข้ามเป็น1.10200จึง activateBuyLimit1.10080 แต่ Ask สูงกว่า limit จึงยังไม่ fill การกลับมาที่ limit ภายหลังอาจอนุญาต fill ตาม rules ที่เหลือ ไม่รับรอง fill จาก activation
  3. ถ้าใช้ EA ให้ส่ง source dependencies requiredaccountmode และ orderhandlingcases เพื่อขอ scopedportestimate อย่าทดแทน validation ด้วย profithistory หรือเลข lines ดูพื้นฐาน MQL5EA
  4. Broker กำหนด netting/hedging ตรวจ mode และ migrationprocedure ไม่ยึด regionalpreference มี opposites แยกไม่ได้แปลว่าความเสี่ยงหรือ fees หายไป
  5. ทบทวน platform อย่างน้อยตามแผนปีละครั้ง/ทุกสิบสองเดือน ตรวจ brokersupport และ securityupdates จาก developer ใช้ผู้พัฒนาจริงเช่น MetaQuotes หรือ Spotware ไม่ถือว่าเลขปี2026เป็นใบรับรองความปลอดภัยตลอดไป

ไม่มี15นาที สาม sessions หรือจำนวนรอบใดรับรองพร้อมใช้งาน live เก็บผล executionและsizeตามจริงก่อนประเมิน migration

ลองตรวจความเข้าใจ

หลัง Buy0.10lot ด้วย explicitSL0ใน diagramfill ครบ เหลือสถานะใด?

  1. สอง positions ที่ต่างเก็บ SL ของตน
    ตรวจคำอธิบาย

    นี่เป็น netting จึงรวม volume ใน position เดียว ไม่ใช่ hedging

  2. Position ปิดแล้วเพราะ SL0
    ตรวจคำอธิบาย

    ศูนย์ลบระดับ SL ไม่ใช่คำสั่งปิด position

  3. Long0.50lot หนึ่ง position ไม่มี SL เดิม
    ตรวจคำอธิบาย

    Volume บวกกันและ explicitzero แทน SL เก่าใน case นี้ ไม่ใช้ OneClickTrading

ดูคำตอบที่ถูก

Long0.50lot หนึ่ง position ไม่มี SL เดิม

คำถามที่พบบ่อย

EA ตัวเดียวกันรัน MT4/MT5โดยไม่ตรวจได้ไหม?

MQL4กับ MQL5มี tradinginterfaces และ model ต่างกัน Port ต้องตรวจ source dependencies indicators order/deal/positionlogic และ demo ไม่มี standardfee/ชั่วโมงที่กำหนดจากจำนวน lines อย่างเดียว

MT5client ฟรีแปลว่าเทรดไม่มี cost หรือไม่?

ไม่ Clientdownload แยกจาก brokerspread commission financing และ optionalMarket/VPS/cloudservices ต้องอ่าน tariff บริการและ entity/account ไม่ใช้คำว่าฟรี platform แทน zerocost ทั้งหมด

Hedging กับ netting เลือกเองและย้าย mode ง่ายเสมอไหม?

Broker กำหนด availablemode และ migrationprocedure Netting หนึ่ง netposition ต่อ symbol Hedging แยก opposites ได้ตาม accountterms ไม่พิสูจน์ว่า risk/cost ต่ำกว่า ต้องตรวจ specificoperations จริง

MT4ไม่มี DOM หรือทุก operation ใน MT5เร็วกว่าเสมอหรือไม่?

MT4มี DOMinterface ตามเอกสาร ต้องดูชนิด data จริง MT5tester มี parallelagents/multicurrency แต่ไม่รับรอง fixedspeedmultiple ทุก operation หรือ livefills เร็วกว่า

StopLimittrigger ทำให้มี position ทันทีไหม?

ไม่ BuyStopLimit ในตัวอย่าง Ask กระโดดเหนือ stop สร้าง BuyLimit1.10080แต่ Ask1.10200ยังสูงเกิน limit Pendingrequest ไม่ใช่ position ต้องรอ remainingexecutionconditions และ fillconfirmation

อ่านต่อ

แยกผลที่ตรวจบน demo ออกจากเงื่อนไข live ก่อนย้ายระบบ โดยเก็บ accountmode request parameters และสถานะ SL หลัง fill จริงไว้เทียบ

เกี่ยวกับผู้จัดทำ

ข้อมูลผู้จัดทำและเว็บไซต์

แหล่งข้อมูล

แหล่งอ้างอิงจากบทความฉบับก่อน

  • MetaQuotes Software Corp.: MetaTrader 5 Platform — Official Product Page
  • MetaQuotes Software Corp.: MetaTrader 4 Platform — Legacy Product Documentation
  • MetaQuotes Software Corp.: MQL5 Reference — Language Documentation
  • FXBlue / TradingPlatforms.com: Broker platform statistics — MT4 vs MT5 adoption Q1 2026

ตัวอย่าง

ข้อควรระวัง

เปิดคำศัพท์ฉบับเต็ม