Forum

iRSI returns zero for daily timeframe

Hi, I'm not sure if I have found a bug in MT4 build 646 but it is driving me nuts to try and get my code to work. Has anyone else had this issue? When I use iRSI in a script running on a chart (example ZARJPY) and reference another symbol with the D1 time frame then zero is returned unless the chart

Plotting lines in an EA

Hi, I am trying to write an EA that will plot the lowest low and highest high for the past ‘n’ number of days. I have worked out how to do it in a Custom Indicator but can’t figure it out in an EA. I have attached a image of what I am trying to achieve. Could someone point me to some example code

Changing indicator value from an EA

Hi, I’m a real newbie to this game and this site has been recommended to me as a great learning tool. So after searching the Internet for an answer to this question I thought I would try here. I am a programmer by profession but I have had no experience with MetaTrader and EA’s which puts me on a