monarcatrades: I need to draw an arrow on the next bar and not on the current bar which is drawn by this indicator. What could I modify?
-
Please edit your (original) post and use the CODE button (or Alt+S)! (For large amounts of code, attach it.)
General rules and best pratices of the Forum. - General - MQL5 programming forum (2019)
Messages Editor -
Shift your two buffers one to the right. SetIndexShift - Custom Indicators - MQL4 Reference
Your code bool isDownCandle(int index) { if (Close[index] < Open[index]) { return (true); } return (false); }
Simplified bool isDownCandle(int index) { return Close[index] < Open[index]; }
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 need your help,
I need to draw an arrow on the next bar and not on the current bar which is drawn by this indicator. What could I modify?
Many Thanks.