OPEN-SOURCE SCRIPT

Center of gravity - Mid Point + Volume (PolySlyme)

Actualizado
I created an indicator which suits my scalping needs.

First it calculates the mid point of every candle, then it calculates where the closing price is in the candle and converts that to a percentage from the mid point. Then it looks at volume and calculates the difference (Positive/negative) from the previous volume bar and converts that to a percentage. These 2 factors are summed together to give a percentage number (positive or negative) then highlights the positive value. Bullish volume and price action turn to gold.

I use this for scalping to great effect. Enjoy.
Notas de prensa
I've updated the script so that the difference value is plotted above the bar high. Useful for making a quick assessment of the power of the move.
Notas de prensa
Now there is a new way to set a threshold and add a custom color. You can also set the threshold amount which is calculated based on the difference in values from the previous bar. hopefully this makes it obvious to see price and volume working together.
Notas de prensa
And finally, An alert has been added so when the wick exceeds 66% of the bar and the threshold has been exceeded an alert is triggered.
Notas de prensa
There was an issue with the alerts so i have removed them for now. However the script has been updated with more confirmation. Now you have the option to scan a higher timeframe and check if the lows have been taken out. This will change the bar color as long at the threshold for price action has been met (price above the center of gravity + increasing volume). You can manually set how many lows of previous bars it takes out and the timeframe manually. More updates will be coming.
Notas de prensa
Alert re-added. Triggered on 2 conditions. 1) The consecutive lows taken out as defined in the settings. 2) Exceeding the price action threshold value in settings to confirm price+volume.
Notas de prensa
Code fix.
Notas de prensa
You can now set a separate color for negative price action. This happens when the volume is increasing and the price is below the center of gravity (midpoint of the bar). The bars change color when the previous conditions are met + the lows defined in settings have also been met on the timeframe you set.
Notas de prensa
We now have the option to set custom values to scan the higher timeframes and check if the consecutive highs or lows have been taken out. Then it changes the color of the bar when the defined threshold has been exceeded. The Alert has been updated.
Notas de prensa
Code fixed + New options to color the high bars and low bars. Option to turn them on or off.
Notas de prensa
The script has been updated again! I have included RSI bar colors with custom settings. Now you have real-time Price+Volume+RSI to help you on your trading journey. The key to this is finding a threshold that matches the chart and tweaking those values to suit. You can set alerts for when the lows or highs are taken out on liquidity grabs and look to enter when the threshold is increasing and price is moving in your direction.
Notas de prensa
Small code changes
Trend AnalysisVolume

Script de código abierto

Siguiendo fielmente el espíritu de TradingView, el autor de este script lo ha publicado en código abierto, permitiendo que otros traders puedan entenderlo y verificarlo. ¡Olé por el autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la reutilización de este código en la publicación se rige por las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

¿Quiere utilizar este script en un gráfico?

Exención de responsabilidad