Pine script Conversion to MT5 required(Simple Script)

MQL5 Converting

Job finished

Execution time 1 hour
Feedback from employee
Быстрая реакция и быстрая оплата. Спасибо за возможность работать с вами!
Feedback from customer
Great experience and good job, I recommend it to everyone!

Specification

Please, help me for convert simple script to mq5.

Make menu sound for color volume highvol1 and highvol2


study(title="Vol color bars", shorttitle="VolBar", overlay=true)

std_len = input(40, minval=5, title='Deviation lenght')
thresshold1 = input(200, minval=0, title='Thresshold 1') / 100
thresshold2 = input(300, minval=0, title='Thresshold 2') / 100
thresshold3 = input(50, minval=0, title='Thresshold Low 1') / 100
thresshold4 = input(25, minval=0, title='Thresshold Low 2') / 100

color1 = #FF0000
color2 = #FF9100
color3 = #888818
color4 = #00DD23
color5 = #0099FF

avg = stdev(volume, std_len)
highvol1 = volume > avg * thresshold1
highvol2 = volume > avg * thresshold2
lowvol1 = volume < avg * thresshold3
lowvol2 = volume < avg * thresshold4

color = highvol2 ? color1 : highvol1 ? color2 : lowvol2 ? color5 : lowvol1 ? color4 : color3

barcolor(color)

// upbar = close[1] - close
// plotarrow(upbar, transp=60, colorup=red, colordown=green)



Responded

1
Developer 1
Rating
(50)
Projects
80
39%
Arbitration
4
50% / 25%
Overdue
0
Free
2
Developer 2
Rating
(337)
Projects
624
38%
Arbitration
40
23% / 65%
Overdue
93
15%
Free
Published: 4 articles, 19 codes
3
Developer 3
Rating
(253)
Projects
358
49%
Arbitration
24
25% / 50%
Overdue
80
22%
Free
4
Developer 4
Rating
(188)
Projects
263
70%
Arbitration
12
33% / 67%
Overdue
16
6%
Free
Published: 993 codes
5
Developer 5
Rating
(564)
Projects
845
73%
Arbitration
15
53% / 13%
Overdue
193
23%
Free

Project information

Budget
30+ USD
Deadline
from 1 to 5 day(s)