I'm attempting to convert the indicator below from MT4/MT5. Most of the MT5 I'm sure is correct, but something is wrong.The MT4 file below is how the MT5 should work; why does the MT5 file plot incorrectly and generate a zero divide error? Thanks.
Sure. It is line 73, column 19, where the difference of "H" and "L" is zero. It is not an issue on the MT4 version; somehow the plot is different on MT5 and results in this error. Where is the mis-translation?