仕事が完了した
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
指定
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...