Create an order box

MQL4 Experts Scripts

Trabalho concluído

Tempo de execução 26 dias
Comentário do cliente
An amazing job. Easy to work with. Listens and executes the job well. Now doing another project for us.

Termos de Referência

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.



Arquivos anexados:

Respondido

1
Desenvolvedor 1
Classificação
(167)
Projetos
192
11%
Arbitragem
37
38% / 35%
Expirado
5
3%
Trabalhando
2
Desenvolvedor 2
Classificação
(135)
Projetos
192
42%
Arbitragem
17
29% / 59%
Expirado
28
15%
Livre
3
Desenvolvedor 3
Classificação
(252)
Projetos
403
38%
Arbitragem
83
41% / 19%
Expirado
70
17%
Carregado
4
Desenvolvedor 4
Classificação
(64)
Projetos
69
64%
Arbitragem
3
100% / 0%
Expirado
7
10%
Trabalhando
5
Desenvolvedor 5
Classificação
(23)
Projetos
45
20%
Arbitragem
24
29% / 42%
Expirado
12
27%
Trabalhando
6
Desenvolvedor 6
Classificação
(48)
Projetos
91
31%
Arbitragem
28
29% / 43%
Expirado
42
46%
Livre
7
Desenvolvedor 7
Classificação
(319)
Projetos
520
66%
Arbitragem
52
21% / 38%
Expirado
165
32%
Trabalhando
8
Desenvolvedor 8
Classificação
(39)
Projetos
55
13%
Arbitragem
5
20% / 20%
Expirado
6
11%
Livre
9
Desenvolvedor 9
Classificação
(66)
Projetos
143
34%
Arbitragem
11
9% / 55%
Expirado
26
18%
Trabalhando
Pedidos semelhantes
Recovery Zone Hedging 100 - 200 USD
Zone Recovery EA watch the video below to learn about Zone Recovery: Forex trading Strategy 100% winning trades!! WIN every trade you take!!! This will be a semi-auto EA with a user interface for order placement and relevant settings, not a complete EA that trades on its own. All the following things will be shown on the upper left side of chart: Breakeven line: based on current opening positions, at which price I
I am looking for a developer to code a custom DERIV BOT and intergrate it with their analysis tool. For now I I just want it to trade even and odd. If you can do it send your offer
News filter. Check that auto GMT works properly Stop Loss: there are 3 types. Make sure they work correctly Debug/clean up the code. Remove the lines that are not in use. Question regarding the maximum open buy/sell, if it is connected to the Martingale/recovery trades. I have 2 versions that should be similar but they do not open the same trades. What is the difference between them? Make sure the EA works properly
A simple RSI EA where Trade (either Buy or Sell) is entered when the Smoothed RSI signal line crosses the MA line. Inputs = RSI Length, Smoothed RSI period, MA type, MA Length, Lot size, TP, SL Based on a trading view indicator..source code available
Have an EA which is anti martingale, Following changes, First fixing errors 1. The trading end time is not working, it trades till the end of the day 2. The day profit also doesn't work, need to stop trading once the profit target is achieved 3. As it is anti martingale it should continue trading if the trade has begun even after trading time ends [option would be helpful, either close all open trades or continue
CAPSTONE BOT TWO SPECIFICATION REQUIRMENTS Using the 1 hour chat draw two horizontal lines at 1 pip above and 1 pip below the high and low of the 6 th and 7 th candles after the period separator. ENTRY CONDITION ONE: place a buy order at the upper horizontal line and a sell order at the lower horizontal line. Both orders with 15pips stop loss and 50 pips take profit. ENTRY CONDITION TWO: In the event that either buy
Quiero un EA personalizado para operar el par Eurousd Que tenga SL y TP En un horario específico Es una estrategia basada en rompimiento de estructura cuando el mercado rompa esa estructura que el EA tome una entrada por Buy Stop o Sell Stop
PZ Day Trading EA MT4 30 - 100 USD
Hello. I would like an EA made for an indicator I purchased; "PZ Day Trading Indicator", for developer information you can find it here in the "developer" tab https://www.pointzero-trading.com/en/Products/view/PZDayTrading.&nbsp ; Due to licensing, I cannot provide the indicator file, but the demo version is available on the MT4 terminal which you can use :) My specification would be as follows: -> Open trade on
Looking for a great developer to develop an EA to send alerts to telegram . Alerts will be send from my mt5 indicator. More information will be provided to selected developer
I am looking for an experienced coder to code the idea behind this recovery strategy: https://www.youtube.com/watch?v=Fzh4dNhYga0 The main goal of this strategy is not to make money but to save (bring to breakeven) a position gone wrong (cases when the price moved in the opposite direction of the position). The idea for this EA is simple: enter in the direction indicated by the supertrend indicator, and place an

Informações sobre o projeto

Orçamento
30 - 200 USD
Desenvolvedor
27 - 180 USD
Prazo
para 14 dias