MAE และ MFE: ราคาวิ่งสวนและวิ่งตามได้ไกลแค่ไหนMAE and MFE: How Far Price Moves Against and For You
ใช้ระยะที่ราคาวิ่งสวน (MAE) และวิ่งตาม (MFE) ของแต่ละไม้ มาปรับจุดตัดขาดทุนและจุดทำกำไรด้วยข้อมูล แทนการเดาUse how far each trade moved against you (MAE) and in your favour (MFE) to set stops and targets from evidence instead of guesswork.

ในบทความนี้ · 7
In this article · 7
ทุกไม้ที่เปิด ราคาจะไม่วิ่งเป็นเส้นตรงจากจุดเข้าไปถึงจุดออก ระหว่างทางมันจะวิ่งสวนเราไปช่วงหนึ่ง และวิ่งตามเราไปช่วงหนึ่ง การจดสองระยะนี้ไว้ทุกไม้ทำให้เราตอบคำถามสำคัญได้ด้วยข้อมูล เช่น "SL ของเรากว้างเกินไปหรือแคบเกินไป" และ "เรากำลังปล่อยกำไรทิ้งหรือเปล่า"
MAE และ MFE คืออะไร
- MAE (Maximum Adverse Excursion) คือระยะที่ราคาวิ่ง สวน ทางเราไกลที่สุดระหว่างที่ถือไม้ เช่น ซื้อแล้วราคาลงไปต่ำสุด $3 ก่อนจะขึ้น MAE = $3
- MFE (Maximum Favorable Excursion) คือระยะที่ราคาวิ่ง ตาม ทางเราไกลที่สุดระหว่างที่ถือไม้ เช่น ซื้อแล้วราคาขึ้นไปสูงสุด $8 ก่อนจะกลับลงมาออกที่ $5 MFE = $8
วัดได้ทั้งเป็นระยะราคา เป็นจุด (Points/Pips) หรือเป็นหน่วย R (เทียบกับระยะ SL) การใช้หน่วย R ทำให้เทียบไม้ที่ SL ต่างกันได้
ดูภาพด้านล่าง
เก็บข้อมูลอย่างไร
- ทุกไม้ จดราคาเข้า ราคาออก SL TP
- ดูกราฟช่วงที่ถือไม้ หาจุดที่ราคาวิ่งสวนไกลสุด (ไม้ Buy คือราคาต่ำสุด ไม้ Sell คือราคาสูงสุด) และจุดที่วิ่งตามไกลสุด
- คำนวณ MAE และ MFE เป็นระยะราคา
- แยกกลุ่มไม้ชนะกับไม้แพ้ เพราะจะบอกเรื่องต่างกัน
ใน backtest ด้วย EA สามารถให้โปรแกรมบันทึกค่าสูงสุดต่ำสุดระหว่างถือไม้ได้ ส่วนการเทรดมือ ใช้กราฟ M1 หรือ M5 ช่วงนั้นหาค่าได้
อ่านผลเพื่อปรับ SL
ดู MAE ของไม้ที่ชนะ ถ้าไม้ชนะเกือบทั้งหมดไม่เคยวิ่งสวนเกินระยะหนึ่ง แต่ SL ตั้งไว้กว้างกว่านั้นมาก แปลว่าเราอาจจ่ายความเสี่ยงต่อไม้มากเกินจำเป็น การลด SL ลงมาใกล้ระยะนั้น (บวกระยะเผื่อ) ทำให้ใช้ล็อตใหญ่ขึ้นได้ภายใต้ความเสี่ยงเป็นเงินเท่าเดิม
ในทางกลับกัน ถ้าพบว่าไม้จำนวนมากโดน SL แล้วราคาค่อยกลับไปทางที่ถูก แปลว่า SL อาจแคบเกินไปจนโดนสัญญาณรบกวนกิน
สมมติระบบทองคำตั้ง SL ห่าง $10 (ระยะราคา) และยอมเสีย $50 ต่อไม้ ล็อต = 50 ÷ (10 × 100) = 0.05 ล็อต (ทอง 1 ล็อตขยับ $1 = $100) จดไม้ชนะ 10 ไม้ล่าสุด MAE เรียงจากน้อยไปมาก: 0.8, 1.2, 1.9, 2.0, 2.4, 2.6, 3.0, 3.5, 4.1, 5.2 9 ใน 10 ไม้วิ่งสวนไม่เกิน $4.1 และไม่มีไม้ไหนเกิน $5.2 ห่างจาก SL $10 พอสมควร ถ้าลอง SL $6 (เผื่อจาก 5.2): ล็อต = 50 ÷ (6 × 100) ≈ 0.083 ปัดลงเป็น 0.08 ล็อต ความเสี่ยงจริง = 6 × 100 × 0.08 = $48 ไม้ชนะทั้ง 10 ไม้ในตัวอย่างนี้ยังรอด และได้กำไรต่อไม้มากขึ้นราว 0.08 ÷ 0.05 = 1.6 เท่า แต่ 10 ไม้น้อยเกินไปที่จะตัดสินจริง ต้องเก็บอย่างน้อยระดับร้อยไม้ และนับด้วยว่ามีไม้ที่ MAE อยู่ระหว่าง $6–$10 แล้วชนะกี่ไม้ ไม้กลุ่มนั้นจะกลายเป็นไม้แพ้ทันทีถ้าใช้ SL ใหม่
ดูภาพด้านล่าง
อ่านผลเพื่อปรับการทำกำไร
ดู MFE เทียบกับกำไรที่ได้จริง ของไม้ชนะ ถ้า MFE เฉลี่ยมากกว่ากำไรที่ออกจริงหลายเท่า แปลว่าเราออกเร็วเกินหรือ TP ใกล้เกิน อาจลองขยาย TP หรือใช้ Trailing stop
ดู MFE ของไม้ที่แพ้ ถ้าไม้แพ้จำนวนมากเคยวิ่งตามไปไกลพอสมควรก่อนกลับมาโดน SL อาจลองแบ่งปิดบางส่วน หรือเลื่อน SL มาจุดเข้า (Breakeven) เมื่อถึงระยะหนึ่ง แต่ต้องทดสอบกับไม้ชนะด้วย เพราะการเลื่อน SL เร็วเกินไปอาจตัดไม้ชนะที่ต้องย่อก่อนไปต่อทิ้ง
ถ้าอยากเห็นภาพว่าในอดีต ราคามักวิ่งสวนก่อนไปต่อไกลแค่ไหนในสถานการณ์คล้ายกัน เครื่องมือวิเคราะห์ภาพกราฟ ช่วยดูระยะเหล่านี้ได้
จุดอ่อน / ข้อผิดพลาดที่พบบ่อย
- ตัวอย่างน้อย สรุปจาก 10–20 ไม้ แล้วบีบ SL จนแคบ
- ปรับจนพอดีอดีต การเลือก SL ที่ "พอดี" กับ MAE ในอดีตเป๊ะ ๆ คือ Overfitting อีกรูปแบบ ต้องมีระยะเผื่อเสมอ
- ลืมว่าความผันผวนเปลี่ยน ระยะที่พอดีในช่วงตลาดเงียบ อาจแคบเกินไปในช่วงตลาดผันผวน การวัด MAE เป็นหน่วยของ ATR ช่วยแก้ได้บางส่วน
- ดูแต่ไม้ชนะ ต้องดูไม้แพ้ด้วยเพื่อรู้ว่าการเปลี่ยนกฎกระทบทั้งระบบอย่างไร
- วัดจากราคา Bid อย่างเดียว ไม้ Sell ปิดที่ราคา Ask สเปรดทำให้ MAE จริงกว้างกว่าที่เห็นบนกราฟ
ใช้บนมือถือ
บนแอป MT5 มือถือ เปิดไม้ที่ปิดแล้วในประวัติ แล้วสลับไปกราฟ M5 ช่วงเวลานั้นเพื่อหาจุดสวนไกลสุดและตามไกลสุด จดลงสเปรดชีตสองคอลัมน์ ทำทุกวันหลังตลาดปิด ใช้เวลาไม่กี่นาที
สรุป
- MAE คือระยะวิ่งสวนสูงสุด MFE คือระยะวิ่งตามสูงสุดระหว่างถือไม้
- MAE ของไม้ชนะช่วยดูว่า SL กว้างเกินจำเป็นหรือไม่
- MFE ช่วยดูว่ากำลังปล่อยกำไรทิ้ง หรือควรมีวิธีป้องกันไม้ที่เคยกำไรแล้วกลับมาแพ้
- ต้องใช้ตัวอย่างมากและเผื่อระยะเสมอ ไม่บีบ SL ให้พอดีอดีต
- วัดเป็นหน่วย R หรือ ATR เพื่อให้เทียบข้ามช่วงเวลาได้
No trade travels in a straight line from entry to exit. Along the way, price moves against you for a while and in your favour for a while. Recording those two distances for every trade lets you answer important questions with data, such as "is my stop too wide or too tight?" and "am I leaving profit on the table?"
What MAE and MFE are
- MAE (Maximum Adverse Excursion) is the furthest price moved against you while the trade was open. Buy, price dips $3 below entry before rising: MAE = $3.
- MFE (Maximum Favorable Excursion) is the furthest price moved in your favour while the trade was open. Buy, price rises $8 above entry, then you exit at +$5: MFE = $8.
You can measure them as a price distance, in points or pips, or in R (relative to the stop distance). Using R lets you compare trades with different stop sizes.
See the charts below.
Collecting the data
- For every trade, record entry, exit, SL and TP.
- Look at the chart while the trade was open. Find the furthest adverse point (the low for a buy, the high for a sell) and the furthest favourable point.
- Calculate MAE and MFE as price distances.
- Split winners and losers, because they tell you different things.
In an EA backtest, the program can record the high and low during each trade. For manual trades, use the M1 or M5 chart for that period.
Using MAE to adjust the stop
Look at the MAE of winning trades. If almost all winners never moved against you beyond a certain distance, but your stop is much wider, you may be paying more risk per trade than necessary. Bringing the stop closer to that distance (plus a buffer) lets you trade a larger size for the same dollar risk.
The reverse also matters. If many trades hit the stop and then went your way, the stop may be so tight that noise is taking you out.
Suppose a gold system uses a $10 stop distance and risks $50 per trade. Lot = 50 ÷ (10 × 100) = 0.05 lots (a $1 move in gold = $100 per 1.00 lot). The last 10 winners had these MAEs, sorted: 0.8, 1.2, 1.9, 2.0, 2.4, 2.6, 3.0, 3.5, 4.1, 5.2. 9 of 10 moved against you by $4.1 or less, and none beyond $5.2, well inside the $10 stop. Try a $6 stop (a buffer above 5.2): lot = 50 ÷ (6 × 100) ≈ 0.083, rounded down to 0.08 lots. Real risk = 6 × 100 × 0.08 = $48. All 10 winners in this sample would still have survived, each with about 0.08 ÷ 0.05 = 1.6 times the profit. But 10 trades are far too few to decide. Collect hundreds, and count how many winners had an MAE between $6 and $10: every one of those becomes a loser under the new stop.
See the charts below.
Using MFE to adjust exits
Compare MFE with the profit actually taken on winners. If the average MFE is several times the realised profit, you may be exiting too early or setting targets too close. Consider a wider target or a trailing stop.
Look at the MFE of losing trades. If many losers went well into profit before reversing to the stop, you might test partial exits or moving the stop to breakeven at some distance. Test it against the winners too: moving the stop too early can kill winners that need a pullback before continuing.
To see how far price has historically moved against an entry before continuing in similar situations, the chart analysis tool can show those distances.
Weaknesses / common mistakes
- Small samples. Tightening the stop based on 10–20 trades.
- Fitting the past. Choosing a stop that matches past MAE exactly is another form of overfitting. Always keep a buffer.
- Forgetting that volatility changes. A distance that fits a quiet market may be too tight in a volatile one. Measuring MAE in units of ATR helps.
- Only studying winners. Losers show how a rule change affects the whole system.
- Measuring on Bid only. Sells close at the Ask, so the spread makes the real MAE wider than the chart shows.
On a phone
In the MT5 mobile app, open a closed trade in History, then switch to the M5 chart for that time to find the furthest adverse and favourable points. Log them in two spreadsheet columns. Done daily after the session, it takes a few minutes.
Summary
- MAE is the furthest move against you, MFE the furthest move for you, while a trade is open.
- MAE of winners shows whether your stop is wider than it needs to be.
- MFE shows whether you leave profit behind, or need protection for trades that were once in profit.
- Use large samples and always keep a buffer; never fit the stop exactly to the past.
- Measure in R or ATR so results compare across different market conditions.
