mqlvu: I am trying to get nth prev candle's o

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
Hi,
I am trying to get nth prev candle's open and display it on the current candle. But my code does the opposite. Puts the current candle's open on nth candle. Couldn't figure out what I am doing wrong.