blooey
New member
Hi all,
I'm new to the forum but have found a few great indicators that have helped me tremendously...like the SSL Hybrid and super trend. Thanks to all who have translated these to thinkscript.
My question: is there an accurate way to calculate the actual angle of 2 points in thinkscript? I'm aware of how to calculate the slope mathematically, but on a chart, X can vary based on how large the candlesticks are displayed and there doesn't seem to be a way to get the current size of a chart's candle X size. It would be nice to know the angle of a moving average/trend line to gauge how strong the trend is.
Anyone know how to do this in thinkscript?
I'm new to the forum but have found a few great indicators that have helped me tremendously...like the SSL Hybrid and super trend. Thanks to all who have translated these to thinkscript.
My question: is there an accurate way to calculate the actual angle of 2 points in thinkscript? I'm aware of how to calculate the slope mathematically, but on a chart, X can vary based on how large the candlesticks are displayed and there doesn't seem to be a way to get the current size of a chart's candle X size. It would be nice to know the angle of a moving average/trend line to gauge how strong the trend is.
Anyone know how to do this in thinkscript?