Friday 14 July 2017

Forex Lmt ตัวบ่งชี้


เรียลไทม์หลังจากชั่วโมงข่าวก่อนการตลาดบทสรุป Flash การอ้างถึงบทคัดย่อ Charts Interactive การตั้งค่าเริ่มต้นโปรดทราบว่าเมื่อคุณทำการเลือกของคุณแล้วจะใช้กับการเข้าชม NASDAQ ในอนาคตทั้งหมด หากคุณสนใจที่จะกลับไปใช้ค่าเริ่มต้นของเราเมื่อใดก็ตามโปรดเลือกการตั้งค่าเริ่มต้นด้านบน หากคุณมีข้อสงสัยหรือพบปัญหาใด ๆ ในการเปลี่ยนการตั้งค่าเริ่มต้นของคุณโปรดอีเมล isfeedbacknasdaq โปรดยืนยันการเลือกของคุณ: คุณได้เลือกที่จะเปลี่ยนการตั้งค่าเริ่มต้นของคุณสำหรับการค้นหาข้อเขียน ตอนนี้จะเป็นหน้าเป้าหมายเริ่มต้นของคุณเว้นแต่คุณจะเปลี่ยนการกำหนดค่าอีกครั้งหรือลบคุกกี้ของคุณ คุณแน่ใจหรือไม่ว่าต้องการเปลี่ยนแปลงการตั้งค่าของคุณเราขอให้คุณโปรดปิดใช้ตัวบล็อกโฆษณาของคุณ (หรืออัปเดตการตั้งค่าเพื่อให้แน่ใจว่ามีการเปิดใช้จาวาสคริปต์และคุกกี้) เพื่อให้เราสามารถให้ข่าวตลาดฉบับแรกแก่คุณได้ต่อไป และข้อมูลที่คุณคาดหวังมาจากส่วนติดต่อเรา AmiBroker Auto-Trading สำหรับโบรกเกอร์เชิงโต้ตอบ 1.3.8 Beta Read Me 29 พฤษภาคม 2014 21:03 นี่คือรุ่นเบต้าของซอฟต์แวร์ (ดูหัวข้อคำถามที่พบบ่อยสำหรับคำตอบที่ระบุไว้ว่า BETA quot) การค้าแบบอัตโนมัตินำเสนอความเสี่ยงบางประการ โปรดทดสอบรหัสของคุณโดยใช้ TWS การสาธิตครั้งแรกและจากนั้นบัญชีการค้าของร้านค้าอัตโนมัติในบัญชีจะช่วยให้การซื้อขายง่ายขึ้นและเร็วขึ้น แต่ก็ไม่ได้ตั้งใจที่จะใช้งานโดยไม่ได้รับการนิเทศ ไม่ปล่อยให้การค้าอัตโนมัติไม่ได้รับการจัดให้อยู่ในรูปของข้อมูลบางอย่างอาจคล้ายกับความล้มเหลวของอินเทอร์เน็ตความล้มเหลวในการใช้พลังงานภาพที่ไม่เป็นที่รู้จักซึ่งอาจนำไปสู่การสูญเสียทางการเงินที่ร้ายแรง เพียงแค่เรียกใช้ตัวติดตั้งและปฏิบัติตามคำแนะนำ ดูการเปลี่ยนแปลง CHANGE LOG ด้านล่างเพื่อดูรายละเอียดการเปลี่ยนแปลง AmiBroker 4.70 หรือสูงกว่า แนะนำ AmiBroker 5.30 โดยเฉพาะใน Vista และ Windows 7 เวิร์คสเตชั่น TWS (DEMO, PaperTrading is OK) จาก interactivebrokers รุ่นที่ต้องการ: 907 ขึ้นไป อย่าใช้ TWS เวอร์ชัน 945.1 - มีปัญหาในรถโดยเฉพาะเว็บเวอร์ชั่น ตัวควบคุม IB (BrokerIB. EXE) เป็นแอ็พพลิเคชันที่แยกกันซึ่งทำหน้าที่เป็นบัฟเฟอร์ระหว่าง AmiBroker และ Interactive Brokers TWS ยอมรับคำสั่งจาก AmiBroker และส่งคำสั่งซื้อเพื่อดึงข้อมูลจาก TWS นอกจากนี้ยังช่วยในการยกเลิกการสั่งซื้อด้วยตนเอง แอ็พพลิเคชันคอนโทรลเลอร์ IB จะถูกเรียกใช้โดยอัตโนมัติโดย AmiBroker ถ้าสูตรประกอบด้วยสายเรียกใช้ต่อไปนี้: หลังจากเรียกใช้แอพพลิเคชัน BrokerIB. EXE (IB Controller) และตัวแปร ibc ประกอบด้วยตัวชี้ไปยังอ็อบเจ็กต์ OLE automation ที่มีหลายวิธี (ฟังก์ชัน) ที่ อนุญาตให้มีการยกเลิกการสั่งซื้อผ่าน TWS และสอบถามข้อมูลพอร์ตโฟลิโอ เมธอดเหล่านี้จะเรียกว่าเป็นออปเจ็กต์ของอ็อบเจ็กต์อัตโนมัติตัวอย่างเช่น if (ibc. IsConnected ()) ตรวจสอบว่าการเชื่อมต่อกับ IB สำเร็จหรือไม่? ibc. PlaceOrder (quotMSFTquot, quotBUYquot, 100, quotMKTquot, 0, 0, quotDAYquot, False ) สั่งซื้อสินค้า แต่ไม่ได้ส่งให้ทราบว่าเป็นอินเทอร์เฟซระดับต่ำสำหรับผู้ใช้ขั้นสูงซึ่งมีอยู่ในขั้นตอนหนึ่งของการดำเนินการซื้อขายแบบอัตโนมัติผ่านทาง IB จะมีอินเตอร์เฟซระดับสูงขึ้นซึ่งจะมีการใช้งานในภายหลัง วิธีการควบคุม IB (ฟังก์ชัน): ฟังก์ชันนี้วางคำสั่งใหม่ฟังก์ชันจะส่งคืน OrderId (สตริง) ที่สามารถใช้ในภายหลังเพื่อแก้ไขสถานะการตรวจสอบของคำสั่งซื้อพารามิเตอร์: Ticker - สตริงที่ระบุสัญลักษณ์ของ securitycontract ที่จะซื้อ สัญลักษณ์ควรเป็นไปตามสัญลักษณ์ที่กำหนดไว้ในรายละเอียดที่: amibrokerib. html การกระทำ - ระบุการกระทำที่จะดำเนินการค่าที่เป็นไปได้คือ: quotBUYquot, quotSELLquot, quotSSHORTquot จำนวน - จำนวนหุ้นสั่งซื้อเพื่อซื้อประเภท - ระบุประเภทคำสั่งค่าที่เป็นไปได้คือ: quotMKTquot , quotMKTCLSquot, quotLMTquot, quotLTTCLSquot, quotPEGMKTquot, quotSTPquot, quotSTPLMTquot, quotTRAILquot, quotRELquot, quotVWAPquot - ดูเอกสารประกอบของโบรกเกอร์ Interactive TWS สำหรับข้อมูลเพิ่มเติมเกี่ยวกับประเภทการสั่งซื้อ LimitPrice - กำหนดราคาขีด จำกัด สำหรับการ จำกัด และหยุดคำสั่ง LimitPlace - กำหนดการหยุด ราคาสำหรับคำสั่งหยุด TimeInForce - กำหนดเวลาในการสั่งซื้อค่าที่เป็นไปได้คือ: quotDAYquot, quotGTCquot, quotIOCquot, quotGTDquot เริ่มจาก v1.0.8 ฟิลด์ TimeInForce ใน PlaceOrderModifyOrder ยอมรับข้อกำหนด GTD และ GAT GTD - Good Till Date - ระบุว่าคำสั่งซื้อ ควรใช้งานได้จนกว่าจะถึงเวลาและวันที่ที่กำหนด กำหนดวันที่กำหนด GTD YYYYMMDD HH: MM: SS TZONE โดย: YYYY คือปี 4 หลัก MM คือ 2 หลักเดือน DD คือ 2 หลักวัน HH คือ 2 หลักชั่วโมง MM คือ 2 หลักนาที SS คือ 2 หลักวินาที (OPTIONAL) TZONE เป็นเวลา โซน (OPTIONAL) หลังจากข้อกำหนด TimeInForce ปกติ (DAY, GTC, GTD) คุณอาจเพิ่ม GoodAfterTime (GAT) เป็นส่วนเสริม ส่วน GAT มาหลังจากอัฒภาค แสดงว่าการค้าต้องส่งหลังจากวันและเวลาที่กำหนดไว้: DAYGAT YYYYMMDD HH: MM: SS TZONE - ใบสั่งซื้อวันที่ถูกต้องหลังจากระบุ datetime GTCGAT YYYYMMDD HH: MM: SS TZONE - ดีจนใบสั่งที่ยกเลิกหลังจากวันที่กำหนด GTD yyyymmdd hh: mm: ss tzoneGAT YYYYMMDD HH: MM: SS TZONE - ใบสั่ง GTD มีผลบังคับใช้หลังจากเวลาที่กำหนด: YYYY คือปี 4 หลัก MM คือ 2 หลักเดือน DD คือ 2 หลักวัน HH คือ 2 หลักชั่วโมง MM คือ 2 หลักนาที SS คือ 2 หลักที่สอง (OPTIONAL) TZONE เป็นเขตเวลา (OPTIONAL) หมายเหตุ: ต้องไม่มีช่องว่างระหว่างเครื่องหมายอัฒภาคและ GAT ibc. PlaceOrder (MSFT ซื้อ 100. LMT 27. วันที่ DAYGAT 20051214 18:00:00 GMT ทรู) - คำสั่งซื้อวันดีหลังจาก 14 ธ. ค. 2548 เวลา 18:00 น. GMT ibc. PlaceOrder (MSFT ซื้อ) 100. LMT 27. 0 GTD 20051215 17:00:00 GMTGAT 20051214 18:00:00 GMT True) - วงเงินกำหนดตั้งแต่ 14 ธ. ค. 2548 18:00 น. ถึง 15 ธันวาคม 2548 17:00 GMT ibc. PlaceOrder (MSFT ซื้อ 100 LMT 27. 0 GTD 20051215 19:00:00 GMT True) - ขีด จำกัด การสั่งซื้อที่ถูกต้องตั้งแต่บัดนี้จนถึง 15 ธันวาคม 2548 19:00 GMT ส่ง - boolean flag ระบุว่าคำสั่งที่ระบุควรเป็น จริงส่งไปยังการแลกเปลี่ยน ถ้าค่าสถานะนี้ถูกกำหนดเป็น FALSE ระบบจะไม่ส่งคำสั่งซื้อ แต่จะปรากฏในเวิร์กสเตชัน TWS เพื่อให้คุณสามารถกดส่งพารามิเตอร์ lateradditional ด้วยตนเองสำหรับ IBController 1.0.4 หรือสูงกว่าได้: TickSize - กำหนดความผันผวนของราคาขั้นต่ำที่อนุญาตสำหรับสัญลักษณ์ที่ระบุใน pips (0.0001 ) สำหรับสกุลเงินส่วนใหญ่ของสหรัฐฯคือ 100 (หมายถึง 0.01 move) สำหรับสกุลเงินส่วนใหญ่: 1 (หมายถึง 0,0001 move) ถ้าการเคลื่อนไหวต่ำสุดน้อยกว่า 0.0001 คุณสามารถใช้ค่าเศษเช่น 1100 สำหรับ 0.000001 move. additional parameters สำหรับ IBController 1.0.8 หรือสูงกว่า: แอตทริบิวต์ - เป็นสตริงที่ช่วยในการระบุแอตทริบิวต์การสั่งซื้อเพิ่มเติม (รายการที่คั่นด้วยเครื่องหมายจุลภาค) outsideRTH - ถ้าระบุหมายความว่าการสั่งซื้อจะเรียกไม่เพียง แต่ในช่วงเวลาซื้อขายปกติ (RTH) เท่านั้น แต่ยังรวมถึงการซื้อขายแบบขยาย (preafter market) ใช้เพื่อหยุดคำสั่งคำสั่งตามเงื่อนไขและการแจ้งเตือนที่ใช้โดยตรรกะทริกเกอร์ ถ้าไม่ได้ระบุคำสั่ง (false) จะเรียกเฉพาะในระหว่าง RTH เท่านั้น allOrNone - กรอกทั้งหมดหรือไม่มีเลย eTradeOnly ทั้งหมด - การค้ากับราคาอิเล็กทรอนิกส์เท่านั้น firmQuoteOnly - การค้ากับคำพูดของ บริษัท เท่านั้นรุ่น 1.1 ignoreRth rthOnly ธงเป็น OBSOLETE ในขณะนี้และไม่ได้รับการสนับสนุนเป็น TWS API ลดลงการสนับสนุนเหล่านั้น โดยค่าเริ่มต้นธงทั้งหมดเหล่านี้ไม่มีการใช้งาน (OFF) ตัวอย่าง: ibc. PlaceOrder (MSFT ซื้อ 1000 LMT 27. 0 GTD 20051215 19:00:00 GMT True 100. allOrNone) (โปรดสังเกตว่าพารามิเตอร์ตัวเลือก TickSize ต้องระบุไว้ ParentID - เป็นสตริงที่ระบุตัวระบุคำสั่งซื้อของพ่อแม่ (ที่ส่งคืนโดยการโทร PlaceOrder ก่อนหน้านี้) ช่วยให้คุณสามารถวางคำสั่งซื้อ BRACKET ได้ parentID ibc. PlaceOrder (MSFT ซื้อ 1000 LMT 27. 0 GTC เท็จ) ibc. PlaceOrder (MSFT ขาย 1000 LMT 28. 0 GTC เท็จ 100. parentID) ibc. PlaceOrder ( MSFT ขายได้ 1000. STP 26. 26. GTC True 100. parentID) โปรดทราบว่าธง TRANSMIT ถูกตั้งค่าเป็น FALSE ในทุกคำสั่งยกเว้นยกเว้นครั้งล่าสุด เพื่อให้แน่ใจว่าการสั่งซื้อรอจนกว่าชุดใบสั่งจะเสร็จสมบูรณ์ การตั้งค่าการส่งแฟ็กซ์เป็น TRUE ในช่วงสุดท้ายจะส่งทั้งวงเล็บ OCAGroup - พารามิเตอร์สตริงตัวเลือก (ใหม่ใน 1.1.0) ที่ช่วยในการกำหนดกลุ่ม OCA (One-Cancels-All) คำสั่งออร์กาไนเซอร์กลุ่ม OCA ทำงานร่วมกันด้วยเหตุนี้เมื่อมีการสั่งซื้อภายในกลุ่มอย่างใดอย่างหนึ่งคำสั่งที่เหลือจะถูกยกเลิก . สำหรับข้อมูลเพิ่มเติมโปรดดูที่: interactivebrokersphpwebhelpMakingTradesCreateOrderTypesoca. htmExample: ibc. PlaceOrder (MSFT ขาย 1000 LMT 28. 0 GTC True 100. MYGROUP) ibc. PlaceOrder (MSFT ขาย 1000 STP. 26. 26. GTC True 100. 0. MYGROUP) OCAType - พารามิเตอร์ตัวเลขที่เป็นตัวเลือก (new ใน 1.1.0) ที่ช่วยในการควบคุมวิธีสั่งซื้อ OCAGroup ได้รับการจัดการเมื่อมีการเติมคำสั่งซื้อในกลุ่มบางส่วน ค่าที่เป็นไปได้คือ: 1 CANCELWITHBLOCK - คำสั่งซื้ออื่น ๆ ถูกยกเลิก 2 REDUCEWITHBLOCK - คำสั่งซื้ออื่น ๆ มีขนาดลดลงและมีการป้องกันการเติมเต็มอยู่ 3 REDUCENBLOCK - คำสั่งซื้ออื่น ๆ จะลดขนาดลงและป้องกันการเติมเต็มเป็นค่าปิดค่าเริ่มต้นคือ 3 FAParams - พารามิเตอร์สตริงเสริม ใน 1.1.0) - สำหรับใช้กับบัญชี FA (Financial Advisor aka FamilyampFriends) ช่วยให้สามารถระบุกลุ่มการจัดสรรบัญชีรายละเอียดวิธีการและเปอร์เซ็นต์ของบัญชี FA ได้ พารามิเตอร์สี่ตัวนี้ควรมีให้เป็นสตริงแยกอัฒภาค: quotFAGroupFAProfileFAMethodFAPercentagequot หากพารามิเตอร์บางอย่างไม่จำเป็นอาจเป็นข้อมูลที่ว่างเปล่า แต่คุณต้องเก็บเครื่องหมายอัฒภาคไว้ถ้าจำเป็นต้องมีพารามิเตอร์เพิ่มเติม ตัวอย่างเช่นเพื่อระบุลำดับที่ใช้กลุ่ม quotAllquot และใช้เมธอด quotEqualQuantityquot FAParameter ควรมีลักษณะดังนี้: quotAllEqualQuantityquot: ibc. PlaceOrder (MSFT ซื้อ 1000 LMT 27. 0 GTC True 100. 0. 0 AllEqualQuantity) หากคุณต้องการใช้โปรไฟล์การปันส่วนที่กำหนดเองคุณสามารถใช้: ibc. PlaceOrder (MSFT ซื้อ 1000 LMT 27. 0 GTC True 100. 0. 0. AllMyCustomProfile) ถ้า FAParams ไม่ได้จัดเตรียมไว้และ คุณใช้บัญชี FA กว่า IBc จะใช้การจัดสรรเริ่มต้นของ quotAllAvailableEquityquot โปรดทราบว่าโดยค่าเริ่มต้น IB Controller จะเข้าสู่บัญชี quotAllquot ซึ่งเป็น quotaggregatequot คือถือผลรวมของตำแหน่งทั้งหมดในบัญชีย่อยทั้งหมด บัญชี - พารามิเตอร์สายอักขระเสริม (ใหม่ใน 1.3.5) - สำหรับใช้กับบัญชี FA (Financial Advisor aka FamilyampFriends) ซึ่งจะช่วยให้สามารถระบุบัญชีปลายทางสำหรับใบสั่งสำหรับบัญชี FampFFA IB ในการเรียกเดี่ยวแทนที่จะอาศัยลำดับ SetAccountPlaceOrder Single-call PlaceOrderModifyOrder ที่มีคุณสมบัติบัญชีช่วยให้สามารถระบุบัญชีได้โดยไม่ต้องกังวลว่า threadsprocesses อื่นสามารถเปลี่ยนบัญชีระหว่าง SetAccount () และ PlaceOrder () ได้ ModifyOrder (สตริง OrderId. สตริง Ticker สตริงการดำเนินการหมายเลขจำนวนสตริงประเภทจำนวน LimitPrice จำนวน StopPrice สตริง TimeInForce. bool ส่งข้อมูลจำนวนไม่จำเป็น TickSize 100 สายอักขระเสริมแอตทริบิวต์ quotquot สายอักขระเสริม ParentID quotquot สายอักขระเสริม OCAGroup หมายเลขที่ไม่จำเป็น OCAType สตริงที่ไม่จำเป็น FAParam บัญชีสายอักขระเสริม) ฟังก์ชันนี้จะแก้ไขคำสั่งซื้อที่วางไว้ก่อนหน้า แต่ยังไม่ได้เติม ฟังก์ชันนี้สามารถใช้เพื่อปรับเปลี่ยนคำสั่งที่ส่งด้วยธง quotTransmitquot เป็น False นอกจากนี้เมื่อพารามิเตอร์ OrderID ว่างเปล่าฟังก์ชันนี้ทำงานเหมือนกับ PlaceOrder (เพื่อให้คุณสามารถวางและแก้ไขคำสั่งโดยใช้ ModifyOrder () function alone) ฟังก์ชันจะส่งคืน OrderId (string) ที่สามารถใช้ในภายหลังเพื่อแก้ไขสถานะการตรวจสอบสถานะของคำสั่งได้ Parameters: OrderId - สตริงระบุ orderID ที่จะแก้ไข (ส่งกลับโดย PlaceOrder หรือ ModifyOrder ก่อนหน้านี้) ถ้าพารามิเตอร์นี้ว่างเปล่าฟังก์ชันจะวางคำสั่งใหม่ทั้งหมดพารามิเตอร์ที่เหลืออยู่เช่นเดียวกับในฟังก์ชัน PlaceOrder ในเวอร์ชัน 1.1.0 การปรับปรุงหนึ่งอย่างถูกเพิ่มลงในฟังก์ชัน ModifyOrder ถ้าหากพารามิเตอร์ที่เป็นตัวเลือกบางอย่างเช่น ParentID, OCAGroup, OCAType, FAParam ไม่ระบุ - ใช้ค่าที่ระบุไว้ก่อนหน้านี้ (ระหว่าง PlaceOrder) นี้ป้องกันจากตัวอย่างเช่นการสูญเสีย ParentID เมื่อโทร ModifyOrder ในลำดับเด็กโดยไม่ต้อง curID parentID ฟังก์ชันนี้จะยกเลิกคำสั่งซื้อที่รอดำเนินการ True - ถ้ามีคำสั่งที่รอดำเนินการอยู่และได้ยกเลิกการร้องขอ False - ถ้าไม่มีคำสั่งที่ค้างอยู่พร้อมกับ OrderId Parameters ที่ระบุไว้: OrderId - สตริงที่ระบุ orderID ที่ต้องการแก้ไข (ส่งคืนโดย PlaceOrder หรือ ModifyOrder call ก่อนหน้านี้) GetAccountValue (string FieldName) ฟังก์ชันนี้เรียกคืนค่าบัญชี สตริงแสดงค่า โปรดทราบว่าถ้าคุณต้องการจำนวนใน AFL คุณควรใช้ฟังก์ชันการแปลง StrToNum ที่จะแปลงสตริงที่ส่งกลับโดยฟังก์ชันนี้ไปยังหมายเลข สตริงที่ว่างเปล่าจะถูกส่งกลับหากฟิลด์ไม่มีหรือว่างเปล่า พารามิเตอร์: FieldName - กำหนดค่าให้กับเคียวรี List of fields ที่ใช้ได้ (case sensitive): 1. เขตข้อมูลที่เป็นสกุลเงินที่เป็นอิสระหรือแสดงในสกุลเงินของบัญชี BASE (โดยรวม) AccountCode AccountReady AccountType Cash Accuracy 2. ฟิลด์ที่ระบุแยกต่างหากสำหรับสกุลเงินของแต่ละสกุลเงินที่ถืออยู่ในบัญชี CUR ในรายการด้านล่างหมายถึงสัญลักษณ์สกุลเงินดังนั้นสำหรับเงินสกุลดอลลาร์สหรัฐฯและหลักทรัพย์ที่คุณจะเห็นคำนำหน้าของเงินดอลล่าร์สกุลเงินดอลลาร์สหรัฐ หมายเหตุตำแหน่งโฟกัสของ IDEALPRO Forex จะรวมอยู่ใน CURCashBalance ที่นี่ CURAvailableFunds-S CURAccruedCash CURAccruedCash-C CURAccruedCash-S CURAvailableFunds CURAvailableFunds-C CURBuyingPower CURCashBalance CURCurrency CUREquityWithLoanValue CUREquityWithLoanValue-C CUREquityWithLoanValue-S CURExcessLiquidity CURExcessLiquidity-C CURExcessLiquidity-S CURFullAvailableFunds CURFullAvailableFunds-C CURFullAvailableFunds-S CURFullExcessLiquidity CURFullExcessLiquidity-C CURFullExcessLiquidity-S CURFullInitMarginReq CURFullInitMarginReq-C CURFullInitMarginReq - S CURFullMaintMarginReq CURFullMaintMarginReq-C CURLookAheadAvailableFunds-S CURFullMaintMarginReq-S CURFutureOptionValue CURFuturesPNL CURGrossPositionValue CURGrossPositionValue-S CURInitMarginReq CURInitMarginReq-C CURInitMarginReq-S CURLeverage-S CURLookAheadAvailableFunds CURLookAheadAvailableFunds-C CURLookAheadExcessLiquidity CURLookAheadExcessLiquidity-C CURLookAheadExcessLiquidity-S CURLookAheadInitMarginReq CURLookAheadInitMarginReq-C CURLookAheadInitMarginReq-S CURLookAheadMaintMarginReq CURLo okAheadMaintMarginReq-C CURLookAheadMaintMarginReq-S CURLookAheadNextChange CURMaintMarginReq CURMaintMarginReq-C CURMaintMarginReq-S CURNetLiquidation CURNetLiquidationByCurrency CURNetLiquidation-C CURNetLiquidation-S CURPreviousDayEquityWithLoanValue CURPreviousDayEquityWithLoanValue-S CUROptionMarketValue CUROptionMarketValue CURRealizedPnL CURSMA CURSMA-S CURStockMarketValue CURTotalCashBalance CURTotalCashValue CURTotalCashValue-C CURTotalCashValue-S CURUnalteredInitMarginReq CURUnalteredMaintMarginReq CURUnrealizedPnL เมื่อสกุลเงินไม่ได้ระบุ IBC มองหาค่าที่ระบุไว้ในสกุลเงิน BASE ก่อนและหากไม่พบก็ใช้ USD เป็นค่าเริ่มต้นดังนั้นคุณจึงสามารถใช้ GetAccountValue แบบเดิม (quotAvailableFundsquot) และจะกลับมาเหมือนกับ GetAccountValue (quotUSDAvailableFundsquot) เนื่องจากไม่มีเงินทุนที่ระบุไว้ใน สกุลเงินหลัก หากคุณโทร GetAccountValue (quotTotalCashBalancequot) จะรายงานเป็นสกุลเงิน BASE และอาจแตกต่างจาก GetAccountValue (quotUSDTotalCashBalancequot) ซึ่งจะแสดงเฉพาะเงินสดสกุลเงินดอลลาร์เท่านั้น ความแตกต่างจะเกิดขึ้นถ้าคุณมีฐานะเงินสดในหลายสกุลเงินดังนั้นสกุลเงินใบสั่งซื้อแสดงยอดรวมทั้งหมดของทุกตำแหน่งในสกุลเงินทั้งหมดเช่นเดียวกับที่พวกเขาได้รับการแลกเปลี่ยนเป็นสกุลเงินหลัก GetExecInfo (สตริง OrderId,.String Field) ฟังก์ชันนี้เรียกค่าของ Field of OrderId order จากรายการดำเนินการค่าตัวเลขหรือ sting ของฟิลด์ที่ร้องขอสำหรับ OrderId Null ถ้าไม่มีฟิลด์หรือไม่มีตำแหน่งดังกล่าวพารามิเตอร์: OrderId - สตริงที่ระบุคำสั่ง (ส่งกลับโดยฟังก์ชัน PlaceOrder หรือเรียกใช้โดย GetExecList) ฟิลด์ - หนึ่งในชื่อคอลัมน์ที่พบในหน้า quotExecutionsquot ของ IB Controller ตัวอย่างเช่น quotAvg ราคาเสนอซื้อจะให้ราคาเฉลี่ยของการซื้อการรักษาความปลอดภัยที่ระบุ quotFilledquot ให้จำนวนหุ้นที่มีการเรียกเก็บ GetExecList (Number Type. Filter สตริง) (ใหม่ใน 1.3.0) ส่งคืนรายการที่คั่นด้วยจุลภาคของคำสั่งจากรายการการประนีประนอม Parameters: Type - ระบุว่าควรจะส่งคืนอะไร 0 - ให้ ORDERIDs (ปัจจุบันเป็นค่าที่ยอมรับได้เท่านั้น) ตัวกรอง - เมื่อไม่ว่างให้บอก IBc ว่าจะส่งคืนคำสั่งซื้อที่มีสถานะเฉพาะเมื่อว่างเปล่าเท่านั้น - จะส่งคืนคำสั่งซื้อทั้งหมดจากรายการรอดำเนินการ สัญลักษณ์ ibc. GetPendingList (0. เติม) - แสดงรายการที่คั่นด้วยเครื่องหมายจุลภาคของรหัสคำสั่งซื้อที่เติมทั้งหมด ibc. GetPendingList (0) - ส่งกลับรายการ orderIDs ทั้งหมดที่มีอยู่ใน listquot quoteType เพื่อแยกสัญลักษณ์ออกจากรายการใช้ประเภทของลูปนี้: (i 0 (สัญลักษณ์ StrExtract (สัญลักษณ์ i)) i) printf (Symbol: symbol n) execlist ibc. GetExecList (0. ) แสดงรายการคำสั่งทั้งหมดจาก executions page execinfo สำหรับ (i 0 (OId StrExtract (execlist, i)) i) execinfo execinfo OID Symbol: ibc. GetExecInfo (OID, Symbol) Filled: ibc. GetExecInfo (OID, เต็ม) เฉลี่ย ราคา: ibc. GetExecInfo (OID, ราคาถัวเฉลี่ย) n ฟังก์ชันนี้จะส่งกลับข้อความของสตริงข้อความข้อผิดพลาดล่าสุดที่แสดงข้อความแสดงข้อผิดพลาด ว่างเปล่าในกรณีที่ไม่มีข้อความแสดงข้อผิดพลาดหรือไม่มีคำสั่งดังกล่าว OrderId - ระบุรหัสคำสั่งซื้อเพื่อค้นหาข้อมูลข้อผิดพลาดล่าสุดจาก มีค่าพิเศษที่คุณสามารถส่งได้: 0 (ศูนย์) และมีความหมายพิเศษ: จะดึงข้อความผิดพลาดล่าสุดสำหรับคำสั่งซื้อใด ๆ ตรงนี้คือข้อความที่ปรากฏอยู่ด้านบนของรายการข้อผิดพลาดในส่วนติดต่อผู้ใช้ของ IBController GetStatus (สตริง OrderId. boolean แบบเติม InclFilled) ฟังก์ชันนี้เรียกสถานะของคำสั่งที่รอดำเนินการ สตริงที่อธิบายสถานะสามารถ: quotNotYetTransmittedquot, quotPreSubmittedquot, quotPendingquot, quotCancelledquot, quotSubmittedquot, quotFilledquot, quotErrorquot (new ใน 1.0.2), quotInactivequot หรือว่างเปล่าเมื่อไม่พบคำสั่งที่ตรงกันทั้งนี้ขึ้นอยู่กับเขตข้อมูล InclFilled สถานะบางอย่างไม่ต่อเนื่อง ถ้า InclFilled ไม่ได้ระบุหรือเท่ากับเท็จ (ศูนย์) จะมีการรายงานอย่างสม่ำเสมอสม่ำเสมอเพียง quotNotYetTransmittedquot, quotPendingquot, quotPreSubmittedquot, quotSubriedquot quot. Cancelledquot และ quotFilledquot สถานะไม่ต่อเนื่องเนื่องจากคำสั่งดังกล่าวจะถูกนำออกจากรายการสั่งซื้อที่รอดำเนินการภายในหนึ่งวินาทีนับจากยกเลิกการสั่งซื้อ (ซึ่งจะมีการเปลี่ยนแปลงในอนาคต) สถานะ quotErrorquot หมายความว่ามีข้อผิดพลาดระหว่างการประมวลผลคำร้องขอครั้งล่าสุดเพื่อจัดเรียงลำดับคำสั่งซื้อและคุณสามารถสืบค้นข้อมูลข้อผิดพลาดโดยละเอียดได้โดยใช้ฟังก์ชัน GetLastError ถ้ามีการตั้งค่า InclFilled เป็น True แล้วระบบจะรายงานสถานะของคำสั่งที่แสดงในรายการ quotExecutionsquot และนั่นหมายความว่าคุณจะได้รับ quotCancelledquot, quotFilledquot, quotErrorquot, quotInaquestquot อย่างสม่ำเสมอ หมายเหตุ: พารามิเตอร์ inclFilled ได้รับการแนะนำใน 1.0.8 แล้ว พารามิเตอร์: OrderId - สายอักขระระบุ orderID ที่ต้องการแก้ไข (ส่งคืนโดย PlaceOrder หรือ ModifyOrder ก่อนหน้านี้) GetPositionInfo (string Ticker. string Field) ฟังก์ชันนี้เรียกค่าของสัญลักษณ์ Field of Ticker ซึ่งปัจจุบันอยู่ในพอร์ตโฟลิโอการเปลี่ยนแปลงที่สำคัญใน 1.1.0 ฟังก์ชันจะไม่รายงานตำแหน่งที่มีศูนย์ขนาดอีกต่อไปค่าตัวเลขของฟิลด์ที่ต้องการสำหรับ Ticker Null ถ้าไม่มีฟิลด์หรือไม่มีตำแหน่งดังกล่าวพารามิเตอร์: Ticker - สตริงที่ระบุสัญลักษณ์ของ securitycontract สัญลักษณ์ควรเป็นไปตามสัญลักษณ์ที่กำหนดไว้ในรายละเอียดที่: amibrokerib. html ฟิลด์ - หนึ่งในชื่อคอลัมน์ที่พบในหน้า quotPortfolioquot ของ IB Controller ตัวอย่างเช่น quotAvg costquot ให้ต้นทุนเฉลี่ยของการซื้อของการรักษาความปลอดภัยที่กำหนด PNUquot quotUnrealized ทำให้กำไรที่ยังไม่เกิดขึ้นและการสูญเสีย ฟังก์ชันนี้เรียกคืนจำนวนหุ้นของสัญญาซื้อขายล่วงหน้าที่มีอยู่ในพอร์ตการลงทุนซึ่งเป็นตัวเลขที่ระบุขนาดตำแหน่งปัจจุบันของ Ticker ตัวเลขบวกหมายถึงตำแหน่งยาวจำนวนลบหมายถึงตำแหน่งสั้นศูนย์หมายความว่าไม่มีสัญลักษณ์ที่ระบุไว้ในพอร์ตข้อมูลพารามิเตอร์: Ticker - สตริงที่ระบุสัญลักษณ์ของ securitycontract สัญลักษณ์ควรเป็นไปตามสัญลักษณ์ที่กำหนดไว้ในรายละเอียดที่: amibrokerib. html IsConnected () ฟังก์ชันนี้จะเรียกคืนสถานะการเชื่อมต่อไปยัง TWS 0 - ไม่มีการเชื่อมต่อ 1 - กำลังเชื่อมต่ออยู่ระหว่างดำเนินการ 2 - หมายถึงการเชื่อมต่อ OK ไม่มีข้อความ 3 - การเชื่อมต่อตกลง แต่ TWS สร้างข้อความแจ้งเตือนบางอย่าง (ดูแท็บ quotMessages) IsOrderPending (สตริง OrderId) ฟังก์ชันนี้จะตรวจสอบว่ามีคำสั่งซื้อที่รอดำเนินการหรือไม่ ส่ง) True - ถ้าคำสั่งยังคงอยู่ในรายการที่รออยู่ False ถ้าคำสั่ง Filled ถูกยกเลิกหรือไม่มีคำสั่งดังกล่าวที่พารามิเตอร์ทั้งหมด: OrderId - สตริงที่ระบุ orderID ที่จะแก้ไข (ส่งคืนโดย PlaceOrder หรือ ModifyOrder ก่อนหน้านี้) แสดงรายการสัญลักษณ์ที่คั่นด้วยจุลภาคของตำแหน่งปัจจุบันที่เปิดอยู่ การเปลี่ยนแปลงที่สำคัญใน 1.1.0 ฟังก์ชันจะไม่รายงานตำแหน่งที่มีขนาดเป็นศูนย์อีกต่อไปรายการตำแหน่งที่เปิดและขนาดของพวกเขา ibc GetTradingInterface (IB) สำหรับ (i 0 (สัญลักษณ์ StrExtract (openpos, i)) i) printf (ตำแหน่ง i tSymbol: symbol tSize: ibc. GetPositionSize ) - แสดงรายการที่คั่นด้วยจุลภาคของคำสั่งจากรายการที่รอดำเนินการพารามิเตอร์: ประเภท - ระบุสิ่งที่ควรจะคืน 0 - ให้ ORDERIDs, 1 ให้รายการสัญลักษณ์ตัวกรอง - เมื่อไม่ว่างมันบอก IBc ที่เฉพาะคำสั่งที่มีสถานะที่ระบุควรจะส่งกลับเมื่อว่างเปล่า - คำสั่งซื้อทั้งหมดจากรายการรอดำเนินการจะถูกส่งคืน สัญลักษณ์ ibc. GetPendingList (0. รอดำเนินการ) - แสดงรายการที่คั่นด้วยเครื่องหมายจุลภาคของรหัสคำสั่งซื้อที่รอดำเนินการ IDs ibc. GetPendingList (1. รอดำเนินการ) - แสดงรายการที่คั่นด้วยจุลภาคของ SYMBOLS ที่มีคำสั่งที่รอการสั่งซื้อ ibc. GetPendingList (0. Error) - ส่งกลับรายการ ของ orderids ที่มีข้อผิดพลาดสัญลักษณ์ ibc. GetPendingList (0. ยกเลิก) - ส่งคืน ordersids ที่ถูกยกเลิก (โปรดจำไว้ว่าคำสั่งยกเลิกจะถูกลบออกจากรายการโดยอัตโนมัติหลังจากไม่กี่วินาที) สัญลักษณ์ ibc. GetPendingList (0. ) - ส่งคืนรายการ orderIDs ทั้งหมด ในการดึงสัญลักษณ์จากรายการใช้วงเล็บชนิดนี้: สำหรับ (i 0 (สัญลักษณ์ StrExtract (สัญลักษณ์, i)) i) printf (Symbol: symbol n) CloseAllOpenPositions (ไม่จำเป็น สตริง Ticker) (ใหม่ใน 1.0.8) ส่งคำสั่งซื้อเพื่อปิดสถานะที่เปิดอยู่ทั้งหมด ส่งคำสั่งซื้อ MARKET SELLBUY สำหรับแต่ละตำแหน่ง LONGSHORT ในหน้า Portfolio - ควรปิดตำแหน่งที่เปิดไว้ทั้งหมดอย่างถูกต้อง (โดยที่คำสั่งปิดจะเติมได้อย่างถูกต้อง) โปรดทราบว่าอาจเป็นเพราะคำสั่งปิดอาจล้มเหลว (เช่นเมื่อปิดตลาด ) ใหม่ใน 1.1.0: ตอนนี้ฟังก์ชั่นยอมรับพารามิเตอร์ตัวเลือก เมื่อมีการให้ฟังก์ชันจะปิดตำแหน่งเฉพาะในสัญลักษณ์ที่ระบุเท่านั้น หากไม่ได้ระบุไว้ - จะทำงานตามเดิม (ปิดตำแหน่งบนสัญลักษณ์ทั้งหมด) CancelAllPendingOrders (ตัวเลือกสตริง Ticker) (ใหม่ใน 1.0.8) ยกเลิกใบสั่งที่รอดำเนินการทั้งหมดส่งยกเลิกสำหรับแต่ละและทุกคำสั่งที่แสดงในหน้าคำสั่งซื้อที่รอดำเนินการ (ยกเว้นคำสั่งซื้อที่มีข้อผิดพลาด) ใหม่ใน 1.1.0: ขณะนี้ฟังก์ชันยอมรับพารามิเตอร์ที่เป็นตัวเลือก . เมื่อมีให้ฟังก์ชันจะยกเลิกคำสั่งซื้อเฉพาะของรหัสที่ระบุเท่านั้น หากไม่ได้ระบุไว้ - จะทำงานตามเดิม (ยกเลิกคำสั่งซื้อที่รอดำเนินการทั้งหมดบนสัญลักษณ์ทั้งหมด) (สตริง OrderID) (ใหม่ใน 1.0.8) ปรับเปลี่ยนการส่งแฟกซ์ในใบสั่ง NotYetTransmitted พารามิเตอร์: OrderID - สตริงระบุ orderid ที่ส่งกลับโดย PlaceOrder ส่งกลับค่าที่ไม่ใช่ศูนย์ (true) เมื่อมีการพบ orderid ในรายการสั่งซื้อรอการอนุมัติและศูนย์เป็นอย่างอื่น ไม่จำเป็นว่าการส่งผ่านจะประสบความสำเร็จ Transmit (orderid) ใช้เพื่อส่งคำสั่งที่วางไว้ก่อนหน้านี้พร้อมกับแฟล็กส่งให้เป็น false การส่งผ่านภายในจะถูกจัดการโดยการเรียกใช้ฟังก์ชัน quotmodify orderquot (ดังนั้นคุณจึงไม่จำเป็นต้องระบุพารามิเตอร์เดิมอีก) แต่โปรดทราบว่า TWS มีปัญหาในการจัดการคำขอแก้ไขที่เกิดขึ้นเร็วเกินไปดังนั้นคุณจะไม่สามารถเรียกใช้ modifytransmit immediatelly ได้หลังจากสั่งซื้อด้วยการส่งผ่าน เท็จ ในกรณีเช่นนี้เราขอแนะนำให้ใช้ทริกเกอร์ด้วยตนเองที่ช้าพอที่จะไม่ทำให้เกิดปัญหา ตัวอย่าง: ibc. Transmit (orderid) นี่คือฟังก์ชันการทดลอง ระงับการใช้งานสำหรับจำนวนมิลลิวินาทีที่ระบุ โปรดอย่าใช้ฟังก์ชันนี้เว้นแต่คุณจะต้องทำอย่างนั้นจริงๆ เพราะมันล็อคทั้ง IBController และ AmiBroker สำหรับช่วงเวลาที่กำหนดและโปรแกรมทั้งสองจะไม่ตอบสนองต่อการกระทำของผู้ใช้ (เช่นการป้อนข้อมูล mousekeyboard) หากคุณระงับการใช้งานเกินสองสามวินาที AmiBroker จะบ่นเกี่ยวกับเซิร์ฟเวอร์ OLE ที่ไม่ตอบสนอง ตัวอย่าง: ibc. Sleep (1000) sleep for 1000 milliseconds 1 second ล้างรายการที่ระบุไว้ ListNo สามารถ: 0 - รายการสั่งซื้อที่รอดำเนินการ 1 - รายการการดำเนินการ 2 - รายการพอร์ตโฟลิโอ 3 - รายการข้อมูลบัญชี 4 - รายชื่อข้อผิดพลาด -1 - ความหมายพิเศษ (ใหม่ใน 1.3.5) - ล้างรายการทั้งหมด ibc. ClearList (4) ล้างรายการข้อผิดพลาดโปรดทราบว่าฟังก์ชันนี้มีผลเฉพาะกับการแสดงเท่านั้น แต่จะไม่มีผลต่อสถานะคำสั่งซื้อ ดังนั้นหากคุณมีใบสั่งซื้อที่ใช้งานอยู่ใบสั่งซื้อที่มีการระบุไว้รายการ quotexecutionsquot จะถูกเติมด้วยคำสั่งซื้อที่ใช้งานอยู่ในระหว่างการอัปเดตสถานะครั้งต่อ ๆ ไป (โดยปกติจะเป็นเศษเสี้ยววินาที - ดังนั้นจึงอาจไม่เห็นได้ชัดเจน) นอกจากนี้ยังใช้สำหรับรายการข้อมูลพอร์ตโฟลิโอ - ระบบจะเติมข้อมูลใหม่ด้วยการอัปเดตบัญชีครั้งต่อไป - โดยปกติจะใช้เวลาไม่กี่วินาที SetAccount (บัญชีสตริง) (ใหม่ใน 1.1.0, เปลี่ยนเป็น 1.3.5) สิ่งสำคัญ: ฟังก์ชันการทำงานของฟังก์ชันนี้มีการเปลี่ยนแปลงในบัญชี 1.3.5 สำหรับบัญชี FA (ที่ปรึกษาทางการเงิน) เท่านั้น ตั้งค่าบัญชีที่ใช้งานสำหรับการเรียก PlaceOrder () ModifyOrder () ครั้งต่อไป โปรดทราบว่าขณะนี้ยังสามารถระบุบัญชีปลายทางได้โดยตรงผ่านทางพารามิเตอร์ที่ส่งผ่านไปยัง PlaceOrderModifyOrder แทนที่จะอาศัย SetAccount () SetAccount () จะไม่ลบรายการอีกต่อไปและจะไม่เปลี่ยนการดูบัญชีตามที่ได้ทำในเวอร์ชันก่อน 1.3.5 การล้างรายการการดำเนินการและรอดำเนินการมีปัญหาเนื่องจากเมื่อเปลี่ยนบัญชีข้อมูลเกี่ยวกับคำสั่งที่ส่งก่อนหน้านี้ในบัญชีอื่นจะสูญหายไปในบัญชี FampF SetAccount () ไม่ล้างรายการโดยอัตโนมัติ ถ้าคุณต้องการทำเช่นนี้คุณสามารถเรียก ClearList (-1) explicitely นอกจากนี้ฟังก์ชันนี้จะไม่เปลี่ยนบัญชีซึ่งจะแสดงในหน้าต่าง quotquantcount informationquot และ quotportfolioquot เมื่อต้องการเปลี่ยนบัญชีที่แสดงในหน้าข้อมูลใบเสนอราคาและแท็บ quotportectedquot ใช้ฟังก์ชัน SetInfoAccount ใหม่ () การแยกบัญชีการสั่งซื้อและการดูช่วยให้สามารถสั่งการคำสั่งซื้อไปยังบัญชีใดก็ตามที่มีการเปลี่ยนแปลงมุมมองใด ๆ ก็ได้นั่นคือคุณสามารถตรวจสอบบัญชี quotAllquot ซึ่งจะแสดงข้อมูลสะสมสำหรับบัญชี FampFFA ทั้งหมดหรือบัญชีอื่น ๆ ในขณะที่ทำการสั่งซื้อสำหรับบัญชีอื่น ๆ โดยค่าเริ่มต้นดูข้อมูลเป็นบัญชี quotALLquot และในกรณีส่วนใหญ่ไม่จำเป็นต้องเปลี่ยนแปลงเนื่องจากได้รับการปรับปรุงจากบัญชีย่อยทั้งหมด SetInfoAccount (บัญชีสตริง) (ใหม่ใน 1.3.5) ฟังก์ชันนี้จะเปลี่ยนบัญชีซึ่งจะแสดงในหน้าต่าง quotquantcount informationquot และ quotportfolioquot ไม่เปลี่ยนบัญชีที่ใช้สำหรับการสั่งซื้อ การแยกบัญชีการสั่งซื้อและการดูช่วยให้สามารถสั่งการคำสั่งซื้อไปยังบัญชีใดก็ตามที่มีการเปลี่ยนแปลงมุมมองใด ๆ ก็ได้นั่นคือคุณสามารถตรวจสอบบัญชี quotAllquot ซึ่งจะแสดงข้อมูลสะสมสำหรับบัญชี FampFFA ทั้งหมดหรือบัญชีอื่น ๆ ในขณะที่ทำการสั่งซื้อสำหรับบัญชีอื่น ๆ โดยค่าเริ่มต้นดูข้อมูลเป็นบัญชี quotALLquot และในกรณีส่วนใหญ่ไม่จำเป็นต้องเปลี่ยนแปลงเนื่องจากได้รับการปรับปรุงจากบัญชีย่อยทั้งหมด โปรดทราบว่า IB ใช้คีย์ย่อย quotAquot เพื่อกำหนดแอ็ตทริบิวต์ quotAllquot ซึ่งรวมบัญชีย่อยทั้งหมด ดังนั้นหากบัญชี FA ของคุณมีหมายเลข F1234 คุณจำเป็นต้องเพิ่มส่วนต่อท้าย quotAquot ลงไปเพื่อให้ได้ข้อมูลรวม: ปิดการเชื่อมต่อกับ TWS และเปิดใหม่อีกครั้งล้างรายการทั้งหมดและ requeries สำหรับคำสั่งซื้อที่รอดำเนินการ โดยทั่วไปจะให้ผลเช่นเดียวกับที่คุณจะทำได้โดยการยกเลิกและเรียกใช้อีกครั้ง IB Controller 1. การทำและส่งคำสั่งซื้อของตลาดสำหรับหุ้น 100 หุ้นเมื่อ MACD เคลื่อนตัวเหนือเส้นสัญญาณ: ซื้อ Cross (MACD (), Signal ()) ถ้า (LastValue (Buy)) ibc GetTradingInterface (IB) ตรวจสอบว่าเราได้เชื่อมต่อ OK หรือไม่ถ้า (ibc ตรวจสอบว่าเราไม่ได้เปิดตำแหน่งในสต็อกนี้แล้วหรือไม่ถ้า (ibc. GetPositionSize (Name ()) 0) ส่งคำสั่ง ibc. PlaceOrder (Name (), Buy 100. MKT 0. 0. วัน True) 2. การปรับเปลี่ยนคำสั่งซื้อตามราคาปัจจุบันด้วย 0.10 แต่ไม่ต้องส่ง (ต้องมีการส่งด้วยตัวเอง) รหัสนี้สามารถเรียกใช้หลายครั้งและจะแก้ไขคำสั่งที่มีอยู่ตราบใดที่ยังไม่ได้ส่ง ใช้ตัวแปรคงที่เพื่อเก็บ orderId จากครั้งล่าสุด ซื้อ L GT Ref (H -. 1) ซื้อเมื่อช่องว่างราคาขึ้นถ้า (LastValue (ซื้อ)) ibc GetTradingInterface (IB) ตรวจสอบว่าเราได้เชื่อมต่อ OK ถ้า (ibc. IsConnected ()) สั่งซื้อเฉพาะในกรณีที่เรายังไม่มีอยู่แล้ว ตำแหน่งที่เปิดอยู่บนสัญลักษณ์นี้ถ้า (ibc. GetPositionSize (Name ()) 0) ดึงข้อมูล orderID จากการทำงานก่อนหน้านี้จะว่างเปล่าถ้าไม่มีการสั่งซื้อก่อน OrderID StaticVarGetText (OrderID Name ()) หรือแก้ไขคำสั่ง - dont ส่งยัง OrderID ibc. ModifyOrder (OrderID ชื่อ () ซื้อ 100 LMT LastValue (C) 0.10 0. วัน False) เก็บ orderID สำหรับการดำเนินงานถัดไปเพื่อให้เราทราบว่าต้องการเปลี่ยนแปลง StaticVarSetText (OrderID Name (), OrderID) 3. การปรับตำแหน่งด้วยตนเองจากกล่องโต้ตอบพารามิเตอร์ รหัสที่จะใช้ในตัวบ่งชี้ตัวสร้าง (แก้ไขเพื่อใช้คุณลักษณะใหม่ใน 1.0.2) รหัสนี้สามารถเรียกใช้ได้หลายครั้งและจะแก้ไขคำสั่งซื้อที่มีอยู่ตราบเท่าที่ไม่มีการส่ง ใช้ตัวแปรคงที่เพื่อเก็บ orderId จากครั้งล่าสุด Param Parameter (การดำเนินการ BUYSELLSSHORT) OT ParamList (ชนิดของคำสั่งซื้อ MKTLMTSTP) TIF ParamList (Time In Force DAYGTCIOC) Ticker (การกำหนดเวลาการสั่งซื้อ) ParamStr (Ticker Name ()) NumShares Param (จำนวนหุ้น 10. 10. 100. 10) LimitPrice LastValue (C) Param (Limit Price ออฟเซ็ท 0.1, 0.1 0.1. 0.01) StopPrice LastValue (C) Param หยุดการชดเชยราคา 0, - 0.1 0.1. 0.01) ส่งผ่าน ParamToggle (ส่งไม่ส่งต่อ 0) TriggerCancel ParamTrigger (ยกเลิกคำสั่งซื้อคลิกที่นี่เพื่อยกเลิกคำสั่งซื้อ) Msg ตัวแปรนี้เก็บข้อความผิดพลาดสร้างอินสแตนซ์ของอินเทอร์เฟซการค้า ibc GetTradingInterface (OrderCID) ถ้า (TriggerOrder) ตรวจสอบว่าเราได้เชื่อมต่อ OK ถ้า (ibc. IsConnected ()) if (Mode 1) OrderID i f ตั้งค่าใหม่เสมอแล้วสั่งซื้อ orderid อย่างชัดเจนเฉพาะในกรณีที่เรายังไม่ได้เปิดตำแหน่งในตำแหน่งสัญลักษณ์นี้หรือแก้ไขคำสั่ง - อย่าส่งยัง OrderID ibc. ModifyOrder (OrderID, Ticker, ACT, NumShares, OT, LimitPrice, StopPrice , TIF, Transmit) จัดเก็บ orderID สำหรับการเรียกใช้ครั้งต่อไปเพื่อให้เราทราบว่าคำสั่งใดที่จะปรับเปลี่ยน StaticVarSetText (OrderID Ticker, OrderID) ถ้า (Mode 1) Msg คำสั่งซื้อใหม่ถูกวางไว้กับ ID อื่น Msg Order ถูกปรับเปลี่ยนด้วย ID Msg Msg OrderID ใน Now () อื่น ๆ การสั่งซื้อการส่งคำสั่งซื้อล้มเหลวเนื่องจากไม่มีการเชื่อมต่อกับ TWS ถ้า (TriggerCancel) ถ้า (OrderId) ถ้า (ibc. CancelOrder (OrderId)) การร้องขอ Msg เพื่อยกเลิกคำสั่ง OrderID ที่ส่งเรียบร้อยแล้ว Msg Request เพื่อยกเลิกคำสั่ง OrderID ล้มเหลว อื่น ๆ Msg ไม่สามารถยกเลิกคำสั่งได้เนื่องจาก OrderID ว่างเปล่า execlist ibc. GetExecList (0. ) execinfo ทั้งหมดสำหรับ (i 0 (OId StrExtract (execlist, i)) i) execinfo execinfo OID Symbol: ibc. GetExecInfo (OID, Symbol) Filled: ibc. GetExecInfo (OID, เต็ม) เฉลี่ย ราคา: ibc. GetExecInfo (OID, ราคาเฉลี่ย) n รหัสการตรวจสอบชื่อเรื่อง Msg nLast ข้อความ TWS: ibc. GetLastError (0) nAvailable funds: ibc. GetAccountValue (AvailableFunds) Gross Pos Value: ibc. GetAccountValue( GrossPositionValue ) nOrderID OrderId nTicker Ticker nAction ACT nShares NumToStr (NumShares, 1.0 ) nOrderType OT nLimitPrice NumToStr (LimitPrice, 1.3 ) nStopPrice NumToStr (StopPrice, 1.3 ) nTimeInForce TIF nTransmit NumToStr (Transmit, 1.0 ) n nGetStatus ibc. GetStatus( OrderID ) nGetPositionSize ibc. GetPositionSize( Ticker ) nIsConnected NumToStr (ibc. IsConnected(), 1.0 ) nExecInfon execinfo 4. Placing bracket order create instance of trading interface ibc GetTradingInterface ( IB ) parentID ibc. PlaceOrder( MSFT. BUY. 1000. LMT. 27. 0. GTC. False ) ibc. PlaceOrder( MSFT. SELL. 1000. LMT. 28. 0. GTC. False . 100. . parentID ) ibc. PlaceOrder( MSFT. SELL. 1000. STP. 26. 26. GTC. True . 100. . parentID ) Note that TRANSMIT flag is set to FALSE on all bracket orders except the last one. This ensures that orders wait until bracket order set is completed. Setting Transmit flag to TRUE on the very last one transmits entire bracket. 5. Iterating through open positions: ibc GetTradingInterface ( IB ) for ( i 0 ( symbol StrExtract ( openpos, i ) ) i ) printf ( Position i tSymbol: symbol tSize: ibc. GetPositionSize( symbol ) n ) 6. Placing OCA group orders: ibc. PlaceOrder( MSFT. SELL. 1000. LMT. 28. 0. GTC. True . 100. . 0. MYGROUP ) ibc. PlaceOrder( MSFT. SELL. 1000. STP. 26. 26. GTC. True . 100. . 0. MYGROUP ) 1) Why IBController has BETA status The reason is simple - because it relies on IB API we have no control upon. You need to be aware of the fact that Interactive Brokers may and actually do change TWS and API quite often and any future changes in the APITWS may produce incompatiblities without any warning. We try to adjust IBController as soon as such incompatibilities surface, but we can only do that quotafter the factquot. Due to this there can be periods when IBController does not work properly with certain version(s) of TWS. That is the only reason why IBController is marked as BETA. 2) What exactly is the OrderID, where is the number stored How does it increment Can we assign our own OrderIDs OrderID is a string that represents the unique order number that is assigned by IB Controller (for orders placed via IB Controller) or TWS (for orders placed in TWS) when you place the order. It is automatically incremented on each NEW order. The implementation takes care that generated ID is unique for given session of TWS. You should NOT assign your own IDs because you may risk generating duplicates that will be rejected by TWS. 3) The IB Interface contains a lot of useful information, can we access this information in afl GetAccountValue() function (introduced in 1.0.2) allows that. 4) IMPORTANT. During development i often quotlosequot my connection to the TWS and cannot get it going again. Under what conditions candoes this happen This is probably caused by placing ModifyOrder calls too often so TWS is not able handle them and sends error messages (quotUnable to modify this order as its still being processedquot) and it results in IsConnected() returning false. This should be addressed by next version. If such thing happens you can simply close IB Controller window. 5) Is it possible to read IB LastBifAsk prices while running a eSignal database Right now there is no access to price data via IBController but maybe in the future 6) Why do we have a PlaceOrder() and a ModifyOrder(), if ModifyOrder can be used in both cases Just for completeness. Indeed ModifyOrder alone would be enough. 7) Can we retrieve the quotExecutionsquot and quotPendingquot page (string) from the IB Controller window, for display on the chart Pending - yes you can retrieve the status of the order while it is on quotPendingquot page using GetStatus. As for quotexecutionquot tab - as it is already described in the read me this is in the works. 8) It appears the startup sequence of TWS and AB is significant, is it Not actually TWS and AB - they are independent. But what is important to run TWS before running IB Controller. If you however have your trading code in indicator then it may be auto-refreshed at AB start and in this individual case you would need to run TWS before AB. Anyway if something fails you can simply close IB controller window and it will re-open automatically and reconnect on next call to GetTradingInterface. 9) When the TWSAB connection is broken during trading, what is the best way to restore it Close IB Controller manually. It will re-open automatically and reconnect on next call to GetTradingInterface. 10) What is the consequence of repeated PlaceOrder() or ModifyOrder() execution due to AB Refresh What happens when, instead of using Cross() with use quotgtquot or quotltquot Franly auto-trading interface is NOT indented to be used in indicators. It is intended to be used in AA window. But if you prefer to run it in IB you can do this too, but then you should check pending orders and check portfolio position size for given symbol not to buy too many shares. To answer your question: multiple PlaceOrder calls will result in multiple orders placed. Multiple ModifyOrder() calls may result in the same (if OrderID is empty) or may just result in updating the values of already exisiting, pending order if you specify correct OrderID of order placed before (see the example 2.) 11 ) A quotclearquot Message button would be nice in the IBc window, i have to scroll down continuously to see the latest message (perhaps last-on-top scrolling) It is already available in version 1.0.2 12) What is the best way to write a single-(user initiated)-execution line of code. this is where the ParamTask() i suggested earlier would come in handy. Use new AFL ParamTrigger function ParamTrigger( quotNamequot, quotButton textquot) - to be used in indicator builder - to create triggers (buttons). If you place ParamTrigger in the indicator code it will create a quotbuttonquot in Parameter dialog that can be pressed. Normally ParamTrigger will return zero (0) but when button in the param window is pressed then it will refresh the chart and ParamTrigger will return 1 (one) for this single execution (further refreshes will return zero, until the button is pressed again) trigger ParamTrigger ( Place Order. Click here to place order ) if ( trigger ) your one-shot code here 13) When placing orders from an indicator (the thing to do in RT trading) and editing the code will result in additional afl executions, how can i prevent randon order placement from the extra passes Parameters and Signals may not be the same as a result of using loops, DLLs, and things. Use static variables as given in example 2 to MODIFY existing order instead of placing many new orders. Or use code given in response to question 10 14) I got an warning from TWS that is treated as error in Pending list. How can I solve that You can put specific TWS code onto quotIgnore listquot (use File-gtError code ignore list to enter codes in comma separated list). Any code entered here will be ignored by Pending List page, but still will be displayed in the messages window. 15) some message in the IBc are not clearprecise in their meaning. Well these messages come from TWS and I have no influence on their wording :-) CHANGES FOR VERSION 1.3.8 removed the workaround introduced in 1.3.5 for symbol translation because it caused problems for symbols like 6EU0-GLOBEX-FUT where symbol is not equal to local symbol less expiration code (EUR vs 6E). Instead symbol translation now relies solely on method introduced in 1.3.6 CHANGES FOR VERSION 1.3.7 GetPositionList() returned empty symbol part for non-stocks. Fixed PlaceOrder failed on Financial advisor accounts when non-master Account was passed in a parameter without preceding SetAccount call. Fixed. CHANGES FOR VERSION 1.3.6 IBController now uses more reliable way to translate from local symbol to TWS symbolexpiry pair based on information sent back by TWS. (It is not as simple as one may think because sometimes local symbol does not contain TWS symbol, so one can not derive TWS symbol from local symbol in general case, for example FESX SEP 10 local symbol translates to ESTX50,20100917, therefore IBController needs to get info from TWS) CHANGES FOR VERSION 1.3.5 New SetInfoAccount( account ) This function changes the account which is displayed in the quotaccount informationquot window and quotportfolioquot tabs. It does NOT change account used for orders. Separation of order and viewing accounts allows directing orders to any account withing changing any views, i. e. you can monitorview quotAllquot account - that displays cumulative information for all FampFFA accounts or any other account while placing orders for other accounts. By default viewing information is the quotALLquot account and in most cases there is no need to change it as it receives updates from all sub-accounts. To workaround recent change in TWS, for futures (FUT) symbol field is set by IBController as localsymbol without expiration monthyear. This is temporary workaround which may be broken by other TWS releases. Tested to work with TWS 907.7Pending OrdersExecutionsPortfolioAccount info tabs now have additional command quotAccountquot that specifies the account given item refers toPlaceOrder and ModifyOrder now accept optional Account parameterThis allows to specify destination account for order for FampFFA IB accounts in single call, instead of relying on SetAccountPlaceOrder sequence. Single-call PlaceOrderModifyOrder with account specification allows to specify account without worrying that other threadsprocesses can switch the account between SetAccount() and PlaceOrder(). Now SetAccount() only sets account for NEXT order(s). It does NOT clear lists anymore and does NOT change viewing accountClearing execution and pending list was problematic because when switching accounts the information about previously sent orders on different account was lost on FampF accounts. So SetAccount() does not clear lists automatically. If you want to do this, you can call ClearList( -1 ) explicitely. Also this function does NOT change the account which is displayed in the quotaccount informationquot window and quotportfolioquot tabs. To change account displayed in the quotaccount informationquot page and quotportfolioquot tabs use new function SetInfoAccount(). Separation of order and viewing accounts allows directing orders to any account withing changing any views, i. e. you can monitorview quotAllquot account - that displays cumulative information for all FampFFA accounts or any other account while placing orders for other accounts. By default viewing information is the quotALLquot account and in most cases there is no need to change it as it receives updates from all sub-accounts. ClearList() method accepts -1 as listno - then it clears ALL lists CHANGES FOR VERSION 1.3.2 fixed compatibility issues with TWS version 904 CHANGES FOR VERSION 1.3.1 added configuration file to support AmiBroker 5.30 trading from chart functionality CHANGES FOR VERSION 1.3.0 added GetExecList and GetExecInfo functions. CHANGES FOR VERSION 1.2.1 The IBc now accepts new symbology convention with 4th part defining currency: SYMBOL-EXCHANGE-TYPE-CURRENCY. When currency is not specified USD is used as default. For more info see amibrokerib. html The IBc also accepts single letter type codes CHANGES FOR VERSION 1.2.0 IBc now allows to define which error codes should be ignored using File-gtError code ignore list upgraded to use latest TWS API 9.41 (tested with latest TWS 885.7, requires at least 879) following TWS API changes ignoreRth and rthOnly flags are removed and replaced with single flag: outsideRTH Quote from TWS DOC interactivebrokersensoftwareapiReleaseNotesapi94.phpibentityllc quotOutsideRTH Flag Replaces quotIgnore Regular Trading Hoursquot and quotRegular Trading Hours Onlyquot Flags Supported in: All API Platforms A new, single order atttibute, bool OutsideRTH(), replaces two flags: ignoreRTH and rthOnly in the Order classstruct. If set to true, this new extended order attribute allows orders to trigger or fill outside of regular trading hours. quot CHANGES FOR VERSION 1.1.1 primaryExchange is now set to empty. This solves quotinvalid symbolquot problem occuring for some accounts during last 2 weeks following apparent changes in IB. CHANGES FOR VERSION 1.1.0 Added handling of error codes 2100, 1100, 1101, 1102, 1300 Financial advisor Account support (FC Issue 69) : Added FA-only fields to PlaceOrderModifyOrder When run on FA account IBc automatically queries for account list and uses quotAllquot account by defaultGetAccountValue now allows to query values separately for each currency. Currency specific values are available using this syntax: CURFieldName where CUR is currency symbol for example: USDAvailableFunds EURAvailableFundsWhen currency is NOT specified IBc first looks for values specified in BASE currency and if not found then uses USD as default, so you can use old-style GetAccountValue(quotAvailableFundsquot) and it will return the same as GetAccountValue(quotUSDAvailableFundsquot) - because there available funds are not specified in base currency. If you however call GetAccountValue(quotTotalCashBalancequot) it will report in BASE currency and it may be different from GetAccountValue(quotUSDTotalCashBalancequot) which will represent USD cash only. Differences will occur if you have cash positions in many currencies so quotbasequot currency shows gross total of all positions in all currencies as if they were exchanged into base currency. added limit of error messages to be displayed (File-gtConfigure)added re-querying for positions after reconnectan option to restartreconnect (File-gtReconnect), new method Reconnect()CancelAllPendingOrders( optional Ticker ) now CancelAllPendingOrders method takes optional parameter Ticker. If it is specified - it cancels orders only for specified symbol. If it is NOT specified - it cancels all orders for ALL symbols. ClearList( iListNo ) method added ClearList( ListNo ) where ListNo can be: 0 - pending order list 1 - execution list 2 - portfolio list 3 - account information list 4 - error message listibc. ClearList( 4 ) clears error message list Note that this function only affects the display, it does NOT affect the status of orders. So if you have any active orders the quotpending ordersquot, quotexecutionsquot lists will be re-filled with currently active orders during next status update (usually within fraction of second - so it may not be visually noticeable) It also applies for portfolio and account information lists - they will be re-filled with next account update - usually within few seconds. CloseAllOpenPositions( optional Ticker ) now CloseAllOpenPosition method takes optional parameter Ticker. If it is specified - it closes positions only for specified symbol. If it is NOT specified - it closes all positions. exchange is reported correctly for non-US stocks in Portfolio pageGetPositionList() - returns only symbols with positions ltgt 0OCA groups support added to PlaceOrderModifyOrderuser-definable port and IP number (File-gtConfigure)SetAccount( AccNo ) - for FA accountsWarning 2107 (Historical Market Data Service inactive) and 2104 (market data OK) is silently ignored now CHANGES FOR VERSION 1.0.8 GetStatus() function now has optional parameter InclFilled GetStatus( string OrderId, optional boolean InclFilled ) when InclFilled is provided and set to true GetStatus function provides statuses for filled, cancelled and error orders that may have been already deleted from pending list. TimeInForce field in PlaceOrderModifyOrder allows now to specify quotGood Till Datequot and quotGood After Timequot datetimes)TimeInForce field in PlaceOrderModifyOrder accepts GTD and GAT specifications GTD - Good Till Date - indicates that the order should remain workign untilthe time and date set. Good Till Date specification GTD YYYYMMDD HH:MM:SS TZONE where: YYYY is 4 digit year, MM is 2 digit month, DD is 2 digit day, HH is 2 digit hour, MM is 2 digit minute, SS is 2 digit second (OPTIONAL), TZONE is time zone (OPTIONAL) After regular TimeInForce specifications (DAY, GTC, GTD) you may add extraGoodAfterTime (GAT) part. GAT part comes AFTER semicolon. It indicates thattrade should be submitted after the time and date set: GAT specifications: DAYGAT YYYYMMDD HH:MM:SS TZONE - day order valid after specified datetime GTCGAT YYYYMMDD HH:MM:SS TZONE - good till canceled order valid after specified time GTD yyyymmdd hh:mm:ss tzoneGAT YYYYYMMDD HH:MM:SS TZONE - GTD order valid after specified time where: YYYY is 4 digit year, MM is 2 digit month, DD is 2 digit day, HH is 2 digit hour, MM is 2 digit minute, SS is 2 digit second (OPTIONAL), TZONE is time zone (OPTIONAL) Note: there must be NO SPACE characted between semicolon and GAT string. ibc. PlaceOrder( MSFT. BUY. 100. LMT. 27. 0. DAYGAT 20051214 18:00:00 GMT. True ) - day limit order good after Dec 14,2005, 18:00 GMT ibc. PlaceOrder( MSFT. BUY. 100. LMT. 27. 0. GTD 20051215 17:00:00 GMTGAT 20051214 18:00:00 GMT. True ) - limit order valid from Dec 14,2005 18:00 to Dec 15,2005 17:00 GMT ibc. PlaceOrder( MSFT. BUY. 100. LMT. 27. 0. GTD 20051215 19:00:00 GMT. True ) - limit order valid from now until Dec 15,2005 19:00 GMT Portfolio page should now display correct exchange for futures (now it uses reqContractDetails to query for exchange string that is not sent via accountUpdates by TWS) new Transmit( orderID ) method Transmit( string orderid )- returns non-zero (true) when orderid has been found on the pending order listand zero otherwise. It does not necesarily mean that transmit was successful. Transmit( orderid) is used to transmit orders previously placed with transmit flag set to false. Transmit internally is handled by calling quotmodify orderquot function (so you dont need to specify the same parameters again) but note that TWS has problems with handling modify requests coming too quickly, so you will NOT be able to call modifytransmit immediatelly after placing order with transmit false. In such cases we recommend using manual trigger that is slow enough not to cause problems. GetPositionList() method added - returns comma separated list of currently open positionslist of open positions and their sizes ibc GetTradingInterface ( IB ) for ( i 0 ( symbol StrExtract ( openpos, i ) ) i ) printf ( Position i tSymbol: symbol tSize: ibc. GetPositionSize( symbol ) n ) GetPendingList( Type, Filter ) - retrieves comma-separated list of orders from pending listwhere: Type - specifies what should be returned 0 - gives ORDERIDs, 1 gives symbol lists Filter - when not empty it tells IBc that only orders with specified status should be returned when empty - all orders from pending list are returned. symbols ibc. GetPendingList( 0. Pending ) - returns comma separated list of pending order IDs symbols ibc. GetPendingList( 1. Pending ) - returns comma separated list of SYMBOLS that have pending orders symbols ibc. GetPendingList( 0. Error ) - returns list of orderids that have errors symbols ibc. GetPendingList( 0. Cancelled ) - returns cancelled orderids (please keep in mind that cancelled order are automatically removed from the list after few seconds) symbols ibc. GetPendingList( 0. ) - returns list of all orderIDs present in the quotpending listquot (may be pendingerrorcancelledpartially filledsubmitted, etc) added experimental Sleep() methodSleep( number Milliseconds ) - suspends the execution for specified number of milliseconds. Please do NOT use this function unless you really have to, because it locksboth IBController and AmiBroker for specified period of time and both applicationswont respond to user actions (such as mousekeyboard input). If you suspendexecution for more than few seconds AmiBroker will complain about OLE server not responding. added CloseAllOpenPositons(), CancelAllPendingOrders methods and Panic buttonCloseAllOpenPositions() method - sends MARKET SELLBUY order for each and every LONGSHORT position in the portfolio page - should effectively close all open positions (provided that closing orders will fill correctly), note however that it may happen that these closing orders may fail (for example when markets are closed) CancelAllPendingOrders - sends cancel for each and every order displayed in the Pending orders page (with the exception of orders with Errors) Panic button in the toolbar - sends CancelAllPendingOrders() and then CloseAllOpenPositions() Bracket orders support. PlaceOrder and ModifyOrder methods have two additional optional parameters: Attributes and ParentIDPlaceOrder( string Ticker, string Action, number Quantity, string Type, number LimitPrice, number StopPrice, string TimeInForce, bool Transmit, optional number TickSize 100, optional string Attributes quotquot, optional string ParentID quotquot Attributes - is a string that allows to specify additional order attributes (comma separated list). Supported attributes: rthOnly - (OBSOLETE NOW in 1.2.0) if specified means that the order will only be filled during RTH this applies to any order type including limit. ignoreRth - (OBSOLETE NOW in 1.2.0) if specified means that order will trigger not only during Regular Trading Hours (RTH), but also in extended trading (preafter market) this applies to stop orders, conditional orders, and alerts it is used by the triggering logic. If not specified (false) orders will trigger ONLY during RTH. allOrNone - fill all or nothing at all eTradeOnly - tra de with electronic quotes only firmQuoteOnly - trade with firm quotes only By default all those flags are INACTIVE (OFF) Example: ibc. PlaceOrder( MSFT. ซื้อ. 1000. LMT. 27. 0. GTD 20051215 19:00:00 GMT. True . 100. allOrNone ) (Note that optional parameter TickSize MUST be specified if you want to use Attributes) ParentID - is a string that specifies parent order identifier (returned by previous PlaceOrder call) allowing you to place BRACKET orders. parentID ibc. PlaceOrder( MSFT. BUY. 1000. LMT. 27. 0. GTC. False ) ibc. PlaceOrder( MSFT. SELL. 1000. LMT. 28. 0. GTC. False . 100. . parentID ) ibc. PlaceOrder( MSFT. SELL. 1000. STP. 0. 26. GTC. True . 100. . parentID ) now IBController does not require API installation CHANGES FOR VERSION 1.0.6 re-compiled with TWS API 8.41 BETA CHANGES FOR VERSION 1.0.5 fixed problem with GetPositionSize() reporting zero for SMART routed symbols in 1.0.4 CHANGES FOR VERSION 1.0.4 fixed symbology used in Order, Status and Porfolio pages so now futures and currencies work nicely added optional TickSize parameter that defines minimum price fluctuation allowed for given symbol (expressed in pips, i. e. 0.0001). For stocks usually 100 (i. e. 0.01), for Forex: 1. automatic reconnect implemented - IBc now attempts to reconnect to IB every 5 seconds when case connection is lost or IB has crashed and was restarted Now works with quotFire OpenOrder on status changequot setting turned off as well as turned on. Order once marked with quotErrorquot status keeps last error message CHANGES FOR VERSION 1.0.3 compiled with TWS API 8.30 added GetPositionInfo method added unlock code dialog (File-gtEnter Unlock code). IBController by default does not transmit orders automatically. Transmission can be enabled by entering unlock code that is made available to the user after accepting the agreement. CHANGES FOR VERSION 1.0.2 IBC: Now pending order list features new status code quoterrorquot and new column: Last error IBC: New toolbar button: auto-cancel orders with errors - when turned on, all orders with errors are cancelled automatically IBC: Error messages now show order id and error code IBC: Repeating messages are now displayed once with appropriate repeat count and last update time IBC: Most recent error messages now appear on the top of the quotmessagequot list, so you dont need to scroll IBC: quotDuplicate order IDquot problem solved Now when TWS sends quotduplicate orderquot message, appropriate order line is marked in IB Controlled as quoterrorquot and such order ID is no longer used. When new ModifyOrder is placed then new order id will be assigned IBC: GetAccountValue function in IB interface CHANGES FOR VERSION 1.0.1 CancelOrder() removes quotNotYetTransmittedquot orders from the pending list IsConnected() funcition now returns integer values 0..3 (not bool) Clear Messages toolbar button added CHANGES FOR VERSION 1.0.0 HOW TO REPORT BUGS If you experience any problem with this beta version please send detailed description of the problem (especially the steps needed to reproduce it) to bugs at amibrokerMajin escribi: Tengo un indicador buenissimo. el ADX con Sound Alert. pero tiene un pequeo fallito. En vez de sonar cuando sale la bolita pertinente del cruce. lo que hace este es sonar en ese momento y ademas no dejar de sonar conforme sube y baja la vela. Esta constantemente. quottiririnquot quottiririnquot quottiririnquot quottiririnquot quottiririnquot quottiririnquot quottiririnquot quottiririnquotquottiririnquot quottiririnquot quottiririnquot Alguien seria tan amable de revisar el codigo fuente y reparar ese minimo error FXWizard escribi: Hola sanfer, prueba con este indicador para Metatrader, permite generar seales sonoras cuando dos medias se cruzan. No obstante te recomiendo que mires los parmetros dentro del cdigo para saber a qu corresponde exactamente cada uno. Majin escribi: A alguien le apetece prgramar las Stochastic de tal forma que cuando las MA de las Stochastic se cruzan entre 8090 y 1020 haga un sonido de alerta para comprarvender Opino que es lo unico que le falta jeje. ese detallito. Saludos y Muchas Gracias. Pues justamente me he encontrado hoy un indicador que hace eso, lo pongo adjunto por aqu aunque est en formato ex4 Majin escribi: Bueno. aqui os presento un indicador de noticias CON SOUND ALERT DarthHunter escribi: Majin, aqui te dejo otra clase de indicador de noticias, este no te hace quot beep quot, pero si te indica las noticias que se presentaran durante el dia. Espero te sea de utilidad hvfour escribi: A m tambin me ha gustado, . uno que nos indica el patrn de velas con alarma . hvfour escribi: A m tambin me ha gustado, . nos avisa de las noticias de impacto. jolodo escribi: Hola. xa las salirse del mercado, en vez de usar el siguiente cruce de las EMAS, yo usara el cruce de dos QQE, explico: Con el indicador q QQe q se puede encontrar en el foro, lo adjuntamos al grfico, configuramos el 1er QQE, en smoothing ponemos 60, y los colores, el primero lo ponemos en azul y los otros dos del color del fondo de pantalla xa q no aparezcan, luego adjuntamos a este QQE el 2 QQE( con smoothing de 30, y en colores el primero en rojo, y los otros dos del color del fondo xa q no aparezcan en el grfico). Entonces, cuando entramos en el mercado esperamos a q estas dos lineas se crucen y cerramos la operacin, con muxos ms pips de beneficio q si cerraramos con el cruce d las emas. es muy fcil. Creo q este indicador lo puedes encontrar en el foro, yo lo descargu de ak y es buensimo. La estrategia est muy bien x lo q veo. X cierto, q SL utilizas Saludos Hola, gracias por el aporte. Lo veo interesante. A ver si tengo tiempo y hago el mismo backtesting del Eurusd saliendo con el cruce del QQE. Lo que he visto de primeras es que da salidas muy buenas. pero tambien corta als tendencias largas que es lo que le da vida a esta estrategia. Ser cuestion de ver que forma es mas beneficiosa. He encontrado el indicador, es este : ltima edicin por feznandoo el 06 Mar 2010, 00:17, editado 52 veces en total liam7712 escribi: Buenas querria pedir un indicador muy simple pero yo no se programar, lo unico que deseo es en el metatrader 4 poder ver las horas de diferentes paises. por ejemplo en la esquina superior izquierda. por ejemplo algo as: GMT 00:00 ESPAA 2:00 LONDRES 1:00 NEW YORK 18:00 TOKYO. ETC. Yo ya luego lo modificaria con las ciudades que me interesan que mas o menos son esas jijijiji gracias de antemano. Cierra todas las posiciones abiertas cuando se alcanza una ganancia de XX unidades monetarias. GasLimon escribi: buff pues vaya. y que hace supuestamente porque lo he puesto y no hace nada, o mejor dicho, no veo nada Hola Gaslimon, hoy con mas tiempo pude comprobar que el indicador que te recomende las instrucciones son algo complejas, ademas encontre otra info del foro original de metatrader que te puede servir, mira: How to Change the Time Reference 00:00 of MT4 to my country time metatrader4forum89 Mira este es un indicador te puede servir: Muestra el tiempo que queda para el inicio de la prxima vela, la hora del broker, de Tokyo, Londres, Nueva York, la hora GMT. lebanen escribi: Hola Fxwizard me podrias ayudar a encontrar un indicador para metatrader que marque las aperturas de los dias de esta forma. porfavor si alguien me puede colaborar con esto estaria muy agradecido Lebanen prueba estos dos indicadores de sesion si se ajusta a lo que buscas. Los baje de forex-tsd, lo uso sin ningun problema. El indicador quoti-SessionsLnquot donde te pinta cuadrados verdes es la sesion del momento, cuando ambas sesiones se superponen aparecen negro. El indicador quotTrading Session vLinesquot la primera linea es la apertura de londres, la segunda linea es el inicio de sesion americana de forex, tercera linea es la finalizacion de la bolsa de londres. Configuralo segun al horario GMT porque segun eso te guias facil en las aperturas claves. lebanen escribi: Hola Fxwizard me podrias ayudar a encontrar un indicador para metatrader que marque las aperturas de los dias de esta forma. porfavor si alguien me puede colaborar con esto estaria muy agradecido Lebanen prueba estos dos indicadores de sesion si se ajusta a lo que buscas. Los baje de forex-tsd, lo uso sin ningun problema. El indicador quoti-SessionsLnquot donde te pinta cuadrados verdes es la sesion del momento, cuando ambas sesiones se superponen aparecen negro. El indicador quotTrading Session vLinesquot la primera linea es la apertura de londres, la segunda linea es el inicio de sesion americana de forex, tercera linea es la finalizacion de la bolsa de londres. Configuralo segun al horario GMT porque segun eso te guias facil en las aperturas claves. Crisaor escribi: Hola a todos. Mirando graficas de compaeros. me he dado cuenta de que algunos tienen, en la ventana del grrafico, una linea que les indica cuanto tiempo queda para el cierre de vela del TF en el que se encuentra. Me podeis indicar donde podra conseguir el archivo para tenerlo yo tb, o si hay algun sitio donde haya informacin para hacerlo (programarlo ) yo mismo.. No tengo miedo a leer y leer y leer.. Un saludo todos y gracias por adelantado. Mi plataforma es MT4. Mira a ver si te sirve el indicador adjunto sistecno escribi: se trata de un indicador el cual te colorea las velas ya sea de color rojo o verde en funcion de que coincida con la zona de sobrecompra o sobreventa en el estocastico. Est configurado para stocastico 9.3.3 y niveles 80 de sobrecompra y 20 para sobreventa. Eso se puede cambiar. Espero que le sirva a alguien. Edgardofx escribi: Hola a Todos. Aqui os dejo un indicador para ver el spread en vuestra plataforma Mt4 y as comparar cual es la mejor opcion segn broker. Y aprovecho para pasaros una web donde podis descargar una demo mt4 con muy buenos spreads y comision 0. Es la que yo ahora estoy usando y estoy tranquilo en todos los sentidos con este broker. Espero haber aportado algo de ayuda a esta comunidad. bolsaangel escribi: Este indicador es muy bueno para ver como se comportas las monedas unas contra otras. Echadle un vistazo yo lo que ago es verlo en 5 minutos y cuando veo que el eurusd esta muy separado del gbpusd (sobre unos 100 pips o -) compro o vendo segun vea. Es muy sencillo de interpretar espero que os sirva un saludo. damuro escribi: Bueno, ya est. Aqu lo tienes. Te explico cmo funciona: Es un EA (ya sabes dnde ubicar el archivo). Esto quiere decir que has de usarlo en un grfico donde NO haya otro EA . Has de abrir una orden pendiente (BUYSELL STOPLIMIT). El EA la capturar y se preparar para colocar una orden A MERCADO (inmediata) en el sentido (COMPRAVENTA) de la que t has dejado pendiente. Adems inmediatamente eliminar esa orden pendiente. De la orden pendiente el EA tomar el STOP LOSS y el TAKE PROFIT si los pones. Tomar los pips de diferencia entre el precio de la orden y el SL o TP fijados y luego se lo aplicar al precio en la apertura de la siguiente vela. IMPRESCINDIBLE. Al introducir la orden pendiente has de asegurarte que como COMENTARIO de la orden pones lo mismo que est fijado en el parmetro quotComentarioquot del EA (una X por defecto). Este comentario has de escribirlo exactamente igual (con maysculasminsculas). Es el parmetro por el que el EA reconocer una orden que hayas dejado para l. Puedes configurar el Slippage mximo (por defecto 3) en los parmetros del EA. Adems has de tener en cuenta:Has de introducir la orden pendiente al menos 30 segundos antes del cierre de la vela, ya que a veces si el MT4 est muy cargado de grficos, indicadores y EAs, a nuestro EA le tomar unos cuantos ticks reconocer la orden. No es problema del EA es un problema conocido de MT4. Al fijar el precio de la orden pendiente ten en cuenta el tiempo que le llevar al EA reconocerla, porque si lo pones muy ajustado al precio actual es posible que en los segundillos que le tome al EA reconocer la orden pendiente, el precio te alcance y entonces tu orden pendiente se ejecutar y el EA no har nada. El SL, TP y Slippage tienen que respetar los requisitos de tu brokerpar, sino la orden que coloque el EA dar error y no se ejecutar. Bueno, prubalo (en demo claro ) y me cuentas cmo te va. Yo lo he testeado pero era bastante tarde cuando lo acab y no respondo de lo que pase. flota80 escribi: Quizas un poco tarde pero igual a alguien le puede servir, cuando inicie en este apasionante y traumatizante mundo, comence primero en una cuenta demo y pues me iba algo bien, ganando unos cuantos pips y en otras perdiendo unos cuantos mas, pero cuando abri una cuenta real, vi que era demasiado lento para reaccionar ante los cambios y en otras ocasiones era demasiado necio para salirme a tiempo y decidi buscarme algun experto que me ayudara a escalar los pips en posicion ganadora y que me cerrara las ordenes a partir de cierta posicion perdedora, pues bien, encontre en un foro lejos de aqui, 2 expertos pero lo hacian por separado, y me di a la tarea de unirlos y obtener asi un experto que me cierra las posiciones cuando se ha alcanzado cierto rebote (ojo, trailing stop) en la ganancia o cuando se ha acumulado la perdida que puedo tolerar. Este experto no abre ordenes, en mi caso manualmente las abro, solo me preocupo por abrirlas, y el ea se encarga de cerrarlas y poner los topes de parada Espero y a alguien le sirva, es mi primer aporte a este foro. dejo los derechos a salvo de quien realizo este experto, ya que yo solamente uni lo que yo buscaba de cada uno saludos a todos Countdown. mq4. Herramienta que permite visualizar la cuenta atrs hasta el cierre de la vela actual y apertura de la siguiente (Reloj). sistecno escribi: agus77, que dato,,buenisimo era lo que estaba buscando aqui lo dejo es un indicador para saber cuanto tiempo le hace falta a la vela para terminar de construirse, sugiero que cambien unos valores para que se pueda ver el reloj en el metatrader displaymovingonbidline debe estar en true bracketmovingdisplay debe estar en true bracketfixeddisplay debe estar en true bueno por lo menos me toco hacerle esto para poderlo ver sobre la vela. Gracias agus77 iExposure. mq4. Herramienta que indica en pantalla el avance en pips, sin tener que abrir la ventana regular de MT4. paquez escribi: Encantado de poder aportar algo. Lo primero hacer la observacin de que esto funciona mucho mejor en D1 que en H4 como podeis comprobar vosotros mismos en backtest. El indicador PP lo adjunto, slo hay que copiarlo en la carpeta indicada como siempre. Lo del filtro es muy sencillito y sobre todo sujeto a estudio y mejoras: en H4 utilizo dos EMA, s de 3 periodos y en D1 de 5 periodos (de momento no he probado otros TF), para que formen un canal aplico una a los precios mximos (HIGH) y otra a los mnimos (LOW) y ya est. Si la vela anterior ha cerrado fuera de este canal (ojo que hay que tener en cuenta si ha sido alcista o bajista para determinar su cierre) entonces no entrar. Lo del SL ajustado al canal es una posibilidad pero queda un poco justo, yo tambin he probado a poner el SL en el mnimo o mximo (dependiendo si la entrada es compra o venta) de las ltimas cuatro velas, se aleja un poco y no parece ir mal, hay que seguir probando. FoReXbEgiNNeR escribi: Yo ademas, os voy a hacer un reglao tb Son unos indicadores q muestran los pivot point cada hora, 4horas y diario Chuyito escribi: Hola FXWizard, tu como autoridad en el foro quisiera que hagas una sugerencia a Metaquotes para que se pueda hacer correlaciones en los graficos en el nuevo MT5. Ya que cuando uno quiere combinar 2 pares arrastrando un par sobre el grafico del par, sale un grafico independiente. Seria de mucha ayuda para todos si se pudiera ver 2 a mas pares en un solo grafico. Hasta en otro foro lo han sugerido. Hola Chuyito, podra hacerlo pero. es que ya se pueden calcular correlaciones en MT4. Te adjunto dos indicadores, extrados de ForexFactory, que te permitirn hacer todo lo que quieras y ms. Las instrucciones te la dejo debajo en ingles como cita. quotCorrelationchange1quot gives the option to compare Pair1 and Pair5 and you can choose to see or not the reference pair. By default the pairs are the usual one but you can change each of them. You can choose to see or not the histogram. Histogram type 1 pair5-pair1, type 2 pair5pair1, type 3 pair1-pair5 If sumtrue you can compare XXXUSD pairs(or pairs 1 to 4) to XXXJPY pairs (or pair 5 to 8) and see the ref. pair. For instance to verify the above formula, sum false, keep GU 1, enter UJ 5 and GJ as ref. pair and youll see that GJ match exactly the histogram if you are in mode (pip false) and not exactly if pip is true.(you have to set Histo. type 2) If you keep the pair in their default position then histo. type should be 1) Correlationchange2 gives you the option to see each of the 8 pairs in the same window (a little like Brianindex except its not reset to 0 every friday close but campare each pair to its value at a date you enter in BCNT, by default its 48 candle before) again you can see it in pip or and if sum true, you can see the sum of XXXUSD pairs, the sum of XXXJPY pairs and the sum of the whole basket. Heral escribi: hola a todos, bueno, como parece que estan de moda los sistemas basados en correlaciones de pares, he programado este EA para que lo testeis a ver que tal os va y que resultados cogeis. Esta basado en la correlacion EURUSD, USDCHF (para variar) El EA COMPRA y VENDE los dos pares en las horas 10,11,12,13,15,16,17,18 GTM1 en el minuto 0, teniendo como objetivo para cada pareja un TP de 15 pips pero que podeis cambiarlo a los pips que veais. tambien podeis modificar el tamao del lote cuando digo pareja me refiero por ejemplo a (BUY EURUSD BUY USDCHF) o (SELL EURUSD SELL USDCHF) bueno, echadle un vistazo y a ver qu os parece. un saludo cu6yu4 escribi: Con CorrTIME puede colocarse un grfico de un par sobre el chart de otro par cualquiera. Debe colocarse respecto de una fecha especfica para poder visualizar la otra cotizacin, que posiblemente terminar fuera de la pantalla. cu6yu4 escribi: Con CorrTOTAL se puede comprobar como 2 pares forman otro. Colocar sobre ese otro. El posible desajuste vertical creo que es por causa de la falta de precisin, al haber solo 4 o 5 decimales en cada par. Pequeos despuntes agudos pueden deberse a la falta de esa barra en uno de los 2 pares aportados. cu6yu4 escribi: Otro indicador. Para buscar patrones entre los mercados burstiles y el forex. Con la configuracin inicial muestra el Nikkei y el Dow Jones industrial (DJIA30), en una misma linea. Para el horario europeo: aparece primero el Nikkei, con su paro del desayuno, y por la tarde el Dow Jones. Debe colocarse sobre el chart de una divisa una que tenga algo que ver con esos mercados. Desgraciadamente la mayora de MT4 de los respectivos brokers no permiten trabajar con los ndices burstiles. Podis utilizar la demo de Broco: files. brocompanysoftbc4bc4setuptrade. exe Para quien utilize el escalado automatico del chart puede ser dificil la visualizacin, como la de otros indicadores en pantalla que se distancien de la cotizacin. En este caso utilizar corrINDICESS, que dibuja separadamente. Pasar un indicador sobre chart a ventana separada, o viceversa, es tan fcil como editarlo con metaeditor y cambiar quotproperty indicatorchartwindowquot por quotproperty indicatorseparatewindowquot. En general, para quien no lo haya probado, que teste visualizar con la opcin quotScale fixquot activada (chartsgtproperties), para luego ajustar el espaciamiento vertical desde la regla dibujada de la derecha del chart al principio puede parecer mas laborioso, pero me parece como el dia y la noche en cuanto a calidad de la representacin. Cuando es posible, a los indicadores separados en su propia ventana conviene colocarles mnimo y mximo para evitar el auto escalado y mantener tambin proporciones constantes. ltima edicin por feznandoo el 29 May 2010, 23:21, editado 11 veces en total ninpojutsu escribi: Hola Queria hacer un aporte interesante. Se trata de un EA-script que lo que hace es buscar tasas de inters basadas en el swap, combinando 3 pares de divisas y as efectuando una correlacin entre ellos, generando un hedge y con paciencia veremos como va subiendo la equidad (sobretodo paciencia). En el. rar hay un manual que explica donde colocar cada archivo, se ejecuta en un grafico cualquiera y el detecta q pares son los adecuados, hay brokers en los que no encuentra correlacin, pero en la mayoria de ellos si que lo encuentra. (que quede claro, que no cuelgo esto como si fuera una creacin mia, que no vendo nada. ) Esperemos que no tengamos que decir esto siempre. Solo queremos compartir y aprender, no demostrar nada. fer5275 escribi: Para un primer aporte seria el EA que me envio un buen amigo hace ya unos dias, la verdad es que no lo he vuelto a saludar y me he quedado corto en como puedo sacarle el mejor provecho a est. El sistema EA se llama phoenix Contest EA. Para quien no lo conozca, se trata del que compitiera en el 2006 y terminara en 5 lugar, logrando ms de USD 9000 de ganancias en 3 meses. Durante el campeonato, en muchas oportunidades estuvo en 3 lugar. Este sistema est designado para correr en un grfico de USDJPY de 15 minutos, pero lo unico que puedo es implementarlo en el MetaTrader, luego de ahi, me quedo en ceros de nuevo, aparece la carita feliz y todo pero no se que seales seguir, ya que nisiquiera muestra alguna seal (Pues porque no lo he configurado como es debido) Espero que a muchos novatos les sirvan estas heramientas que al complemenarlas con otras, nos ayudaran a mejorar Dia a Dia. fer5275 escribi: Bueno acabo de recibir un Pack de MT4, usualmente lo venden por la red a 100 US, la verdad no veo porque se deberia cobrar por esta informcion, la gente deberia poder manejar y mejorar cada dia mas estos codigos, no se, la verdad lo estoy revisando y es como complejo el manejo de los graficos, el pack que les adjunto viene con una guia en PDF y TODO el MT4 como lo venden por la red. Si alguien pudiera colaborar con un Tutorial en espaol, sobre como manejar y sacarle el mayor provecho a este, seria de gran ayuda para los que no manejamos al dedillo el ingles. PDT: Si alguien posee el FX-ATS, he escuchado que tambien lo comercializan pero la verdad no he tenido la oportunidad de probarlo. Gracias por Compartir sus conocimientos, ASI ES COMO DEBERIA SER. RUSLANDER escribi. aqui te envio la ultima version del EA ArtificialIntelligenceRight. mq4, para que lo pruebes en plataforma demo. aunque el EA aun no esta muy bien que digamos, esta es una version interesante. La version comercial se llama Neurofilter 1.0. idea25 escribi: TEngo un EA que estado probando,,da buenos resultados cuando el par esta en rangos,,pero cuando hay breakouts, te va matando la cuenta. quisiera encontrar una manera de filtrar y que no tome posiciones cuando se dan estos breakouts,,adems entra nuevamente an despues de alcanzar stoploss, es decir el Ea insiste en tomar posiciones cuanda la racha es negativa. si pueden verlo y les intersa les pongo. me sda buenos pips con el eroyen, y libra yen. pero cuando estan en rangos solamente,,luego te hacer perder harta plata,, el Ea tiene opciones para cambiar parametros,,pero no entiendo del todo que significaran. bueno si lo ven y que dicesn,, bolsaangel escribi: Bueno he pensado que como tengo el robot os lo voy a dejar aqui, todavia no lo he probado pero si quereis ver le hilo de forexfactory no estaria mal echarle un ojo al parecer esta basado en una estrategia con el mismo nombre y parece que funciona bien, bueno antes de nada usarlo en demo y en 1 hora. Esta es la versin mejorada espero que os sirva. Un saludo FxStallion escribi: Hola a todos, creo que la mayoria de nosotros hemos oido hablar del Forex Autopilot. pues si unos de los EA mas comerciales que ha salido su precio esta por arriba de los 300 para todos los que pensaban adquirirlo pues ya esta aqui, espero que lo prueben y den sus opiniones, de este modo todos podemos sacarle el maximo provecho RUSLANDER escribi: Bueno, para los interesados aqui va el EA que incluye los 5 principales Eas del FRWC. Ha tenido resultados aceptables en las pruebas que se le va haciendo. axisnet escribi: Buenas tardes a todos Estuve mirando la semana pasada algunos EAs, me top con ste: tradingsystemforexexper. alper. html no lo pude bajar porque es de pago, arme ms o menos el tempalte de como se podra operar. Los resultados que tambin se encuntran en la pgina, Le pregunto a Ruslander ya que es un experto en Scalping, que tan bueno o ms bien cierto es este EA. llegado el caso en que sirva se podra cdificar y compartirlo con el grupo Hola Edison, el EA Channel Scalper es bueno, pero solo en momentos de baja volatilidad en el EURUSD en M5 y aunque tambien dicen que funciona bien en el EURGBP, pero su resultado en el backtest es demasiado alejado de la realidad. Aqui te lo adjunto para que lo pruebes y nos comentes tus resultados. Majin escribi: PRESENTACION: IN10TION NewsReader v0.9.96 Lite: Cuando salga el Nivel 3 del semaforo debajo de una vela. el SHI este diciendo que la Tendencia Relativa esta al alza y el Trend este diciendo que la Tendencia Absoluta este al alza. COMPRAR Es recomendable cerrar cuando haya salido el semaforo de Nivel 3 encima de la vela El Stop Lose debe ser de 100 pips. Cuando salga el Nivel 3 del semaforo encima de una vela. el SHI este diciendo que la Tendencia Relativa esta a la baja y el Trend este diciendo que la Tendencia Absoluta este a la baja. VENDER El Stop Lose debe ser de 100 pips. Es recomendable cerrar cuando haya salido el semaforo de Nivel 3 debajo de la vela. CONSEJO PARA LOS DEBILES SENTIMENTALMENTE (como yo): Configurad el Indicador 3LevelZZSemafor de esta forma para evitar conflictos psicologicos formados por contradicciones con los Niveles 1 y 2 del indicador. Recomendacion: Si la Tendencia Relativa os lleva la contra en cualquier momento. cerrad cuando la Tendencia Absoluta cambie (es decir. el indicador quottrendquot). Los cambios de Tendencia Relativa NO SON COMUNES. ocurre cuando se da una Noticia a favor de la moneda en contra. pero para eso tenemos el INDICADOR DE NOTICIAS. para poder saber cuando se produciran esos cambios jeje Ejemplos de CompraVenta: neol3x escribi: Hola ac aportando el ya Famoso Forex Megadroid que su ultima versin es 1.11 lo he probado en demo y anda muy bien he probado muchos EA y esta se lleva de encuentro . Voy a adjuntar 2 archivos una la original sin modificaciones bajado directamente del autor mas el Ex4descompilado para que alguien le vea com os puede desbloquear. El Segundo archivo es una versin libre bajado de una web que ya le hice test y me sale ganador este no necesita ningn codigo. Bien Espero que porfavor presenten sus test en cuentas demos. haber como le van con este robot. ninpojutsu escribi: Bueno ya estoy aki de nuevo Os presento esta nueva configuracin, es puro scalp pero tirando a lo seguro para ello tenemos unos indicadores muy buenos. (Con esto no quiero decir que el sistema Grandmaria no sirva, sino esta es otra opcin de comercio) Yo lo uso principalmente en 1M TF y comprovando antes de entrar en 5M TF EMA 275 -- nos sirve para dominar la tendencia, solo operaremos al alza cuando la tengamos debajo del precio, y operaremos a la baja cuando la tengamos encima del precio. (en 5M no le aremos mucho caso) LSMA IN COLOR (EMA 55) --cuando el precio la cruze hacia arriba nos saldra una alerta de seal esto indica que si los demas indicadores estan de acuerdo entraremos al alza(y abremos comprovado en 5M que la ema 55 este de color verde) igual a la baja. INDICADORES QQE La linea blanca es un qqe de 5 periodos, esta cuando cruze la linea roja 50 hacia arriba es compra y hacia abajo es venta. El qqe azul con una linea discontinua roja solo le aremos caso cuando estemos dentro de una posicin saliendonos de ella cuando se cruzen estas dos lineas entre si, si la roja cruza hacia abajo la linea azul saldremos de nuestra posicin al alza y viceversa. CCI-SMA Esta es sencilla y muy efectiva, cuando la blanca cruza la roja hacia arriba es compra y abajo venta. NOS FUNCIONA EN CUALQUIER TF Y PAR DE DIVISAS, PERO MI EXPERIENCIA LA BASO EN 1M--5M. Espero que podamos hacer un buen seguimiento, ya que creo que nos va a dar muchas alegrias. Este sistema tiene un de 60 entradas a mercado, pero con cabeza eeeeeeeeeee ADJUNTO EJEMPLOS Y INDICADORES. Espero vuestras opiniones y criticas. (pero criticas de verdad, no por tokar lo que no suena) flaviof escribi: Estoy dispuesto a Invertir en el sistema de Forex Gala, y pues me aconcejarian si es ta bien en invertir en el o no, porque yo lo veo bien ya que tengo un buen tiempo siguindolo, y veo que gana todos los das, slo que me dan una rentabilidad del 5 -10, pues ellos me informan que puede ser posible que incremente la rentabilidad siempre en cuando tenga ms capital, pues no esta de ms que me den alguna sugerencia. Ya que yo lo veo bien a forex gala. Espero que me ayuden. Gracias RUSLANDER escribi: Ultimamente he estado probando por algunos dias el StochPowerScalperspike3.mq4. me parece este EA va dando rendimiento constante, ademas de que va dando que hablar en diferentes circulos de forex. aqui lo adjunto para que lo prueben, seria interesante hacerle un seguimiento en demo a este EA para comprobar su eficacia. Muchos traders manifiestan estar obteniendo cierta rentabilidad con este EA. Funciona en un TF de M15, de preferencia en los pares de menor volatilidad jmbforex escribi: Cayo en mi disco duro el metodo E. A.S. Y. de Dean Malone. Tras pasar por el proceso de crianza (como muchos vinos decentes) fue embotellado (recuperado del disco) y preparado para su degustacion. LLevo 1 mes full-time probandolo. Bueno, aprendiendolo es ms exacto. He conseguido razonables resultados usando cuentas demos en: Time Frame: 15 M Pares: EURGBP, EURUSD, GBPUSD, AUDJPY, EURJPY, USDJPY No es dificil de implementar, pero si algo pesado de quotvigilarquot a la espera de seales de entrada. Adjunto publico el PDF donde Dean Malone lo explica, bastante bien por cierto y un indicador de ayuda para las seales. Me gustaria compartir comentarios sobre l con aquellosas que deseen probarlo y utilizarlo. Oiltrader escribi: . sino es una estrategia bastante conocida e inclusive hay un EA que funciona bien con esta estrategia de forma completamente automatica que es el QuadHedge v2.5 y algunos de sus resultados los pueden ver en este link: Aqui les adjunto el EA para que lo usen en cualquier broker que acepte el hedging. . neol3x escribi: Hola quera compartir este robot en su ultima versin no lo compre me lo dieron. el problema es que no se como activarlo creo que se debe de verificar en su pagina de fap turbo. tambin he ledo que lo pueden des compilar algo as . Bueno un saludos a todos de esta comunidad y un gran gusto de pertenecer a este foro. Es el Fap turbo tal como viene desde la pagina. si alguien sabe como hacerlo funcionar evitando el registro. Esto es. FxStallion si me podras pasarla key y mi id es Your expert ID959787570 de forex autopilot muchas gracias y saludos. ltima edicin por feznandoo el 29 Mar 2010, 22:25, editado 9 veces en total Powered by phpBB copy 2000, 2002, 2005, 2007 phpBB Group Traduccin al espaol por Huan Manw Karma functions powered by Karma MOD copy 2007, 2009 m157y Aviso Legal: La negociacioacuten de divisas con apalancamiento conlleva un alto nivel de riesgo y podriacutea no ser apropiada para todo tipo de inversores. El alto grado de apalancamiento del mercado puede jugar tanto a como en contra del invers. Por lo tanto, antes divisas negociar, Vd debe considerar cuidadosamente sus objetivos de inversioacuten, nivel de experiencia y tolerancia al riesgo. Recordamos que existe la posibilidad de perder una parte o toda la inversioacuten inicial por lo que no debe invertir dinero que no pueda permitirse perder. Se debe tener conocimiento previo de todos los riesgos asociados a la negociacioacuten de divisas y, en caso de que se tenga alguna duda, buscar la ayuda de un asesor financiero independiente. ข้อคิดเห็นเกี่ยวกับ FXStreet ช่วยให้คุณสามารถใช้งานได้โดยไม่ต้องมีข้อมูลใด ๆ ที่เกี่ยวข้องกับ FXStreet ของคุณ FXStreet no verifica la certeza o veracidad de las declaraciones o denuncias de ninguno de los autores independientes que colaboran en la paacutegina. Todos los textos publicados บุตรอ่อนแอต่อความผิดพลาดที่เกิดขึ้น Las opiniones, noticias, informes, anaacutelisis, cotizaciones u otras informaciones contenidas en FXStreet, producidas por el equipo de FXStreet, por sus colaboradores, socios, asociados o colaboradores tienen caraacutecter de comentario general de mercado y en ninguacuten caso constituyen un consejo o una recomendacioacuten de inversioacuten. FXStreet ได้รับการตอบรับอย่างถูกต้องตามกฎหมายโดยมีเงื่อนไขในการดำเนินการดังต่อไปนี้โดยไม่คำนึงถึงเงื่อนไขที่กำหนดไว้ในข้อบังคับเกี่ยวกับการรับความช่วยเหลือทางการเงินจากทางตรงข้ามโดยทางอ้อมต่อการให้บริการทางกฎหมาย

No comments:

Post a Comment