Forum

EA calling an indicator with iCustom() or IndicatorCreate()

Hi All, I am trying to transition from MQL4 to MQL5, yet some things are still confusing me. After having created a custom indicator I created a simple EA to just call it. Using both iCustom() and IndicatorCreate() there is no indicator output (I am using only buffers no objects in my indicator) on

iHighest() in Indicator that searches for highest value

Hi all, I am trying to write an indicator that will find the highest open price of the past x candles. Being playing with it for some time now but I still can’t figure out what is wrong. The iHighest function I am using seems to not take the current bar into account in other situations it seems not