Create an order box

MQL4 Experts Scripts

Job finished

Execution time 26 days
Feedback from customer
An amazing job. Easy to work with. Listens and executes the job well. Now doing another project for us.

Specification

Name:  Two Things Order Box

 

Please apply only if past clients would say you are a highly qualified, highly experienced, highly successful, fast turnaround, fantastic communicating MT4 programmer who is patient with human traders and who completes projects.

We trade in cycles where 6 trades = one trading cycle. 

What we want to do is have an Order Box (something like you get when you click on the New Order tab in MT4 or when you use the One Click Trading Box), for Market orders, that does the following:

This, or something like it, could be the starting point for the code and then just make changes:  https://www.forexfactory.com/thread/281772-mt4-order-plugin-trade-by-lines-with-risk

- require a stop loss in the Order Box for market trades before a trade is allowed to be opened (the stops will require a very short time delay after the trade is placed due to some brokers not allowing market orders with stops in place.  So, plan to place the trade and then immediately add the stop loss – two steps.)

- use the same stop loss for each of the 6 (x in inputs) possible trades in the cycle…this stop loss identifies which trades are in which trade cycle

- divide the percent risk (percent risk should be x in the inputs box) by the 6 possible trades.  Let’s say the risk is 3% / 6 trades = .5% risk per trade but the six entries are all 15 pips away from each other.  Each of the 6 trades will have the same .5% risk, but they will have different lot sizes because the entries are at different prices while having the same stop loss.  Meaning, the closer to the stop loss the trade is then the larger the lot size will be. 

- the Order Box will keep track of the number of trades left in the cycle so we know how many are left to use.  (please put the number of trades in a cycle in the inputs in case we need to change it)

Note:  When the Order Box is open we need to still be able to use the crosshairs and other items on the chart just like now with MT4’s Entry box.  (As a comparison, when the MT4 inputs box is open the crosshair and other chart functions cannot be used.)  It’s possible it would be okay for the order box to be open all the time like the One Click Trade box and set in the same place.  It would be nice to be able to move the box, but not a necessity.  Please see the attached Order Box that is based on the current MT4 One Click Trade box as an example.

