How to refresh datas and charts in the same time ?

 

Hello,


I try to using 5_34_5 script.


When I include it in another indicator or expert advisor using iCustom, the 5_34_5 indicator is not refresh (datas and chart)

Have you got any idea to refresh this script include in another in real time ?


I tried RefreshRates, WindowRedraw but nothing's working...


Thank you.

 

Calculates the specified custom indicator and returns its value. The custom indicator must be compiled (*.EX4 file) and be in the terminal_directory\experts\indicators directory

  1. iCustom() returns a value from the indicator.
  2. An indicator may have one or more index buffers.
  3. The double value iCustom() returns in any one call is one value only
  4. The returned value is from specified index buffer indexed by shift
  5. Caller of iCustom() is responsible for using this double value as they see fit. eg, put value into their index buffer so that it will be displayed on chart.
  6. indicator does not plot on chart. Terminal interfaces you with the indicators index buffer(s) and allows you to have read access to one value at a time
  7. maybe best to ignore all above and go here: https://book.mql4.com/samples/shared
  8. also search this forum - many ideas on iCustom keyword search!
Reason: