Hi,
I'm new to MT4 especially the programming. Two questions:
a. Is there a manual to describe all the library functions such as "Highest", "iMACD".
b. I'm used to Metastock programming, pls help me with the first indicator programm that I would like to translate to MT4. 2 Day Inside Bars: today's bar range is inside previous day's bar range and previous day's bar range is inside the pre-previous day's bar range. The code is as below:
If(H<=Ref(H,-1) AND L>=Ref(L,-1) AND Ref(H,-1)<=Ref(H,-2) AND Ref(L,-1)>=Ref(L,-2), 1, 0)
I'm new to MT4 especially the programming. Two questions:
a. Is there a manual to describe all the library functions such as "Highest", "iMACD".
b. I'm used to Metastock programming, pls help me with the first indicator programm that I would like to translate to MT4. 2 Day Inside Bars: today's bar range is inside previous day's bar range and previous day's bar range is inside the pre-previous day's bar range. The code is as below:
If(H<=Ref(H,-1) AND L>=Ref(L,-1) AND Ref(H,-1)<=Ref(H,-2) AND Ref(L,-1)>=Ref(L,-2), 1, 0)