MT4 tester does not give information from other timeframes - page 6

 
avatara писал(а) >>
Again to you and Sych.

Can you tell me how to write a correct multitimeframe indicator so that it works correctly in the tester.

The test results would be the same.
For example you can try Tikovsky;)
Run it in a reputable tester for example.

You don't need to do it in visualisation mode. Useless work
 
I ask again.
Suppose we have an EA that works with a multi-timeframe indicator.
How do we check if the indicator is calculated correctly?
Like that it works with the correct price data.
Judging by the discussion - no way.
 
and there's also the suspicion that indicators that logically work in their own flow...
In the tester working with the autonomous chart are lying on other TFs.
Here is a summary of the problem.
We are waiting for an answer from the respected Rosh.
 
avatara >>:

Ждём ответа уважаемого Rosh'a.

Think for yourself, you have already been told more than once that visual mode is not designed for what you are trying to do. The tester calculates everything correctly.

 

Piece of log

22:48:57 2009.01.05 00:01 VininE_test EURUSD,M1: M1: 2009.01.05 00:01; 1.3887; 1.3887
22:48:57 2009.01.05 00:01 VininE_test EURUSD,M1: M5: 2009.01.05 00:00; 1.3885; 1.3887; 1.3887
22:48:57 2009.01.05 00:01 VininE_test EURUSD,M1: M15: 2009.01.05 00:00; 1.3885; 1.3887; 1.3887
22:49:01 2009.01.05 00:01 VininE_test EURUSD,M1: M30: 2009.01.05 00:00; 1.3885; 1.3887; 1.3887
22:49:01 2009.01.05 00:01 VininE_test EURUSD,M1: H1: 2009.01.05 00:00; 1.3885; 1.3887; 1.3887
22:49:01 2009.01.05 00:01 VininE_test EURUSD,M1: H4: 2009.01.05 00:00; 1.3885; 1.3887; 1.3887
22:49:04 2009.01.05 00:01 VininE_test EURUSD,M1: D1: 2009.01.05 00:00; 1.3885; 1.3887; 1.3887
22:49:07 2009.01.05 00:01 VininE_test EURUSD,M1: W1: 2009.01.04 00:00; 1.3885; 1.3887; 1.3887
22:49:10 2009.01.05 00:01 VininE_test EURUSD,M1: MN1: 1970.01.01 00:00; 0; 0; 0
22:49:10 2009.01.05 00:02 VininE_test EURUSD,M1: M1: 2009.01.05 00:02; 1.3889; 1.3889; 1.3889
22:49:10 2009.01.05 00:02 VininE_test EURUSD,M1: M5: 2009.01.05 00:00; 1.3885; 1.3889; 1.3889
22:49:10 2009.01.05 00:02 VininE_test EURUSD,M1: M15: 2009.01.05 00:00; 1.3885; 1.3889; 1.3889
22:49:10 2009.01.05 00:02 VininE_test EURUSD,M1: M30: 2009.01.05 00:00; 1.3885; 1.3889; 1.3889
22:49:10 2009.01.05 00:02 VininE_test EURUSD,M1: H1: 2009.01.05 00:00; 1.3885; 1.3889; 1.3889
22:49:10 2009.01.05 00:02 VininE_test EURUSD,M1: H4: 2009.01.05 00:00; 1.3885; 1.3889; 1.3889
22:49:10 2009.01.05 00:02 VininE_test EURUSD,M1: D1: 2009.01.05 00:00; 1.3885; 1.3889; 1.3889
22:49:10 2009.01.05 00:02 VininE_test EURUSD,M1: W1: 2009.01.04 00:00; 1.3885; 1.3889; 1.3889
22:49:10 2009.01.05 00:02 VininE_test EURUSD,M1: MN1: 1970.01.01 00:00; 0; 0; 0
22:49:10 2009.01.05 00:03 VininE_test EURUSD,M1: M1: 2009.01.05 00:03; 1.3888; 1.3888; 1.3888
22:49:10 2009.01.05 00:03 VininE_test EURUSD,M1: M5: 2009.01.05 00:00; 1.3885; 1.3889; 1.3888
22:49:10 2009.01.05 00:03 VininE_test EURUSD,M1: M15: 2009.01.05 00:00; 1.3885; 1.3889; 1.3885; 1.3888
22:49:10 2009.01.05 00:03 VininE_test EURUSD,M1: M30: 2009.01.05 00:00; 1.3885; 1.3889; 1.3885; 1.3888
22:49:10 2009.01.05 00:03 VininE_test EURUSD,M1: H1: 2009.01.05 00:00; 1.3885; 1.3889; 1.3885; 1.3888
22:49:10 2009.01.05 00:03 VininE_test EURUSD,M1: H4: 2009.01.05 00:00; 1.3885; 1.3889; 1.3885; 1.3888
22:49:10 2009.01.05 00:03 VininE_test EURUSD,M1: D1: 2009.01.05 00:00; 1.3885; 1.3889; 1.3885; 1.3888
22:49:10 2009.01.05 00:03 VininE_test EURUSD,M1: W1: 2009.01.04 00:00; 1.3885; 1.3889; 1.3885; 1.3888
22:49:10 2009.01.05 00:03 VininE_test EURUSD,M1: MN1: 1970.01.01 00:00; 0; 0; 0
22:49:10 2009.01.05 00:04 VininE_test EURUSD,M1: M1: 2009.01.05 00:04; 1.3892; 1.3892; 1.3892
22:49:10 2009.01.05 00:04 VininE_test EURUSD,M1: M5: 2009.01.05 00:00; 1.3885; 1.3892; 1.3892
22:49:10 2009.01.05 00:04 VininE_test EURUSD,M1: M15: 2009.01.05 00:00; 1.3885; 1.3892; 1.3885; 1.3892
22:49:10 2009.01.05 00:04 VininE_test EURUSD,M1: M30: 2009.01.05 00:00; 1.3885; 1.3892; 1.3885; 1.3892
22:49:10 2009.01.05 00:04 VininE_test EURUSD,M1: H1: 2009.01.05 00:00; 1.3885; 1.3892; 1.3885; 1.3892
22:49:10 2009.01.05 00:04 VininE_test EURUSD,M1: H4: 2009.01.05 00:00; 1.3885; 1.3892; 1.3885; 1.3892
22:49:10 2009.01.05 00:04 VininE_test EURUSD,M1: D1: 2009.01.05 00:00; 1.3885; 1.3892; 1.3885; 1.3892
22:49:10 2009.01.05 00:04 VininE_test EURUSD,M1: W1: 2009.01.04 00:00; 1.3885; 1.3892; 1.3885; 1.3892
22:49:10 2009.01.05 00:04 VininE_test EURUSD,M1: MN1: 1970.01.01 00:00; 0; 0; 0
22:49:10 2009.01.05 00:05 VininE_test EURUSD,M1: M1: 2009.01.05 00:05; 1.3899; 1.3899; 1.3899
22:49:10 2009.01.05 00:05 VininE_test EURUSD,M1: M5: 2009.01.05 00:05; 1.3899; 1.3899; 1.3899
22:49:10 2009.01.05 00:05 VininE_test EURUSD,M1: M15: 2009.01.05 00:00; 1.3885; 1.3899; 1.3899
22:49:10 2009.01.05 00:05 VininE_test EURUSD,M1: M30: 2009.01.05 00:00; 1.3885; 1.3899; 1.3899
22:49:10 2009.01.05 00:05 VininE_test EURUSD,M1: H1: 2009.01.05 00:00; 1.3885; 1.3899; 1.3899
22:49:10 2009.01.05 00:05 VininE_test EURUSD,M1: H4: 2009.01.05 00:00; 1.3885; 1.3899; 1.3899
22:49:10 2009.01.05 00:05 VininE_test EURUSD,M1: D1: 2009.01.05 00:00; 1.3885; 1.3899; 1.3899
22:49:10 2009.01.05 00:05 VininE_test EURUSD,M1: W1: 2009.01.04 00:00; 1.3885; 1.3899; 1.3899
22:49:10 2009.01.05 00:05 VininE_test EURUSD,M1: MN1: 1970.01.01 00:00; 0; 0; 0
22:49:10 2009.01.05 00:06 VininE_test EURUSD,M1: M1: 2009.01.05 00:06; 1.3901; 1.3901; 1.3901
22:49:10 2009.01.05 00:06 VininE_test EURUSD,M1: M5: 2009.01.05 00:05; 1.3899; 1.3901; 1.3899; 1.3901
22:49:10 2009.01.05 00:06 VininE_test EURUSD,M1: M15: 2009.01.05 00:00; 1.3885; 1.3901; 1.3885; 1.3901
22:49:10 2009.01.05 00:06 VininE_test EURUSD,M1: M30: 2009.01.05 00:00; 1.3885; 1.3901; 1.3885; 1.3901
22:49:10 2009.01.05 00:06 VininE_test EURUSD,M1: H1: 2009.01.05 00:00; 1.3885; 1.3901; 1.3885; 1.3901
22:49:10 2009.01.05 00:06 VininE_test EURUSD,M1: H4: 2009.01.05 00:00; 1.3885; 1.3901; 1.3885; 1.3901
22:49:10 2009.01.05 00:06 VininE_test EURUSD,M1: D1: 2009.01.05 00:00; 1.3885; 1.3901; 1.3885; 1.3901
22:49:10 2009.01.05 00:06 VininE_test EURUSD,M1: W1: 2009.01.04 00:00; 1.3885; 1.3901; 1.3885; 1.3901
22:49:10 2009.01.05 00:06 VininE_test EURUSD,M1: MN1: 1970.01.01 00:00; 0; 0; 0
22:49:10 2009.01.05 00:07 VininE_test EURUSD,M1: M1: 2009.01.05 00:07; 1.3898; 1.3898; 1.3898
22:49:10 2009.01.05 00:07 VininE_test EURUSD,M1: M5: 2009.01.05 00:05; 1.3899; 1.3901; 1.3898; 1.3898
22:49:10 2009.01.05 00:07 VininE_test EURUSD,M1: M15: 2009.01.05 00:00; 1.3885; 1.3901; 1.3885; 1.3898
22:49:10 2009.01.05 00:07 VininE_test EURUSD,M1: M30: 2009.01.05 00:00; 1.3885; 1.3901; 1.3885; 1.3898
22:49:10 2009.01.05 00:07 VininE_test EURUSD,M1: H1: 2009.01.05 00:00; 1.3885; 1.3901; 1.3885; 1.3898
22:49:10 2009.01.05 00:07 VininE_test EURUSD,M1: H4: 2009.01.05 00:00; 1.3885; 1.3901; 1.3885; 1.3898
22:49:10 2009.01.05 00:07 VininE_test EURUSD,M1: D1: 2009.01.05 00:00; 1.3885; 1.3901; 1.3885; 1.3898
22:49:10 2009.01.05 00:07 VininE_test EURUSD,M1: W1: 2009.01.04 00:00; 1.3885; 1.3901; 1.3885; 1.3898
22:49:10 2009.01.05 00:07 VininE_test EURUSD,M1: MN1: 1970.01.01 00:00; 0; 0; 0
22:49:10 2009.01.05 00:08 VininE_test EURUSD,M1: M1: 2009.01.05 00:08; 1.3902; 1.3902; 1.3902
22:49:10 2009.01.05 00:08 VininE_test EURUSD,M1: M5: 2009.01.05 00:05; 1.3899; 1.3902; 1.3898; 1.3902
22:49:10 2009.01.05 00:08 VininE_test EURUSD,M1: M15: 2009.01.05 00:00; 1.3885; 1.3902; 1.3885; 1.3902
22:49:10 2009.01.05 00:08 VininE_test EURUSD,M1: M30: 2009.01.05 00:00; 1.3885; 1.3902; 1.3885; 1.3902
22:49:10 2009.01.05 00:08 VininE_test EURUSD,M1: H1: 2009.01.05 00:00; 1.3885; 1.3902; 1.3885; 1.3902
22:49:10 2009.01.05 00:08 VininE_test EURUSD,M1: H4: 2009.01.05 00:00; 1.3885; 1.3902; 1.3885; 1.3902
22:49:10 2009.01.05 00:08 VininE_test EURUSD,M1: D1: 2009.01.05 00:00; 1.3885; 1.3902; 1.3885; 1.3902
22:49:10 2009.01.05 00:08 VininE_test EURUSD,M1: W1: 2009.01.04 00:00; 1.3885; 1.3902; 1.3885; 1.3902
22:49:10 2009.01.05 00:08 VininE_test EURUSD,M1: MN1: 1970.01.01 00:00; 0; 0; 0
22:49:10 2009.01.05 00:09 VininE_test EURUSD,M1: M1: 2009.01.05 00:09; 1.3899; 1.3899; 1.3899
22:49:10 2009.01.05 00:09 VininE_test EURUSD,M1: M5: 2009.01.05 00:05; 1.3899; 1.3902; 1.3898; 1.3899
22:49:10 2009.01.05 00:09 VininE_test EURUSD,M1: M15: 2009.01.05 00:00; 1.3885; 1.3902; 1.3885; 1.3899
22:49:10 2009.01.05 00:09 VininE_test EURUSD,M1: M30: 2009.01.05 00:00; 1.3885; 1.3902; 1.3885; 1.3899
22:49:10 2009.01.05 00:09 VininE_test EURUSD,M1: H1: 2009.01.05 00:00; 1.3885; 1.3902; 1.3885; 1.3899
22:49:10 2009.01.05 00:09 VininE_test EURUSD,M1: H4: 2009.01.05 00:00; 1.3885; 1.3902; 1.3885; 1.3899
22:49:10 2009.01.05 00:09 VininE_test EURUSD,M1: D1: 2009.01.05 00:00; 1.3885; 1.3902; 1.3885; 1.3899
22:49:10 2009.01.05 00:09 VininE_test EURUSD,M1: W1: 2009.01.04 00:00; 1.3885; 1.3902; 1.3885; 1.3899
22:49:10 2009.01.05 00:09 VininE_test EURUSD,M1: MN1: 1970.01.01 00:00; 0; 0; 0
22:49:10 2009.01.05 00:10 VininE_test EURUSD,M1: M1: 2009.01.05 00:10; 1.39; 1.39; 1.39
22:49:10 2009.01.05 00:10 VininE_test EURUSD,M1: M5: 2009.01.05 00:10; 1.39; 1.39; 1.39
22:49:10 2009.01.05 00:10 VininE_test EURUSD,M1: M15: 2009.01.05 00:00; 1.3885; 1.3902; 1.3885; 1.39
22:49:10 2009.01.05 00:10 VininE_test EURUSD,M1: M30: 2009.01.05 00:00; 1.3885; 1.3902; 1.3885; 1.39
22:49:10 2009.01.05 00:10 VininE_test EURUSD,M1: H1: 2009.01.05 00:00; 1.3885; 1.3902; 1.3885; 1.39
22:49:10 2009.01.05 00:10 VininE_test EURUSD,M1: H4: 2009.01.05 00:00; 1.3885; 1.3902; 1.3885; 1.39
22:49:10 2009.01.05 00:10 VininE_test EURUSD,M1: D1: 2009.01.05 00:00; 1.3885; 1.3902; 1.3885; 1.39
22:49:10 2009.01.05 00:10 VininE_test EURUSD,M1: W1: 2009.01.04 00:00; 1.3885; 1.3902; 1.3885; 1.39
22:49:10 2009.01.05 00:10 VininE_test EURUSD,M1: MN1: 1970.01.01 00:00; 0; 0; 0
22:49:10 2009.01.05 00:11 VininE_test EURUSD,M1: M1: 2009.01.05 00:11; 1.3898; 1.3898; 1.3898
22:49:10 2009.01.05 00:11 VininE_test EURUSD,M1: M5: 2009.01.05 00:10; 1.39; 1.3998; 1.3898
22:49:10 2009.01.05 00:11 VininE_test EURUSD,M1: M15: 2009.01.05 00:00; 1.3885; 1.3902; 1.3885; 1.3898
22:49:10 2009.01.05 00:11 VininE_test EURUSD,M1: M30: 2009.01.05 00:00; 1.3885; 1.3902; 1.3885; 1.3898
22:49:10 2009.01.05 00:11 VininE_test EURUSD,M1: H1: 2009.01.05 00:00; 1.3885; 1.3902; 1.3885; 1.3898
22:49:10 2009.01.05 00:11 VininE_test EURUSD,M1: H4: 2009.01.05 00:00; 1.3885; 1.3902; 1.3885; 1.3898
22:49:10 2009.01.05 00:11 VininE_test EURUSD,M1: D1: 2009.01.05 00:00; 1.3885; 1.3902; 1.3885; 1.3898
22:49:10 2009.01.05 00:11 VininE_test EURUSD,M1: W1: 2009.01.04 00:00; 1.3885; 1.3902; 1.3885; 1.3898
22:49:10 2009.01.05 00:11 VininE_test EURUSD,M1: MN1: 1970.01.01 00:00; 0; 0; 0
22:49:10 2009.01.05 00:12 VininE_test EURUSD,M1: M1: 2009.01.05 00:12; 1.3899; 1.3899; 1.3899
22:49:10 2009.01.05 00:12 VininE_test EURUSD,M1: M5: 2009.01.05 00:10; 1.39; 1.3998; 1.3899
22:49:10 2009.01.05 00:12 VininE_test EURUSD,M1: M15: 2009.01.05 00:00; 1.3885; 1.3902; 1.3885; 1.3899
22:49:10 2009.01.05 00:12 VininE_test EURUSD,M1: M30: 2009.01.05 00:00; 1.3885; 1.3902; 1.3885; 1.3899
22:49:10 2009.01.05 00:12 VininE_test EURUSD,M1: H1: 2009.01.05 00:00; 1.3885; 1.3902; 1.3885; 1.3899
22:49:10 2009.01.05 00:12 VininE_test EURUSD,M1: H4: 2009.01.05 00:00; 1.3885; 1.3902; 1.3885; 1.3899
22:49:10 2009.01.05 00:12 VininE_test EURUSD,M1: D1: 2009.01.05 00:00; 1.3885; 1.3902; 1.3885; 1.3899
22:49:10 2009.01.05 00:12 VininE_test EURUSD,M1: W1: 2009.01.04 00:00; 1.3885; 1.3902; 1.3885; 1.3899
22:49:10 2009.01.05 00:12 VininE_test EURUSD,M1: MN1: 1970.01.01 00:00; 0; 0; 0
22:49:10 2009.01.05 00:13 VininE_test EURUSD,M1: M1: 2009.01.05 00:13; 1.3906; 1.3906; 1.3906
22:49:10 2009.01.05 00:13 VininE_test EURUSD,M1: M5: 2009.01.05 00:10; 1.39; 1.3906; 1.3898; 1.3906
22:49:10 2009.01.05 00:13 VininE_test EURUSD,M1: M15: 2009.01.05 00:00; 1.3885; 1.3906; 1.3885; 1.3906
22:49:10 2009.01.05 00:13 VininE_test EURUSD,M1: M30: 2009.01.05 00:00; 1.3885; 1.3906; 1.3885; 1.3906
22:49:10 2009.01.05 00:13 VininE_test EURUSD,M1: H1: 2009.01.05 00:00; 1.3885; 1.3906; 1.3885; 1.3906
22:49:10 2009.01.05 00:13 VininE_test EURUSD,M1: H4: 2009.01.05 00:00; 1.3885; 1.3906; 1.3885; 1.3906
22:49:10 2009.01.05 00:13 VininE_test EURUSD,M1: D1: 2009.01.05 00:00; 1.3885; 1.3906; 1.3885; 1.3906
22:49:10 2009.01.05 00:13 VinE_test EURUSD,M1: W1: 2009.01.04 00:00; 1.3885; 1.3906; 1.3885; 1.3906
22:49:10 2009.01.05 00:13 VininE_test EURUSD,M1: MN1: 1970.01.01 00:00; 0; 0; 0
22:49:10 2009.01.05 00:14 VininE_test EURUSD,M1: M1: 2009.01.05 00:14; 1.3906; 1.3906; 1.3906
22:49:10 2009.01.05 00:14 VininE_test EURUSD,M1: M5: 2009.01.05 00:10; 1.39; 1.3906; 1.3898; 1.3906
22:49:10 2009.01.05 00:14 VininE_test EURUSD,M1: M15: 2009.01.05 00:00; 1.3885; 1.3906; 1.3885; 1.3906
22:49:10 2009.01.05 00:14 VininE_test EURUSD,M1: M30: 2009.01.05 00:00; 1.3885; 1.3906; 1.3885; 1.3906
22:49:10 2009.01.05 00:14 VininE_test EURUSD,M1: H1: 2009.01.05 00:00; 1.3885; 1.3906; 1.3885; 1.3906
22:49:10 2009.01.05 00:14 VininE_test EURUSD,M1: H4: 2009.01.05 00:00; 1.3885; 1.3906; 1.3885; 1.3906
22:49:10 2009.01.05 00:14 VininE_test EURUSD,M1: D1: 2009.01.05 00:00; 1.3885; 1.3906; 1.3885; 1.3906
22:49:10 2009.01.05 00:14 VinE_test EURUSD,M1: W1: 2009.01.04 00:00; 1.3885; 1.3906; 1.3885; 1.3906
22:49:10 2009.01.05 00:14 VininE_test EURUSD,M1: MN1: 1970.01.01 00:00; 0; 0; 0
22:49:10 2009.01.05 00:15 VininE_test EURUSD,M1: M1: 2009.01.05 00:15; 1.3911; 1.3911; 1.3911
22:49:10 2009.01.05 00:15 VininE_test EURUSD,M1: M5: 2009.01.05 00:15; 1.3911; 1.3911; 1.3911
22:49:10 2009.01.05 00:15 VininE_test EURUSD,M1: M15: 2009.01.05 00:15; 1.3911; 1.3911; 1.3911
22:49:10 2009.01.05 00:15 VininE_test EURUSD,M1: M30: 2009.01.05 00:00; 1.3885; 1.3911; 1.3885; 1.3911
22:49:10 2009.01.05 00:15 VininE_test EURUSD,M1: H1: 2009.01.05 00:00; 1.3885; 1.3911; 1.3885; 1.3911
22:49:10 2009.01.05 00:15 VininE_test EURUSD,M1: H4: 2009.01.05 00:00; 1.3885; 1.3911; 1.3885; 1.3911
22:49:10 2009.01.05 00:15 VininE_test EURUSD,M1: D1: 2009.01.05 00:00; 1.3885; 1.3911; 1.3885; 1.3911
22:49:10 2009.01.05 00:15 VininE_test EURUSD,M1: W1: 2009.01.04 00:00; 1.3885; 1.3911; 1.3885; 1.3911

