Forum

Draw TrendLine

Hi there, Sorry for the basic question but - is it possible to programmatically draw a trendline between 2 points (ie. Close of 4AM bar and Close of 10AM bar)? Thanks in advance

RSI Formula used in iRSI?

Hi there, For my own purposes I need to write a script that calculates the RSI but I don't want to use the iRSI formula (long story). However, I want to make sure my values match up with the iRSI. However, I cannot figure out what formula iRSI uses. I am using the formula (as best I can tell) for

MQL4 Reading Maximum and Minimum Values of MACD Sub Window

Hey there, I would like to determine the slope of the MACD Signal line . However, this slope also depends on what the current maximum and minimum range is on the MACD indicator window. I would prefer NOT to set the max and min values on the indicator. Instead, I would like to (in my EA) read what