사용자 정의 기호. 오류, 버그, 질문, 제안. - 페이지 3

 

마켓 워치에서 틱이 전달되지 않은 경우 차트에 사용자 정의 기호의 현재 0 가격을 표시하지 마십시오.


 

버그 06.

일부 사용자 지정 기호에 대한 테스터는 실제 눈금을 기반으로 하는 모드에서 완전히 부적절하게 동작합니다.


예고편에는 json 및 tick/bar history 파일이 포함되어 있습니다. 이 파일을 기반으로 기호를 만들고 실제 틱 테스트를 실행합니다. 출력은 그런 불명예가 될 것입니다

TESTER_EURUSD.rann_RannForex: history data begins from 2019.03 . 01 00 : 00
TESTER_EURUSD.rann_RannForex: ticks data begins from 2019.03 . 01 00 : 00
agent process started
connecting to 127.0 . 0.1 : 3000
connected
authorized (agent build 2007 )
TESTER_EURUSD.rann_RannForex,M1 (MetaQuotes-Beta): testing of Experts\fxsaber\TesterTickCheck.ex5 from 2019.03 . 01 00 : 00 to 2019.03 . 14 00 : 00
common synchronization completed
TESTER_EURUSD.rann_RannForex: history for 2018 year synchronized
TESTER_EURUSD.rann_RannForex: ticks synchronized already [ 87 bytes]
MetaTester 5 started on 127.0 . 0.1 : 3000
initialization finished
login (build 2007 )
3860 bytes of account info loaded
1482 bytes of tester parameters loaded
1724 bytes of input parameters loaded
675 bytes of symbols list loaded
expert file added: Experts\fxsaber\TesterTickCheck.ex5. 21663 bytes loaded
5659 Mb available, 70 blocks set for ticks generating
initial deposit 10000.00 EUR, leverage 1 : 100
successfully initialized
22 Kb of total initialization data received
Intel Core i7- 2700 K  @ 3.50 GHz, 16301 MB
TESTER_EURUSD.rann_RannForex: symbol to be synchronized
TESTER_EURUSD.rann_RannForex: symbol synchronized, 3464 bytes of symbol info received
TESTER_EURUSD.rann_RannForex: load 71 bytes of history data to synchronize in 0 : 00 : 00.000
TESTER_EURUSD.rann_RannForex: history synchronized from 2019.03 . 01 to 2019.03 . 13
TESTER_EURUSD.rann_RannForex: ticks synchronization started
TESTER_EURUSD.rann_RannForex: load 78 bytes of tick data to synchronize in 0 : 00 : 00.000
TESTER_EURUSD.rann_RannForex: history ticks synchronized from 2019.03 . 01 to 2019.03 . 13
TESTER_EURUSD.rann_RannForex: start time changed to 2019.03 . 02 00 : 00 to provide data at beginning
TESTER_EURUSD.rann_RannForex,M1: history cache allocated for 13776 bars and contains 1429 bars from 2019.03 . 01 00 : 00 to 2019.03 . 01 23 : 54
TESTER_EURUSD.rann_RannForex,M1: history begins from 2019.03 . 01 00 : 00
TESTER_EURUSD.rann_RannForex,M1 (MetaQuotes-Beta): generating based on real ticks
TESTER_EURUSD.rann_RannForex,M1: testing of Experts\fxsaber\TesterTickCheck.ex5 from 2019.03 . 01 00 : 00 to 2019.03 . 14 00 : 00 started with inputs:
  BeginTime= 1551484800
  EndTime= 1552176000
  inFlags= false
