I use DEMA and Price difference in many strategies and and trade.

Finally , ı wanted to build an indicator for relation between them.

It calculates the percentage of difference between price and dema and estimates deviation from the main trend.

Formula = (price-dema)/price*100

There is some parameters;

DEMA Length is length of dema , ı think 50 is good enough,

there is upper and lower band for DPD Score .

You can change it based on volatilities of your pairs to find an optima.

and use it to be sure about your entry point.

I will developed and combine DPD with some other indicators and build strategies with it.

You can be part of that , I am waiting for your feedback.

Stay in Touch :)
Versionshinweise: Correction
Versionshinweise: Correction
Open-source Skript

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Möchten Sie dieses Skript auf einem Chart verwenden?