Eliminate BUGS or errors in two existing similar Indicator

工作已完成

执行时间3 分钟
客户反馈
Alles perfekt. Danke!
员工反馈
Top Kunde! Klare Kommunikation, schnelle Rückmeldungen und eine reibungslose Zusammenarbeit. Absolut zuverlässig und professionell – jederzeit gerne wieder. Sehr empfehlenswert!

指定

Hello, I had these two similar indicators converted from 4 to 5 a long time ago.

After switching to MT5, I discovered that there are two bugs in each of them.

Can anyone remove these so that the indicator is "clean"?

The compiler errors are: 

implicit conversion from 'ENUM_TIMEFRAMES' to 'string'    
implicit conversion from 'string' to 'number'   

Thanks, Reinhard


附加的文件:

反馈

1
开发者 1
等级
(4)
项目
4
0%
仲裁
1
0% / 0%
逾期
0
空闲
2
开发者 2
等级
(33)
项目
43
16%
仲裁
0
逾期
0
空闲
3
开发者 3
等级
(455)
项目
721
34%
仲裁
35
71% / 9%
逾期
23
3%
空闲

项目信息

预算
30 - 50 USD
截止日期
 3  5 天