Nth-Occurrence Custom barssince() Function by Cryptorhythms
The vanilla barssince() function in pine only finds the number of bars since the most recent occurrence of the condition. This version allows you to specify an Nth occurrence back to check the bars since! Its also a nice little one liner.
I really hope you enjoy it and if you're...
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...
Trading The Movements That Matters
Inspired by the Price Volume Trend indicator the Efficient Price aim to create a better version of the price containing only the information a trend trader must need.
This indicator use the Efficiency Ratio as a smoothing constant, it is calculated as follow :
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