Forum

How to get data from Squeeze Momentum Indicator [LazyBear] in an MT4 expert?

I have downloaded this free Squeeze Momentum Indicator MT4 indicator from https://forex-station.com . It is an adaptation from PineScript to MQL4. My problem is that I don't know how to use the iCustom() function to obtain the "histogram height" and the "squeeze status", when coding an expert

Why this EA code does not work properly?

I have written an MQL4 Expert Advisor code: It should open a BUY position, if the EMA12 crosses above the EMA28, and then a SELL position, when the EMA12 crosses below the EMA28. It examines this condition at the close of every 1 minute candle. Only one BUY and one SELL should be traded, so I used a