Newbie EA/Indicator "getting started" help required

Hi All,

Been a lurker here for a while now and found countless useful topics for which I am very grateful :slight_smile:

I am now venturing into the world of MQL4 and would like some pointers on how to get started with what I want to achieve.

I wish to build a custom indicator which simply prints arrows and alerts (buy and sell) when criteria is met from 3 different indicators.

Lets say for example my indicators are called IND1.ex4, IND2.ex4 and IND3.ex4 and are all oscillators. My new indicator will be called IND4.

When IND1 crosses 0 line AND when IND2 crosses 0 line AND when IND3 crosses 0 line from below - IND4 prints arrow/alert buy signal. Vice Versa for sell signals.

Can anyone help me get started with this or will I need to go down the EA route?

Thanks.

TPS.

Hi ThePipShip,

What you can do is possible with an Indicator; you don’t need to code an EA just to prints arrows and send alerts.

You will need to look at the i… functions (for inbuilt indicators) and the iCustom function for anything that doesn’t come with MT.

If you’ve coded before then learning MQL is straightforward. I have, and I started learning MQL in March this year and I’ve lost count of the indicators and EA’s I’ve written, or part written and found they were based on bad logic :frowning: .

I suggest you Google what you are trying to do in MQL4 - handy hint, putting “mql” in the search topic helps :wink: .

Hello.

Very simple and profitable indicator.