How was your first EA developed?

 

For me was very hard, it took like 2-3 months, the thing that helped me the mos wast replicating a pattern that I watched in the market:

  • High of the day + M15 sweep / Low of the day + M15 sweep

Firstly backtesting it a lot and then taking screenshots of the pattern, then started coding and learning mql5.

After that, managing risk, fixed lots or percetange, BE or trailing, etc...

It was quite a journey...

How was your first EA?

 
Osmar Sandoval Espinosa:

For me was very hard, it took like 2-3 months, the thing that helped me the mos wast replicating a pattern that I watched in the market:

  • High of the day + M15 sweep / Low of the day + M15 sweep

Firstly backtesting it a lot and then taking screenshots of the pattern, then started coding and learning mql5.

After that, managing risk, fixed lots or percetange, BE or trailing, etc...

It was quite a journey...

How was your first EA?

Mine started more like a comedy than an EA.

I had this “genius” idea, spent nights copy‑pasting half‑broken code from everywhere, and the first backtest went straight to margin call in about 10 trades. That pain forced me to actually learn MQL5, print logs, screenshot patterns, and think about risk instead of dreams. Now my EAs are much calmer (most of the time), but I still keep that first disaster as a reminder on why rules > hope.
 
Thierry Stephane Alexis #:
Mine started more like a comedy than an EA.

What an accurate statement! 😅😂🤣

Here was me switching from manual trading to algorithmic trading in 2012:

Forum on trading, automated trading systems and testing trading strategies

Loops and Closing or Deleting Orders

Ryan L Johnson, 2012.06.05 20:21

This is extremely helpful to me, King of the garbage expert advisor builder! Oh, how I do enjoy hacking away at the resulting code. Many thanks.

[Deleted]  

In the beginning, I was simply stitching pieces of code together without truly understanding position sizing or drawdown control. After only a few days of backtesting, the account was already blown.That experience changed my approach completely.For more than a year afterward, I focused on studying logs, execution flow, and risk management in depth. I stopped chasing maximum profit and started prioritizing risk control above everything else.Today, my EA is much more stable.It uses defined stop-loss rules, with no martingale and no grid systems.In trading, emotions are always the biggest opponent.That is exactly why I continue refining and improving my EA.

 
mine was martingale 😁
 
Heri Yusufu Kaniugu #:
mine was martingale 😁

Of course, it was--along with maybe 100 million other new traders at that time.

 
I first learned the MQL4 language, and then learned the MQL5 language and C++. First, I wrote the various sub functional modules of the entire EA functional framework, and then connected them together to form a complete EA functional framework. Then I tested the EA functional framework, and repaired the test module by module. All functional tests had no problems, and then I verified and tested my own strategic core.
 
For me, programming a successful EA was initially difficult because it required understanding many things, and first, you had to find a successful trading plan. Now, I trade with a strategy that consistently succeeds and generates profits for me, even in the worst market conditions like these days, and I'm working on converting it into a good EA.
 
Heri Yusufu Kaniugu #:
mine was martingale 😁
Why is martingale so famous?
 
Osmar Sandoval Espinosa #:
Why is martingale so famous?

To the unsuspecting/new trader, Martingale creates the appearance that it can't lose, and the majority of traders are new due high turnover in the industry.

Research or the hard way, experience, reveals that Martingale is a ticking time bomb.

 
Ryan L Johnson #:

To the unsuspecting/new trader, Martingale creates the appearance that it can't lose, and the majority of traders are new due high turnover in the industry.

Research or the hard way, experience, reveals that Martingale is a ticking time bomb.

I see...

Have seen that is commonly wanted EAs (as a new commer) that bring quick profits, without considering the possible outcomes.