No, they are not the same
If you want 'price of bar just older than latest bar' use first option
If you want 'price of bar just older than the bar I'm looking at, as I work my way through all bars' use second
I expect the second is what you want, but maybe not.
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
Can I assign the Open and Close price of the previous bar like this:
Or should I do it this way:
And then use in the form of:
Is it the same or not?