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...
A simple strategy to give buy/sell signals based on OBV and EMA crossover/crossunder.
When OBV crossunder the EMA it gives a sell signal. When OBV crossover EMA it gives a buy signal.
You can adjust the length of the EMA . By default it is set to 9
Here you can have 4 EMA on one indicator. The inputs are for 8, 13, 21 and 55 previous open&close which are from Fibonacci sequence.
How to : To use the script, click on "Add to Favourite Scripts", then load the script from Indicators on the Chart.