FlashX: Where my mouse is doesn't matter. I compared 7:35 on the chart with 7:35 in the EA and it's not the same. Therefore my mouse was right where I wanted it to be.
No, I don't think you did . . . you compared a closed candle at 7:35 with bar 0 which opened at 7:35 and was still open . . . the two are not the same.
you compared a closed candle at 7:35 with bar 0 which opened at 7:35 and was still open - Where's the difference? It wouldn't make such a huge difference as shown anyways.
FlashX: you compared a closed candle at 7:35 with bar 0 which opened at 7:35 and was still open - Where's the difference? It wouldn't make such a huge difference as shown anyways.
It makes a difference . . . all the difference ? or some of the difference ? I don't know . . . but it WILL make a difference. Try comparing like with like and then working out what has caused the difference, you will be in a much better place to discover the correct answer.
RaptorUK: It makes a difference . . . all the difference ? or some of the difference ? I don't know . . . but it WILL make a difference. Try comparing like with like and then working out what has caused the difference, you will be in a much better place to discover the correct answer.
Could you be more specific about that and how you would attempt to solve the issue?
Could you be more specific about that and how you would attempt to solve the issue?
I would start by coding a simple indicator that prints the Stochastic to chart using Comment() for a bar other than bar 0, for example bar 1, then add this to a chart as well as the standard Stochastic indicator and comparing values.
RaptorUK: I would start by coding a simple indicator that prints the Stochastic to chart using Comment() for a bar other than bar 0, for example bar 1, then add this to a chart as well as the standard Stochastic indicator and comparing values.
I've just done this and I get the same value for bar 1
Where my mouse is doesn't matter. I compared 7:35 on the chart with 7:35 in the EA and it's not the same. Therefore my mouse was right where I wanted it to be.
No, I don't think you did . . . you compared a closed candle at 7:35 with bar 0 which opened at 7:35 and was still open . . . the two are not the same.
you compared a closed candle at 7:35 with bar 0 which opened at 7:35 and was still open - Where's the difference? It wouldn't make such a huge difference as shown anyways.
It makes a difference . . . all the difference ? or some of the difference ? I don't know . . . but it WILL make a difference. Try comparing like with like and then working out what has caused the difference, you will be in a much better place to discover the correct answer.
Could you be more specific about that and how you would attempt to solve the issue?
Could you be more specific about that and how you would attempt to solve the issue?
I would start by coding a simple indicator that prints the Stochastic to chart using Comment() for a bar other than bar 0, for example bar 1, then add this to a chart as well as the standard Stochastic indicator and comparing values.
I've just done this and I get the same value for bar 1
So you are using something comparable to the following (Shift set to one in order to use the latest closed bar in the chart)?
So you are using something comparable to the following (Shift set to one in order to use the latest closed bar in the chart)?
Almost . . you posted this
which is
It doesn't really matter as long as you set the same parameters in the standard Stochastic you add to the chart.