You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi
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[1];
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.