Forum

MQL4- Can we plot the Indicators using an EA?

Hello Gurus Can we plot the indicator using an EA, for example if I have an EA trading 5-MA 15 MA cross, can I plot those indicator lines in EA- I badly need this way for some testing purposes Please share some example or a tutorial, I tried for days but couldnt do it in MT4; Thanks Regards Arun

Finding the crossover - MT4

Hello Experts! I'm coding an EA and have an issue, say I'm find EMA crossover, like EMA 5 crossing EMA 20 to buy and vice versa, but when I load the EA into a chart, it immediately opens an order based on the EMA5 being greater or lesser than EMA20. Ex: if (EMA5() > EMA20()) {

EA shows no error in compiler but Journal says "Not expert..."

Hello experts...! I'm new to MT4 platform and I've been trying to create an EA, I managed to come up with an indicator which is fine but when I try to make it as an EA I receive the following error: MT4 Journal: 2019.04.03 11:05:47.286 'testEA' is not expert and cannot be executed Meta Editor: 0