u included the main angels of gann starting from 45 to 360 degrees that's fine.
but you could have made this indicator more powerful , let tell you how
you got shapes of price
triangle , Square, Pentagon, Hexagon, Octagon,Nonagon, Decagon
those are also have angles and price may take any shape of them around the square of nine.
So if you could make the indicator calculate each of them would be great
each shape has its angels
take Hexagon for example starts from 60,120,180,240,300,360
if you could let the indicator take these information and draw the lines based on the shape given to him would be great.
let me review the formula with you
X = price
a= alfa which is the angle factor and a = angles/180 degrees .... for example angle 90 would have (a) of 0.5 you take 90/180 = 0.5
Then the formula is SQRT of x +- (a) and the result is squared
the +- means you could add (a) or subtract (a) and that's for bear and bull like you did it by input negative to the angles in the indicator.
meaning calculating form top you subtract (a) and from bottom add (a).