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
When does your loop exit ?
My loop exit when shift = -1, but the last value in the buffer show in comment is for shift = 0.
Anyone can help me to code the main problem? please
Your Comment is outside of the loop so it will show the value in the Buffer for position -1 which is not valid.
People are trying to help you to help yourself . . . start by adding useful debugging Print statements.
Your Comment is outside of the loop so it will show the value in the Buffer for position -1 which is not valid.
People are trying to help you to help yourself . . . start by adding useful debugging Print statements.
Thanks for your reply.
Ok, Print commands are in place, but the problem is the buffer goes to infinite, because the multiplication (p-1);
Can you help me?
Thanks for your reply.
Ok, Print commands are in place, but the problem is the buffer goes to infinite, because the multiplication (p-1);
Can you help me?
Problem Solved. The mathematic equation are wrong.
Thanks to everyone.