Hi,

I want to be able to calculate the length of a hypotenuse of a right angled triangle and its angle to the x-axis (horizontal), but don’t want to have to draw a triangle to do this.

I want to be able work it like the Time Price Measure, which already calculates the price (p) and time (t) component of a range (r). In the same way, I want to select a starting point e.g. a low, and drag the cursor to another point e.g. a high, and automatically have the hypotenuse length calculated.

Basically, I would be applying Pythagoras’ theorem i.e. Hypotenuse = Square Root ( price^2+time^2).

As indicated, I would also like to be able to include an angle of the line to the horizontal axis, like you do for a TL e.g. 45% angle etc.

So, I would like to have these calculations included in the TPM or create a tool for myself. Is this possible and how do I go about it? I know nothing about code or scripting.

Chris