This is an improved version of the on balance volume indicator.
I made it inside a bollinger band channel, so we can define better the zones. At the same time I applied 2 moving averages on OBV, to get a better idea of the trend and at same time that change direction of the trend.
Green - > uptrend - > we look for buy positions
Red - > downtrend -> we look for...
Useful for identifying and receiving alerts about uptrends and downtrends.
This script uses two Exponential Moving Averages (EMAs) to find price uptrends and downtrends. An Exponential Moving Average (EMA) is a type of moving average that places a greater weight and significance on the most recent data points. The script produces uptrend and downtrend signals...
Coded by vaidab.
A simple strategy to buy dips in an uptrend.
How to use:
- buy on trend when price retraces to the orange "buy" line and compound orders
- sell when price reaches red line (stop loss) or at 💰 (take profit)
Note that you can reverse trade on the 💰 sign for a short scalp / day trade.
I took the normal CCI version and I made it better and more pleasantly visual.
At the same time now the CCI changes color based on the direction is going to take
We also have more levels, to define even better the current situation.
Details are simple :
green color cci = uptrend - > buy
red color cci = downtrend - > sell
// The script is useful to inspect probability:
// If previous day closed at lowest price for several days
// how often next day would be red bar
// As one can see gray lines indicate bars with lowest close. If next bar is green, increment diff_hi, overwise increment diff_lo
// Probability is counted as diff_lo / (diff_hi+diff_lo)
// One can copy script and...