Trabajo finalizado
Plazo de ejecución 14 minutos
Tarea técnica
Convert this simple lines of MQL4 Code to a MQL5 Expert Advisor:
input int TakeProfit=3900;//Take profit input int StopLoss=500;//Stop Loss input int MAGIC = 2930; input double defaultLot = 0.01; input int period = 13; input ENUM_APPLIED_PRICE appliedPrice = PRICE_CLOSE; input int shift = 0; input int limitUp = 40; void OnTick() { double adx_main = iADX(NULL, 0, period, appliedPrice, MODE_MAIN, shift); double adx_plusdi = iADX(NULL, 0, period, appliedPrice, MODE_PLUSDI, shift); double adx_minusdi = iADX(NULL, 0, period, appliedPrice, MODE_MINUSDI, shift); if(countOrders(MAGIC) == 0) { if(adx_main > limitUp) { double lot = defaultLot; if(adx_plusdi > adx_minusdi) { Print("Open SELL Lot:"+DoubleToStr(lot)+" - SL:"+IntegerToString(StopLoss)+" -TP:"+IntegerToString(TakeProfit)); sell(lot, StopLoss, TakeProfit, MAGIC, ""); } else if(adx_plusdi < adx_minusdi) { Print("Open BUY Lot:"+DoubleToStr(lot)+" - SL:"+IntegerToString(StopLoss)+" -TP:"+IntegerToString(TakeProfit)); buy(lot, StopLoss, TakeProfit, MAGIC, ""); } } }}
Some functions are not included:
- "countOrders" will return the number of executed orders for this specific MAGIC number
- "sell"/"buy" will open a sell/buy order with the specified parameters
So basically, the EA will open an order if there no order already opened, and if:
- the ADX Plus DI is above the ADX Minus DI (sell)
- the ADX Plus DI is below the ADX Minus DI (buy)
Han respondido
1
Evaluación
Proyectos
478
40%
Arbitraje
7
43%
/
29%
Caducado
16
3%
Libre
2
Evaluación
Proyectos
339
49%
Arbitraje
21
5%
/
33%
Caducado
24
7%
Libre
3
Evaluación
Proyectos
2646
61%
Arbitraje
113
45%
/
26%
Caducado
418
16%
Trabaja
4
Evaluación
Proyectos
789
71%
Arbitraje
9
33%
/
33%
Caducado
22
3%
Libre
5
Evaluación
Proyectos
53
9%
Arbitraje
10
20%
/
60%
Caducado
11
21%
Libre
6
Evaluación
Proyectos
590
70%
Arbitraje
14
43%
/
7%
Caducado
28
5%
Libre
7
Evaluación
Proyectos
34
9%
Arbitraje
3
33%
/
0%
Caducado
8
24%
Libre
8
Evaluación
Proyectos
670
33%
Arbitraje
60
17%
/
32%
Caducado
113
17%
Trabaja
9
Evaluación
Proyectos
79
18%
Arbitraje
13
15%
/
54%
Caducado
5
6%
Libre
10
Evaluación
Proyectos
523
66%
Arbitraje
52
21%
/
38%
Caducado
167
32%
Libre
11
Evaluación
Proyectos
545
25%
Arbitraje
21
38%
/
38%
Caducado
83
15%
Libre
12
Evaluación
Proyectos
1432
62%
Arbitraje
21
57%
/
10%
Caducado
43
3%
Libre
13
Evaluación
Proyectos
36
17%
Arbitraje
5
20%
/
40%
Caducado
17
47%
Libre
14
Evaluación
Proyectos
121
25%
Arbitraje
5
20%
/
60%
Caducado
17
14%
Libre
15
Evaluación
Proyectos
932
47%
Arbitraje
302
59%
/
25%
Caducado
124
13%
Ocupado
16
Evaluación
Proyectos
5
0%
Arbitraje
3
0%
/
67%
Caducado
2
40%
Libre
17
Evaluación
Proyectos
140
46%
Arbitraje
19
42%
/
16%
Caducado
32
23%
Libre
18
Evaluación
Proyectos
73
16%
Arbitraje
13
8%
/
92%
Caducado
37
51%
Libre
Solicitudes similares
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
Need a trading bot based on Bollinger Bands and a second indicator - Simple Bot, simple strategy
30 - 60 USD
I am looking forward to automate my trading strategy where I use renko bars on Tradingview. I really want to use unirenkos too, but unfortunately I couldn't figure out how to use ninjatrader on my MacBook and Tradingview does not offer unirenkos. As far as I see from your offered services you are very familiar with ninjatrader. I wanted to ask you if you could code me an Indicator for unirenkos for Tradingview so I
I am looking forward to automate my trading strategy where I use renko bars on Tradingview. I really want to use unirenkos too, but unfortunately I couldn't figure out how to use ninjatrader on my MacBook and Tradingview does not offer unirenkos. As far as I see from your offered services you are very familiar with ninjatrader. I wanted to ask you if you could code me an Indicator for unirenkos for Tradingview so I
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
TREND TRACKER 2 TRADER
30+ USD
Hello, I want to create an EA that can be able to take and optimise trade bids using the trend tracker concept I have developed. The tracker will monitor 2 lines to determine the trend of the market and afterwards take bids towards the correct direction. It will also be able to use a distance between the bids for the direction of the trend and plan a reverse bid when the price of the extreme doesn’t change again. The
Gradient boosting and L2
100 - 200 USD
I am looking for a well experienced programmer to put/implement a gradient boosting algorithm and an L2 to reduce overfitting in my ea which l already have which uses indicators . If you are experienced please adhere
Hello, I'm looking for a developer for repair calendar in EA MT4/MT5 (News Filter - https://ec.forexprostools.com ) for all windows servers. Note: EA MT4/MT5 works with calendar on PC Win 10, 11 but not on all windows servers. I have the source code and will post within the comments section for review. If you are able to do this and quality. Please apply. Thanks
Create mt4 ea
50+ USD
To convert the provided MT4 indicator script into an Expert Advisor (EA) and implement prompt functionality for user input, we need to modify the code to handle external parameters and provide a user-friendly interface. Below is the EA code that incorporates prompts for user inputs
EA - SCALP MARTINGALE SPY
30+ USD
SCALP MARTINCALE SPY TIMEFRAME 1MIN CANDLE - SHORT SIDE ONLY 1-SET RISK : A IS A VARIABLE (HOW MUCH $) 2-SET ATR(3) : SET THE TIME AT WHICH THE ATR SHOULD BE TAKEN, IF SET 933AM THEN THE ATR OF THE 1MIN CANDLE AT 933AM CANDLE WILL BE USED (ROUND AT 0.25 UP OR DOWN) *USE NEW YORK TIME 3-SET MAX NUMBER OF ENTRY : B IS A VARIABLE 4-SET RSI(14) / C IS A VARIABLE, IF RSI(14) > C = ORDERS OPEN 5-IF RSI(14) > C IS TRIGGERED
I WRITE a code i want to conect this for automatic trading through vps .and als advanced features for this code .i attached afile please watch .and give me perfect ea
Información sobre el proyecto
Presupuesto
30+ USD
IVA (20%):
6
USD
Total:
36
USD
Para el ejecutor
27
USD
Plazo límite de ejecución
a 1 día(s)