Simple EA for MT4

MQL4 Asesores Expertos

Tarea técnica

Good morning everyone, 
I want to write a simple expert advisor, but I don't know how to do it. Can someone help me?

I want that my EA do this:

  - At "Time T" it opens "Buy" or "Sell" position with "Number z"
  - It close the position when TakeProfit is "x percentage" of "amount z"  or StopLoss is "y percentage" of "amount z"
  
 For example:
 I have 100$ on my account
 I set:
  - Time T = 14:00:00
  - Position = BUY
  - Number z = 2
  - Leverage = 20
  - TakeProfit = 10%
  - StopLoss = 15%
  
the expert advisor at time 14:00:00 it open a buy position of 50$ (Total money on my account/Number z = 100$ / 2 = 50$)
[Value of Lots= (50$ * "Leverage"), if the leverage I set is 20, the value of lots to open are 1000$].
When the profit is of 5$ (50$ * 10%) or when the loss is -7.5$ (50$ * -7.5%) the position will close.

If in the same day, I set this EA in 2 Symbol with the same parameters, in every symbol the value to invest is 50$.
The third position will not open because I set "Number z = 2" and I will have no money on my account.


Example 2:
 I have 200$ on my account
 I set:
  - Time T = 14:00:00
  - Position = BUY
  - Number z = 5
  - Leverage = 20
  - TakeProfit = 10%
  - StopLoss = 15%
  
the expert advisor at time 14:00:00 it open a buy position of 40$ (Total money on my account/Number z = 200$ / 5 = 40$)
[Value of Lots= (40$ * "Leverage"), if the leverage I set is 20, the value of lots to open are 800$].
When the profit is of 4$ (40$ * 10%) or when the loss is -6$ (40$ * -15%) the position will close.

If in the same day, I set this EA in 5 Symbol with the same parameters, in every symbol the value to invest is 40$.
The sixth position will not open because I set "Number z = 5" and I will have no money on my account.

Every day it must check my balance and open position with the input that I have set.

Han respondido

1
Desarrollador 1
Evaluación
(117)
Proyectos
138
41%
Arbitraje
30
7% / 77%
Caducado
17
12%
Libre
2
Desarrollador 2
Evaluación
(30)
Proyectos
93
49%
Arbitraje
18
56% / 17%
Caducado
38
41%
Libre
3
Desarrollador 3
Evaluación
(33)
Proyectos
49
12%
Arbitraje
16
0% / 88%
Caducado
10
20%
Libre
4
Desarrollador 4
Evaluación
(2048)
Proyectos
2599
62%
Arbitraje
113
44% / 26%
Caducado
417
16%
Trabaja
5
Desarrollador 5
Evaluación
(195)
Proyectos
317
35%
Arbitraje
64
13% / 56%
Caducado
82
26%
Libre
6
Desarrollador 6
Evaluación
(522)
Proyectos
729
45%
Arbitraje
23
39% / 13%
Caducado
63
9%
Trabaja
7
Desarrollador 7
Evaluación
(43)
Proyectos
72
49%
Arbitraje
4
0% / 50%
Caducado
19
26%
Libre
8
Desarrollador 8
Evaluación
(71)
Proyectos
254
53%
Arbitraje
16
50% / 38%
Caducado
83
33%
Libre
9
Desarrollador 9
Evaluación
(4)
Proyectos
6
0%
Arbitraje
2
0% / 50%
Caducado
4
67%
Libre
Solicitudes similares
Input based MT5 EA 30 - 40 USD
Hi there, I need an input based MT5 EA created from scratch. I have a detailed list of the inputs I require and how they should be coded. I also require a clean and well presented interface on the chart to represent certain data of the EA as it trades. Experienced coders only, must speak English
Expert Advisor 30 - 35 USD
Hello! I'd like to get a quote from you. I want to build a simple Expert Advisor that does martingale hedging like in the attached picture, but that allows me to specify the price zone and exits in points. I would like to be able to manually open the first trade with whatever lot size I choose at market price and have the following trades/orders be opened automatically with lot sizes according to the multiplier set
I am looking for developer who can develop an Expert Advisor based on Martingale with Pending Order Grid for Hedging. I am very happy to provide the detail requirement if you get in touch
Hello I want to develop a trading bot for my ctrader platform based on the attached Specification Anyone interest and experienced in this field should contact me on this project
I need to correct/modify EA based on Martingale strategy which include no. of modules, manual lot size, Martingale factor, TP, SL, Cutt-off SL, Balance DD limit, Enable new orders, Reverse orders, Equity Rise, News filter, Time filter, Alert, Chart Panel etc,. MA crossover logic to be added. Details can be discussed on personal basis. Base source files shall be submitted by freelancer. Existing EA can be shared which
Hello, I am looking for an programmer to convert a TradingView strategy pine script to MT5 EA auto trade bot. The indicator is based on the FVG/Imbalance (Pine script will be provided) The MT5 EA must include the strategy with the same options panel as TradingView script The MT5 EA must return 100% the same results as TradingView script The MT5 EA must be errors free The MT5 EA code must be well commented
Hello, How are you doing? I need a developer who can create a scanner with just CCi indicator for overbought and oversold for many pairs and Is it possible to put it with the free plapn of tradingview ? Requirements will be sent via inbox Kindly bid if this is what you can do Thanks
Hello The EA will work on particular zone choose by the user and can mark it on any TF and with some rules can open trades and mange the trade by some unique rules. the EA need to check the difference by RSI as well and with some extra rules . developer should have good attitude and good communication (englsih) with high performence and knowledge with coding EA
Hi, Would it be possible to get a developer for my trading system based on the attached specification? EA DETAILS Indicators to use (1) Better RSI () (2) Dynamic Linear Regression Channel (DLRC) by Iravan on Tradingview.com () (3) Range filter Buy and Sell 5 min – guikroth version on Tradingview.com () (With Dynamic Linear Regression, the period/length is automatically adjusted making it much faster to trade
I need a bot that copy trade from mt4 to telegram and also sends entry point , stop loss and take profit for a specific forex pair or any other pair that is traded

Información sobre el proyecto

Presupuesto
30+ USD
IVA (22%): 6.6 USD
Total: 36.6 USD
Para el ejecutor
27 USD