TESTER_EURUSD.rann_RannForex : 2019.03 . 04 23 : 59 - real ticks absent for 2 minutes out of 1430 total minute bars within a day
TESTER_EURUSD.rann_RannForex : 2019.03 . 04 23 : 59 - real ticks discarded for 1425 minutes out of 1430 total minute bars within a day
TESTER_EURUSD.rann_RannForex : 2019.03 . 04 00 : 22 - 2019.03 . 04 23 : 59    4 minute bars absent within a day while real ticks present
TESTER_EURUSD.rann_RannForex : 2019.03 . 04 23 : 59 - 62003 tick prices mismatch for 1428 minute bars
TESTER_EURUSD.rann_RannForex : 2019.03 . 05 23 : 59 - real ticks absent for 2 minutes out of 1437 total minute bars within a day
TESTER_EURUSD.rann_RannForex : 2019.03 . 05 23 : 59 - real ticks discarded for 1418 minutes out of 1437 total minute bars within a day
TESTER_EURUSD.rann_RannForex : 2019.03 . 05 00 : 29 - 2019.03 . 05 23 : 59    2 minute bars absent within a day while real ticks present
TESTER_EURUSD.rann_RannForex : 2019.03 . 05 23 : 59 - 56107 tick prices mismatch for 1421 minute bars
TESTER_EURUSD.rann_RannForex : 2019.03 . 06 23 : 59 - real ticks absent for 1 minutes out of 1436 total minute bars within a day
TESTER_EURUSD.rann_RannForex : 2019.03 . 06 23 : 59 - real ticks discarded for 1428 minutes out of 1436 total minute bars within a day
TESTER_EURUSD.rann_RannForex : 2019.03 . 06 05 : 18 - 2019.03 . 06 23 : 59    3 minute bars absent within a day while real ticks present
TESTER_EURUSD.rann_RannForex : 2019.03 . 06 23 : 59 - 67510 tick prices mismatch for 1431 minute bars
TESTER_EURUSD.rann_RannForex : 2019.03 . 07 23 : 59 - real ticks absent for 2 minutes out of 1436 total minute bars within a day
TESTER_EURUSD.rann_RannForex : 2019.03 . 07 23 : 59 - real ticks discarded for 1427 minutes out of 1436 total minute bars within a day
TESTER_EURUSD.rann_RannForex : 2019.03 . 07 01 : 40 - 2019.03 . 07 23 : 59    4 minute bars absent within a day while real ticks present
TESTER_EURUSD.rann_RannForex : 2019.03 . 07 23 : 59 - 67626 tick prices mismatch for 1428 minute bars
TESTER_EURUSD.rann_RannForex : 2019.03 . 08 23 : 59 - real ticks absent for 6 minutes out of 1435 total minute bars within a day
TESTER_EURUSD.rann_RannForex : 2019.03 . 08 23 : 59 - real ticks discarded for 1423 minutes out of 1435 total minute bars within a day
TESTER_EURUSD.rann_RannForex : 2019.03 . 08 23 : 59 - 70706 tick prices mismatch for 1425 minute bars
TESTER_EURUSD.rann_RannForex : 2019.03 . 11 23 : 59 - real ticks absent for 2 minutes out of 1433 total minute bars within a day
TESTER_EURUSD.rann_RannForex : 2019.03 . 11 23 : 59 - real ticks discarded for 1426 minutes out of 1433 total minute bars within a day
TESTER_EURUSD.rann_RannForex : 2019.03 . 11 00 : 17 - 2019.03 . 11 23 : 59    2 minute bars absent within a day while real ticks present
TESTER_EURUSD.rann_RannForex : 2019.03 . 11 23 : 59 - 54732 tick prices mismatch for 1428 minute bars
TESTER_EURUSD.rann_RannForex : 2019.03 . 12 23 : 59 - real ticks absent for 1 minutes out of 1435 total minute bars within a day
TESTER_EURUSD.rann_RannForex : 2019.03 . 12 23 : 59 - real ticks discarded for 1429 minutes out of 1435 total minute bars within a day
TESTER_EURUSD.rann_RannForex : 2019.03 . 12 04 : 14 - 2019.03 . 12 23 : 59    5 minute bars absent within a day while real ticks present
TESTER_EURUSD.rann_RannForex : 2019.03 . 12 23 : 59 - 57023 tick prices mismatch for 1429 minute bars
TESTER_EURUSD.rann_RannForex : 2019.03 . 13 23 : 59 - real ticks discarded for 1427 minutes out of 1437 total minute bars within a day
TESTER_EURUSD.rann_RannForex : 2019.03 . 13 00 : 35 - 2019.03 . 13 23 : 59    3 minute bars absent within a day while real ticks present
TESTER_EURUSD.rann_RannForex : 2019.03 . 13 23 : 59 - 54368 tick prices mismatch for 1432 minute bars
TESTER_EURUSD.rann_RannForex : real ticks begin from 2019.03 . 01 00 : 00 : 00
TESTER_EURUSD.rann_RannForex : 2019.03 . 02 00 : 00 - 2019.03 . 14 00 : 00   real ticks absent for 16 minutes of 11479 total minute bars, every tick generation used
TESTER_EURUSD.rann_RannForex : 2019.03 . 02 00 : 00 - 2019.03 . 14 00 : 00   real ticks discarded for 11403 minutes of 11479 total minute bars, every tick generation used
TESTER_EURUSD.rann_RannForex : 2019.03 . 02 00 : 00 - 2019.03 . 14 00 : 00    23 minute bars absent in total while real ticks present
TESTER_EURUSD.rann_RannForex : 2019.03 . 02 00 : 00 - 2019.03 . 14 00 : 00   tick volumes not matched for 51 minute bars
TESTER_EURUSD.rann_RannForex : 2019.03 . 02 00 : 00 - 2019.03 . 14 00 : 00   tick prices of 490075 ticks not matched for 11422 minute bars
final balance 10000.00 EUR
TESTER_EURUSD.rann_RannForex,M1: 761877 ticks, 11470 bars generated. Test passed in 0 : 00 : 02.019 (including ticks preprocessing 0 : 00 : 00.297 ).
222 Mb memory used including 0.94 Mb of history data, 64 Mb of tick data
log file "C:\Program Files\ICMarkets - MetaTrader 5\Tester\Agent-127.0.0.1-3000\logs\20190314.log" written
connection closed

