|
Post by Xa Em on May 30, 2016 8:34:35 GMT 7
|
|
|
Post by iamgotzaa on May 30, 2016 9:02:48 GMT 7
Profit - ตรงตัวครับ กำไร Total Trades - จำนวนครั้งในการเทรด Profit factor - = Gross Gain / Gross Loss Profit Factor - สั้นๆว่า เอา ส่วนที่ได้ทั้งหมด หารด้วย ส่วนที่เสีย (is an industry standard risk-adjustment metric for determining how much money was gained in relation to how much was lost. It's a ratio between total profits from Winning Trades and total losses from Losing Trades. A reading above 1.00 indicates profitable trading, and below 1.00 indicates losses. A reading of 2.00 means that twice as much money was gained than lost.) Expected Payoff - สั้นๆว่า ทุกๆ ดอลล่าร์ที่ลงทุนไป มีโอกาสได้กำไรกลับมาแค่ไหน (mathematical expectation of win. This parameter to be calculated statistically represents average profit/loss factor of one trade. It can also be considered as showing the expected profitability/unprofitability of the next trade) drawdown$ - ส่วนต่างที่กินเงินทุนลงมา เป็น ดอลล่าห์ (ยังไม่ได้ปิดออเดอร์) เป็น floating drawdown% - ส่วนต่างที่กินเงินทุนลงมา เป็น ดอลล่าห์ (ยังไม่ได้ปิดออเดอร์) เป็น floating เอามาคิดเป็น %
|
|
|
Post by iamgotzaa on May 30, 2016 9:11:00 GMT 7
ตอนรัน optimization นี่ก็คือการปรับค่า parameter ไปเรื่อยๆ เพื่อดูกว่า parameters ชุดไหนทำให้ - กำไรดีที่สุด
- drawdown น้อยที่สุด
- หรือ อื่นๆ
เราก็ติ๊กเลือกแต่ละช่องที่ต้องการได้ ยกตัวอย่าง ทำ ea ที่ใช้ stoch เป็น signal ขึ้นมา กำหนดให้ มี input 3 รายการ คือ int Kperiod, // K line period int Dperiod, // D line period int slowing, // slowing สมมติว่า เป็น 8, 3, 3 แต่ก็ไม่แน่นอนเสมอว่าจะดีที่สุด เราก็ทำการตั้ง optimization ว่าให้ เปลี่ยนค่า K เริ่มต้น 8 ทีละ 1 จนกว่า จะถึง 15 ก็จะได้ 7 รายการที่ต้องรัน ทำเช่นเดียวกันกับ D เริ่มต้น เริ่มต้น 3 ทีละ 1 จนกว่า จะถึง 6 ก็จะได้ 3 รายการที่ต้องรัน ทำเช่นเดียวกันกับ slowing เริ่มต้น เริ่มต้น 3 ทีละ 1 จนกว่า จะถึง 6 ก็จะได้ 3 รายการที่ต้องรัน สรุป 7 x 3 x 3 = 21x3=63 runs หรือ passes ที่ต้องทำ mt4 ก็จะต้องรัน back test ทุก pass ด้วยค่าเริ่มต้นที่เรากำหนดตามข้างบน ผมมีภาพตัวอย่างตอนรันเสร็จ โพสต์เก่า mql4 Perceptron โดย Yury
|
|
|
Post by Xa Em on May 30, 2016 10:20:45 GMT 7
ขอบคุณครับ
|
|
|
Post by iamgotzaa on May 30, 2016 20:25:37 GMT 7
|
|
|
Post by Xa Em on Jun 3, 2016 15:58:05 GMT 7
Maximal drawdown เปอร์เซ็น ยิ่งน้อยยิ่งดีหรือป่าวครับ
|
|
|
Post by Xa Em on Jun 3, 2016 16:08:45 GMT 7
|
|
|
Post by iamgotzaa on Jun 3, 2016 16:10:37 GMT 7
ถั่ว ต้ม
|
|