hi, I give you a little code that I done to get angle from a distance minimum of 1 candle
So you will get nice informations about what you ask
the angle is not true caus ethe grid is not quared at all so to get a quared grid I will have to get the ratio between the price and the time to get a fixed scale.
so play with the code and you will get a nice background about coding and trading.
the vertical line will change color if the angle is positive (green) negative red
get a h1 chart and multiply by 4 each time you want to move to see h4 candle :))
Voila :)
Lo
hi, I give you a little code that I done to get angle from a distance minimum of 1 candle
So you will get nice informations about what you ask
the angle is not true caus ethe grid is not quared at all so to get a quared grid I will have to get the ratio between the price and the time to get a fixed scale.
so play with the code and you will get a nice background about coding and trading.
the vertical line will change color if the angle is positive (green) negative red
get a h1 chart and multiply by 4 each time you want to move to see h4 candle :))
Voila :)