Create MQ4 metatrader EA

Completed Posted Feb 20, 2015 Paid on delivery
Completed Paid on delivery

MQ4 (metatrader) programming language.

I have a set of indicators i would like merged and also use scripts i would like this all converted into one EA.

I have ALL the code (scripts and indicators) necessary, i just need it all joined together with some additional functionality, like time to trade etc.

Hi,

an update on the description to help. I use histogram bar indicators, several of them which clutters my screen. If bar is green then i enter long, if bar is red i enter short unless price is within 9 pips of a 00 level or pivots or daily open, all of which my indicators also display onscreen.

if condition is met i buy on next bar open, or sell and i have 2 scripts for this which place the order and take the picture i want to refer to later, again its all coded. I get an alarm that a bar is x minutes from closing.

I also have a trade management EA running which sets SL and moves SL levels , again this is already coded and running. For me its all a bit clunky and i would like to streamline it into 1 program. I also need to put in time constraints to only open trades between xx:xx time and yy:yy time, this is for my backtesting.

Like i said i already have the code for everything, its just lots of individual code items which would be better in one. This won't be a standalone EA as i don't believe in them but an aid for me and to allow me to do backtesting.

I hope this helps, I will supply all code and the logic.

I am easy to work with and fair, will pay in full on completion. Because I can describe everything the EA does in full there are not any loose ends, if i miss somthing out naturally i will pay to add it in. If you miss something out or did not clarify something then you'd need to pick it up but remember, most of this is already coded.

My guess we can complete in under 3 days but i will allow 10 days because things happen in life and time zone differences might make it a bit tricky. I will choose on Monday.

Full detailed description of EA function, at this stage the indicators are not attached but they are mainly histogram bar indicators and a pin indicator.

Variables to include but not limited to

time to trade start
time to trade end
levelpips
% risk
TP Level (true) or 1:1

a true/false for each indicator i will give you to allow me to choose whether to include it as a condition of if to enter trade (turn it on and use it) or not.

EA function
Currently I do this - if indicator 1 bar at candle close is green and indicator 2 bar at candle close is green and indicator 3 bar bar at candle close..... etc then enter buy if green or sell: it absolutely must not repaint.
what i want is all the histograms as 1 histogram, so if all green then 1 green bar, all would be red then display 1 red. It is either red or green, nothing else.

If price above R3 top pivot then no trade at all all day, same if its below lowest S3 pivot.

If price is within 10 (levelpips) of DO, PrevDO, any pivot or the major 00 level abort, i.e do not buy into levels
If bar is a sell pin don't buy, if bar is a buy pin don't sell

SL is fixed 3% of account balance + spread so if spread is 1 pip and 3% of account balance is 15 pips then the SL is set at 16 pips. (code included)

then place the trade based on the pre calculated lot size to meet the % risk (code included) So green bars buy, red sell.

The buy or sell is on the next change so if trading starts at 10:00 and its already red then we must wait for green based on prev bar close data, so if trading 4 hour chart indicator data is only valid and end of prev 4 hours, not trade mid way through current TF.

And this is important, it must not repaint and must be on the next bar change. There is no need for it to repaint but it must be ensured it will not repaint the data.

Handling the trade. TP at next level (pivots or DO or PDO or TP at 1:1 (eg SL is 16 then tp is 16)

The levels are pivot points (code included), DO, prev DO

One of the indicators includes daily range, a daily candle overlay but i do not need these just the spread output and the message telling me what risk is to lot size.

Managing the open trade: as discussed 1:1 or next level. There is an EA I use to manage trades and the code will also be included.

If i want to let the trade run i select the TP level and drag it higher then the EA will use the EA code, it must ignore the fixed TP levels if i manually drag the tp.

Time I can only trade at certain times. The EA will be on and can collect data before this but it must not place a trade until the start time and not after the end time.

So if it is on the hour chart and start is 10:00 end 14:00 then the first trade, if conditions are true at close of the 9.00 am bar true at 9.59:59, would be at placed at 10:00am. Last trade would actually be 13:00 as 14 is the end.

I also have scripts with the code to open the trade on next bar, set SL and TP although it does not work this SL/TP out automatically so this needs to be updated

There is a alarm for next bar closing, x seconds before close, need option to turn on or off. Code included
I would like an alert when all conditions are true at bar close to open a trade i.e do not alert on current bar.

Allow turning each indicator condition on or off.

As explained already every indicator code is available. I use histogram bars at the bottom of the page, several of them but I want just 1 with alerts that will 110% not repaint.
EA code I use to manage the trade is available
Scripts to place the trade (code) is available.
Pin bar identify code is available
Pivot point code is available
Code to work out lot size is available

So i can backtest I need to ensure a marker is left on the screen, i think metatrader does this anyway.

The main bit is integrating it all into 1 EA and the do not buy into a level or after a pin.

I understand coders are across the world/different time zones so can allow time to get this done if thats ok (of course I am flexible).

I hope this helps, please ask Qs, I pay promptly and will pay in full once we are agreed all is ok.

Metatrader

Project ID: #7174660

About the project

6 proposals Remote project Active Feb 21, 2015

Awarded to:

iadip

Greetings, my name Irwin. I am Specialize on MT4 strategy implementation programming since 2008 with more than 260 projects/reviews mark 5 stars just programming MT4/MQ4 software in this website.(Please check my profil More

$160 USD in 2 days
(354 Reviews)
7.4

6 freelancers are bidding on average $156 for this job

mqlcodingtrader

Hello, I suppose I can code your EA, however, please message me to discuss in details about trading rules and EA's functions. Till now I only have basic idea that your EA use some Indicators, and you need all Ind More

$100 USD in 3 days
(303 Reviews)
7.0
Lada303

Hello. Write advisers & indicators for more than 2 years. Work at home, I can around the clock. Everything is done quickly and efficiently

$88 USD in 3 days
(9 Reviews)
3.0
grav002

Предложение еще не подано

$155 USD in 2 days
(0 Reviews)
0.0