This sounds interesting. What are some example assets?
I might give it a try and will post my code if it works, like I did with the Dual Momentum script.