Hi! Non coder newbie here so it may be simple to do this.....sorry.
I want to create an ea based on a candlestick pattern and an ea cross but I need the timing for the cross to be flexible in timing (as in within say 5 candles of the pattern). Is this possible? I must confess I use EAbuilder because I have no idea of coding so any help would be awesome. TIA
- MQL5 Wizard: Development of trading robots for MetaTrader 5
- MetaEditor - Professional editor of trading applications
- Charts in MetaTrader 5 trading platform for Forex and stocks
- There is no such thing as "an EA cross." Lines cross, not EAs. Only if you can write a concrete critia, can you write code.
-
EA builder, EATree,
Etasoft forex generator, Forex Strategy Builder, FOREXEADVISOR STRATEGY BUILDER,
FX EA Builder, fxDreema, FxPro, Molanis,
Online Forex Expert Advisor Generator,
Strategy Builder FX, Strategy Quant, Visual Trader Studio, MQL5 Wizard,
etc., are all the same. You will get something
quick, but then you will spend a much longer time trying to get it right, than if you learned the
language up front, and then just wrote it.
- Since you haven't learned MQL4/5, therefor there is no common language for us to communicate.
If we tell you what you need, you can't code it.
If we give you the code, you don't know how to integrate it into yours.
We are willing to HELP you when you post your attempt (using SRC) and the nature of your problem, but we are not going to debug your hundreds of lines of code. You are essentially going to be on your own. - EA builder makes bad code counting up while closing multiple orders.
EA builder makes bad code Bars is unreliable (Max bars in chart), volume is unreliable (miss ticks.) Always use time.
EA builder makes bad code, not adjusting for 4/5 digit brokers, TP/SL and slippage.
EA builder makes bad code, not adjusting for ECN brokers. pre-Build 500)
EA builder makes bad code, not checking return codes. - EATree uses objects on chart to save values — not persistent storage (files or GV+Flush.) No recovery (crash/power failure.)
- FX EA Builder makes bad code, not checking return
codes.
FX EA Builder makes bad code, loosing open tickets on terminal restart. No recovery (crash/power failure.)
FX EA Builder makes bad code, not adjusting stops for the spread.
FX EA Builder makes bad code, using OrdersTotal directly. - FOREXEADVISOR STRATEGY BUILDER makes bad code, non-updateing global variables.
FOREXEADVISOR STRATEGY BUILDER makes bad code, compilation errors.
FOREXEADVISOR STRATEGY BUILDER makes bad code, not checking return codes.
Hiring to write script - General - MQL5 programming forum - Since you haven't learned MQL4/5, therefor there is no common language for us to communicate.
Ok thanks for the advice. Can I clarify by asking if it’s possible for a trade to triggered by an EA when 1. A candlestick pattern is formed and
2. The candlestick crosses either above or below an exponential average of 6-10 candlesticks within a set time(eg 2-6 candlesticks).
I’m not asking for someone to code it for me for free I am merely asking if it’s possible to code it.
Malleetrader:
if it’s possible to code it.
Yes, it is possible. Here is the idea:
- Candlestick pattern can be recreated by using iHigh, iLow, iClose, and iOpen value.
- You can use "shift" in iMA to read the previous
6-10 candlestick and identify the crossover or you can use
iBarShift to set a trigger for next few 2-6
candlestick.
Since you already have the objective (this EA), learning to code will be much faster for you. Use this project as a stepping stone to learn and discover more in MQL4 and MQL5.
Good luck.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register