Need OrderSend (Buy & Sell) Code, Close All Orders, Reset EA Option & Profit/Loss Calculation

MQL4 Experts

Job finished

Execution time 17 hours
Feedback from employee
Nice job and good customer who knows what he wants,Thank you.
Feedback from customer
Lucky Man did a FANTASTIC Job!!! He was very patient helping fix my EA just the way I needed.. Thanks!!!

Specification

Hello Folks!!!  This is a simple EA Breakout Box I've Created.
Everything has been coded except a few sections I need help with.
I could do this myself, but I want to make sure it's done right

and I know you experts will find this an easy challenge......

I HAVE ATTACHED THE FILES TO THIS MESSAGE...  :D

PLEASE READ CAREFULLY!!!!!


Here is what I am Needing:  Scroll to the BOTTOM of the EA to find these sections.

1) The (OrderSend) Code for both BUY's and SELL's placed in my (Pre-Labeled) Areas.
These OrderSends will use my (BuyLots) & (SellLots) Variables for order sizes
and it will use my (MagicNumber) which has been randomly coded so the EA can
be easily applied to other charts of other markets....

I want the (OrderSend) to attempt to BUY the market at the BID and SELL the market
at the ASK......   I know problems with fast market conditions and broker manipulations
can make this difficult to do sometimes.....   THEREFORE...

I want an ERROR CORRECTION which if the BUY/Bid or SELL/ask fails THE FIRST TIME
then I want the EA to kick in with (AT THE MARKET) Orders and continue TRYING to
get in UNTIL IT SUCCEEDS.....

USE THE (BuyLots) and (SellLots) Variables for how many LOTS to place...
USE THE (MagicNumber) I've created to make sure this is UNIQUE to chart.
I HAVE NOT COME UP WITH A STOP LOSS SYSTEM YET....  That will come later....

2) If it is possible HIDE the Red Dotted Line that is plotted when an OrderSend is Successful.

3) I have NOT come up with a (SYSTEM) yet to tell me WHEN to close all trades.
That's OK.....  I will soon come up with one....
In the meantime, I want a (CLOSE ALL ORDERS BUY&SELL) code programmed into the
(Close All Orders) section I have already written....   It will use an (IF ELSE switch) to activate.
When I finally do come up with one, all I have to do is TRIGGER it with the (IF ELSE switch)

4) I have a (RESET EA) Section already in place.  I just need the code put in place which
based on my (Input Selection) will either RESTART or HALT this EA once (ALL ORDERS ARE CLOSED).

5) After the (int start) if you scroll down a little you will find the (PROFIT/LOSS) Calculation Section.
The (ProfitLoss) section will calculate in ($0.00) how much I'm winning or loosing.  It also includes
a section which (Changes Colors) of the (ProfitLossColor) Variable...

When you RUN the program you will notice it already has a (PANEL) which displays these Variables.
When you are done it will look like this:
$3.54 - Displayed in Green when positive
$2.75 - Displayed in Red when Negative

*****************************************************

That's it, that's all I need....   It seems like MUCH but it's not because I have already
Programmed these sections....  I just need you to SNAP THE CODE in properly.....
You will probably finish this in an hour or two....  There's some fantastic Coders on here!!!!

ALSO DO NOT CHANGE THE FORMAT OR LOOK OF THE CODE IN MY EA.....
None of this (Indention) stuff.....   I like the way my program looks......
It's NICE, NEAT, CLEAN and Everything is Labeled in Sections for easy to find
and I EXPLAIN what each variable and section does....  It is NOT a chaotic mess....

I HAVE ATTACHED THE FILES for you to look at....   That way you can look at it
and decide if you wish to help me with this....   Thank You!!!!

I would like this in a few hours or at the most within a day....
Thank You SO MUCH for your help, My Account is already funded...


Responded

1
Developer 1
Rating
(42)
Projects
70
43%
Arbitration
6
33% / 50%
Overdue
19
27%
Free
Similar orders
Platform: MT5 / MQL5 Buy khi RSI < 30 Sell khi RSI > 70 RSI period configurable, default 14 Fixed lot configurable SL/TP configurable Max 1 position per symbol Completed candles only Configurable Magic Number Deliver .mq5 source Compile without errors/warnings No martingale/grid No profitability guarantee
Trading bot ea 30+ USD
yoo i want to make a trading bot i have my strategy in videos and also the rules to if anyone can work it out for me i will be glad welcome your bid and it urget let connect here on mgl5 And if you know you can not do the project without getting paid first please don't bid thanks
MT5 EA make work on zone break and candle confirm. Hi i need one expert person who can make exact what i want. My EA logic very simple.... few hrs market high and low make line then candle body close above or low then candle confirmation then pullback then entry RR1:2 no trail nothing,,,,, the line high low create after few hrs of the day i wll tell you later,,,,then 1hrs no trade if break then no trade for the
Hi, I need an Expert Advisor (EA) for MetaTrader 5, for my IC Markets account. Account MT5, hedging account, type: [Raw Spread / Standard: fill in] Deposit: 100 USD, leverage 1:30, account currency: [USD / EUR: fill in] Instruments Forex (major pairs) and gold (XAUUSD) Strategy and parameters may differ per instrument; each instrument must be tested and optimized separately If an instrument cannot be traded safely
المطلوب موشر لتداول الذهب مجرب وقوية يعطي اشاره قوية فقط مع وقف خساره ومختبر ومجرب في حال الموافقه علي لموشر بعد التجربه لمدة ٣ ايام يتم الشراء دايم مبلغ ٢٠٠ دولار
Masoudahg1 999999+ USD
Hello world, thank you for your helping and supporting for us from your for all everyone that investments or working in this programing and supporting seven/24 hours in daily and nightly for customers
Laily Mahmudy 100000+ USD
Thank you very much and of trying supporting and helping for us and my investfolio portfolio id is:"investfolio portfolio masoudahg1 id is":"7Zk0iVh7zuytHkQ9OJSzeY" &"35VmgKWofZxWowQ7O6CL8K" https://leylimahmudi46.atlassian.net is my Atlassian programing that when I working of this programs
Hi there I need someone who will create an ea then test it .. the ea should only place order on the bid price of it breakout in 1 point using invisible buy and invisible sell,, example if bid breakout in 1 point up automatically invisible buy active then invisible stop loss at where the ask price was same in sell If the bid breakout in 1 point down automatically invisible sell active then invisible stop loss where
I’m looking for an experienced MT5/MQL5 freelancer to help install and configure several existing EAs on IC Markets MT5 accounts using a Windows VPS. The work will include setting up the EAs on separate demo accounts and later running several together on one account with different risk settings. I also need help with MT5 backtesting and strategy optimisation, including comparing different risk levels and reviewing
I am looking for someone to build me a modular auto trader in Sierra chart and an Innie builder so that I can replicate my current Algas that I already have built. I've sent examples below can you please let me know how much you would charge me. I'm pretty good at building the signals myself but I do not know how to build the ocos order entry and I'm trying to get quotes and go with the person who seems they can help

Project information

Budget
60 USD
Deadline
from 0 to 1 day(s)