You are using getValueAbsolute() rather than just getValue(). This means that you will always get the return for bar -1.
Of course in replay mode -1 will change for each new bar drawn, but for historical data -1 will always be the bar before bar 0, and hence the same value.
G
Of course in replay mode -1 will change for each new bar drawn, but for historical data -1 will always be the bar before bar 0, and hence the same value.
G
Comment