I'm not sure if I understand correctly...
You can use any indicator in fxDreema. iCustom() is used to read the data from indicators by giving the buffer ID and the candle ID. If for some reason the indicator puts crap in it's buffers or it does not have buffers at all, the EA can get information from the objects that it draws - lines, rectangles.
To use a custom indicator, first you have to add it to the database, so fxDreema knows it's input settings and buffers. Here the problem is that sometimes fxDreema reads parameters/buffers wrong, so always check if the information is correct. If the information is correct, then the indicator is ready to be used.
Here are more details (I updated this information lately):
How indicators work with the EA: https://fxdreema.com/documentation/gett ... indicators
How to add indicator in fxDreema: https://fxdreema.com/documentation/proj ... indicators
Indicators are basically 3 types:
- MA/oscillator alike - where for each candle there is a value, so normally it looks like continuous line. Here the values are something like 1.2345 or 25... it depends.
- Arrows - these are showing arrows at some candles only, like Fractals. The returned numeric value for all the candle where arrow does not appear is the maximum possible 32/64 bit value, also known as EMPTY_VALUE in MQL4/MQL5. Candles with arrows - here the value is like 1.2345
- Mixed - continuous line, which is interrupted by other line. Here you have 2 buffers, one for each line.
And there are block to work with indicators in "Indicators" category. For example, "Indicator is visible" checks whether the value is like 1.2345, but not 0 or EMPTY_VALUE. "Indicator appear" detects the moment when the value was EMPTY_VALUE (or 0) and it becomes a value like 1.2345.