Forum

Slope Direction Line problem

Hi all, I was trying a simple close condition when the Slope Direction Line changes from going downwards to going upwards. In some cases, it does not work, and I really do not understand why. I get the value of the Slope (shifted by 1 to have a consolidated value from the last bar), and compare it

indicators: What You See Is (not) What You Get in the code

Foreword: I am quite new to THIS programming language. I have the impression that, for most indicators, what I see on the graph is not what I am getting in the code. So, before I might move to complex logic, I went back to the simple cases as I’d need to understand the basis with simple examples I

Indicators: What You See Is (not) What You Get in the code

Foreword: I am quite new to THIS programming language. I have the impression that, for most indicators, what I see on the graph is not what I am getting in the code. So, before I might move to complex logic, I went back to the simple cases as I’d need to understand the basis with simple examples I