Need to convert a TradingView Script to MQL5

Job finished

Execution time 30 days

Specification

The script is simple as it can be,EA should act same or closely match the performance and results of the TradingView script in TV, (USD/CAD) from 1M chart to 1H

 

fastEMA_period = input(5, title="Fast EMA Period")
slowEMA_period = input(56, title="Slow EMA Period")

// Calculating indicators
fastEMA = ta.ema(close, fastEMA_period)
slowEMA = ta.ema(close, slowEMA_period)

// Trade conditions
longCondition = ta.crossunder(slowEMA, fastEMA)
shortCondition = ta.crossover(slowEMA, fastEMA)

Files:

TXT
test_TV.txt
0.9 Kb

Responded

1
Developer 1
Rating
(137)
Projects
160
23%
Arbitration
7
0% / 43%
Overdue
4
3%
Loaded
2
Developer 2
Rating
(90)
Projects
110
37%
Arbitration
8
88% / 0%
Overdue
0
Working
3
Developer 3
Rating
(183)
Projects
234
59%
Arbitration
7
29% / 29%
Overdue
8
3%
Working
4
Developer 4
Rating
Projects
0
0%
Arbitration
1
0% / 100%
Overdue
0
Free
5
Developer 5
Rating
(362)
Projects
504
40%
Arbitration
147
18% / 72%
Overdue
98
19%
Busy
6
Developer 6
Rating
(73)
Projects
85
56%
Arbitration
0
Overdue
0
Free
7
Developer 7
Rating
(38)
Projects
50
10%
Arbitration
1
0% / 0%
Overdue
8
16%
Free
8
Developer 8
Rating
(289)
Projects
432
64%
Arbitration
5
40% / 0%
Overdue
4
1%
Loaded
9
Developer 9
Rating
(126)
Projects
160
36%
Arbitration
4
25% / 50%
Overdue
13
8%
Free
10
Developer 10
Rating
(41)
Projects
51
49%
Arbitration
6
83% / 0%
Overdue
0
Working
11
Developer 11
Rating
(563)
Projects
932
47%
Arbitration
301
59% / 25%
Overdue
124
13%
Working
12
Developer 12
Rating
(254)
Projects
572
36%
Arbitration
64
20% / 58%
Overdue
147
26%
Free
13
Developer 13
Rating
(30)
Projects
55
22%
Arbitration
12
67% / 8%
Overdue
2
4%
Free
14
Developer 14
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
15
Developer 15
Rating
(376)
Projects
474
40%
Arbitration
82
37% / 33%
Overdue
13
3%
Working
16
Developer 16
Rating
(253)
Projects
407
38%
Arbitration
85
42% / 19%
Overdue
70
17%
Loaded
17
Developer 17
Rating
Projects
0
0%
Arbitration
1
0% / 100%
Overdue
0
Free
18
Developer 18
Rating
(68)
Projects
77
8%
Arbitration
33
9% / 55%
Overdue
6
8%
Working
19
Developer 19
Rating
(13)
Projects
18
6%
Arbitration
1
0% / 0%
Overdue
1
6%
Working
Similar orders
Long Position 1. Trend Line: When a Lower High (LH) is formed, draw a trend line from the previous Higher High (HH) to the new LH. 2. Trend Line Adjustment: If a new Lower High (LH) is formed without breaking the trend line, redraw the trend line to the new LH. Draw a trend line between the Higher High (HH) and the Higher Low (HL). If a new Higher High (HH) is formed, remove the previous trend line and draw a new one
I have a custom EA that works fine in the live market trading, but when doing a back test in the strategy tester , it does not open sell orders. There are no errors or warnings; it just doesn't open sell orders. I've checked every possible reason that might be the reason why it does not open sell orders, but I can't find anything, especially since it works fine in the real market and it opens both buys and sells
I'm looking for someone to help me create an arbitrage trading robot that can trade on any decentralized exchange and forex market. I already have some source code to a strategy but would like to enhance it to make it profitable and automated
I installed the E.A. into the Experts folder in MT4. When I double click on it nothing happens. When I right click and "attach to chart" nothing happens. The E.A. is not grayed out, it simply will not attach. Any help would be greatly Appreciated
I have an EA and want to add few new logic to fetch profit taking factors and other values from an external master data and use it in existing EA
I need EA that works on MT5 to be able to do the following: - Can recognize Support/Resistance area - Can recognize VWAP direction. - Can recognize RSI. - Can recognize Double Top/bottom, Bullish/Bearish hammer candle, Bullish/bearish engulfing candle. - Ability to set Stoploss below/above support/resistance, but risk must be fixed at a certain price. - Stoploss
I want a program that will help calculate and enter the market on full margin for me. I just need to put in the price for entry, Stop loss and TP then it will calculate the lot sizes for entering the trade on full margin on Mt5
I am seeking a highly skilled and experienced developer to assist with an important project. I need a development of an automated trading bot for NinjaTrader, utilizing a 4 SMA (Simple Moving Average) crossing strategy, with additional custom diversions for trade entries. The bot needs to be based on a strategy involving the crossing of four different SMAs. The exact periods for these SMAs and the conditions for
So i have copier EA. The idea is the EA will triggered through manual OP by user via mobile or whatever platform. Let's say 0.01 lot to trigger it. After the EA takes master's position, the EA will be standby mode. If the master take more OP, the EA still not take the master's position (OP) until the user input manually once again via mobile for another 0.01 lot. Since this is a MT4 EA, Whenever user want to close
preciso de um robô com duas médias móveis, uma exponencial high e uma exponencial low. preciso também ter a opção de utilizar e todos os tempos gráficos e alterar os parâmetros das médias. entrada de compra será feita quando um candle de alta romper e fechar a cima da média high e fechará a posição quando um candle de baixa romper e fechar a baixo da média low. a venda será feita quando o candle de baixa romper e

Project information

Budget
30 - 100 USD
VAT (21%): 6.3 - 21 USD
Total: 36.3 - 121 USD
For the developer
27 - 90 USD