the attached mql4 indicator , shall be translated to MT5/mql5.
The purpose of the indicator is to draw to horizontal lines of the ichimoku kijunsen indicator for the timeframes H4 and D1 on different time charts such as M5/M15 or H1 Charts. Please translate the attached source code to MT5/mql5
Thanks and best regards
Wilhelm