a = 166.68
b = 154.80
def firstresi(a, b) :
return ((a-b) / 8)
h = firstresi(a, b)
print(h)
print("range")
def meanprice(b, h) :
return (b + h)
f = meanprice(b, h)
print(f)
print("%12.5%percent")
def lastresi(f, h) :
return (f + h)
k = lastresi(f, h)
print(k)
print("%25%")
def quarter(k, h) :
return (k + h)
l = quarter(k, h)
print(l)
print("%33%percent")
def forth(l, h) :
return (l + h)
m = forth(l, h)
print(m)
print("%37%percent")
def fifthnow(m, h) :
return (m + h)
n =fifthnow(m, h)
print(n)
print("%50%percent")
def sixthnow(n, h) :
return (n + h)
o = sixthnow(n, h)
print(o)
print("%62.5%percent")
def seventhnow(o, h) :
return (o + h)
p = seventhnow(o, h)
print(p)
print("%66%percent")
def eighthnow(p, h) :
return (p + h)
q = eighthnow(p, h)
print(q)
print("%75%percent")
def ninthnow(q, h) :
return (q + h)
r = ninthnow(q, h)
print(r)
print("%87%percent")
def tenthnow(r, h) :
return (r + h)
s = tenthnow(r, h)
print(s)
print("%100%complete move" )
a=(input high)
b=(input low)
Works on any time frame
This is one of the methods Gann used to find support/resistance levels,you can ofcourse do it manually,but this is a shorter way.
You will need a Python IDE to run this code eg Jupyter Notebook etc...
Good luck
b = 154.80
def firstresi(a, b) :
return ((a-b) / 8)
h = firstresi(a, b)
print(h)
print("range")
def meanprice(b, h) :
return (b + h)
f = meanprice(b, h)
print(f)
print("%12.5%percent")
def lastresi(f, h) :
return (f + h)
k = lastresi(f, h)
print(k)
print("%25%")
def quarter(k, h) :
return (k + h)
l = quarter(k, h)
print(l)
print("%33%percent")
def forth(l, h) :
return (l + h)
m = forth(l, h)
print(m)
print("%37%percent")
def fifthnow(m, h) :
return (m + h)
n =fifthnow(m, h)
print(n)
print("%50%percent")
def sixthnow(n, h) :
return (n + h)
o = sixthnow(n, h)
print(o)
print("%62.5%percent")
def seventhnow(o, h) :
return (o + h)
p = seventhnow(o, h)
print(p)
print("%66%percent")
def eighthnow(p, h) :
return (p + h)
q = eighthnow(p, h)
print(q)
print("%75%percent")
def ninthnow(q, h) :
return (q + h)
r = ninthnow(q, h)
print(r)
print("%87%percent")
def tenthnow(r, h) :
return (r + h)
s = tenthnow(r, h)
print(s)
print("%100%complete move" )
a=(input high)
b=(input low)
Works on any time frame
This is one of the methods Gann used to find support/resistance levels,you can ofcourse do it manually,but this is a shorter way.
You will need a Python IDE to run this code eg Jupyter Notebook etc...
Good luck