Convert Pine (Tradingview) indicator into MQL4 expert

MQL4 Experts Converting

Job finished

Execution time 3 days
Feedback from customer
He works very responsibly, very well.

Specification

I have a Tradingview's pine script that I would like to be translated into an expert advisor for MT4.

I want it to be translated to an expert to be used as a robot.

- i want to be able to control all the inputs

- i want to be able to control the lot size

- i want to be able to control the risks

//@version=3
///////////////////////////IMPROVED///////////////////////////////////////
// a very simple but very reliable strategy, works best on Heiken Ashi charts
//Heiken Ashi Candle close crossing over 20 period SMA
//Added more safety. 
//Continuation trades added
//////////////////////////////////////////////////////////////////////////

strategy("Heiken_Ashi_SMA20_Close_Crossover", overlay=true)



longCondition = crossover(close, sma(close, 20))  or (crossover(close,close[1]) and close>sma(close, 20))
if (longCondition)
    strategy.entry("Long", strategy.long)
strategy.close("Long",when=crossunder(close,close[1]) and low<sma(close, 20) )

shortCondition = crossunder(close, sma(close, 20)) or (crossunder(close,close[1]) and close<sma(close, 20))
if (shortCondition)
    strategy.entry("Short",strategy.short)
strategy.close("Short",when=crossover(close,close[1]) and high>sma(close, 20) )


Responded

1
Developer 1
Rating
(119)
Projects
127
41%
Arbitration
3
33% / 67%
Overdue
0
Free
2
Developer 2
Rating
(589)
Projects
1070
50%
Arbitration
39
28% / 41%
Overdue
49
5%
Free
Published: 1 article, 8 codes
3
Developer 3
Rating
(564)
Projects
845
73%
Arbitration
15
53% / 13%
Overdue
193
23%
Free
4
Developer 4
Rating
(1125)
Projects
1813
61%
Arbitration
14
64% / 7%
Overdue
84
5%
Free
5
Developer 5
Rating
(88)
Projects
143
39%
Arbitration
21
19% / 48%
Overdue
30
21%
Free
6
Developer 6
Rating
(54)
Projects
53
17%
Arbitration
7
0% / 100%
Overdue
5
9%
Free

Project information

Budget
30 - 40 USD
Deadline
from 1 to 3 day(s)