nato_sp: this indicator has stopped working and I can not identify the reason, someone could help me?
-
Play videoPlease edit your post.
For large amounts of code, attach it.
- "Doesn't work" is meaningless - just like saying the car doesn't work. Doesn't start, won't go in gear, no electrical, missing the key, flat tires - meaningless. There are no mind readers here.
if (counted_bars>0) counted_bars--; lastbar= Bars - counted_bars; : tday= TimeToStr(Time[lastbar]-tzdiffsec, TIME_DATE);
You might try not exceeding the size of your arrays. First time counted_bars == 0 so lastbar==Bars and Time[Bars] does not exist.// if (counted_bars>0) counted_bars--; lastbar= Bars -1 - counted_bars; : tday= TimeToStr(Time[lastbar]-tzdiffsec, TIME_DATE);
WHRoeder:
-
Play videoPlease edit your post.
For large amounts of code, attach it.
- "Doesn't work" is meaningless - just like saying the car doesn't work. Doesn't start, won't go in gear, no electrical, missing the key, flat tires - meaningless. There are no mind readers here.
- You might try not exceeding the size of your arrays. First time counted_bars == 0 so lastbar==Bars and Time[Bars] does not exist.
ok I get it. After the last updating of Metatrader, this indicator is not available to be plotted on the chart. in MetaEditor there isn't error as seen in the attached image.
nato_sp:
ok I get it. After the last updating of Metatrader, this indicator is not available to be plotted on the chart. in MetaEditor there isn't error as seen in the attached image.
These are not errors but warnings. I tested your code and it's running well.
If you don't get the expected results, it's an other matter, please explain your problem.
angevoyageur:
Ok, fix the problem by reinstalling all indicators! thanks to all!
These are not errors but warnings. I tested your code and it's running well.
If you don't get the expected results, it's an other matter, please explain your problem.
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
this indicator has stopped working and I can not identify the reason, someone could help me?