Spécifications
i want one new indicator
this is gann based indicator. actually it is gann calculator.
first consider the current price as x then find the value of square root for x.
consider this square root value as y and this y may come like 00.00 with
2 or 3 decimal points .. but need is integer only 00 no need of the decimal points and not round off.. because if
the number comes 56.56 means it will take 57 when it roundoff and error will occur.. so
need is 55 only --- step 1
next is squareroot value -2 (for example if price is 3300 then sqrt is 57 and 57-2=55) is step 2 and
make y value to y-2=y..
then take this y and find the square for it by
y * y = A (55 * 55 = 2997
) this is bottom of price...
by adding 0.125 , 0.25, 0.375, 0.5, 0.625, 0.75, 0.875, 1.0 , 1.125 ,
1.25, 1.375, 1.5, 1.625, 1.75, 1.875, 2.0, 2.125 , 2.25, 2.375, 2.5, 2.625, 2.75, 2.875, 3.0 , 3.125 , 3.25, 3.375, 3.5, 3.625, 3.75, 3.875, 4.0 to y value
and get square values... like this
(y+0.125 ) * (y+0.125 )
(y+0.25 ) * (y+0.25 )
(y+0.375 ) * (y+0.375 )
(y+0.5 ) * (A+0.5 )
(y+0.625 ) * (y+0.625 )
(y+0.75 ) * (y+0.75 )
(y+0.875 ) * (y+0.875 )
(y+1.0 ) * (y+1.0 )
like this up to 4
will get some 16 values... upside and 16values downside...
like this pic i want lines for the getting values .. with that text. as price with angle if any one knows or leave it.... but near to price immediate first top and bottom lines will be with sl price 2900 like wise
and the lines not more than 4 cm length.. and with text. but near to current candle. if next candle comes means lines goto the next candles.
the lines are constant up to the price enter into next square root. once the square root value get change then the lines according to that have to change...
i made in excel
but dont know the angles are right and
as per this i place degrees... hope understand and any one will make this indicator?