Converting an Mt4 indicator into a Tradingview indicator

MQL5 Integration

Specification

I have an indicator convert to tradingview pine script.

It includes iATR and iMA. I attached indicator copy and images of important  pieces of codes.
Indicator must work  like mt4 indicator.

Files:

EX4
ave.ex4
16.2 Kb
JPG
ave1.jpg
108.5 Kb
JPG
ave2.jpg
58.1 Kb

Responded

1
Developer 1
Rating
(119)
Projects
127
41%
Arbitration
3
33% / 67%
Overdue
0
Free
2
Developer 2
Rating
(15)
Projects
24
21%
Arbitration
1
0% / 100%
Overdue
7
29%
Free
3
Developer 3
Rating
(549)
Projects
826
73%
Arbitration
15
53% / 13%
Overdue
193
23%
Working
4
Developer 4
Rating
(219)
Projects
370
42%
Arbitration
145
17% / 41%
Overdue
124
34%
Free
Similar orders
I need to automate the supertrend indicator on ctrader with partial tp and sl. I already have a sort of script (without tp and sl) but when I go to compile it gives me an error. would you be able to make it work by adding the partial tp and sl

Project information

Budget
30+ USD
For the developer
27 USD
Deadline
to 5 day(s)