Common moving addresses often act as support and resistance levels. This script will incorporate four (2 exponential and 2 simple ) moving averages. The default are lengths of 8, 20, 50, and 200. These are adjustable. Many of us are aware that these areas often tend to be supply / demands zones. We are also aware that movement around these areas can fluctuate...
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
Updated version of the previously published multi-indicator which includes
4x Moving Averages
2x Ichimoku Clouds
Bill Williams Fractals
-Toggle switches for each indicator on input tab for easy on/off
-MA Type Selector (EMA/SMA/WMA/VWMA)
-Various default style change
Many thanks to both redwraith and jedireza for helping me work out the MA...