Help with finding the angle/rate of change of an indicator
-
Hi,
I would greatly appreciate some help in creating a solution for my query. I want to be able work out the rate of ascent or descent in an indicator to assist in getting a trade entry. For example the value of the macd main line for the previous bar is x and I want to know whether it has dropped by a certain percentage for the current bar.
I think I know how to solve the problem but am unable to put it together.
My proposed solution
- Add a formula block that that has macd of the previous candle on the left and multiply it by a value on the right

- Store this in a variable
- Call this variable on the next bar to see with the macd is lower/higher than that amount
This is as far as I got I am afraid. I am unable to put this together and could not find any topics that helped me.
Kind Regards,
Rob
- Add a formula block that that has macd of the previous candle on the left and multiply it by a value on the right
-
@rmfletcher here's a shortcut. I read this as "current MACD is below last MACD even when its inflated 5%"

-
Hi @roar ,
This is brilliant. Thanks for the quick response. Simple but perfect solution.
Kind Regards,
Rob