PDA

View Full Version : Angle, 1/2 angle, 1/4 angle


latkinso
06-30-2009, 10:45 AM
Hi

I am trying to figure out how to determine the angle of
a line between i:e: Point A. a high of 926.75 and Point B: a low of 908.25
and be able to draw a 1/2 angle and 1/4 angle from the
computed angle of point A and point B which would resemble
a gann fan

Any suggestions if this can be done within the wizard framework or
what it might take to do it?

Thanks

Lynn

NinjaTrader_Josh
06-30-2009, 11:11 AM
Lynn,

In the misc section there is an option for Slope. You can try selecting that, but you won't be able to get it to give you the slope of some line unless its values are programmatically stored.

Unfortunately what you want will most likely require custom programming outside of the Wizard.

astra
07-16-2009, 02:46 PM
Hi

I am trying to figure out how to determine the angle of
a line between i:e: Point A. a high of 926.75 and Point B: a low of 908.25
and be able to draw a 1/2 angle and 1/4 angle from the
computed angle of point A and point B which would resemble
a gann fan

Any suggestions if this can be done within the wizard framework or
what it might take to do it?

Thanks

Lynn

Lynn,

As long as you know the number of bars from point A to point B you can use tan. For example:

tanB=(926.75 - 908.25) / number of bars A to B

tanA= number of bars A to B/(926.75 - 908.25)

astra