Sultonov differential indicator - page 23

 
Artyom Trishkin:
You need to correct the calculation. Not the indicator. There's something wrong with your calculation. This is not an error in the indicator. Your report point shifts when you open a new bar. The amounts change accordingly. You are saying that we should not pay attention to this and calculate the amount only for the zero bar, while all the previous ones have already been drawn. But changing the timeframe and going back will present a totally different picture - the line will be recalculated from the new starting point.
Don't blame your mistake on me, please.
Artem, please excuse me if I didn't put it that way. I'm just saying that if the results of indicator calculation are calculated and stored in a file, they should never be changed, and the recording of the results after the completion of the 0-th bar in the 1-st bar, while deleting the last bar from the operational history of the indicator in the form of a single point is not able to change the character and position of lines on the history. What change of approach to calculations are you talking about, if I'm not changing the approach from the beginning, that the previous indicator readings must be fixed permanently, despite the changes on the current, 0-th bar.
 
Yousufkhodja Sultonov:
Artem, please excuse me if I didn't put it that way. I'm just saying that if the results of indicator calculation are calculated and stored in a file, they should never change, while recording the results of the battles after the completion of the 0-th bar to the 1st bar, while deleting the last bar from the operational history of the indicator in the form of a single point is not able to change the character and position of the lines on the history.
I forced you to manually recalculate the appearance of only three bars. Three calculations showed three different lines. You said that it was nothing - you should not pay attention to that and finish drawing only the zero bar. And so I did. Only the change of the timeframe will break everything.
 
Artyom Trishkin:
I have forced you to manually recalculate the appearance of just three bars. Three calculations showed three different lines. You said it was bullshit - you should ignore it and draw only the zero bar. And so I did. Only the change of the timeframe will break everything.

Of course, changing the TF should break everything and rightly so! Different TFs have different inputs. The changes should not be within the same TF.Here it is step by step, asnew barsare opened.

Bars9876543210



Б0,40,850,850,850,850,70,70,80,80,8




М000,20,150,20,20,2750,2750,240,4833



Bars109876543210



Б0,40,850,850,850,850,70,70,80,80,80,9833



М000,20,150,20,20,2750,2750,240,48330,5857




Bars11109876543210


Б0,40,850,850,850,850,70,70,80,80,80,98330,6


М000,20,150,20,20,2750,2750,240,48330,58570,5857



Where do you see changes in the calculations? Please point out the changes in lines B and M on the history when comparing the first and subsequent two tables. Here the calculation period is N=10. The changes occur only in new bars. If we take Close prices instead of Bars, the situation will not change:

Close prices.1,27041,27171,27151,27141,27111,27151,27101,27211,27201,2703



Б0,40,850,850,850,850,70,70,80,80,8




М000,20,150,20,20,2750,2750,240,4833



Prices close.1,27041,27171,27151,27141,27111,27151,27101,27211,27201,27031,2691



Б0,40,850,850,850,850,70,70,80,80,80,9833



М000,20,150,20,20,2750,2750,240,48330,5857




Prices close.1,27041,27171,27151,27141,27111,27151,27101,27211,27201,27031,26911,2694


Б0,40,850,850,850,850,70,70,80,80,80,98330,6


М000,20,150,20,20,2750,2750,240,48330,58570,5857


 

Make a simple check like this:

1) TF 1 minute. Put a vertical line on the 1st bar (fixed value). Take the first screenshot of the chart.

2) Switch to any other TF. Wait 10-20 minutes.

3) Switch back to the TF 1 minute. Take the second screenshot of the chart.

4) Compare the chart readings in the screenshots below the vertical line.

 
Yousufkhodja Sultonov:

Of course, changing the TF should break everything, and rightly so! Different TFs have different inputs. Changes should not be within the same TF.This is step by step, asnew barsare opened.

..

Where do you see changes in the calculations? Please point out the changes in lines B and M on the history when comparing the first and subsequent two tables. The calculation period here is N=10. The changes occur only in new bars. If we take closing prices instead of bars, the situation will not change:

...

Yusuf, well, you're being facetious ;) You have substituted the data from the previous calculated bars with an offset in the recalculated tables, and recalculated the zero bar using the new data. BUT... If you don't substitute the data, but recalculate it, it will already be different. And you know that. That's the reason you told me to just take the data not the calculated data, but the data already in place. Well, the indicator logic is designed in such a way that already calculated values are not redrawn and only the current bar is calculated. But as soon as we shift the timeframe back and forth, everything changes. The indicator recalculates the entire history and then starts to calculate only the zero bar again. But the recalculated history will be different if we switch thef after some number of bars after the first calculation - before switching thef, because the starting point of calculation has already shifted by the number of new bars from the moment of the first calculation.

 
Artyom Trishkin:

Yusuf, you're being facetious ;) You have put in the recalculated tables the data from the previous calculated bars with an offset, and recalculated the zero bar using the new data. BUT... If you don't substitute the data, but recalculate it, it will already be different. And you know that. That's the reason you told me to just take the data not the calculated data, but the data already in place. Well, the indicator logic is designed in such a way that already calculated values are not redrawn and only the current bar is calculated. But as soon as we shift the timeframe back and forth, everything changes. The indicator recalculates the entire history and then starts to calculate only the zero bar again. But the recalculated history will be different if we switch thef after some number of bars after the first calculation - before switching thef, because the starting point of calculation has already shifted by the number of new bars received from the moment of the first calculation.

Artem, save the data so it doesn't change when switching the timeframe and use it the same way as I did above. Any non redrawing indicator changes the chart profile when we switch the TF - it's not a problem, it's not good when the profile changes when the indicator is reset on the same TF with the same period, moreover, we have a profile change with time, i.e. even without resetting the indicator. This is what the problem is.
 
Олег avtomat:

Make a simple check like this:

1) TF 1 minute. Put a vertical line on the 1st bar (fixed value). Take the first screenshot of the chart.

2) Switch to any other TF. Wait 10-20 minutes.

3) Switch back to the TF 1 minute. Take the second screenshot of the chart.

4) Compare the chart readings in the screenshots below the vertical line.

Oleg, in theory they should not change, but the indicator will retrieve its history from the new data and it will be right, because considerable time has passed and it has lost its history. It should not change the profile of the graphs depending on the time, when we do not change anything on the given TP. And now the lines are shifting relative to each other, simulating an intersection that didn't happen.
 
Yousufkhodja Sultonov:
Artem, save the data so that it does not change when you switch the TF. Any non redrawing indicator changes chart profile when switching - it's not a problem, it's bad when the profiles change when the indicator is reset on the same TF with the same period, moreover, we have profile change over time, i.e. even without resetting the indicator. This is the problem.
The problem is your calculation. First understand what you are being told, then transform your calculation and then you can do something. But I won't make crutches to bypass the wrong calculation - it's not serious.
 
Artyom Trishkin:
The problem is your calculation. First understand what you are being told, then convert your calculation, and then you can do something about it. But I will not make crutches to bypass the wrong calculation - it is not serious.
Artem, where do you think the incorrectness of my calculation, that I do not understand or does not reach me?
 
Yousufkhodja Sultonov:
Artem, where do you think my calculation is wrong, what am I misunderstanding?
The 39th lap?
Reason: