William210:
I do not understand why it's works for Orientation[i] = BufferParcoursOrienation ( FastBuffer[i-1], FastBuffer[i]);
and don't work for Test[i] = BufferParcoursOrienation ( FastBuffer[i-1], FastBuffer[i]);???
You have missed one line
SetIndexBuffer( 4, Tester, INDICATOR_CALCULATIONS);See also SetIndexBuffer
William,
What makes the array Orientation[] to resize automatically is the instruction SetIndexBuffer( 1, Orientation, INDICATOR_COLOR_INDEX).
In the case of the array Test[], there is no such instruction, therefore, it is not resizing.
Regards,
Jin
Hello
Ok, I will try to add your comment in my code.
Thanks a lot.
Best Regards

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
hello
Why do I get this error message on Test?
This is my code
I do not understand why it's works for Orientation[i] = BufferParcoursOrienation ( FastBuffer[i-1], FastBuffer[i]);
and don't work for Test[i] = BufferParcoursOrienation ( FastBuffer[i-1], FastBuffer[i]);???
I tried to follow the values with print, they are well.
Please advise.
Best Regards