You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
39th circle?
I'm asking programmers to join the discussion, point out my mistake and suggest the right way to solve the problem.
Most of this thread has been telling you this error. And it is not an error in the indicator, but an error in the logic of its calculation - in your case.
Throughout most of this thread this error is told to you. And it is not an error in the indicator, but an error in the logic of its calculation.
Here, the indicator was working for a long time, showing the chart, stating that, the market is under Bulls:
Called the indicator and pressed OK, there is a slight change:
That's what I'm talking about, otherwise, the indicator works fine. Just, the red line has gone down a little bit in relation to the red line. That's all, no other differences. I only need to understand the mutual positioning, my calculations have nothing to do with it. There seems to be another problem here.
Here, the indicator has been working for a long time, showing the chart, stating that, the market is run by the Bulls:
Called the indicator and pressed OK, there is a slight change:
That's what I'm talking about, otherwise, the indicator works fine. Just, the red line has gone down a little bit in relation to the red line. That's all, no other differences. I only need to understand the mutual positioning, my calculations have nothing to do with it. There seems to be another problem here.
The problem is the new reference point. New point = new sum = new lines. Your changes occur smoothly because the amount of data to be calculated is quite large - 1000. A change at the beginning of the calculation by a few bars over a thousand already gives a noticeable distortion. And if you calculate for 10 bars? The indicator will quickly redraw itself.
The problem is the new reference point. New point = new sum = new lines. Your changes occur smoothly because the amount of data to be calculated is quite large - 1000. A change at the beginning of the calculation by a few bars over a thousand already gives a noticeable distortion. And if you calculate for 10 bars? The indicator will quickly redraw itself.
I agree with the version of the reference point, but the lines themselves have not changed. And the EA will work by results of calculations on the 0 bar, which are the same every time, no matter when you start the indicator. The Expert Advisor does not work with the lines, it works on the fact of crossing on the 0-bar.
As soon as you switch back and forth between the timeframes on which the Expert Advisor is working, it starts getting different data from what it was getting before. Is it normal?
As soon as you switch back and forth between the timeframes on which the Expert Advisor is working, it starts getting different data from what it was getting before. Is this normal?
If the calculation methodology does not allow to make the lines static in time, and only the current indicator readings matter (at 0 bar), can we make the indication not by lines? It may not be so visual, but it won't be misleading... You don't need lines to attach them to your EA.
Right, but how do you imagine"make the indication not lines?". We came to the conclusion that in order to see the true market condition, corresponding to N periods, we should programmatically restart the indicator on every new bar, to exclude the reference point influence and recognize the indicator as re-drawing. This doesn't make the indicator hot or cold, it still performs its calculations and pronounces its verdict on the results of the 0-th bar, using the historical data within the specified period. I am prepared for this turn of events to recognise and accept this approach.
so at every tick the indicator will recalculate the entire 1000 bar window?
if yes, then it is a very bad option.