- If we try to open a 7 thtrade (or 1 trade above x # of trades in the inputs box) in the same pair for the current cycle then the system needs to not allow that trade to be opened.  But, if we had 6 trades and close one or more from that cycle then we need to be allowed to open more as long as it has the same stop loss until we’re back to 6 open trades in the cycle.  A cycle is defined as a group of up to 6 trades using the same stop loss.  (If the stop loss is different, then it’s considered a separate cycle.)

- we need to be able to trade more than one pair at a time

- If we lose more than x% (put in inputs box) in 24 trading hours then no new trades are allowed for 18 trading hours – account is locked for placing new trades

- if we lose more than x% (put in inputs box) in a rolling 5 trading day trading period then no new trades are allowed for 60 trading hours – account is locked for placing new trades

- inputs: only allow x number of trade cycles to be open at the same time

- inputs: maximum number of pips allowed in the stop loss = x (example:  our average stop loss is 12-18 pips so if we’re trying to take a trade that has over a 25 or 30 pip stop loss then we shouldn’t be taking that trade because 30 pips is way too far for the pair to move to get us to a 1:1 reward to risk ratio.

- inputs:  when is trading allowed:  include 4 time of day start and stop times so we’re not trading during low volatility times.

- inputs:  when is trading allowed:  include a start day and time for trading to be allowed (if we don’t like trading Mondays then we’ll set it to start Tuesday London or whatever.  Also include an end day and time for new trades to no longer be allowed to open.

- if our stop loss is hit within the ‘trading allowed’ parameters listed above, then when the stop loss is hit, we want the reverse trade (close and reverse) to open at the same price as the stop loss.  Add the closing cycles’ lots together and divide into 2 trades (half and half).  Recall the previous trades’ entry price and stop loss and have one trade close when the number of pips covers that stop loss plus 1 pip for commission.  Move the stop loss of the 2 ndtrade to break even plus one and then close it when it doubles the previous loss plus 1 pip.

My guess we’ve missed something in this write up so please feel free to let us know of possible things.



Files:

Responded

1
Developer 1
Rating
(167)
Projects
192
11%
Arbitration
37
38% / 35%
Overdue
5
3%
Working
2
Developer 2
Rating
(135)
Projects
192
42%
Arbitration
17
29% / 59%
Overdue
28
15%
Free
3
Developer 3
Rating
(251)
Projects
402
38%
Arbitration
82
41% / 20%
Overdue
70
17%
Loaded
4
Developer 4
Rating
(62)
Projects
67
64%
Arbitration
3
100% / 0%
Overdue
6
9%
Loaded
5
Developer 5
Rating
(23)
Projects
45
20%
Arbitration
24
29% / 42%
Overdue
12
27%
Working
6
Developer 6
Rating
(48)
Projects
91
31%
Arbitration
28
29% / 43%
Overdue
42
46%
Free
7
Developer 7
Rating
(319)
Projects
519
66%
Arbitration
52
21% / 38%
Overdue
165
32%
Working
8
Developer 8
Rating
(39)
Projects
55
13%
Arbitration
5
20% / 20%
Overdue
6
11%
Free
9
Developer 9
Rating
(66)
Projects
143
34%
Arbitration
11
9% / 55%
Overdue
26
18%
Working
Similar orders
I am using pine script plot function there is offset value there , I need a pine script and mql code when. The close cross under or cross over the offset value line it generate an alert , it's not possible through plot function however could be done through other means do you know how to do it
I am looking for superb amazing fast MT4 EA coding service from a reliable skilled programmer, If you are the type that used to attend to messages after it client has been waiting so long or paying attention in the beginning then disappear for a while, not ready to provide timely updates and pay attention to details, don't apply as not to waste both our time, I begged you with the power that keep you alive, this is
hi guys, I have a script, that I have been struggling to work. most of the work is done, just final touch of an expert is needed. The script Is using Fibonacci and Pivot standard in its base. look forward to hear from an expert! Best regards Sina
Please give me a quote. 1. On Ea automatic take a trade, off Ea as indicator 2. News on/off 3. when to when (in arrange of time), once break up/down happened Ea will take a trade, spread on/off 4. Auto lot on/off, auto lot should be based on balance percentage. 5. Five of EMA for the trend direction 6. Tp & SL, ratio 1:1, 1:2, 1:3, After hit first TP, Trailing stop trigger, TP move to second TP Regards
Greetings. I will buy your EA for MT5, in case that on distance it is able to make a profit of 10% per month. Martingale methods and grid strategies should not be used as the basis of a trading strategy. I will need to test in the strategy tester and on live market (on demo account for at least two weeks), so I ask you to provide an executable demo file of the EA with necessary restrictions. The EA should not use
Hello, I have a file of different settings for a trading bot, I need a capable and trustworthy developer to execute the project perfectly without any mistake apply now if you are capable of carrying out the project
hello coders i need someone to create an ea with this condition: the ea has to start with open buy and sell order and after that use a grid with lot exponent 1,1.1,1.2,1.3 and etc. the ea has to start for example with sell and buy order with 0.05 lot or other that i can select on inputs but after that the grid has to start with 0.01 lots i need also a step grid option so i can select the distance from the grid
### **Indicators** 1. **Daily % Mover**: - Identify the symbol with the highest absolute percentage change for the day. This symbol will be the current traded symbol until another reaches #1. - The calculation is clarified in the file attached below. 2. **Range Bars**: - Construct Range Bars based on price movement rather than time. - Determine the “spread” data for all symbols. The minimum range bar size should be
Hi, I need a simple EA that will take signals entries and exit from RelicusRoadPro for MT4. There are 3 kind of clear entry signals (scalp, reversal and trend direction) with SL and TP, the EA will need to calculate the right lot size for risk % and setup the trade accordingly. The other entry is when a signal line is touched and closed upon hitting the other signal line. I'll give all the details for the entries in
Only if you are a forex trader and knows perfectly about market structure when market is uptrend and when its down trend you can give me or create an indicator that knows market structure well simply if the market is on downtrend the indicator will know and if it’s on up trend the indicator will also know

Project information

Budget
30 - 200 USD
For the developer
27 - 180 USD
Deadline
to 14 day(s)