ObjectCreate("BuyArrow" + IntegerToString(j), OBJ_ARROW_UP, 0, Time[j], High[j] + 10 * Point);
Do not use series index in object names, as they are not unique. As soon as a new bar starts, you will be trying to create a new name (e.g., “name0”), same, existing, previous, name (e.g., “name0” now on bar one.)
Use time (as int) or a non-series index:
#define SERIES(I) (Bars - 1 - I) // As-series to non-series or back.
OK, let me give it a try. thanks
Your topic has been moved to the section: MQL4 and MetaTrader 4
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893

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 fam....
I have this Indicator, it does not work. it is supposed to plot BuyArrow and SellArrow when the conditions are met. The problem im encountering is that once I open mt4 the indicator workks,it will plot previous arrows and maybe 1 or 2 arrows after,then it stops.It then needs mt4 to be restarted again to update chart.Ive tried ruunning it with autorefresh,,but it doesnt refresh.
Ive tried to add alert for BuyArrow and SellArrow,but the alerts trigger every minute when SUPER CALL and SUPER SELL. I have since removed them.