OPEN-SOURCE SCRIPT

Center of gravity - Mid Point + Volume (PolySlyme)

Aktualisiert
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.
Versionshinweise
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.
Versionshinweise
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.
Versionshinweise
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.
Versionshinweise
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.
Versionshinweise
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.
Versionshinweise
Code fix.
Versionshinweise
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.
Versionshinweise
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.
Versionshinweise
Code fixed + New options to color the high bars and low bars. Option to turn them on or off.
Versionshinweise
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.
Versionshinweise
Small code changes
Trend AnalysisVolume

Open-source Skript

Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun das Script auch andere Trader verstehen und prüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden. Die Nutzung dieses Codes in einer Veröffentlichung wird in unseren Hausregeln reguliert. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Möchten Sie dieses Skript auf einem Chart verwenden?

Haftungsausschluss