I am trying to convert a pine script into python.
in pine I use function cross, crossunder and crossover for checking the if a particular series has crossed the other (say sma and ema crossing) over other to arrive at entry positions for stock.
I am not able to find equivalent function in python.
can anybody help me with that?