Andrew Morfey Simcox / Publications
Forum
Least squares moving average indicator
Hi, I'm using this LSMA indicator on MT4 but I'd like it to calculate using the price high of each bar. I'm not sure which price it's currently using but its not the high. I can't figure out the relevant variable to change in the code below. linreg_function is the section of of the main body