Center of Candle Trendline### **Center of Candle Trendline**
This script dynamically plots a trendline through the center of each candlestick's body. The "center" is calculated as the average of the open and close prices for each candle. The trendline updates in real-time as new candles form, providing a clean and straightforward way to track the market's midline movement.
#### **Features:**
1. **Dynamic Trendline:** The trendline connects the center points of consecutive candlestick bodies, giving a clear visual representation of price movements.
2. **Accurate Center Calculation:** The center is determined as `(open + close) / 2`, ensuring the trendline reflects the true midpoint of each candlestick body.
3. **Real-Time Updates:** The trendline updates automatically as new bars form, keeping your chart up to date with the latest price action.
4. **Customization-Ready:** Adjust the line’s color, width, or style easily to fit your chart preferences.
#### **How to Use:**
- Add this script to your chart to monitor the price movement relative to the center of candlestick bodies.
- Use the trendline to identify trends, reversals, or price consolidation zones.
#### **Applications:**
- **Trend Analysis:** Visualize how the market trends around the center of candlesticks.
- **Reversal Identification:** Detect potential reversal zones when the price deviates significantly from the trendline.
- **Support and Resistance Zones:** Use the trendline as a dynamic support or resistance reference.
This tool is perfect for traders who want a clean and minimalistic approach to tracking price action. Whether you're a beginner or an experienced trader, this script provides valuable insights without overwhelming your chart.
#### **Note:**
This is not a standalone trading strategy but a visual aid to complement your analysis. Always combine it with other tools and techniques for better trading decisions.
---
Feel free to tweak this description based on your preferences or style!
BODY
Body / Range %Body / Range is a volatility indicator that shows how many percentages the body candle occupies the range.
The ratio tells us about the health and confidence of the current candlestick.
Since overall candle Range is always bigger than the body range, Body/Range indicator will always fluctuate inside a range of 0 and 100%.
I didn't use True Range because it considers gaps and the ratio won't be considering individual candles. Therefore, I used high - low and identified it as Range.
In this function, the wicks play obviously role in determining the ratio too without its variable separately in the formula. I wouldn't use wicks here because Range = body + total wicks anyway. It already covers the variable. If I made the ratio with Body / Total Wicks, we wouldn't have stable 0 - 100% range of the indicator by the way. So it's fully justified dividing Body by Range to get some summarized Candle Metrics.
Logically we assume that if wicks are relatively bigger than body then the ratio will be relatively smaller and vice versa.
Change TF of the indicator is possible. For example, 3 months per bar would look like this:
Custom Candle Body WidthOver the specified bar range, plots a vertical line from open to close using the specified colors and line width (in pixels).
In effect, these look like thinner/thicker candle bodies.
The default candle bodies are made transparent over this range to make them appear hidden.
The indicator is capable of referencing the bar colors from another plot, using a technique of encapsulating the RGBT color value in a float value (plot to data window only recommended).
Refer to example code (which is commented out) in the source code.
Buying & Selling PressureBuying and selling pressure is a volatility indicator which denotes the balance between buyers and sellers inside candlestick.
You set the length to average it just like ATR. But This offers further break down of participants of the market.
Pretty much at any condition of the market the indicator can filter out interesting details to make trading decisions faster or confirm them.
So keep it simple we have two lines
🟢 Green → buying pressure
🔴 Red → selling pressure
If green is rising → Price most likely will grow
If green is rising and red is falling → Price will grow at higher probability
If red is rising → Price most likely will fall
If red is rising and green is falling → Price will fall at higher probability
When they both grow or fall → wait till one of them goes opposite way.
╳ Crossings can indicate turning points for bigger price swings.
Technically by very act of intersecting means that Buying and Selling Pressure are equal.
Can be used for Demand/Supply analysis and evaluate the support/resistance levels.
Body/Wick to Range Osc.This script is meant to be a form of pure candlestick analysis.
Terminology in the description used below is as follows:
- numcands = Number of candles specified by the user to be used for sampling in each moving average.
This script plots moving average (SMA/EMA specified by the user ) of the percentage of the high-low range that the previous {numcands} candles the upper wicks, lower wicks, and the body take up.
The user may specify if the absolute value of the body percentage is to be used (true by default). To account for this, a horizontal line is also plotted at 0 to show when the body percentage moves above or below 0.
The values that all of these moving averages plotted will oscillate between 0 and 1 (-1 and 1 for the body percentage if the absolute value of candles is not used).
Other notes: The user may select the colors used (colorblind support, as the defaults are red and green). Cross overs and cross unders are accounted for in alertconditions (as is if the body % moves above and below 0% if absolute values are not used).
An interpretation of the use of this script may be: If the upper wicks begin to take up a larger portion of the high-low range, it may signal downward selling pressure (and vise-versa for lower wicks). However, this may be open to interpretation based upon the specified {numcands} used.
IO_CWL IndexCandlestick body and Wick Length Index (CWL)
Shows a trend chart of candle body length and wick length.
Green -> Candle body
Red -> Candle Wick
-- Invsto