Download MetaTrader 5

Custom Indicator doesn't refresh

To add comments, please log in or register
Kurt Prangenberg
174
Kurt Prangenberg  

My MT4 - indicator works fine, when I apply it to the chart window, but it doesn't process new ticks / bars.

Dll - import is allowed. Hm. I have no idea why it is not working (See pic below).


Has anybody an idea?

Kurt Prangenberg
174
Kurt Prangenberg  
May worth to menthion: I generally use RangesBars (in so called "offline-Charts", which are not offline ...). The bug is also visible in normal timeframes, too. 
Kaleem Haider
84812
Kaleem Haider  
i may have to do with the way the loop is written for the indicator.  if you share the code, you will get help faster.
Kurt Prangenberg
174
Kurt Prangenberg  
Kaleem Haider:
i may have to do with the way the loop is written for the indicator.  if you share the code, you will get help faster.

Thank you for your reply. Of course I'll share my code. The aim of the indicator is to analyse gradiends (of Bollinger Bands in particular).


Here is the code:

Files:
GA-BB-V1.mq4 8 kb
To add comments, please log in or register