Hi Team,
Hope everyone is having as much fun as I am and a little more success. I'm trying to write a very basic technical algorithm and was wondering if anybody could help me.
I am trying to create a cardinal indicator to attach to a handful of securities.
My plan was to have a function which updates the indicator for each security:
I(1) = (f(Price) + q(Volume))*I(0) + 1
where I(0) is the previous iteration of the calculation and I(1) is the update and then ranks the securities on this basis. I haven't really worked out what I would make f() or q() but thought I would work out the base before experimenting. Unfortunately this is apparently beyond my python skills. Any suggestions would be greatly appreciated!