Forum

Add Toggle On/Off button to a GapFinder indicator

Hi Everybody, I've found and modified a gap finder .mq4 indicator for MT4 and I'd love to add a simple toggle On/Off button on chart. Could someone help me? I'm new to coding and I'm struggling figuring out how to properly set it. CODE: #property indicator_chart_window #property indicator_buffers 1

GapFinder - Convert this indicator from .mq5 to .mq4

Hi guys, I'd love to try this free Gap finder indicator on MT4: https://www.mql5.com/en/code/20154 Since the indicator is working on MT5(mq5) and I'm using MT4(mq4), I cannot run it but maybe someone of you could help me. Is someone able to convert this .mq5 code to a proper .mq4 working code for