Conversion of pinescript to python

MQL5 Scripts Converting

Specification

I have a pinescript that is kind of awkward code (but is very short) and need it converted to Python. The python script simply needs to print the most recent candle where a signal was detected to confirm it matches with TradingView. 

Responded

1
Developer 1
Rating
(21)
Projects
25
52%
Arbitration
3
0% / 100%
Overdue
2
8%
Free
2
Developer 2
Rating
(57)
Projects
72
22%
Arbitration
13
46% / 15%
Overdue
5
7%
Free
3
Developer 3
Rating
(12)
Projects
12
33%
Arbitration
8
13% / 88%
Overdue
3
25%
Free
4
Developer 4
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
5
Developer 5
Rating
(31)
Projects
35
46%
Arbitration
0
Overdue
0
Free
Published: 3 codes
6
Developer 6
Rating
(1)
Projects
1
0%
Arbitration
1
0% / 100%
Overdue
0
Free
Published: 2 codes

Project information

Budget
30 - 36 USD