요새. 실행 질문 - 페이지 83 1...767778798081828384858687888990...156 새 코멘트 prostotrader 2017.02.09 00:18 #821 fxsaber : 서버 Alpari-MT5-데모. 이 스크립트 는 두 번 실행되었습니다. 2017.02 . 08 22 : 55 : 13.170 Trades '50075899' : market buy 1.00 BRN 2017.02 . 08 22 : 55 : 15.817 Trades '50075899' : accepted market buy 1.00 BRN 2017.02 . 08 22 : 55 : 15.817 Trades '50075899' : deal # 4163994 buy 1.00 BRN at 55.41 done (based on order # 5506688 ) 2017.02 . 08 22 : 55 : 15.827 Trades '50075899' : order # 5506688 buy 1.00 / 1.00 BRN at 55.41 done in 2658.948 ms 2017.02 . 08 22 : 55 : 15.827 Trades '50075899' : modify # 5506688 buy 1.00 BRN sl: 0.00 , tp: 0.00 -> sl: 54.41 , tp: 56.41 2017.02 . 08 22 : 55 : 17.270 Trades '50075899' : accepted modify # 5506688 buy 1.00 BRN sl: 0.00 , tp: 0.00 -> sl: 54.41 , tp: 56.41 2017.02 . 08 22 : 55 : 18.124 Trades '50075899' : modify # 5506688 buy 1.00 BRN -> sl: 54.41 , tp: 56.41 done in 2295.483 ms 2017.02 . 08 22 : 55 : 18.124 Trades '50075899' : market sell 1.00 BRN, close # 5506688 buy 1.00 BRN 55.41 2017.02 . 08 22 : 55 : 23.246 Trades '50075899' : accepted market sell 1.00 BRN, close # 5506688 buy 1.00 BRN 55.41 2017.02 . 08 22 : 55 : 23.246 Trades '50075899' : deal # 4163995 sell 1.00 BRN at 55.27 done (based on order # 5506689 ) 2017.02 . 08 22 : 55 : 23.246 Trades '50075899' : order # 5506689 sell 1.00 / 1.00 BRN at 55.27 done in 5119.709 ms 2017.02 . 08 22 : 55 : 23.246 Trades '50075899' : buy limit 1.00 BRN at 54.40 2017.02 . 08 22 : 55 : 23.309 Trades '50075899' : accepted buy limit 1.00 BRN at 54.40 2017.02 . 08 22 : 55 : 23.314 Trades '50075899' : order # 5506691 buy limit 1.00 / 1.00 BRN at market done in 66.501 ms 2017.02 . 08 22 : 55 : 23.314 Trades '50075899' : cancel order # 5506691 buy limit 1.00 BRN at 54.40 2017.02 . 08 22 : 55 : 23.376 Trades '50075899' : accepted cancel order # 5506691 buy limit 1.00 BRN at 54.40 2017.02 . 08 22 : 55 : 23.379 Trades '50075899' : cancel # 5506691 buy limit 1.00 BRN at market done in 64.586 ms 2017.02 . 08 22 : 55 : 48.729 Trades '50075899' : market buy 1.00 BRN 2017.02 . 08 22 : 55 : 48.801 Trades '50075899' : accepted market buy 1.00 BRN 2017.02 . 08 22 : 55 : 48.801 Trades '50075899' : deal # 4163999 buy 1.00 BRN at 55.39 done (based on order # 5506694 ) 2017.02 . 08 22 : 55 : 48.809 Trades '50075899' : order # 5506694 buy 1.00 / 1.00 BRN at 55.39 done in 78.782 ms 2017.02 . 08 22 : 55 : 48.809 Trades '50075899' : modify # 5506694 buy 1.00 BRN sl: 0.00 , tp: 0.00 -> sl: 54.39 , tp: 56.39 2017.02 . 08 22 : 55 : 48.879 Trades '50075899' : accepted modify # 5506694 buy 1.00 BRN sl: 0.00 , tp: 0.00 -> sl: 54.39 , tp: 56.39 2017.02 . 08 22 : 55 : 48.886 Trades '50075899' : modify # 5506694 buy 1.00 BRN -> sl: 54.39 , tp: 56.39 done in 77.030 ms 2017.02 . 08 22 : 55 : 48.886 Trades '50075899' : market sell 1.00 BRN, close # 5506694 buy 1.00 BRN 55.39 2017.02 . 08 22 : 55 : 48.961 Trades '50075899' : accepted market sell 1.00 BRN, close # 5506694 buy 1.00 BRN 55.39 2017.02 . 08 22 : 55 : 48.966 Trades '50075899' : deal # 4164000 sell 1.00 BRN at 55.27 done (based on order # 5506695 ) 2017.02 . 08 22 : 55 : 48.966 Trades '50075899' : order # 5506695 sell 1.00 / 1.00 BRN at 55.27 done in 79.688 ms 2017.02 . 08 22 : 55 : 48.966 Trades '50075899' : buy limit 1.00 BRN at 54.39 2017.02 . 08 22 : 55 : 49.034 Trades '50075899' : accepted buy limit 1.00 BRN at 54.39 2017.02 . 08 22 : 55 : 49.041 Trades '50075899' : order # 5506696 buy limit 1.00 / 1.00 BRN at market done in 75.393 ms 2017.02 . 08 22 : 55 : 49.041 Trades '50075899' : cancel order # 5506696 buy limit 1.00 BRN at 54.39 2017.02 . 08 22 : 55 : 49.116 Trades '50075899' : accepted cancel order # 5506696 buy limit 1.00 BRN at 54.39 2017.02 . 08 22 : 55 : 49.116 Trades '50075899' : cancel # 5506696 buy limit 1.00 BRN at market done in 83.423 ms 이러한 예상치 못한 브레이크는 거의 모든 데모 서버에서 발생합니다. 따라서 문제는 FORTS에만 해당되는 것이 아닙니다. 이 경우 개발자가 더 쉽게 알아낼 수 있어야 합니다. 바지가 없습니다. 이 상황을 보세요. 나는 데모가 없지만 실제 fxsaber 2017.02.09 05:23 #822 prostotrader : 나는 데모가 없지만 실제 따라서 귀하의 경우 개발자가 파악하기가 훨씬 더 어렵습니다. 데모 - Metatrader 생태계를 떠나는 것은 아무것도 없습니다. 저것들. 문제를 누구의 탓으로 돌릴 수 없으므로 현지화하기가 더 쉽습니다. Rashid Umarov 2017.02.09 07:16 #823 fxsaber : 서버 Alpari-MT5-데모. 이 스크립트 는 두 번 실행되었습니다. 이러한 예상치 못한 브레이크는 거의 모든 데모 서버에서 발생합니다. 따라서 문제는 FORTS에만 해당되는 것이 아닙니다. 이 경우 개발자가 더 쉽게 알아낼 수 있어야 합니다. 바지가 없습니다. 이 상황을 보세요. MT5 빌드 번호는 무엇입니까? fxsaber 2017.02.09 07:19 #824 Rashid Umarov : MT5 빌드 번호는 무엇입니까? 1525. fxsaber 2017.02.09 07:35 #825 Rashid Umarov : 재현 가능한 브레이크 케이스를 찾았습니다! FIBOGroup-MT5 서버, 데모, 기본 통화 USD, 네팅, 빌드 1525 나는 여전히 테스트 스크립트를 실행합니다 (진행자가 성경을 업데이트하면 작동합니다). 두 번의 연속 발사 기록 2017.02 . 09 09 : 28 : 19.404 Scripts script MT4Statement (EURUSD,M1) loaded successfully 2017.02 . 09 09 : 28 : 19.414 Trades '1013175' : exchange buy 1.00 EURUSD at market 2017.02 . 09 09 : 28 : 20.499 Trades '1013175' : deal # 1542820 buy 1.00 EURUSD at 1.06721 done (based on order # 2246203 ) 2017.02 . 09 09 : 28 : 20.499 Trades '1013175' : order # 2246203 buy 1.00 / 1.00 EURUSD at 1.06721 done in 1078.071 ms 2017.02 . 09 09 : 28 : 20.499 Trades '1013175' : modify # 2246203 buy 1.00 EURUSD sl: 0.00000 , tp: 0.00000 -> sl: 1.06621 , tp: 1.06821 2017.02 . 09 09 : 28 : 20.557 Trades '1013175' : modify # 2246203 buy 1.00 EURUSD -> sl: 1.06621 , tp: 1.06821 done in 57.672 ms 2017.02 . 09 09 : 28 : 20.557 Trades '1013175' : exchange sell 1.00 EURUSD at market, close # 2246203 buy 1.00 EURUSD 1.06721 2017.02 . 09 09 : 28 : 21.624 Trades '1013175' : deal # 1542821 sell 1.00 EURUSD at 1.06720 done (based on order # 2246204 ) 2017.02 . 09 09 : 28 : 21.624 Trades '1013175' : order # 2246204 sell 1.00 / 1.00 EURUSD at 1.06720 done in 1067.918 ms 2017.02 . 09 09 : 28 : 21.627 Trades '1013175' : buy limit 1.00 EURUSD at 1.06621 2017.02 . 09 09 : 28 : 21.687 Trades '1013175' : order # 2246205 buy limit 1.00 / 1.00 EURUSD at market done in 60.036 ms 2017.02 . 09 09 : 28 : 21.687 Trades '1013175' : cancel order # 2246205 buy limit 1.00 EURUSD at 1.06621 2017.02 . 09 09 : 28 : 21.747 Trades '1013175' : cancel # 2246205 buy limit 1.00 EURUSD at market done in 59.555 ms 2017.02 . 09 09 : 28 : 21.747 Scripts script MT4Statement (EURUSD,M1) removed 2017.02 . 09 09 : 28 : 31.214 Scripts script MT4Statement (EURUSD,M1) loaded successfully 2017.02 . 09 09 : 28 : 31.227 Trades '1013175' : exchange buy 1.00 EURUSD at market 2017.02 . 09 09 : 28 : 32.302 Trades '1013175' : deal # 1542822 buy 1.00 EURUSD at 1.06723 done (based on order # 2246206 ) 2017.02 . 09 09 : 28 : 32.302 Trades '1013175' : order # 2246206 buy 1.00 / 1.00 EURUSD at 1.06723 done in 1068.513 ms 2017.02 . 09 09 : 28 : 32.304 Trades '1013175' : modify # 2246206 buy 1.00 EURUSD sl: 0.00000 , tp: 0.00000 -> sl: 1.06623 , tp: 1.06823 2017.02 . 09 09 : 28 : 32.364 Trades '1013175' : modify # 2246206 buy 1.00 EURUSD -> sl: 1.06623 , tp: 1.06823 done in 60.516 ms 2017.02 . 09 09 : 28 : 32.364 Trades '1013175' : exchange sell 1.00 EURUSD at market, close # 2246206 buy 1.00 EURUSD 1.06723 2017.02 . 09 09 : 28 : 33.429 Trades '1013175' : deal # 1542823 sell 1.00 EURUSD at 1.06722 done (based on order # 2246207 ) 2017.02 . 09 09 : 28 : 33.432 Trades '1013175' : order # 2246207 sell 1.00 / 1.00 EURUSD at 1.06722 done in 1068.809 ms 2017.02 . 09 09 : 28 : 33.432 Trades '1013175' : buy limit 1.00 EURUSD at 1.06623 2017.02 . 09 09 : 28 : 33.492 Trades '1013175' : order # 2246208 buy limit 1.00 / 1.00 EURUSD at market done in 58.742 ms 2017.02 . 09 09 : 28 : 33.492 Trades '1013175' : cancel order # 2246208 buy limit 1.00 EURUSD at 1.06623 2017.02 . 09 09 : 28 : 33.549 Trades '1013175' : cancel # 2246208 buy limit 1.00 EURUSD at market done in 57.722 ms 2017.02 . 09 09 : 28 : 33.549 Scripts script MT4Statement (EURUSD,M1) removed TRADE_ACTION_DEAL은 다른 모드보다 20배 느립니다! 재생산. Errors, bugs, questions 오류, 버그, 질문 Bug report MT4 rev fxsaber 2017.02.09 07:56 #826 prostotrader : 2016.12 . 14 22 : 01 : 41.371 Trades 'xxxxx' : cancel order # 49932961 buy limit 1.00 CHMF- 6.17 at 92501 placed for execution in 64873.549 ms 이 경우 OrderSend가 거의 즉시 true를 반환했지만 65초가 관찰되었다는 것을 정확히 이해하고 있습니까? (ENUM_ORDER_STATE)::OrderGetInteger(ORDER_STATE) == ORDER_STATE_STARTED ? 이 검사를 코드에 추가하십시오. prostotrader 2017.02.09 08:41 #827 fxsaber : 이 경우 OrderSend가 거의 즉시 true를 반환했지만 65초가 관찰되었다는 것을 정확히 이해하고 있습니까? (ENUM_ORDER_STATE)::OrderGetInteger(ORDER_STATE) == ORDER_STATE_STARTED ? 이 검사를 코드에 추가하십시오. 나는 OrderSendAsync를 사용하고 있습니다 단, 1초 이상의 지연으로 주문 상태를 확인하고 case ORDER_BUSY: switch (o_status) { case BUY_ORDER: BuyOrder.mem_time = GetMicrosecondCount (); Print ( __FUNCTION__ , ": Buy ордер в переходном состоянии." ); break ; case SELL_ORDER: SellOrder.mem_time = GetMicrosecondCount (); Print ( __FUNCTION__ , ": Sell ордер в переходном состоянии." ); break ; } break ; fxsaber 2017.02.09 08:43 #828 prostotrader : 나는 OrderSendAsync를 사용하고 있습니다 단, 1초 이상의 지연으로 주문 상태를 확인하고 case ORDER_BUSY: switch (o_status) { case BUY_ORDER: BuyOrder.mem_time = GetMicrosecondCount (); Print ( __FUNCTION__ , ": Buy ордер в переходном состоянии." ); break ; case SELL_ORDER: SellOrder.mem_time = GetMicrosecondCount (); Print ( __FUNCTION__ , ": Sell ордер в переходном состоянии." ); break ; } break ; 마찬가지로 Started가 중단됩니다. prostotrader 2017.02.09 08:45 #829 fxsaber : 마찬가지로 Started가 중단됩니다. 때문에 확실히 말할 수 없다. switch (ord_data.state) { case ORDER_STATE_STARTED : case ORDER_STATE_REQUEST_ADD : case ORDER_STATE_REQUEST_MODIFY : case ORDER_STATE_REQUEST_CANCEL : ord_data.real_state = ORDER_BUSY; break ; case ORDER_STATE_PARTIAL : ord_data.real_state = ORDER_EXIST_PARTIAL; break ; case ORDER_STATE_PLACED : ord_data.real_state = ORDER_EXIST; break ; } 1ms 4 옵션 case ORDER_STATE_STARTED : case ORDER_STATE_REQUEST_ADD : case ORDER_STATE_REQUEST_MODIFY : case ORDER_STATE_REQUEST_CANCEL : prostotrader 2017.02.10 11:13 #830 대부분의 질문은 즉, 6-7ms입니다. 그렇지 않으면 브레이크를 이해할 수 없습니다( 917.779 ). 2017.02 . 10 14 : 07 : 32.008 Trades 'xxxxx' : buy limit 2.00 BR- 7.17 at 56.89 placed for execution in 7.124 ms 2017.02 . 10 14 : 07 : 32.020 Trades 'xxxxx' : cancel order # 52361023 buy limit 2.00 BR- 7.17 at 56.89 2017.02 . 10 14 : 07 : 32.025 Trades 'xxxxx' : accepted cancel order # 52361023 buy limit 2.00 BR- 7.17 at 56.89 2017.02 . 10 14 : 07 : 32.026 Trades 'xxxxx' : cancel order # 52361023 buy limit 2.00 BR- 7.17 at 56.89 placed for execution in 6.297 ms 2017.02 . 10 14 : 08 : 00.711 Trades 'xxxxx' : modify order # 52360848 sell limit 1.00 BR- 9.17 at 58.40 sl: 0.00 tp: 0.00 -> 58.23 , sl: 0.00 tp: 0.00 2017.02 . 10 14 : 08 : 01.628 Trades 'xxxxx' : accepted modify order # 52360848 sell limit 1.00 BR- 9.17 at 58.40 sl: 0.00 tp: 0.00 -> 58.23 , sl: 0.00 tp: 0.00 2017.02 . 10 14 : 08 : 01.629 Trades 'xxxxx' : modify order # 52360848 sell limit 1.00 BR- 9.17 at 58.40 sl: 0.00 tp: 0.00 -> 58.23 , sl: 0.00 tp: 0.00 placed for execution in 917.779 ms 2017.02 . 10 14 : 08 : 04.005 Trades 'xxxxx' : modify order # 52360848 sell limit 1.00 BR- 9.17 at 58.23 sl: 0.00 tp: 0.00 -> 58.08 , sl: 0.00 tp: 0.00 2017.02 . 10 14 : 08 : 04.011 Trades 'xxxxx' : accepted modify order # 52360848 sell limit 1.00 BR- 9.17 at 58.23 sl: 0.00 tp: 0.00 -> 58.08 , sl: 0.00 tp: 0.00 2017.02 . 10 14 : 08 : 04.012 Trades 'xxxxx' : modify order # 52360848 sell limit 1.00 BR- 9.17 at 58.23 sl: 0.00 tp: 0.00 -> 58.08 , sl: 0.00 tp: 0.00 placed for execution in 6.677 ms BrainSystem: Trading System Development BrainSystem: 거래 시스템 개발 How to work correctly 1...767778798081828384858687888990...156 새 코멘트 트레이딩 기회를 놓치고 있어요: 무료 트레이딩 앱 복사용 8,000 이상의 시그널 금융 시장 개척을 위한 경제 뉴스 등록 로그인 공백없는 라틴 문자 비밀번호가 이 이메일로 전송될 것입니다 오류 발생됨 Google으로 로그인 웹사이트 정책 및 이용약관에 동의합니다. 계정이 없으시면, 가입하십시오 MQL5.com 웹사이트에 로그인을 하기 위해 쿠키를 허용하십시오. 브라우저에서 필요한 설정을 활성화하시지 않으면, 로그인할 수 없습니다. 사용자명/비밀번호를 잊으셨습니까? Google으로 로그인
서버 Alpari-MT5-데모. 이 스크립트 는 두 번 실행되었습니다.
2017.02 . 08 22 : 55 : 15.817 Trades '50075899' : accepted market buy 1.00 BRN
2017.02 . 08 22 : 55 : 15.817 Trades '50075899' : deal # 4163994 buy 1.00 BRN at 55.41 done (based on order # 5506688 )
2017.02 . 08 22 : 55 : 15.827 Trades '50075899' : order # 5506688 buy 1.00 / 1.00 BRN at 55.41 done in 2658.948 ms
2017.02 . 08 22 : 55 : 15.827 Trades '50075899' : modify # 5506688 buy 1.00 BRN sl: 0.00 , tp: 0.00 -> sl: 54.41 , tp: 56.41
2017.02 . 08 22 : 55 : 17.270 Trades '50075899' : accepted modify # 5506688 buy 1.00 BRN sl: 0.00 , tp: 0.00 -> sl: 54.41 , tp: 56.41
2017.02 . 08 22 : 55 : 18.124 Trades '50075899' : modify # 5506688 buy 1.00 BRN -> sl: 54.41 , tp: 56.41 done in 2295.483 ms
2017.02 . 08 22 : 55 : 18.124 Trades '50075899' : market sell 1.00 BRN, close # 5506688 buy 1.00 BRN 55.41
2017.02 . 08 22 : 55 : 23.246 Trades '50075899' : accepted market sell 1.00 BRN, close # 5506688 buy 1.00 BRN 55.41
2017.02 . 08 22 : 55 : 23.246 Trades '50075899' : deal # 4163995 sell 1.00 BRN at 55.27 done (based on order # 5506689 )
2017.02 . 08 22 : 55 : 23.246 Trades '50075899' : order # 5506689 sell 1.00 / 1.00 BRN at 55.27 done in 5119.709 ms
2017.02 . 08 22 : 55 : 23.246 Trades '50075899' : buy limit 1.00 BRN at 54.40
2017.02 . 08 22 : 55 : 23.309 Trades '50075899' : accepted buy limit 1.00 BRN at 54.40
2017.02 . 08 22 : 55 : 23.314 Trades '50075899' : order # 5506691 buy limit 1.00 / 1.00 BRN at market done in 66.501 ms
2017.02 . 08 22 : 55 : 23.314 Trades '50075899' : cancel order # 5506691 buy limit 1.00 BRN at 54.40
2017.02 . 08 22 : 55 : 23.376 Trades '50075899' : accepted cancel order # 5506691 buy limit 1.00 BRN at 54.40
2017.02 . 08 22 : 55 : 23.379 Trades '50075899' : cancel # 5506691 buy limit 1.00 BRN at market done in 64.586 ms
2017.02 . 08 22 : 55 : 48.729 Trades '50075899' : market buy 1.00 BRN
2017.02 . 08 22 : 55 : 48.801 Trades '50075899' : accepted market buy 1.00 BRN
2017.02 . 08 22 : 55 : 48.801 Trades '50075899' : deal # 4163999 buy 1.00 BRN at 55.39 done (based on order # 5506694 )
2017.02 . 08 22 : 55 : 48.809 Trades '50075899' : order # 5506694 buy 1.00 / 1.00 BRN at 55.39 done in 78.782 ms
2017.02 . 08 22 : 55 : 48.809 Trades '50075899' : modify # 5506694 buy 1.00 BRN sl: 0.00 , tp: 0.00 -> sl: 54.39 , tp: 56.39
2017.02 . 08 22 : 55 : 48.879 Trades '50075899' : accepted modify # 5506694 buy 1.00 BRN sl: 0.00 , tp: 0.00 -> sl: 54.39 , tp: 56.39
2017.02 . 08 22 : 55 : 48.886 Trades '50075899' : modify # 5506694 buy 1.00 BRN -> sl: 54.39 , tp: 56.39 done in 77.030 ms
2017.02 . 08 22 : 55 : 48.886 Trades '50075899' : market sell 1.00 BRN, close # 5506694 buy 1.00 BRN 55.39
2017.02 . 08 22 : 55 : 48.961 Trades '50075899' : accepted market sell 1.00 BRN, close # 5506694 buy 1.00 BRN 55.39
2017.02 . 08 22 : 55 : 48.966 Trades '50075899' : deal # 4164000 sell 1.00 BRN at 55.27 done (based on order # 5506695 )
2017.02 . 08 22 : 55 : 48.966 Trades '50075899' : order # 5506695 sell 1.00 / 1.00 BRN at 55.27 done in 79.688 ms
2017.02 . 08 22 : 55 : 48.966 Trades '50075899' : buy limit 1.00 BRN at 54.39
2017.02 . 08 22 : 55 : 49.034 Trades '50075899' : accepted buy limit 1.00 BRN at 54.39
2017.02 . 08 22 : 55 : 49.041 Trades '50075899' : order # 5506696 buy limit 1.00 / 1.00 BRN at market done in 75.393 ms
2017.02 . 08 22 : 55 : 49.041 Trades '50075899' : cancel order # 5506696 buy limit 1.00 BRN at 54.39
2017.02 . 08 22 : 55 : 49.116 Trades '50075899' : accepted cancel order # 5506696 buy limit 1.00 BRN at 54.39
2017.02 . 08 22 : 55 : 49.116 Trades '50075899' : cancel # 5506696 buy limit 1.00 BRN at market done in 83.423 ms
이러한 예상치 못한 브레이크는 거의 모든 데모 서버에서 발생합니다. 따라서 문제는 FORTS에만 해당되는 것이 아닙니다.
이 경우 개발자가 더 쉽게 알아낼 수 있어야 합니다. 바지가 없습니다. 이 상황을 보세요.
나는 데모가 없지만 실제
따라서 귀하의 경우 개발자가 파악하기가 훨씬 더 어렵습니다.
데모 - Metatrader 생태계를 떠나는 것은 아무것도 없습니다. 저것들. 문제를 누구의 탓으로 돌릴 수 없으므로 현지화하기가 더 쉽습니다.
서버 Alpari-MT5-데모. 이 스크립트 는 두 번 실행되었습니다.
이러한 예상치 못한 브레이크는 거의 모든 데모 서버에서 발생합니다. 따라서 문제는 FORTS에만 해당되는 것이 아닙니다.
이 경우 개발자가 더 쉽게 알아낼 수 있어야 합니다. 바지가 없습니다. 이 상황을 보세요.
MT5 빌드 번호는 무엇입니까?
재현 가능한 브레이크 케이스를 찾았습니다!
FIBOGroup-MT5 서버, 데모, 기본 통화 USD, 네팅, 빌드 1525
나는 여전히 테스트 스크립트를 실행합니다 (진행자가 성경을 업데이트하면 작동합니다). 두 번의 연속 발사 기록
2017.02 . 09 09 : 28 : 19.414 Trades '1013175' : exchange buy 1.00 EURUSD at market
2017.02 . 09 09 : 28 : 20.499 Trades '1013175' : deal # 1542820 buy 1.00 EURUSD at 1.06721 done (based on order # 2246203 )
2017.02 . 09 09 : 28 : 20.499 Trades '1013175' : order # 2246203 buy 1.00 / 1.00 EURUSD at 1.06721 done in 1078.071 ms
2017.02 . 09 09 : 28 : 20.499 Trades '1013175' : modify # 2246203 buy 1.00 EURUSD sl: 0.00000 , tp: 0.00000 -> sl: 1.06621 , tp: 1.06821
2017.02 . 09 09 : 28 : 20.557 Trades '1013175' : modify # 2246203 buy 1.00 EURUSD -> sl: 1.06621 , tp: 1.06821 done in 57.672 ms
2017.02 . 09 09 : 28 : 20.557 Trades '1013175' : exchange sell 1.00 EURUSD at market, close # 2246203 buy 1.00 EURUSD 1.06721
2017.02 . 09 09 : 28 : 21.624 Trades '1013175' : deal # 1542821 sell 1.00 EURUSD at 1.06720 done (based on order # 2246204 )
2017.02 . 09 09 : 28 : 21.624 Trades '1013175' : order # 2246204 sell 1.00 / 1.00 EURUSD at 1.06720 done in 1067.918 ms
2017.02 . 09 09 : 28 : 21.627 Trades '1013175' : buy limit 1.00 EURUSD at 1.06621
2017.02 . 09 09 : 28 : 21.687 Trades '1013175' : order # 2246205 buy limit 1.00 / 1.00 EURUSD at market done in 60.036 ms
2017.02 . 09 09 : 28 : 21.687 Trades '1013175' : cancel order # 2246205 buy limit 1.00 EURUSD at 1.06621
2017.02 . 09 09 : 28 : 21.747 Trades '1013175' : cancel # 2246205 buy limit 1.00 EURUSD at market done in 59.555 ms
2017.02 . 09 09 : 28 : 21.747 Scripts script MT4Statement (EURUSD,M1) removed
2017.02 . 09 09 : 28 : 31.214 Scripts script MT4Statement (EURUSD,M1) loaded successfully
2017.02 . 09 09 : 28 : 31.227 Trades '1013175' : exchange buy 1.00 EURUSD at market
2017.02 . 09 09 : 28 : 32.302 Trades '1013175' : deal # 1542822 buy 1.00 EURUSD at 1.06723 done (based on order # 2246206 )
2017.02 . 09 09 : 28 : 32.302 Trades '1013175' : order # 2246206 buy 1.00 / 1.00 EURUSD at 1.06723 done in 1068.513 ms
2017.02 . 09 09 : 28 : 32.304 Trades '1013175' : modify # 2246206 buy 1.00 EURUSD sl: 0.00000 , tp: 0.00000 -> sl: 1.06623 , tp: 1.06823
2017.02 . 09 09 : 28 : 32.364 Trades '1013175' : modify # 2246206 buy 1.00 EURUSD -> sl: 1.06623 , tp: 1.06823 done in 60.516 ms
2017.02 . 09 09 : 28 : 32.364 Trades '1013175' : exchange sell 1.00 EURUSD at market, close # 2246206 buy 1.00 EURUSD 1.06723
2017.02 . 09 09 : 28 : 33.429 Trades '1013175' : deal # 1542823 sell 1.00 EURUSD at 1.06722 done (based on order # 2246207 )
2017.02 . 09 09 : 28 : 33.432 Trades '1013175' : order # 2246207 sell 1.00 / 1.00 EURUSD at 1.06722 done in 1068.809 ms
2017.02 . 09 09 : 28 : 33.432 Trades '1013175' : buy limit 1.00 EURUSD at 1.06623
2017.02 . 09 09 : 28 : 33.492 Trades '1013175' : order # 2246208 buy limit 1.00 / 1.00 EURUSD at market done in 58.742 ms
2017.02 . 09 09 : 28 : 33.492 Trades '1013175' : cancel order # 2246208 buy limit 1.00 EURUSD at 1.06623
2017.02 . 09 09 : 28 : 33.549 Trades '1013175' : cancel # 2246208 buy limit 1.00 EURUSD at market done in 57.722 ms
2017.02 . 09 09 : 28 : 33.549 Scripts script MT4Statement (EURUSD,M1) removed
TRADE_ACTION_DEAL은 다른 모드보다 20배 느립니다! 재생산.
이 경우 OrderSend가 거의 즉시 true를 반환했지만 65초가 관찰되었다는 것을 정확히 이해하고 있습니까? (ENUM_ORDER_STATE)::OrderGetInteger(ORDER_STATE) == ORDER_STATE_STARTED ?
이 검사를 코드에 추가하십시오.
이 경우 OrderSend가 거의 즉시 true를 반환했지만 65초가 관찰되었다는 것을 정확히 이해하고 있습니까? (ENUM_ORDER_STATE)::OrderGetInteger(ORDER_STATE) == ORDER_STATE_STARTED ?
이 검사를 코드에 추가하십시오.
나는 OrderSendAsync를 사용하고 있습니다
단, 1초 이상의 지연으로 주문 상태를 확인하고
switch (o_status)
{
case BUY_ORDER:
BuyOrder.mem_time = GetMicrosecondCount ();
Print ( __FUNCTION__ , ": Buy ордер в переходном состоянии." );
break ;
case SELL_ORDER:
SellOrder.mem_time = GetMicrosecondCount ();
Print ( __FUNCTION__ , ": Sell ордер в переходном состоянии." );
break ;
}
break ;
나는 OrderSendAsync를 사용하고 있습니다
단, 1초 이상의 지연으로 주문 상태를 확인하고
switch (o_status)
{
case BUY_ORDER:
BuyOrder.mem_time = GetMicrosecondCount ();
Print ( __FUNCTION__ , ": Buy ордер в переходном состоянии." );
break ;
case SELL_ORDER:
SellOrder.mem_time = GetMicrosecondCount ();
Print ( __FUNCTION__ , ": Sell ордер в переходном состоянии." );
break ;
}
break ;
마찬가지로 Started가 중단됩니다.
때문에 확실히 말할 수 없다.
{
case ORDER_STATE_STARTED :
case ORDER_STATE_REQUEST_ADD :
case ORDER_STATE_REQUEST_MODIFY :
case ORDER_STATE_REQUEST_CANCEL :
ord_data.real_state = ORDER_BUSY;
break ;
case ORDER_STATE_PARTIAL :
ord_data.real_state = ORDER_EXIST_PARTIAL;
break ;
case ORDER_STATE_PLACED :
ord_data.real_state = ORDER_EXIST;
break ;
}
1ms 4 옵션
case ORDER_STATE_REQUEST_ADD :
case ORDER_STATE_REQUEST_MODIFY :
case ORDER_STATE_REQUEST_CANCEL :
대부분의 질문은
즉, 6-7ms입니다. 그렇지 않으면 브레이크를 이해할 수 없습니다( 917.779 ).
2017.02 . 10 14 : 07 : 32.020 Trades 'xxxxx' : cancel order # 52361023 buy limit 2.00 BR- 7.17 at 56.89
2017.02 . 10 14 : 07 : 32.025 Trades 'xxxxx' : accepted cancel order # 52361023 buy limit 2.00 BR- 7.17 at 56.89
2017.02 . 10 14 : 07 : 32.026 Trades 'xxxxx' : cancel order # 52361023 buy limit 2.00 BR- 7.17 at 56.89 placed for execution in 6.297 ms
2017.02 . 10 14 : 08 : 00.711 Trades 'xxxxx' : modify order # 52360848 sell limit 1.00 BR- 9.17 at 58.40 sl: 0.00 tp: 0.00 -> 58.23 , sl: 0.00 tp: 0.00
2017.02 . 10 14 : 08 : 01.628 Trades 'xxxxx' : accepted modify order # 52360848 sell limit 1.00 BR- 9.17 at 58.40 sl: 0.00 tp: 0.00 -> 58.23 , sl: 0.00 tp: 0.00
2017.02 . 10 14 : 08 : 01.629 Trades 'xxxxx' : modify order # 52360848 sell limit 1.00 BR- 9.17 at 58.40 sl: 0.00 tp: 0.00 -> 58.23 , sl: 0.00 tp: 0.00 placed for execution in 917.779 ms
2017.02 . 10 14 : 08 : 04.005 Trades 'xxxxx' : modify order # 52360848 sell limit 1.00 BR- 9.17 at 58.23 sl: 0.00 tp: 0.00 -> 58.08 , sl: 0.00 tp: 0.00
2017.02 . 10 14 : 08 : 04.011 Trades 'xxxxx' : accepted modify order # 52360848 sell limit 1.00 BR- 9.17 at 58.23 sl: 0.00 tp: 0.00 -> 58.08 , sl: 0.00 tp: 0.00
2017.02 . 10 14 : 08 : 04.012 Trades 'xxxxx' : modify order # 52360848 sell limit 1.00 BR- 9.17 at 58.23 sl: 0.00 tp: 0.00 -> 58.08 , sl: 0.00 tp: 0.00 placed for execution in 6.677 ms