Ali Shirmohammadi: when i change time farme it mess up
SetIndexBuffer(1, UpArrowBuffer); SetIndexStyle(1, DRAW_ARROW); SetIndexArrow(1, 225); SetIndexBuffer(1, DnArrowBuffer); SetIndexStyle(1, DRAW_ARROW); SetIndexArrow(1, 226);
-
Please edit your (original) post and use the CODE button (Alt-S)! (For large amounts of code, attach it.)
General rules and best pratices of the Forum. - General - MQL5 programming forum
Messages Editor - You can't have two buffers with the same index.
William Roeder:
Oh i forgot it-
Please edit your (original) post and use the CODE button (Alt-S)! (For large amounts of code, attach it.)
General rules and best pratices of the Forum. - General - MQL5 programming forum
Messages Editor - You can't have two buffers with the same index.
And next?
Ali Shirmohammadi: when i change time farme it mess up
if(Close[i+2] < MaBuffer[i+2] && Close[i+1] > MaBuffer[i+2]) UpArrowBuffer[i+2] = Low[i+1]; if(Close[i+2] > MaBuffer[i+2] && Close[i+1] < MaBuffer[i+2]) DnArrowBuffer[i+2] = High[i+1];
- Old bug in MT4, buffers are not cleared to EMPTY_VALUE. A) if you set an Up, remove the Dn. B) I clear all buffers at the top of the loop.

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 write indicator for draw arrow when cross moving array and when i change time farme it mess up