Sharing a new type of average I am working on. The average is based on what is simply known as efficiency. The formula is below
Efficiency = useful output / total input
Here useful output is average price(could be any type of average) and total input is Price.
So if efficiency is greater than its Hull moving average(or any other) then the moving average advances otherwise not thus creating a step type indicator.
Here is the indicator.