Работа завершена
Техническое задание
I am in need of a Panel EA that I can keep open and available on a terminal chart. I have a lot of “tool-type” EA’s and I hope this panel will make it simple for me to combine them all in a single place. There are also other tools that I would prefer to open separately, but allowing the panel to manage it like a standard EA.
There aren’t any “strategies” to program. Most of the code I found for free at https://www.mql5.com/en/code/mt4/scripts. Im ok with sub windows opening outside the Panel for adding EA’s that have special input.
For Everything with a ***, I can direct you to some free script code
General Rules
Any rules below that have to do with a dropdown for a selected pair, the Panel can look to the (Market Watch) window for the selection. As I add or delete Pairs from the market window, they would update in the dropdown selection.
***If I execute a function and the markets are closed, The EA will need to remember the order and then will execute when market reopens. This feature is very important. I would like a list of pending function where I can edit or delete the pending request.
Order Entry
New Order Symbol DropDown- Entry Buy/Sell (Set TP, SL, Trailing SL in Pip) – In Lot Size or % Size, and a text box to apply these settings to existing orders.
Pending Buy and Sell Order _ in Pips
“Wait X amount of seconds” option that causes a delay before executing the trade.
(Behavior) When I execute this function, I should be able to hit the execute button if I want the same trade entered multiple time with the same properties. This also includes keeping the same properties when switching the Symbol.
Also an EA Magic# Textbook which will apply all the setting to the Current and New Orders with the Magic #
Ability to Double Click any current order on the chart, and it will fill in the parameter of that order on the above entry pad.
Availability to drag SL and TP of any order individually on the chart view.
Close/Delete Orders
Close All Buy Orders – Check Box
Close All Sell Orders – Check Box
Delete All Pending Buy Orders – Check Box
Delete All Pending Sell Orders – Check Box
Close All Orders by the EA magic number of = X
Close All Orders of the symbol (pair selections)
Close All Pending Orders of the symbol (pair selections)
Close All Profitable Orders – Check Box
Close Non Profitable Orders – Check Box
Remove SL & TP for options Above ***
Close X Amount of Orders that where entered in First (The Oldest Orders)
Close X Amount of Orders that where entered in Last
(Behavior) – No matter the selection made, EA should look to close all Profit Orders first, followed by order not in profit.
***I have multiple scripts for the above. Probably better to make your own, or take one that I have and add to it.
Other Functions:
Load Template Button – Will allow me to set the template location, and simply press this button to load the template (save time going to template option with each chart).
Refresh Button – Will refresh MT4 directories for “Indicators”, “Expert Advisors”, and “Scripts”.
Download Tick Data from Server – Selection of Pair from Symbol Window. (Will download entire date range available from broker).
Tick Data Time Conversion - Will include check boxes or dropdown selection for Time Frame. Saves time using PeriodConverter
Mute Terminal –Checkbox
***Heat Map CVS Datadump Button
Clear All Extra Charts – Will clear EA’s and Indicators from all opened charts (except Panel charts)
Close All Extra Charts 2 options-
Close all charts except Panel, or Close all Charts except Panel and EA on it.
Terminal Drawdown – IF drawdown is this amount or greater, then close all active trades.
Display Terminal Time in USA Eastern Time Zone (includes market watch and chart) – Check Box
Button to Export automatically into .xls (history). File location can be specified and saved. This feature will only export what is seen on the Account History Tab
Managed EA/Software-
These EA’s and software I would like to stay in the Panel, but does not need to be made into the input screen of the panel itself. The Panel only needs to manage it like a normal EA. All Panel Function are in an “execute” fashion, and some of the EA’s are more of a “monitor” fashion, so there should not be any conflict with Panel Parameters. If there is a foreseen conflict, the Panel Rules should have priority. These are EA’s I already have the coding to. You are only creating a button to launch them.
Equity Manager EA – This EA will monitor the Equity of individual trades and either do a TP or a SL on an individual order. It should not conflict with the function of the panel that involves exiting all position do to Drawdown.
Order’s Link – Allows me to link 1 order# to another order#. When the primary order is closed, it will automatically close out the linked order.
SignalSubscriber – This allows me to sign up to a MQL signal provider if I have their link ID number. It also allows me to subscribe A Signal Demo account to my live account, and a Live signal to my Demo account. I have a .exe and bat so you can choose. The only change I ask to be made here, is for the file to automatically choose the current terminal as default in the terminal selection process (which should be extremely easy using the bat file.
View Panel –
Company : (Like FXCM or Alpari)
Server: (FXCM:ECN:Demo)
Account Number – Also whether Live or Demo Acct
Account Leverage
Account Today Profit
Account All Profit
Spread Cost
Pip Cost
Number of Positions Opened
Total Buy Orders Opened
Total Sell Order Opened
Total Lot size of position Opened
Misc Notes
Alerts if close attempted failed. Panel will still attempt to close order or delete pending order only. The EA will not attempt to “open” a missed order (with the exception of the market being closed, which there will be a list of pending actions).
***The Panel will most likely have options added in the future.
Panel must be able to be visually backtested (Visual Mode). I must be able to submit a Buy or Sell order and the lot size amount. Some of the EA’s I will be providing for this Panel will already have the coding for it.