And test advisor

Files:
 
Vinin >>:

Кусочек лога


И тестовый советник

Advisor. But not an indicator.

The data in the EA is correct.
But it is not correct in the Indicator.
And the moderator says that it is designed that way...
There is nothing to stare at.
 
avatara писал(а) >>

Advisor. But not an indicator.

The data in the Expert Advisor is correct.
But it's not correct in the Indicator.
And the moderator says that's the way it's supposed to be.
Nothing to stare at.


If the indicator is called in the EA via iCustom(), the data is correct.
 
Call the indicator out of the EA and make sure it works correctly. Stop trolling, there will be a ban.
 
Sych >>:
Странно? У меня всё работает как надо. В любом режиме тестера.


Your code ran as is - it works BUT the data on all lines is the same!!! I.e. from the same TF!
Wait a minute, do you have all the TF digits different and changing? May be something with my MT4, here ver-220.
Please check the digits, or better yet change the output to [0][0]:
"\n", " -----------1------ = ",arr1[0][1]," - ", arr1[0][1], Although there is not much difference.
I pasted your blocks - only digits of TF on which the test is running change!
Thanks anyway.

 
Vinin >>:


Если индикатор вызывается в советнике через iCustom(), то данные корректные.

I'm sorry, but I started the topic with the fact that the data in the EA on the test were wrong, so I started checking what was there and where,
I think I have already checked my own code and ready indicators put in the tester.
I tested it on my own code and on ready indicators put on the EA in testing mode,
But alas, the result is only from one TF.
iCustom() - This is the first thing I used, then I tried almost all of them in the Help, the result is the same!