그러나 더 멋진 것은 진드기가 수입된 이야기가 아니라 천장에서 제공된다는 것입니다.

흥미롭게도 이러한 기록 데이터를 다른 json으로 가져오면 테스터가 올바르게 작동합니다.

수정하십시오. 그렇지 않으면 테스터가 절대적으로 왼쪽 틱을 전달하는 것으로 나타났습니다. 그러면 왜 결과가 다른지 궁금합니다.


예고편에는 Expert Advisor도 있습니다. 이제 테스터의 눈금이 정확한지 확인하여 터미널의 눈금과 비교합니다. 이렇게까지 올 줄은 상상도 못했습니다.

 
fxsaber :
실생활의 사용자 지정 기호는 거래가 아닌 정보 제공용일 뿐입니다. 테스터에서만 거래할 수 있습니다.
테스터에서 어떻게 작동합니까?

예를 들어 합성 EURUSD-GBPUSD

이 합성을 사면
그러면 EURUSD는 EURUSD의 호가 로 매수되고 GBPUSD는 GBPUSD의 입찰가 로 매도될 것입니다.
 
multiplicator :
테스터에서 어떻게 작동합니까?

예를 들어 합성 EURUSD-GBPUSD

이 합성을 사면
그러면 EURUSD는 EURUSD의 호가 로 매수되고 GBPUSD는 GBPUSD의 입찰가 로 매도될 것입니다.

주어진 합성 공식에 따라 가격만 계산됩니다.

Tester에서의 거래는 이러한 계산된 가격을 기반으로 하며 계산된 방법과 관련이 없습니다.

 
fxsaber :

주어진 합성 공식에 따라 가격만 계산됩니다.

Tester에서의 거래는 이러한 계산된 가격을 기반으로 하며 계산된 방법과 관련이 없습니다.

즉, 테스트 중에 스프레드가 고려되지 않습니까?
 
multiplicator :
즉, 테스트 중에 스프레드가 고려되지 않습니까?

이전에 계산된 가격으로 기호에 대한 전체 테스트가 수행됩니다.

 
fxsaber :

이전에 계산된 가격 으로 기호에 대한 전체 테스트가 있을 것입니다.

즉,

EURUSD-GBPUSD 합성을 사용하는 경우

매도호가 및 매수호가는 다음과 같이 계산됩니다.

입찰 — 입찰가(EURUSD)-입찰가(GBPUSD)
묻다 - 묻다(EURUSD)-묻다(GBPUSD)


그리고 나서 합성수지 매수 오퍼레이션을 할 때 매도(EURUSD)-매도(GBPUSD) 가격으로 오픈하겠습니다.


하지만 그건 틀렸어!
결국, 내가 이 합성물을 사고 싶다면 EURUSD는 매도 호가 에 매수해야 하고 GBPUSD는 매수 호가 에 매도해야 합니다.


 
multiplicator :

하지만 그건 틀렸어!

합성 테스터의 "무역"은 당신이 상상하는 것이 아닙니다.

 
fxsaber :

합성 테스터의 "무역"은 당신이 상상하는 것이 아닙니다.

나는 그것을 생각해 내지 않았다. 이것이 그렇게 되어야 합니다. 정상으로.

그렇지 않은 경우, 스프레드를 고려하지 않는 경우 FIG에서 필요합니다.