I'm new to mq4, I'm trying to convert this line of code(from TOS) to mq4.
int l = 20;def lowbar = low == Lowest(low, l);
def h1= if lowbar then high else h1;
lowbar is just a bool value to check if current low equal to lowest low in given length.
I just don't know how to code the h1 part in mq4.