Binary Options Strategy Tester. Binary ตัวเลือกกลยุทธ์การทดสอบสำหรับ Metatrader 4 ยุทธศาสตร์ตัวเลือกไบนารีตัวเลือกเพื่อ backtest ใน Metatrader 4 กลยุทธ์ TesterRun backtests ของกลยุทธ์ตัวเลือกไบนารีเป็นเวลานานในระยะเวลาอันสั้นปรับปรุงกลยุทธ์ตัวเลือกไบนารีที่จะทำให้พวกเขา การทดสอบการใช้งานของคุณสำหรับสัญลักษณ์ใด ๆ เช่น EURUSD, GBPUSD, EURJPY ฯลฯ หรือระยะเวลาใด ๆ เช่น M1, M5, M15, M30, H1 etc. Strategy-Tester ของ Metatrader 4 ไม่สามารถจัดการได้ ตัวเลือกไบนารีดังนั้นอรรถประโยชน์นี้จะวางคำสั่งเสมือนนับผลของพวกเขาและพิมพ์ออกข้อมูลในแผนภูมิเพื่อให้คุณเป็นไปได้ในการทดสอบและปรับปรุงกลยุทธ์ของตัวเลือกไบนารีของคุณดูภาพหน้าจอ 1 สำหรับแนวคิดของ Binary-Options-Strategy-Tester utility โปรดจำไว้ว่า Backtesting กับข้อมูลที่ผ่านมาจะไม่เป็นตัวแทนในอนาคตที่แท้จริง แต่อาจให้ค่าโดยประมาณเพื่อให้กลยุทธ์ของคุณมีเสถียรภาพมากขึ้นคุณภาพของการทดสอบหลังการขายจะขึ้นอยู่กับความต้องการของคุณ ds เกี่ยวกับข้อมูลที่ผ่านมาของคุณดังนั้นจึงขอแนะนำให้ใช้ชุดของข้อมูลที่มีคุณภาพสูงดาวน์โหลดและซื้ออรรถประโยชน์ Binary-Options-Strategy-Tester - จำเป็นต้องใช้รุ่นที่ซื้อทำไมต้องเป็น Binary-Options-Strategy-Tester ที่ซื้อมา จำเป็นต้องใช้ยุทธศาสตร์ไบนารี - ตัวเลือกต้องเรียกใช้ฟังก์ชันไบนารี - ตัวเลือก - ยุทธศาสตร์ทดสอบผ่านทางไบนารี - ตัวเลือกยุทธศาสตร์ - ไลบรารีเพื่อวางธุรกิจเสมือนดูภาพหน้าจอ 1 แนวคิดเกี่ยวกับแนวคิดใบอนุญาตของ MQL4 นี้ทำงานได้เท่านั้น หากผลิตภัณฑ์มีสิทธิการใช้งานดังนั้นคุณต้องซื้อผลิตภัณฑ์เพื่อทดสอบกลยุทธ์ตัวเลือกไบนารีหรือโค้ดตัวอย่างที่เชื่อมโยงในส่วนสร้างกลยุทธ์สร้างกลยุทธ์ดูวิธีสร้างและทดสอบกลยุทธ์ตัวเลือกไบนารีกับเครื่องมือวิเคราะห์กลยุทธ์ของ Metatrader 4 ตัวอย่างเช่นวิธีการสร้างกลยุทธ์สำหรับ Binary-Options-Strategy-Tester และรัน backtests รวมถึงการทดสอบที่ต่อเนื่อง 1 เปิด Metatrader 4 Strategy-Tester เลือกโฟลเดอร์ Binary-Options-Strategy-Tester Market ตั้งค่าความต้องการของคุณ d input parameters และเริ่มต้น Strategy-Tester 2 ลากตัวบ่งชี้ที่กลยุทธ์ของคุณจะถูกเก็บไว้ในแผนภูมิตั้งค่าพารามิเตอร์ที่จำเป็นสำหรับการป้อนข้อมูลของคุณสำหรับกลยุทธ์และดูผลลัพธ์ในแผนภูมิ 3 ปรับปรุงกลยุทธ์ของคุณและหรือเปลี่ยนพารามิเตอร์อินพุทเพื่อเรียกใช้ backtest อีกครั้งจนกว่ากลยุทธ์ของคุณจะมีเสถียรภาพในการค้า 4 รันการทดสอบตัวต่อตัวโดยการลากอรรถประโยชน์ Binary-Options-Strategy-Tester และตัวบ่งชี้กลยุทธ์ของคุณในการสาธิตหรือแผนภูมิสดของโบรกเกอร์ของคุณนอกจากตัวบ่งชี้ของคุณด้วยกลยุทธ์ตัวเลือกไบนารีคุณสามารถวาง ตัวบ่งชี้ที่ใช้โดยกลยุทธ์ของคุณกับการตั้งค่าที่ใช้ในแผนภูมิเพื่อดูในแบบเรียลไทม์ขณะทดสอบนอกจากนี้คุณสามารถบันทึกตัวบ่งชี้ทั้งหมดและการตั้งค่าโดยการบันทึกเทมเพลตของแผนภูมิและโหลดในการทดสอบต่อไปเพื่อบันทึกหรือโหลดสิ่งที่จำเป็นทั้งหมด ด้วยการตั้งค่าในเทมเพลตก่อนที่เครื่องทดสอบจะทำงานให้ใช้ปุ่มหยุดชั่วคราวของ MetaTrader 4 Strategy-Tester. Input Parameters. See screenshot 2 สำหรับพารามิเตอร์อินพุทพารามิเตอร์การป้อนข้อมูลเพิ่มเติมสำหรับ กลยุทธ์ของคุณจะถูกเก็บไว้ในแฟ้มตัวบ่งชี้กลยุทธ์คำถามที่ไม่มีลูกศรปรากฏบนแผนภูมิหลังจากที่ฉันลากตัวบ่งชี้ของฉันด้วยกลยุทธ์การทำงานในสิ่งที่เกิดขึ้น Answere คุณต้องเปิดใช้งานอนุญาตให้ผู้เชี่ยวชาญนำเข้าจากภายนอกในแท็บทั่วไปในขณะที่คุณลากกลยุทธ์ของคุณไปที่ ข้อความแสดงแผนภูมิจะแสดงข้อผิดพลาดในกรณีนี้ Question ไม่มีลูกศรปรากฏบนแผนที่หลังจากที่ฉันลากตัวบ่งชี้ของฉันด้วยกลยุทธ์การทำงานกับ Allow Allow external expert enabled Answere กลยุทธ์ต้องเรียกใช้ฟังก์ชันของ Binary-Options-Strategy - Tester วางธุรกิจเสมือนจริงเกี่ยวกับแนวคิดใบอนุญาต MQL4 จะใช้งานได้เฉพาะในกรณีที่ผลิตภัณฑ์มีสิทธิการใช้งานเท่านั้นดังนั้นคุณต้องซื้อผลิตภัณฑ์ Question ไม่มี arrows ปรากฏในแผนภูมิหลังจากที่ฉันลากตัวบ่งชี้ของฉันด้วยกลยุทธ์การทำงานและฉันได้รับข้อผิดพลาด เช่นไม่สามารถเรียกหรือไม่สามารถโหลดในบันทึกของ MetaTrader 4 ฉันสามารถทำ Answere ใช้เวอร์ชันล่าสุดได้มากขึ้น v1 00 ของแท็กรุ่นตรวจสอบในรหัสของคุณและดู changelog v1 01 ของ Binar yOptionsStrategyLibrary. Question ฉันไม่เห็นผลลัพธ์ใด ๆ ในแท็บ Strategy-Tester ผลกราฟกราฟฉันจะดูผลลัพธ์ได้จากที่ใด Answere Strategy-Tester ของ Metatrader 4 ไม่สามารถจัดการกับตัวเลือกไบนารีได้ดังนั้นแท็บเหล่านี้จึงไม่สามารถใช้งานได้ดังนั้นอรรถประโยชน์นี้จะคำนวณผลชนะและขาดทุนทั้งหมด และพิมพ์ผลลัพธ์ในกราฟข้อมูลเพิ่มเติมดูวิธีการสร้างและทดสอบกลยุทธ์ Binary Options กับ Strategy-Tester ของ Metatrader 4 ตัวอย่างเช่นวิธีสร้างกลยุทธ์สำหรับ Binary-Options-Strategy-Tester และรัน backtests รวมถึง ถ้าคุณมีข้อคิดเห็นในการปรับปรุงโปรดติดต่อ me. Binary Options Strategies. Trade with BinaryOptionsRobot. Risk คำเตือนนักลงทุนสามารถสูญเสียเงินทุนทั้งหมดได้ด้วยการซื้อขายตัวเลือกไบนารีการสร้างกลยุทธ์เป็นขั้นตอนแรกหลังจากที่คุณเลือกวิธีแล้ว คุณต้องให้แน่ใจว่าการทำงานมีสองวิธีในการทดสอบนี้และขอแนะนำให้คุณใช้ทั้งก่อนที่คุณจะเริ่มการทดสอบคุณต้องมีสมมติฐานซึ่งหมายความว่าในแง่ที่ชัดเจน, คุณจำเป็นต้องแม็ปออกว่าวิธีการของคุณเป็นอย่างไรมันจะทำงานและถูกว่าจ้างและความสำเร็จที่ควรจะเป็นตัวอย่างคุณอาจสรุปว่าการดำเนินตัวเลือกไบนารีใส่หลังจากสกุลเงินได้ถึงระดับความต้านทานจะประสบความสำเร็จ ค้า 60 เปอร์เซ็นต์ของเวลาเมื่อจัดการกับตัวเลือก 15 นาทีเมื่อคุณทดสอบประเภทของการค้านี้คุณจะต้องมีเฉพาะเกี่ยวกับช่วงและวิธีการปิดราคาตีจริงต้องเป็นระดับความต้านทานมากขึ้นเฉพาะคุณสามารถเป็น ดีกว่ามันจะเป็นอีกครั้งการทดสอบสมมุติฐานกลยุทธ์ของคุณมาในสองส่วนแรกคือการมองไปที่ข้อมูลมากที่สุดเท่าที่เป็นไปได้มองไปที่ความผันผวนของราคาประวัติศาสตร์ในแผนภูมิดูที่ความถี่ราคาต้านทานมาถึงและที่ราคา เป็นจริงที่ 15 นาทีต่อมามีโอกาสที่คุณจะมีขนาดตัวอย่างขนาดใหญ่ที่นี่และคุณต้องการดูตัวอย่างให้มากที่สุดเท่าที่จะเป็นไปได้ แต่อย่าปล่อยให้ข้อมูลนี้เป็นอัมพาตคุณดูข้อมูล แต่อย่าเสียเวลาออกไป การค้าขาย เวลาที่คุณต้องการให้การศึกษาของคุณเพื่อตอบสนองวัตถุประสงค์ที่ใหญ่ขึ้นหลังจากทั้งหมดเมื่อคุณได้วิเคราะห์ข้อมูลที่ผ่านมาแล้วให้เริ่มต้นใช้บัญชีสาธิตเพื่อปฏิบัติตามโบรกเกอร์หลายรายในขณะนี้ให้บริการฟรี แต่โบรกเกอร์บางรายจะไม่ให้สิ่งเหล่านี้ออกมาเว้นแต่คุณจะทำ ฝากเงินก่อนแล้วขอเข้าโปรแกรมโดยเฉพาะค้นหาโบรกเกอร์ที่มีบัญชีสาธิตที่คุณอาจต้องการส่งอีเมลไปที่ฝ่ายบริการลูกค้าเพื่อหาข้อมูลนี้และเปิดบัญชีจากนั้นใช้กลยุทธ์ของคุณให้มากที่สุดเท่าที่จะเป็นไปได้ในแบบเรียลไทม์ จำนวนมากของการเฝ้าระวังในนามของคุณ แต่เพื่อไม่จริงการซื้อขายซื้อขายเสมือนเป็นวิธีที่ดีด้วยเหตุผลนี้หมู่คนอื่น ๆ ค้าขายให้มากที่สุดเท่าที่เป็นไปได้ก่อนที่คุณจะเริ่มต้นถึงข้อสรุปและเริ่มต้นการซื้อขายเงินจริงสมมติฐานของคุณจะหวังว่าจะได้รับการพิสูจน์ ถูกต้อง ณ จุดนี้หากหลังจากทั้งสองชุดของการทดสอบอยู่เหนือขั้นตอนการวิจัยบวกกับการปฏิบัติทฤษฎีทฤษฎีด้านกลยุทธ์ของคุณจะประสบความสำเร็จคุณพร้อมที่จะเริ่มต้นการซื้อขายจริงถ้าคุณได้พิสูจน์แล้วว่ากลยุทธ์ของคุณ ไม่ประสบความสำเร็จเท่าที่คุณต้องการเริ่มต้นอีกครั้งไม่มีความต้องการเวลาว่าคุณต้องเริ่มต้นชีวิตจริงการซื้อขายได้ทันทีใช้เวลาของคุณและคิดค้นวิธีการที่จะให้ผลลัพธ์ที่คุณต้องการไม่มีกลยุทธ์ออกมีที่จะ ให้คุณได้ 100 เปอร์เซ็นต์อัตราความสำเร็จ แต่คุณสามารถประสบความสำเร็จได้ถ้าคุณใช้เวลาและทำวิจัยที่จำเป็นเพื่อหาสิ่งที่ได้ผลและไม่เพียงแค่กระโดดลงไปในชีวิตจริงก็คือความคิดที่ไม่ดีคุณจะไม่ต้องการทำเช่นนี้ เงินของคุณจะหายไปก่อนที่คุณจะเริ่มต้นตัวเลือกไบนารีดีกลยุทธ์การซื้อขายจะเอาชนะการขาดดุลระหว่างอัตราชนะและอัตราการสูญเสียสำหรับโบรกเกอร์ส่วนใหญ่นี้ hovers ที่ประมาณอัตราความสำเร็จ 55-60 เปอร์เซ็นต์คุณสามารถชนะนี้ถ้าคุณใส่ ในการทำงานให้เป็นจริงกับผลลัพธ์ที่ได้และไม่บังคับให้มีการค้าที่ไม่ได้ทำงานบนกระดาษวิธีการสร้างและทดสอบกลยุทธ์ตัวเลือกไบนารีกับเครื่องมือวิเคราะห์กลยุทธ์ MetaTrader 4 เนื้อหาที่เกี่ยวข้องบทนำบทนี้แสดงให้เห็นถึงวิธีการ bu ild กลยุทธ์ตัวเลือกไบนารีและทดสอบใน Strategy-Tester ของ Metatrader 4 ด้วย Binary-Options-Strategy-Tester utility โดยค่าเริ่มต้น Strategy-Tester ของ Metatrader 4 สามารถทดสอบ Expert Advisors and Indicators กับข้อมูลย้อนหลังได้ แต่ไม่สามารถจัดการกับตัวเลือกไบนารีได้ด้วย ครั้งที่ฉันต้องการความเป็นไปได้ในการทดสอบกลยุทธ์ตัวเลือกไบนารีโดยอัตโนมัติใน Strategy-Tester ของ MetaTrader 4 ไบนารี - ตัวเลือก - ยุทธศาสตร์ - ทดสอบถูกสร้างขึ้นเพื่อเป็นเครื่องมือเพื่อให้เหมาะกับความต้องการเหล่านั้นแนวคิดประกอบด้วยส่วนต่างๆต่อไปนี้เป็นขั้นตอนโดย ขั้นตอนตัวอย่างวิธีการสร้างกลยุทธ์ตัวเลือกไบนารีที่เก็บไว้ในตัวบ่งชี้ที่ทำเครื่องหมายเป็นสีแดงในภาพด้านบนเพื่อสื่อสารผ่าน Binary-Options-Strategy-Library ที่ทำเครื่องหมายว่าเป็นสีเขียวในภาพด้านบนด้วย Binary-Options-Strategy-Tester ที่ทำเครื่องหมายว่าเป็นสีน้ำเงินในภาพด้านบน เพื่อวางคำสั่งซื้อเสมือนจริงและนับผลการค้นหาด้วยการทดสอบย้อนกลับและการทดสอบไปข้างหน้าโปรดระลึกไว้ว่า Backtesting กับข้อมูลที่ผ่านมาจะไม่เป็นตัวแทนในอนาคตที่แท้จริง แต่อาจให้ค่าโดยประมาณ เพื่อให้กลยุทธ์ของคุณมีเสถียรภาพมากขึ้นคุณภาพของการทดสอบหลังการขายของคุณจะขึ้นอยู่กับข้อมูลที่ผ่านมาของคุณดังนั้นจึงขอแนะนำให้ใช้ชุดข้อมูลที่มีคุณภาพสูง 2 การติดตั้งดาวน์โหลดและซื้อยูทิลิตี้ Binary-Options-Strategy-Tester จากตลาด Test-Framework เพื่อทดสอบกลยุทธ์ Binary Options ใน Strategy-Tester ของ MetaTrader 4. ทำไมต้องมียูทิลิตี้ Binary-Options-Strategy-Tester ที่ซื้อมากลยุทธ์ Binary-Options จึงต้องเรียกใช้ฟังก์ชัน Binary-Options-Strategy-Tester ผ่านทาง Binary - ตัวเลือกยุทธวิธี - ห้องสมุดเพื่อวางธุรกิจการค้าเสมือนที่เกี่ยวข้องกับแนวคิดใบอนุญาตของ MQL4 นี้จะใช้ได้เฉพาะในกรณีที่ผลิตภัณฑ์มีสิทธิการใช้งานดังนั้นคุณจึงต้องซื้อผลิตภัณฑ์เพื่อทดสอบกลยุทธ์ตัวเลือกไบนารีหรือตัวอย่างนี้ดาวน์โหลดได้ฟรีและวางลงใน รวมเส้นทางไปยัง MetaTrader 4 MQL4 ของคุณห้องสมุดฟรีจะมีฟังก์ชั่นต่างๆเพื่อสร้างยุทธศาสตร์ตัวเลือกไบนารีของคุณได้อย่างง่ายดายและสามารถสื่อสารกับ Binary-Options-Strategy-Tester ดูไบนารี - ตัวเลือก - ยุทธศาสตร์ - ไลบรารีสำหรับรายละเอียดเพิ่มเติมของไลบรารีดาวน์โหลดตัวบ่งชี้ฟรีและวางไว้และไฟล์ที่คอมไพล์ลงในโฟลเดอร์ตัวชี้วัดเส้นทางการดาวน์โหลดไปยัง MetaTrader ของคุณ 4 ตัวบ่งชี้ MQL4 ดาวน์โหลดตัวบ่งชี้ KVO จะถูกใช้เป็นตัวอย่างเพื่อแสดงการเข้าถึงของ ตัวบ่งชี้ภายนอกและมี ex4 ไฟล์ในส่วนที่ 3 2 6 การใช้ตัวบ่งชี้ภายนอก ex4 ไฟล์ดูรายละเอียดเพิ่มเติมของตัวบ่งชี้ตอนนี้คุณสามารถไปต่อกับส่วนที่ 3 Binary options ตัวเลือกกลยุทธ์และสร้างตัวอย่างรหัสด้วยตัวเองหรือเพียงดาวน์โหลดรหัสของ ตัวอย่างด้านล่างนี้ดาวน์โหลดและวางไว้และไฟล์ที่รวบรวมไว้ในโฟลเดอร์ตัวบ่งชี้เส้นทางไปยังตัวบ่งชี้ MQL4 ของ MetaTrader 4 ดาวน์โหลดโค้ดของตัวอย่างไบนารีตัวเลือกกลยุทธ์นี้เพื่อให้มันทำงานได้โดยไม่ต้องสร้างด้วยตัวคุณเองเพื่อคอมไพล์ไฟล์ที่ต้องการเปิดไฟล์ และ - ไม่อยู่ในตัวแก้ไขภาษา MetaQuotes และคลิกที่ปุ่ม Compile หรือเพียงแค่รีสตาร์ท MetaTrader 4 ของคุณหลังจากที่ไฟล์เหล่านี้เก็บอยู่ในโฟลเดอร์ที่อธิบายไว้และ MetaTrader 4 จะทำเช่นนี้โดยอัตโนมัติสำหรับคุณ 3 Binary Options strategy example. ขั้นตอนต่อไปนี้จะแนะนำคุณ throgh ตัวอย่างวิธีการสร้างตัวอย่างกลยุทธ์ Binary Options ที่เก็บไว้ใน Indicator เพื่อสื่อสารกับ Binary-Options-Strategy-Tester คุณสามารถสร้างได้โดย ด้วยตัวคุณเองหรือเพียงแค่ดาวน์โหลดรหัสของ. โปรดทราบกลยุทธ์นี้ไม่ได้เป็นกลยุทธ์ Binary Options ที่ทำกำไรได้มันเป็นเพียงตัวอย่างวิธีการสร้างกลยุทธ์ในการบ่งชี้เพื่อสื่อสารกับยูทิลิตี้ Binary-Options-Strategy-Tester แน่นอนว่าคุณต้อง สร้างกลยุทธ์ที่ทำกำไรได้ด้วยตัวคุณเอง แต่อย่างที่คุณเห็นอรรถประโยชน์นี้จะช่วยคุณในการทดสอบและปรับปรุงกลยุทธ์ตัวเลือกไบนารีของคุณ 1 กำหนดกลยุทธ์ตัวเลือกไบนารีก่อนอื่นเราต้องกำหนดกลยุทธ์และค่าที่เปลี่ยนแปลงได้ใส่พารามิเตอร์เอกสาร MQL4 แสดงให้เห็นตัวชี้วัดทางเทคนิคทั้งหมดซึ่งสามารถ adressed ผ่านอินเตอร์เฟซ iCustom ให้เราบอกว่าเราต้องการที่จะสร้างกลยุทธ์การย้ายที่เรียบง่ายเฉลี่ยกับหนึ่งอย่างรวดเร็วและอย่างใดอย่างหนึ่งเคลื่อนที่ช้าเฉลี่ยที่จะตราด e เมื่อเทียนถัดไปหลังจากที่พวกเขาได้ข้ามกันและกันเอกสารบอกวิธีการที่เราสามารถได้รับค่าของ Moving Average เดียวให้เราพูดอีกว่าเราต้องการเลือกค่าสำหรับระยะเวลาเฉลี่ย MA อย่างรวดเร็วและช้าและราคาที่ใช้รวมทั้งสำหรับ ค่าเฉลี่ยค่าอื่น ๆ เช่นสัญลักษณ์ระยะเวลาและการเปลี่ยนขึ้นอยู่กับ testcase เช่นสัญลักษณ์ที่ผู้ทดสอบรันอยู่และควรตั้งค่าโดยอัตโนมัติดังนั้นเราจำเป็นต้องมีตัวแปรต่อไปนี้สำหรับ Moving Average. int maperiod int mamethod int applyprice. As เราต้องการสอง Moving Averages เพื่อตรวจสอบ crosses ของเราเราต้องใช้พารามิเตอร์การป้อนข้อมูลต่อไปนี้สำหรับตัวอย่างของกลยุทธ์กับ default. int เริ่มต้น periodfast 5 int periodlow 10 int methodboth 0 int appliedpriceboth 0.3 2 สร้างกลยุทธ์ตัวเลือกไบนารีคุณจำเป็นต้องสร้างตัวบ่งชี้ที่เก็บไบนารีของคุณ กลยุทธ์ตัวเลือกที่จะลากบนแผนภูมิที่ Binary-Options-Strategy-Tester กำลังทำงานอยู่ในตัวแก้ไขภาษา MetaQuotes ใน MetaTrader 4 คลิกที่ Tools - MetaQuotes Lang Uage Editor หรือเพียงแค่กด F4 แล้วคลิกที่ New ตัวช่วยสร้าง MQL Wizard จะปรากฏขึ้นเลือก Custom Indicator เพื่อสร้างตัวบ่งชี้ที่ว่างเปล่าและคลิกที่ Next ใส่ชื่อลิขสิทธิ์และลิงค์ของกลยุทธ์รวมถึงพารามิเตอร์อินพุตที่มีชนิดและค่าดีฟอลต์ ค่าเริ่มต้นค่าโดยคลิก Add - Button และกด Next. On ตัวจัดการเหตุการณ์แท็บเลือกกล่องกาเครื่องหมาย OnCalculate ตามที่เราต้องการเหตุการณ์นี้เพื่อตรวจสอบกลยุทธ์ของเราในทุก tick กด Next. On คุณสมบัติการวาดภาพแท็บเลือกช่องทำเครื่องหมายตัวบ่งชี้ในหน้าต่างแยกต่างหากตามที่เราต้องการแยก เพื่อพิมพ์ค่าดีบักกดเสร็จสิ้นรหัสเริ่มต้นของตัวบ่งชี้ของคุณจะปรากฏขึ้น -------------------------------------------------- ---------------- ลิขสิทธิ์ 2016, martin ------------------------------ ------------------------------------ ลิขสิทธิ์ทรัพย์สิน Copyright 2016, martin property link คุณสมบัติ 1 00 คุณสมบัติเคร่งครัด ตัวชี้วัดคุณสมบัติ --- อินพุทอินพุตพารามิเตอร์ int periodfast 5 อินพุท periodlow ขาเข้า 10 input int methodboth 0 int inputpriceboth input 0 --------------------------- --------------------------------------- ฟังก์ชันการกำหนดค่าตัวบ่งชี้ที่กำหนดเอง ------- -------------------------------------------------- --------- int OnInit --- ตัวบ่งชี้บัฟเฟอร์ mapping.3 2 1 Input parameters พารามิเตอร์การป้อนค่าเริ่มต้นถูกสร้างขึ้นด้วยตัวช่วยสร้าง MQL ดู 3 2 สร้างยุทธศาสตร์ตัวเลือกไบนารีและเราจะเพิ่มประสิทธิภาพให้กับขั้นตอนต่อไปนี้ เพื่อหลีกเลี่ยงการป้อน int-values สำหรับราคาที่ใช้และวิธีเฉลี่ยของ Moving Averages สำหรับพารามิเตอร์อินพุทประเภทของ methodboth และ appliedpriceboth จะเปลี่ยนจาก int เป็นประเภทของ enumer ด้วยค่าเริ่มต้นนอกจากความคิดเห็นสำหรับพารามิเตอร์อินพุตจะถูกเพิ่มเพื่อแสดงความคิดเห็นเป็นป้ายชื่อแทนที่จะเป็นชื่อตัวแปร --- อินพุทอินพุตพารามิเตอร์ int periodfast 5 ป้อนค่าแม็ปเปิ้ลอินพุต periodless ต่ำ 10 ค่าอินพุต MA MA ต่ำวิธีป้อนข้อมูล ENUMMAMETHOD วิธีการป้อน MODESMA MA ENUMAPPLIEDPRICE ใช้ราคาที่ใช้กับ PRICECLOSE MA ด้วยการปรับเปลี่ยนพารามิเตอร์อินพุทนี้จะมีลิสต์ดาวน์พร้อมค่าที่มีให้เลือกเช่นกัน เป็นป้ายกำกับสำหรับพารามิเตอร์อินพุท 3 2 2 รวมไบนารี - ตัวเลือก - ยุทธศาสตร์ - ไลบรารีหากคุณได้ดาวน์โหลดและจัดเก็บไลบรารีดู 2 การติดตั้งลงในโฟลเดอร์รวมเส้นทางไปยัง MetaTrader 4 MQL4 รวมคุณสามารถรวมไลบรารีนี้ได้ . -------------------------------------------------- ---------------- ลิขสิทธิ์ 2016, martin ------------------------------ ------------------------------------ ลิขสิทธิ์ทรัพย์สิน Copyright 2016, martin property link คุณสมบัติ 1 00 คุณสมบัติเคร่งครัด ตัวบ่งชี้คุณสมบัติห้องสมุดจะใช้ได้เช่นที่อธิบายไว้ในตัวอย่างข้างต้นหากคุณใส่ไว้ในโฟลเดอร์รวมของ MetaTrader ของคุณ 4 การเปลี่ยนเนื้อหาของไลบรารีไม่จำเป็นต้องใช้ไบนารี - ตัวเลือก - ยุทธศาสตร์ - ไลบรารีจะเพิ่มพารามิเตอร์การป้อนข้อมูลด้วยสอง พารามิเตอร์ใหม่ระบุเฉพาะขายหนึ่งหรือหนึ่งซื้อขายต่อเทียนตรวจสอบเฉพาะที่จุดเริ่มต้นของเทียนใหม่สำหรับกลยุทธ์ 3 2 เพิ่ม CallStrategy เพิ่มการเรียก CallStrategy ฟังก์ชันใน OnCalculate ของตัวบ่งชี้กลยุทธ์ของคุณเพื่อเรียกกลยุทธ์ ในทุก CallStrategy เห็บใหม่มีให้โดย Binary - Options - Strategy - Library ที่คุณได้ inlcuded เช่นอธิบายไว้ข้างต้น CallStrategy โทรกลยุทธ์, ฟังก์ชั่น locatet รวมอยู่ในข้างต้น CallStrategy - ฟังก์ชั่นในถัง ไลบรารีจะเรียกใช้ฟังก์ชันชื่อ CheckMyRules ในตัวบ่งชี้ของคุณซึ่งคุณสามารถวางเงื่อนไขสำหรับยุทธศาสตร์ตัวเลือกไบนารีได้ดังนั้นคุณต้องใช้ฟังก์ชัน CheckMyRules ในตัวบ่งชี้ด้านกลยุทธ์ตัวเลือกไบนารีของคุณ 3 2 4 ใช้ CheckMyRules และ helper - ในฟังก์ชั่น CheckMyRules ซึ่งเรียกว่าผ่านทาง Binary-Options-Strategy-Library เงื่อนไขของกลยุทธ์จะถูกนำมาใช้และธุรกิจการค้าจะถูกนำมาวางไว้ผ่านทางฟังก์ชั่นของไลบรารีค่าของทั้ง Moving Averages จะถูกเก็บไว้ในตัวแปรเพื่อเปรียบเทียบ ถ้าเงื่อนไขในขณะที่ค่าของ Moving Averages จะถูกนำมาจาก GetValuesForMA ซึ่งเป็นผู้ช่วยเหลือ --- อินพุทพารามิเตอร์อินพุท int periodfast 5 ป้อนค่าแม็ปเปิ้ลอย่างรวดเร็ว int periodlow 10 ค่าอินพุต MA MA ต่ำวิธีการ ENUMMAMETHOD วิธีป้อน MODESMA MA ENUMAPPLIEDPRICE ราคาที่ใช้ PRICECLOSE MA -------------------------------------------------- ---------------- วางกฎการค้าของคุณที่นี่ - ดูตัวอย่างด้านล่าง StrategyTester จะเรียกใช้ฟังก์ชันนี้เพื่อวางธุรกิจการค้าไม่ - เปลี่ยนชื่อฟังก์ชัน - เพิ่ม paramaters ฟังก์ชันเช่น CheckMyRules int a - Change ชนิดส่งคืนฟังก์ชันเช่น CheckMyRules int ------------------------------------------- CheckMyRules เป็นโมฆะ เก็บค่า MA ด้วยเทียน 0 ดวงปัจจุบัน - ฟังก์ชันปัจจุบันที่เรียกใช้ฟังก์ชันการเรียกฟังก์ชัน GetValueForMA เพื่อให้ได้ค่า - โปรดดูที่ฟังก์ชันช่วยเหลือด้านล่างสองครั้ง emaSlowCurrent GetValueForMA periodlow, 0 ครั้ง double emaFastCurrent GetValueForMA periodfast, 0. เก็บค่า MA ด้วย shift 1 เทียนที่ผ่านมา - เทียนสุดท้าย , เรียกฟังก์ชันช่วยเหลือ GetValueForMA เพื่อให้ได้ค่า - โปรดดูที่ฟังก์ชันช่วยเหลือด้านล่างสองครั้ง emaSlowPast GetValueForMA periodlow, 1 ครั้ง double emaFastPast GetValueForMA periodfast, 1.if emaFastPast emaSlowPast emaFastCurrent emaSlowPast ตรวจสอบว่าช้า MA และรวดเร็ว MA ข้าม PlaceTrade OPSELL Place ขาย - ตรวจสอบว่าช้า MA และรวดเร็ว MA ข้าม PlaceTrade OPBUY สถานที่ซื้อ - การค้าสำหรับกลยุทธ์ - Tester, ฟังก์ชั่นตั้งอยู่ใน 3 2 5 พิมพ์ออกค่าดีบักฟังก์ชั่น PrintDebugValue privides ความเป็นไปได้ เพื่อพิมพ์ค่าแก้ปัญหาในขณะที่ผู้ทดสอบทำงานอยู่ในตัวอย่างด้านล่างค่าของ Moving Av erages จะพิมพ์ออกมาพร้อมกับชื่อตัวแปรของพวกเขาเป็นป้ายชื่อ --- อินพุทพารามิเตอร์อินพุท int periodfast 5 ป้อนค่าแม็ปเปิ้ลอย่างรวดเร็ว int periodlow 10 ค่าอินพุต MA MA ต่ำวิธีการ ENUMMAMETHOD วิธีป้อน MODESMA MA ENUMAPPLIEDPRICE ราคาที่ใช้ PRICECLOSE MA -------------------------------------------------- ---------------- วางกฎการค้าของคุณที่นี่ - ดูตัวอย่างด้านล่าง StrategyTester จะเรียกใช้ฟังก์ชันนี้เพื่อวางธุรกิจการค้าไม่ - เปลี่ยนชื่อฟังก์ชัน - เพิ่ม paramaters ฟังก์ชันเช่น CheckMyRules int a - Change ชนิดส่งคืนฟังก์ชันเช่น CheckMyRules int ------------------------------------------- CheckMyRules เป็นโมฆะ เก็บค่า MA ด้วยเทียน 0 ดวงปัจจุบัน - ฟังก์ชันปัจจุบันที่เรียกใช้ฟังก์ชันการเรียกฟังก์ชัน GetValueForMA เพื่อให้ได้ค่า - โปรดดูที่ฟังก์ชันช่วยเหลือด้านล่างสองครั้ง emaSlowCurrent GetValueForMA periodlow, 0 ครั้ง double emaFastCurrent GetValueForMA periodfast, 0. เก็บค่า MA ด้วย shift 1 เทียนที่ผ่านมา - เทียนสุดท้าย , เรียกฟังก์ชันผู้ช่วยเหลือ GetValueForMA เพื่อให้ได้ค่า - โปรดดูที่ฟังก์ชันช่วยเหลือด้านล่างสองครั้ง emaSlowPast GetValueForMA periodlow, 1 คู่ emaFastPast GetValueForMA periodfast, 1.PrintDebugValue emaSlowCurrent, string emaSlowCurrent, 0 ป้ายกำกับและค่าในบรรทัด 0 PrintDebugValue emaFastCurrent, string emaFastCurrent, 1 Label และ ค่าในบรรทัดที่ 1 PrintDebugValue emaSlowPast, string emaSlowPast, 2 Label และค่าในบรรทัดที่ 2 PrintDebugValue emaFastPast, string emaFastPast, 3 ป้ายชื่อและค่าในบรรทัด 3.if emaFastPast emaSlowPast emaFastCurrent emaSlowPast ตรวจสอบว่าช้า MA และ fast MA ข้าม PlaceTrade OPSELL Place SELL-Trade สำหรับ Strategy-Tester, ฟังก์ชั่นจะอยู่ใน if emaFastPast emaSlowPa st emaFastCurrent emaSlowPast ตรวจสอบว่าช้า MA และรวดเร็ว MA ข้าม PlaceTrade OPBUY สถานที่ซื้อ - การค้าสำหรับกลยุทธ์ - Tester, ฟังก์ชั่นตั้งอยู่ใน 3 2 6 การใช้ตัวบ่งชี้ภายนอก ex4 ไฟล์นอกจากนี้ตัวบ่งชี้ภายนอกที่เก็บค่าในบัฟเฟอร์สามารถ เข้าถึงได้สำหรับกลยุทธ์ตัวเลือกไบนารีแม้ว่าจะมีเพียงไฟล์ ex4 ที่คอมไพล์แล้วให้เราบอกว่าเราต้องการรวมสายสัญญาณของตัวบ่งชี้ KVO เพื่อทำธุรกิจการค้าเฉพาะเมื่อสายสัญญาณมีมากกว่า 0 สำหรับธุรกิจที่ซื้อและอยู่ต่ำกว่า 0 สำหรับขาย ค้าดาวน์โหลดตัวบ่งชี้และวางไฟล์ ex4 ที่คอมไพล์ไว้ในโฟลเดอร์ Indicators ดาวน์โหลดเส้นทางไปยัง MetaTrader ของคุณ 4 ตัวชี้วัด MQL4 Downloads. To รวบรวมไฟล์ที่ต้องการเปิดใน MetaQuotes Language Editor และคลิกที่ปุ่ม Compile หรือเพียงแค่รีสตาร์ท MetaTrader ของคุณ 4 หลังจากที่ไฟล์ถูกเก็บไว้ โฟลเดอร์ที่อธิบายไว้และ MetaTrader 4 จะทำโดยอัตโนมัติสำหรับคุณประการแรกเราต้องระบุบัฟเฟอร์ที่เกี่ยวข้องซึ่งเก็บค่าที่เกี่ยวข้องในการเข้าถึงดังนั้นเราจึงกดปุ่มข้อมูล Wi ใน MetaTrader 4 เพื่อแสดงบัฟเฟอร์ที่พร้อมใช้งานทั้งหมดของตัวบ่งชี้ที่ใช้และลากตัวบ่งชี้ KVO บนแผนภูมิโดยวางเมาส์เหนือแผนภูมิเพื่อกดข้ามเม้าส์บนแผนภูมิเพื่อให้ค่าข้ามค่าบัฟเฟอร์ของตัวบ่งชี้ของ timeperiod hovered จะ แสดงในหน้าต่างข้อมูลป้ายข้อมูลของหน้าต่างข้อมูลบอกเราว่าค่าบัฟเฟอร์ที่สองของตัวบ่งชี้จัดเก็บสายสัญญาณถ้าบัฟเฟอร์ของตัวบ่งชี้ไม่มีป้ายชื่อเราสามารถหาค่าที่ถูกต้องได้โดยการเปรียบเทียบค่าบัฟเฟอร์กับค่าที่แสดงอยู่ภายใต้เครื่องหมายกากบาท ในแผนภูมิและตัวบ่งชี้บัฟเฟอร์ของตัวบ่งชี้เริ่มต้นด้วย 0 ดังนั้นเราจึงมีค่าบัฟเฟอร์ 1 บัฟเฟอร์ 0 ค่าบัฟเฟอร์ 2 บัฟเฟอร์ 1 และอื่น ๆ และเราต้องเข้าถึงบัฟเฟอร์ 1 เพื่อรับค่าสัญญาณต่อไปเราจะต้องทราบข้อมูลทั้งหมด พารามิเตอร์ของตัวบ่งชี้ภายนอกที่เราต้องการจะเข้าถึงโดยการลากตัวบ่งชี้บนแผนภูมิเราจะเห็น paremeters เข้าทั้งหมดให้เราพูดอีกครั้งว่าเราต้องการเข้าถึงตัวบ่งชี้ที่มีค่าเริ่มต้น 34, 55 และ 13 เราใช้ฟังก์ชันผู้ช่วยเหลือตาม iCostu m ซึ่งให้ความเป็นไปได้ที่เราจะได้รับค่าของตัวบ่งชี้ที่มีพารามิเตอร์สำหรับบัฟเฟอร์และกะขณะที่ shift 0 จะเป็นค่าของเทียนปัจจุบันให้เปลี่ยนค่าของเทียนเล่มสุดท้ายเปลี่ยนค่าของค่าที่สองเป็น เทียนสุดท้ายและอื่น ๆ นอกจากนี้เรา temporarilly เก็บค่าของบัฟเฟอร์ตัวบ่งชี้และเพิ่มเงื่อนไขหากของกลยุทธ์ --- อินพุทพารามิเตอร์อินพุท int periodfast 5 ป้อนค่าแม็ปเปิ้ลอย่างรวดเร็ว int periodlow 10 ค่าอินพุต MA MA ต่ำวิธีการ ENUMMAMETHOD วิธีป้อน MODESMA MA ENUMAPPLIEDPRICE ราคาที่ใช้ PRICECLOSE MA -------------------------------------------------- ---------------- วางกฎการค้าของคุณที่นี่ - ดูตัวอย่างด้านล่าง StrategyTester จะเรียกใช้ฟังก์ชันนี้เพื่อวางธุรกิจการค้าไม่ - เปลี่ยนชื่อฟังก์ชัน - เพิ่ม paramaters ฟังก์ชันเช่น CheckMyRules int a - Change ชนิดส่งคืนฟังก์ชันเช่น CheckMyRules int ------------------------------------------- CheckMyRules เป็นโมฆะ เก็บค่า MA ด้วยเทียน 0 ดวงปัจจุบัน - ฟังก์ชันปัจจุบันที่เรียกใช้ฟังก์ชันการเรียกฟังก์ชัน GetValueForMA เพื่อให้ได้ค่า - โปรดดูที่ฟังก์ชันช่วยเหลือด้านล่างสองครั้ง emaSlowCurrent GetValueForMA periodlow, 0 ครั้ง double emaFastCurrent GetValueForMA periodfast, 0. เก็บค่า MA ด้วย shift 1 เทียนที่ผ่านมา - เทียนสุดท้าย , เรียกฟังก์ชันผู้ช่วยเหลือ GetValueForMA เพื่อให้ได้ค่า - โปรดดูที่ฟังก์ชันช่วยเหลือด้านล่าง double emaSlowPast GetValueForMA periodlow, 1 double emaFastPast GetValueForMA periodfast, 1. เก็บค่าบัฟเฟอร์ค่า 1 ของ KVO indicator จากการเปลี่ยนเทียนปัจจุบัน 0 double kvoSignal GetValuesFromIndicatorKVO 1 0.PrintDebugValue emaSlowCurrent, สตริง emaSlowCurrent, 0 ป้ายชื่อและค่าในบรรทัด 0 PrintDebugValue emaFastCurrent, string emaFastCurrent, 1 Label และค่าในบรรทัดที่ 1 PrintDebugValue emaSlowPast, string emaSlowPast, 2 Label และค่าในบรรทัดที่ 2 PrintDebugValue emaFastPast, string emaFastPast, 3 Label และค่าในบรรทัดที่ 3 ถ้า emaFastPast emaSlowPast emaFastCurrent emaSlowPast ตรวจสอบว่าช้า MA และ fast MA ข้าม kvoSignal 0 ตรวจสอบว่าค่าสัญญาณของ KVO อยู่ต่ำกว่า 0 PlaceTrade OPSELL Place ขาย - การค้าสำหรับ Strategy-Tester, ฟังก์ชันอยู่ใน if emaFastPast emaSlowPast emaFastCurrent emaSlowPast ตรวจสอบว่าช้า MA และ fast MA ข้าม kvoSignal 0 ตรวจสอบว่าค่าสัญญาณของ KVO มากกว่า 0 สถานที่จำหน่าย OPBUY สถานที่ซื้อ - การค้าสำหรับกลยุทธ์ - Tester, ฟังก์ชันอยู่ค่ะ ------------------------------ ------------------------------------ รับค่า MA สำหรับระยะเวลาวิธีการราคาประยุกต์และ shift สำหรับรายละเอียด ของ iMA ดู ----------------------------------------------- ------------------- สองครั้ง GetValueForMA int, เปลี่ยนกลับ int iMA NULL 0, ระยะเวลา, 0, methodboth, applypriceboth, shift -------------------------------------------------- ---------------- ตัวอย่างวิธีการหาค่าจากตัวชี้วัดภายนอกดูบัฟเฟอร์พารามิเตอร์ int - ตัวบ่งชี้ - บัฟเฟอร์เริ่มต้นด้วย 0 int shift - ค่าเพื่อเปลี่ยนเทียน 0 ดวง, เทียนไข 1 ดวงก่อนหน้า - -------------------------------------------------- -------------- double buffer GetValuesFromIndicatorKVO, int shift 0 เปลี่ยน KVO ไปยังตัวบ่งชี้ name. return iCustom NULL NULL สำหรับช่วงเวลาปัจจุบันที่เลือกใน tester - ไม่จำเป็นต้องเปลี่ยนแปลง 0 0 สำหรับสัญลักษณ์ปัจจุบันที่เลือกใน tester - ไม่จำเป็นต้องเปลี่ยนแปลง BEGIN EDIT Filepath และชื่อไฟล์ของไฟล์ตัวบ่งชี้ BEGIN INDICATORS INPUTS 34 55 13 END สำหรับ INPUTS END EDIT. buffer ดัชนีบัฟเฟอร์เริ่มต้นด้วย 0 บัฟเฟอร์ถูกกำหนดค่าพารามิเตอร์ฟังก์ชัน - ไม่มีการเปลี่ยนแปลงจำเป็นต้องเปลี่ยน Shift 0 สำหรับเทียนปัจจุบัน shift ถูกดึงมา พารามิเตอร์ฟังก์ชัน - ไม่จำเป็นต้องเปลี่ยนแปลงนอกจากนี้ยังสามารถเพิ่มพารามิเตอร์การป้อนข้อมูลของตัวบ่งชี้กลยุทธ์ของเราด้วยค่าสำหรับตัวบ่งชี้ KVO ที่ใช้และตั้งค่าในฟังก์ชันผู้ช่วยโดยตัวแปรขณะนี้บทแนะนำควรเป็นเพียงตัวอย่างและง่ายที่สุด , ตัวแปรนี้จะไม่แสดง 3 3 รหัสทั้งหมดคุณจะพบรหัสสมบูรณ์ของ Binary - Options - Strategy - ตัวอย่างจากทุกขั้นตอนข้างต้นพร้อมที่จะลาก Binary - Options - Strategy - Tester เพื่อทดสอบและ ดูผลลัพธ์ในแผนภูมิ -------------------------------------------------- ---------------- ลิขสิทธิ์ 2016, martin ------------------------------ ------------------------------------ ลิขสิทธิ์ทรัพย์สิน Copyright 2016, martin property link คุณสมบัติ 1 00 คุณสมบัติเคร่งครัด ตัวบ่งชี้สถานที่ให้บริการ -------------------------------------------------- ---------------- วางพารามิเตอร์การป้อนข้อมูลของคุณที่นี่ - ดูตัวอย่างด้านล่าง ------------------------- ------------------------------------------- พารามิเตอร์อินพุทอินพุตระยะเวลาที่กำหนด 5 Fast ป้อนค่าแมสซาชูเซต int periodlow 10 ป้อนค่า MA ช้าวิธี ENUMMAMETHOD วิธีการป้อนข้อมูล MODESMA MA ENUMAPPLIEDPRICE ใช้ราคาอ้างอิง MA PRICECLOSE MA. CallStrategy เรียกกลยุทธ์เป็นฟังก์ชัน locatet รวมอยู่ข้างต้น --- ค่าตอบแทนของ prevcalculated สำหรับผลตอบแทนการโทรครั้งต่อไป -------------------------------------------------- ---------------- วางกฎการค้าของคุณที่นี่ - ดูตัวอย่างด้านล่าง StrategyTester จะเรียกใช้ฟังก์ชันนี้เพื่อวางธุรกิจการค้าไม่ - เปลี่ยนชื่อฟังก์ชัน - เพิ่ม paramaters ฟังก์ชันเช่น CheckMyRules int a - Change ชนิดส่งคืนฟังก์ชันเช่น CheckMyRules int ------------------------------------------- CheckMyRules เป็นโมฆะ เก็บค่า MA ด้วยเทียน 0 ดวงปัจจุบัน - ฟังก์ชันปัจจุบันที่เรียกใช้ฟังก์ชันการเรียกฟังก์ชัน GetValueForMA เพื่อให้ได้ค่า - โปรดดูที่ฟังก์ชันช่วยเหลือด้านล่างสองครั้ง emaSlowCurrent GetValueForMA periodlow, 0 ครั้ง double emaFastCurrent GetValueForMA periodfast, 0. เก็บค่า MA ด้วย shift 1 เทียนที่ผ่านมา - เทียนสุดท้าย , เรียกฟังก์ชันผู้ช่วยเหลือ GetValueForMA เพื่อให้ได้ค่า - โปรดดูที่ฟังก์ชันช่วยเหลือด้านล่าง double emaSlowPast GetValueForMA periodlow, 1 double emaFastPast GetValueForMA periodfast, 1. เก็บค่าบัฟเฟอร์ค่า 1 ของ KVO indicator จากการเปลี่ยนเทียนปัจจุบัน 0 double kvoSignal GetValuesFromIndicatorKVO 1 0.PrintDebugValue emaSlowCurrent, สตริง emaSlowCurrent, 0 ป้ายกำกับและค่าในบรรทัด 0 PrintDebugValue emaFastCurrent, string emaFastCurrent, 1 Label และค่าในบรรทัดที่ 1 PrintDebugValue emaSlowPast, string emaSlowPast, 2 Label และค่าในบรรทัด 2 PrintDebugValue emaFastPast, string emaFastPast, 3 Label และค่าในบรรทัดที่ 3 ถ้า emaFastPast emaSlowPast emaFastCurrent emaSlowPast ตรวจสอบว่าช้า MA และ fast MA ข้าม kvoSignal 0 ตรวจสอบว่าค่าสัญญาณของ KVO อยู่ต่ำกว่า 0 PlaceTrade OPSELL Place ขาย - การค้าสำหรับ Strategy-Tester, ฟังก์ชันอยู่ใน if emaFastPast emaSlowPast emaFastCurrent emaSlowPast ตรวจสอบว่าช้า MA และ fast MA ข้าม kvoSignal 0 ตรวจสอบว่าค่าสัญญาณของ KVO มากกว่า 0 สถานที่จำหน่าย OPBUY สถานที่ซื้อ - การค้าสำหรับกลยุทธ์ - Tester, ฟังก์ชันอยู่ค่ะ ------------------------------ ------------------------------------ รับค่า MA สำหรับระยะเวลาวิธีการราคาประยุกต์และ shift สำหรับรายละเอียด ของ iMA ดู ----------------------------------------------- ------------------- สองครั้ง GetValueForMA int, เปลี่ยนกลับ int iMA NULL 0, ระยะเวลา, 0, methodboth, applypriceboth, shift -------------------------------------------------- ---------------- ตัวอย่างวิธีการหาค่าจากตัวชี้วัดภายนอกให้ดูที่บัฟเฟอร์พารามิเตอร์ int - ตัวบ่งชี้บัฟเฟอร์เริ่มต้นด้วย 0 int shift - ค่าเพื่อเปลี่ยนเทียน 0 ดวงในปัจจุบัน 1 เทียนก่อน - -------------------------------------------------- --------------- คู่บัฟเฟอร์ GetValuesFromIndicatorKVO, int shift 0 เปลี่ยน KVO เพื่อบ่งชี้ชื่อ iCustom NULL กลับค่าสำหรับช่วงเวลาปัจจุบันที่เลือกในเครื่องทดสอบ - ไม่จำเป็นต้องเปลี่ยนแปลง 0 0 สำหรับสัญลักษณ์ปัจจุบันที่เลือกในเครื่องทดสอบ - ไม่จำเป็นต้องเปลี่ยนแปลง BEGIN EDIT Filepath และชื่อไฟล์ของไฟล์ตัวบ่งชี้ BEGIN INDCATORS INPUTS 34, 55, 13, END สำหรับ INPUTS END EDIT. buffer ดัชนีบัฟเฟอร์เริ่มต้นด้วย 0 บัฟเฟอร์ถูกกำหนดค่าพารามิเตอร์ฟังก์ชัน - ไม่มีการเปลี่ยนแปลงจำเป็นต้องเปลี่ยน Shift 0 สำหรับเทียนปัจจุบันกะ ถูกบีบอัดผ่านพารามิเตอร์ฟังก์ชั่น - ไม่มีการเปลี่ยนแปลงจำเป็น 4 เรียกใช้วิดีโอ backtest วิดีโอต่อไปนี้แสดงวิธีการรัน backtest ของกลยุทธ์ตัวเลือกไบนารีของคุณใน Strategy-Tester ของ MetaTrader 4.Start Binary-Options-Strategy-Tester ใน Strategy-Tester ของ MetaTrader 4 และตั้งค่าพารามิเตอร์ป้อนข้อมูลเลือกตัวบ่งชี้กลยุทธ์ตัวเลือกไบนารีของคุณในแผนภูมิตั้งค่าพารามิเตอร์อินพุตและเลือกอนุญาตการนำเข้าจากผู้เชี่ยวชาญภายนอกในแท็บทั่วไปค้นหาตัวชี้วัดที่ใช้กับพารามิเตอร์การป้อนข้อมูลที่ใช้ในแผนภูมิเพื่อดูค่าของพวกเขา ขณะที่เครื่องทดสอบทำงานอยู่ไม่จำเป็นบันทึกการตั้งค่าทั้งหมดในเทมเพลตเพื่อรันการทดสอบโดยใช้การตั้งค่าทั้งหมดอีกครั้งโดยใช้ปุ่มหยุดชั่วคราวของตัวเลือกกลยุทธ์ผู้ทดสอบเลือกผลลัพธ์ของกลยุทธ์ตัวเลือกไบนารีของคุณบน t he Strategy-Tester chart.5 Run a forward test. To do a forward test simply drag the Binary-Options-Strategy-Tester utility and your strategy indicator on your demo or live chart of your broker instead of using it in Strategy-Tester. Drag Binary-Options-Strategy-Tester utility on demo or live chart and set the input parameters. Drag your Binary Options strategy indicator on the chart, set the input parameters and check Allow external expert imports on the common tab. Drag your used indicators with their used input parameters on the chart to see their values while forward test is running optional. Save all settings in a template to run the test again with all settings optional. See the results of your Binary Options strategy on demo or live chart. Question Why do you show an example of a non profitable Binary Options strategy Answere This is just an example how to build a strategy in an Indicator to communicate with the Binary-Options-Strategy-Tester utility in marketplace to test and improve y our strategy. Question Binary-Options-Strategy-Tester stops after the exact amount of losses with error Array out of range Why Answere Binary-Options-Strategy-Tester can rise an error after x losses to stop Tester and to analyse the situaion on the chart If you do not want to, just switch off the option in settings. Question No arrows appear on chart after I draged my indicator with a working strategy on it What happened Answere You have to enable Allow external expert imports on the common tab while you drag your strategy-indicator on the chart log message will show an error in this case. Question No arrows appear on chart after I draged my indicator with a working strategy on it with Allow external expert imports enabled Why Answere A strategy has to call a function of Binary-Options-Strategy-Tester to place virtual trades Related to the MQL4 license concept this only works if the product has a working license Therefore you have to purchase the product. Question No arrows appear on chart after I dragged my indicator with a working strategy on it and I got errors like Cannot call or Cannot load in the log of MetaTrader 4 What can I do Answere Use the latest version greater v1 00 of Check version tag in code of your and see changelog v1 01 of BinaryOptionsStrategyLibrary. Question I see no results on Strategy-Tester tabs Results , Graph , Report Where I can see the results Answere Strategy-Tester of MetaTrader 4 can not handle Binary Options so these tabs con not be used Therefore this utility calculates all wins and losses and prints the results on the chart.7 Miscellaneous. As I need a possibility to test Binary Options strategies automated in Strategy-Tester of MetaTrader 4 for long time periods in a short time and to do foward tests on the chart of the broker, this utility was build I have spent a lot of time for the concept and the implementation of the Binary-Options-Strategy-Tester as well as for the documentation Maybe there is a better way to do it and maybe some improvements will bring it closer to fit the needs of you So please feel free to contact me for ideas for improvements. Trading Simulator Explained. Let me start off with a question to get your minds thinking Would you ever step into a game you just learned about and bet all of your hard earned money on winning the game I don t think so, maybe if you are a gambler The rest of us would choose to avoid any unnecessary risk by learning all the ins and outs of the game before we bet any money on it, right Why would trading Binary Options or anything else for that matter be any different than the example I just mentioned Why should you take the risk of losing real money when learning how to trade I realize that the vast majority of people would want to start profiting immediately because of the thought of all the stuff that they can do with the money Trading, after all, looks like an easy way to make some cash If you have been in the game for a while, you know beyond a shadow of a doubt that this is not the situation I mean on the off chance that you have the cash to burn and play around for the rush of it, go right ahead, however for the other individuals there is a better way Welcome to the world of Trading Simulators It is a standout among the most, if not THE most powerful tool to have if you are a seasoned trader or just thinking about a career in trading These demo trading simulators accelerate the steep learning curve of becoming that expert trader that everybody is taking a stab at. What Exactly Are Trading Simulators. Trading Simulators are also known as paper trading or virtual trading It can be compared to a free binary options account, just much better in my opinion They are extremely useful for you as a trader, because you can. practice trading stress-free. try out new trading strategies. improve on your current strategies. learn to trade volatility. refine your technique and approach. gain experience. become confident. make all the mistakes in the world and. acquire ne w facets of the market without any cost. It is regularly said that 95 of all traders lose their trading capital within the first year What makes a trader successful then In interviews, the best traders in history always emphasize the importance of backtesting Backtesting means to use historical price data of a particular market to find out how well a trading strategy would have worked While there is no guarantee, the chances are that a successful strategy in the past will very often generate profits in the future Trading Simulators essentially lets you back test your trading strategies and also enables you to take demo trades during live market conditions. How Can I Apply This To My Trading. There is truly no viable alternative for experience and screen time with regards to trading Binary Options or the Forex market Traders that have spent endless of hours trading a live market will have developed a feeling for the market that is almost impossible to explain These traders will be able to distinguish between good and bad trading setups by simply recognizing similar price action to what they have seen before Should you have this type of experience, you will know exactly what I am talking about Attempting to trade a live market is altogether different from looking back at charts or backtesting a trading strategy Backtesting a strategy makes it easy to see in hindsight which signals would have worked and which not without any stress involved When you are trading real-time markets, you can t see what is coming next, and you start to wonder if it is a valid signal You will be contemplating whether or not to take the trade This is where uncertainty begins to set in Trading with real money causes traders to be naturally under stress because you need to make quick trading decisions The only way to combat this feeling of anxiety is when you have enough experience under your belt Trading Simulators are created to help traders develop this type of experience and confidence through taking trades on historical and live market conditions This practice will help them make trading decisions become like second nature to them This is an important plus point because it trains them not to overthink the trade, but simply act when they have to This is precisely how you ought to trade, verging on like a machine with no feelings It is vital to stay in practice of taking trades on a daily basis otherwise you will lose this ability to act without any fear There is a perfect saying that speaks to this statement Use it or lose it. Metatrader indicator for Trading Simulator. As always, MetaBinaryOptions is offering you a free Metatrader indicator for helping you apply this strategy. This indicator will automatically place the Trading Simulator on your chart Make sure to put the file in the MQL4 Indicators folder Allow DLL imports in Tools Options Expert Advisors before using the indicator. Figure 1 Binary Options trading simulator for mt4.How To Use The Trading Simulator. When you ad d the Trading Simulator to your chart, you will get an option to select how much your starting capital must be You can also choose what percentage payouts you should get After doing this, you will see a window pop up on your right-hand side Here you can choose the expiry time, the amount that you want to risk and then when you get a trade you can just click the up or down button This mt4 indicator will keep track of all your trades how many winners, losers and ties you have The Binary Options Simulator will also calculate your winning percentage When you take your call or put trade, you will see it show up in the right-hand column The trade will show you your entry price, the current market price, how many seconds is left till expiry and what the payout will be after expiry The other helpful thing the Metatrader Simulator does is it shows you on the chart where you took the trade and where it expired. Figure 2 The simulator works just like a binary options demo account. Do not start to p anic when you see the trades disappear on your right-hand side This is only done to make space for new trades Notice that after closing the simulator, all trading results are saved in a csv file under Data Folder MQL4 Files when doing live trading or under Data Folder tester files when running the Strategy Tester. When using the Trading Simulator you can combine it with our other MBO MT4 indicators like Market Sessions or News Calendar indicator This feature is very helpful because most people tend to avoid trading during news releases and only like to trade during specific trading sessions Every trader should consider these facts when trading Binary Options In the below image figure 3 , you can see that we have added the News Calendar and Market Sessions indicator with our Trading Simulator. Figure 3 The simulator can work along with other indicators like the news calendar and market sessions indicators. The Binary Options Trading Simulator can also be used to backtest different trading strategies or indicators by making use of the strategy tester on your Metatrader 4 We have found that this function is particularly useful for those traders who are unable to practice during regular market hours Using the strategy tester enables you to trade a few weeks worth of data in just a few hours The ability to trade even when the markets are close, at any time of the day or night makes our Trading Simulator a highly valuable and useful tool. Figure 4 The mt4 binary options simulator can be used in backtests along with historical news data. Success depends on hard facts, and that is exactly what this Binary Options Simulator will give you You will quickly find out whether your strategy is profitable or not This will help you in two ways Number one being that in the event that your strategy was to be unsuccessful, you can move on and invest your time in the development of a new strategy Secondly, if your method should be profitable, you can work to improve on it and move on to trad e it live as soon as possible. I must admit that backtesting your strategy is not as real as using real money, but it creates a pretty realistic view of how well you can do with your strategy in the future I personally think that Trading Simulators are the second best learning aid out there for any trader Number one would obviously be live trading but that could get quite expensive. Trading Simulator Summary. Regardless of the fact that you ve taken hundreds of courses and read a few books on trading, you may not be as prepared as you think you may be Trading the live markets is vastly different than only discussing it Using our Trading Simulator, you get the advantage of genuine experience without taking any of the financial risks The key to using the Trading Simulator to your advantage is to treat it seriously as if the trades were live Once you re comfortable utilizing the Trading Simulator, it very well might be time to attempt your strategy with real money Trading any market requires precision and focus, which can only be developed with practice You should commit yourself to consistent practice and never give up Practice does not make perfect Perfect practice makes perfect Vince Lombardi. Trading Simulator User Reviews. Strategy Tester Get in Shape with Your Personal Trading Gym. Full Review of the Strategy Tester for Binary Options Trading. We talked many times before about the importance of testing an indicator or a strategy before putting your money on the line and trusting that indicator in real market conditions After all, if you invest in shoes, you try them out first, right So why not do the same with an indicator or strategy Even if that indicator is free, you are still risking your money when you trade Binary Options based on its signals. One way to test a strategy is to paper trade by scrolling back your charts and looking for signals according to whatever indicator or strategy you want to test But this way is sometimes subjective because you can see the whol e chart and you can be influenced by that you may bend the rules a little because by seeing the chart you know the outcome of a trade taken at that particular moment What I am going to explain today is a way of testing strategies as if you were trading in real time It is the most accurate type of testing you will ever come across and it s a perfect training ground for new and seasoned traders It is also Free But you have to pay something though Attention Because it can be tricky to set up. How to use the Strategy Tester. First of all, this is a tool available in the Meta Trader 4 platform so your first step should be to get your hands on one of those MT4 demo platforms are easily and freely available from Forex brokers To use the Strategy Tester, you will need to open a chart of the pair you want to test on and attach to it one of the default EAs Expert Advisors available in the MT4 platform These default EAs are usually called MACD Sample or Moving Average Drag and drop or double click any one of those on the chart I spoke of Clear so far Here s a pic. A small window will open, allowing you to choose the settings for the EA It has zero importance because you won t be testing the EA itself so don t change anything and click OK Get your coffee, the hard part is just beginning. Next, you will have to click on the Strategy Tester button which should be close to the Navigator , to the right, but some platforms don t have it there by default so you won t see it Don t hit the Panic Button Just press F6 and you will see the Strategy Tester window finally pop out It s either a window similar to the one in my picture below or it will be attached to the bottom of your platform. Now you will see a lot of settings which you can adjust Looking from top down, left to right, we have the following tabs. Expert Advisor the EA you used to get the Strategy Tester working You don t have to make any modifications. Symbol the name of the pair the test will run on Choose which one you like or ju st leave unchanged if you initially opened the chart of your desired pair. Method By default it is set to Every tick You should use this setting because it s the most accurate and reproduces almost exactly the market conditions. Use date Check it and select the period you want to test starting date and ending date. Visual mode Check it. Moving to the middle column, you will see. Period Choose the time frame you want to test. Spread Not important leave unchanged. Optimization Must be unchecked. On the right column you don t have to change anything and the only important button there is the Start Make sure everything is set up correctly and hit it Once you do that, a new chart of the chosen pair will open starting from the date you selected Now you will see that price is moving exactly as it does in normal market conditions You have just gone back in time and now you control the market well, not really, but you can adjust the speed of the movement and you can hit pause if you need to go get beer and peanuts The last thing you have to do is to add your desired indicators or template if you have one. Why does the Strategy Tester Suck. The whole process of setting it up is pretty complicated as I am sure you noticed, but after you ve done it once, it gets easier So I have a clear answer to the question Why it Sucks It Doesn t What could suck about being able to test your strategy using real data, without being influenced by the fact that you see the candles on the right. Why the Strategy tester doesn t Suck. It s the closest you can get to real market trading Call it Demo trading on steroids, call it whatever, but it s one of the best ways to train yourself and see how good your strategy really is without losing money The data used for the simulation comes from the history of your MT4 so it is the same data you would have used if you were trading at the time in other words, the most accurate available. Simulators are used everywhere so why shouldn t we. If you had the patience to read the whole article, by now you probably know my opinion about this tool it s very useful and of great help Maybe you will encounter some problems you can t solve when trying to set up the Strategy Tester for the first time, but you can always ask me for help in our Forum Of course, you could choose not to use it and start to trade for real without any form of testing That s your decision and your money, but I strongly advise against it Good luck if you need it. To learn more about the Strategy Tester, check out the MetaTrader Q A on our Forum.
No comments:
Post a Comment