Hi, I'd like to code a slope that would have a particular inclination, or gradient. To do this, I'd like to set a ratio of 1$ price movement for 1 bar and then try to calculate what is the % of the slope.
Anyone can help me with how to do this? Thanks, Louis