Forum

MQL4 to MQL5 custom indicator transfer

Hi, I'm trying to convert this custom indicator that I originally coded in MQL4 into a new MQL5 custom indicator. However, the IndicatorCounted() function that I previously used doesn't exist in MQL5... I read multiple posts regarding this subject but none of them seemed to be able to replace this

Daily Pivots based EA won't enter trades

Hey guys, I wanted to build a really simple EA based on MT4's built-in Pivot Points indicator that would sell if prices reach resistance levels and buy if they reach support levels . I have not used the iCustom function a lot and so that might be why it does not work although I am not sure since the

Using the iCustom indicator

Hey guys, I am trying to implement Heiken Ashi candles in my EA and I can't seem to make the iCustom function work properly... From what I understood, I should use these lines from the indicator code in order to select the mode I am looking forward to use in my EA... SetIndexBuffer ( 0

Preventing EA from taking subsequent trades after conditions are met

Hey guys, I don't know if this is possible but I wanted to know if there exists such a condition/code that I could add to my current EA such that it does not enter a trade until my previously stated conditions are met AGAIN. For understanding purposes, let's pretend that my EA enters a buy if the