• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • User/Email: Password:
  • 12:55am
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 12:55am
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

MT5 Indicators and EAs 1,164 replies

Can MT4/MT5 Brokers steal Indi/EAs? 34 replies

Need help converting MT4 to MT5 - candlestick MTF bar 1 reply

Help me to re-Code multiple EAs into One 0 replies

Need Help for Converting slide show indicator for MT5 To MT4 1 reply

  • Commercial Content
  • /
  • Reply to Thread
  • Subscribe
  • 2
Attachments: Need help to code EAs for MT4 and MT5
Exit Attachments
Tags: Need help to code EAs for MT4 and MT5
Cancel

Need help to code EAs for MT4 and MT5

  • Post #1
  • Quote
  • First Post: Dec 20, 2014 11:01am Dec 20, 2014 11:01am
  •  Pupsik
  • | Commercial Member | Joined Jun 2014 | 74 Posts
Who wants to code this?

Hey guys! 3 questions to coders:

1. Is it possible to code the next kind of EA
and how much would you want to get for this job:
a. It has to be for mt5 and/or mt4.
b. It has to place market orders (not pending orders)
when a certain time's candle made a certain move.
c. It has to place SL, TP, Break even and trailing
(virtual and/or regular, but preferably it has to be
able to perform both)
d. It has to have maximun spread and maximum slippage
functions.
e. Everything needs to be adjustable of course

2. I'm attaching 2 straddle EAs. One is for mt4
and the other is for mt5. They are pretty similar but
the mt5 version has only about half of the functions of
the mt4's. Can the mt5's be adapted to become identical
to mt4's and how much will this job cost?

3. Can the mt4's EA from the 2nd question be manipulated
(or helped by other EA or whatever) to perform
market orders instead of pending orders? If it can then how
much will it cost.
Thanks
Attached File(s)
File Type: mq4 AmazingEA.mq4   44 KB | 799 downloads
File Type: mq5 Amazing-mt5.mq5   27 KB | 767 downloads
My personal hedge fund: www.darwinex.com/darwin/AYC
  • Post #2
  • Quote
  • Jul 12, 2018 10:30pm Jul 12, 2018 10:30pm
  •  anti-flash
  • Joined Jul 2018 | Status: ... | 259 Posts
Posted this also on the free coding thread.

I have an EMA cross Expert and I'm willing to put some additional rules into it, the problem is my coding skills are null.

Can you please tell me which mql4 functions should I use/learn to accomplish this:

1: Exit with an opposite EMA cross on the higher timeframe:

Let's say, the EA is taking setups on the 30M or 1H chart:

I want it to close all the trades it has opened before and stop trading if an exit cross signal is given in the 4H or D1 timeframe.

2: Maximum pips distance for new trades.

I want the EA to not take setups that are a 40 pips range from the last trade opened by it.

Let's say the Expert has just taken a buy setup on the EURUSD at 1.0800:

After that price goes up to 1.0820 and the Expert finds a setup, it should take this trade because there's only 20 pips distance between them.

Then If from there, the price goes up to 1.0865 and EA finds a setup, it should avoid it because there's now a 45 pips distance from the last trade.

Except if there's a buy setup below 1.0800 for example 1.0740, I do want it to take it, ignoring the previous 40 pips rule.

3: Pips distance from week open.

Let's say the Expert is taking buy setups on the USDCAD.

Let's imagine, the week open for this pair was 1.2400

I want the EA to take setups while price is between 1.2400-1.2500, then if the EA finds a setup above 1.2500, I want it to ignore it since price would be 100 pips greater than the week open.

Thank you very much in advance for your help

Good luck with your trades.

a-f
Toxic Flow for FX Brokers.
 
 
  • Post #3
  • Quote
  • Jul 12, 2018 10:37pm Jul 12, 2018 10:37pm
  •  anti-flash
  • Joined Jul 2018 | Status: ... | 259 Posts
As I said, I found an EMAx EA and want to put some filters into it.

One is that I don't want the EA to open trades that are x pips above the current weekly open for buys or x pips below for sells.

I came up with an idea but as I know nothing about coding, my skills are very poor,so it didn't work.

Here it is the EMAx no exit EA code:


Inserted Code
 
//main signal
 
double SEma1=iMA(Symbol(),0,ShortEma,0,MODE_EMA,PRICE_CLOSE,i);
double SEma2=iMA(Symbol(),0,ShortEma,0,MODE_EMA,PRICE_CLOSE,i+1);
double LEma1=iMA(Symbol(),0,LongEma,0,MODE_EMA,PRICE_CLOSE,i);
double LEma2=iMA(Symbol(),0,LongEma,0,MODE_EMA,PRICE_CLOSE,i+1);
 
string SBUY="false";
string SSEL="false";
 
if(SEma1>LEma1 && SEma2<LEma2) SBUY="true";
if(SEma1<LEma1 && SEma2>LEma2)SSEL="true";}

Please tell me, what am I doing wrong, what else should I include, I know with a bit of help, I'll be able to accomplish this.

Thanks a lot in advance.
Toxic Flow for FX Brokers.
 
 
  • Post #4
  • Quote
  • Jun 28, 2022 1:00pm Jun 28, 2022 1:00pm
  •  Mgdamle
  • | Joined Dec 2018 | Status: Member | 19 Posts
Hi
Looking for EA with below parameters for INDICIES mainly
TF 1M 5M 15M
Buy at or below last swing low after 8.30am NY time
SL below session swing low
TP @ or above session swing high
And
Sell at or above last swing high after 8.30am NY time
SL above session swing high
TP @ or below session swing low
This is base on ICT Free Mentorship
or any already available EA in this type
Thanks in Advance
Mohan
 
 
  • Post #5
  • Quote
  • Jul 21, 2022 11:41am Jul 21, 2022 11:41am
  •  Samuraiben
  • | Joined Jul 2022 | Status: Junior Member | 1 Post
Pretty new with Metatrader 4

If anyone is interested in helping me out with some EA i will gladly pay for the work

Having some issues with backtesting results

should be pretty beginner issues.
 
 
  • Post #6
  • Quote
  • Last Post: Apr 12, 2023 1:20am Apr 12, 2023 1:20am
  •  ahdauda25
  • | Joined Feb 2022 | Status: Member | 19 Posts
Hello guys,
Would be kind enough to code me an EA for mt5 with the following specifications;
1. buy and sell orders executed simultaneously at a specified time
2. inputs
trade time (hr:min)
stop loss
take profit
lot size
 
 
  • Commercial Content
  • /
  • Need help to code EAs for MT4 and MT5
  • Reply to Thread
0 traders viewing now
Top of Page
  • Facebook
  • Twitter
About FF
  • Mission
  • Products
  • User Guide
  • Media Kit
  • Blog
  • Contact
FF Products
  • Forums
  • Trades
  • Calendar
  • News
  • Market
  • Brokers
  • Trade Explorer
FF Website
  • Homepage
  • Search
  • Members
  • Report a Bug
Follow FF
  • Facebook
  • Twitter

FF Sister Sites:

  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Forex Factory® is a brand of Fair Economy, Inc.

Terms of Service / ©2023