Ascending and descending Line
is there any function or indicator in backtrader to recognize that current indicator line like stochastic %K is descending or ascending? I am trying to build a strategy that if stochastic %K in weekly TimeFarme is descending or ascending so I can trade!
The simplest one is
rate of change, if it is positive, than the indicator is ascending, otherwise - descending.