Hull MA Crossover Band //@version=5
indicator("Hull MA Crossover Band", overlay=true)
// Inputs
src = input.source(close, title="Source")
length = input.int(55, title="Hull MA Length")
smoothing = input.int(3, title="Smoothing Length") // Additional smoothing to narrow bandwidth
// Function: Hull Moving Average (HMA) Calculation
HMA(_src, _length) =>
ta.wma(2 * ta.wma(_src, _length / 2) - ta.wma(_src, _length), math.round(math.sqrt(_length)))
// Calculate Hull MA with additional smoothing
hullMA = HMA(src, length)
smoothedHullMA = ta.sma(hullMA, smoothing) // Applying extra smoothing for stability
// Define color based on position of candle relative to the Hull MA
hullColor = close > smoothedHullMA ? color.green : color.red
// Plot the Hull MA band with color indicating position of price
plot(smoothedHullMA, color=hullColor, linewidth=2, title="Hull MA Band")
Bands and Channels
multiple EMAPine Script Description for Multiple EMA Values
This Pine Script code calculates and plots multiple EMA (Exponential Moving Average) values for different time periods on a price chart. Each EMA represents the average price over a specified period, helping traders identify the overall price trend and momentum. Shorter-period EMAs respond faster to price changes, while longer-period EMAs show more stable trends.
Basic Setup
The script allows users to customize the period for each EMA, such as 9-day, 21-day, 50-day, and 200-day EMAs.
Each EMA period is defined as an input parameter, making it flexible to adapt to various trading strategies.
EMA Calculation
The ta.ema() function is used to compute each EMA based on the specified period.
The calculated EMAs are displayed on the chart in distinct colors, allowing traders to quickly see the trend for each period.
Chart Display
Using the plot() function, each EMA is plotted on the chart with a unique color and style, making it easy to differentiate between short-term and long-term trends.
Additional Features
EMA Crosses: When a shorter EMA crosses above a longer EMA, it can signal a buying opportunity. Conversely, a downward cross can signal a selling opportunity. The script can highlight these crossover points.
Trend Confirmation: When all EMAs are moving upward, it indicates a strong upward trend; when all are moving downward, it indicates a strong downtrend.
EMA Spacing Visualization: Wider spacing between EMAs can suggest increasing volatility, which can be useful for assessing risk.
M.KIRITI SMA & WMAThis script displays two moving averages—Simple Moving Average (SMA) and Weighted Moving Average (WMA)—applied to the closing price on a Trading-View chart, helping traders analyze price trends and potential reversals.
1.Moving Average Length Inputs:
- Customizable lengths for the SMA and WMA, both defaulted to 20 periods, allowing adjustments to match different trading timeframes.
2. SMA and WMA Calculations:
- SMA (green line): Provides a smoothed average of the closing price, giving equal weight to each period.
- WMA (red line): Averages the closing price with greater weight on recent data, making it more responsive to recent price changes.
3. Plot on Chart:
- SMA and WMA are plotted directly on the price chart, providing a clear view of trend direction.
- Both moving averages aid in identifying trend changes, potential entry and exit points, and relative price strength based on recent and historical averages.
This indicator is useful for traders looking to confirm trend direction and analyze price momentum with dual moving averages.
Ethereum MVRV Z-Score OverlayThis indicator overlays a buy and sell threshold onto a ETHUSD chart. These thresholds are calculated using the MVRV Z-Score and the provided threshold values for the MVRV Z-Score.
Bitcoin MVRV Z-Score OverlayThis indicator overlays a buy and sell threshold onto a BTCUSD chart. These thresholds are calculated using the MVRV Z-Score and the provided threshold values for the MVRV Z-Score.
ULTIME RSI Buy/Sell 70%- by Baptiste Impact tradingConditions for Buy/Sell:
1: Do not take trades when the RSI curve is flat (even if there is an indication).
2: Place the stop-loss (SL) a few points above the relevant candle.
3: Use a 2:1 risk-reward (RR) ratio and set break-even (BE) at the entry price once RR1 is reached.
4: Take partial profit at RR2 with 50% closure and let the remaining position run. Cut if there is a change in direction.
Your indicator "Baptiste ULTIME RSI Buy/Sell 70%- Impact Trading" is an advanced tool based on the Relative Strength Index (RSI) designed to display buy and sell signals with specific crossover conditions and a cooldown logic to avoid consecutive signals. It includes:
Enhanced RSI calculated with configurable smoothing methods (EMA, SMA, RMA, TMA).
Trading signals based on bullish and bearish crossovers of the RSI with a signal line, integrating a 15-bar delay between signals to limit the frequency of alerts.
Customizable overbought/oversold levels with zone fill for clear visualization of market extremes.
Visual display of buy/sell signals with arrows and level lines, all presented in a separate window for better readability.
This indicator helps identify potential entry and exit points while reducing false signals through its cooldown logic.
10 EMA Break with Volume ConfirmationTracks when price breaks above or below 10 EMA with above average volume useful for meaningful breaks above or below as well as false breaks with easy to read icons
enjoy :)
SystemAlpha MIXEsse indicador foi criado para ajudar a identificar facilmente quando um ativo (como ações ou criptomoedas) está em uma tendência de alta e quando essa tendência está prestes a terminar.
Ele funciona da seguinte forma:
Identificação da Tendência de Alta: O indicador usa uma combinação de médias móveis e o índice de força relativa (RSI) para verificar se o ativo está subindo de forma consistente. Quando detecta uma tendência de alta, ele marca no gráfico um alerta visual abaixo do preço, mostrando que o ativo está em alta.
Sinal de Fim da Tendência: Quando a tendência de alta mostra sinais de enfraquecimento, o indicador avisa que a alta pode estar acabando. Neste momento, ele coloca um alerta visual acima do preço, indicando um possível fim da subida.
Médias Móveis e Bandas de Bollinger: As linhas coloridas no gráfico representam médias móveis de diferentes períodos (10, 50 e 200), que ajudam a visualizar a direção geral do ativo. As Bandas de Bollinger, que envolvem o preço, mostram se o ativo está "espremido" (com pouca oscilação) ou se está se movendo com mais força.
Supertrend: Esse recurso dá suporte adicional para entender se o preço ainda está em alta ou se pode estar revertendo.
Este indicador é ideal para quem deseja visualizar rapidamente as tendências de alta e evitar ficar posicionado quando a alta acaba. É útil tanto para quem faz operações rápidas quanto para quem quer acompanhar o movimento de um ativo ao longo de um período maior.
EMA and SMA Crossover Strat.Jerrythick jerry
good good stuff
thick jerry
good good stuff
thick jerry
good good stuff
thick jerry
good good stuff
thick jerry
good good stuff
thick jerry
good good stuff
Hourly Breakout & Multi-Timeframe High/Low Indicator withDescription:
This indicator combines powerful breakout and multi-timeframe analysis features, allowing traders to visualize key support and resistance levels across various timeframes (daily, weekly, monthly, hourly, and 4-hour highs and lows). It also dynamically colors candles based on hourly breakout conditions, making it easy to spot significant price movements and potential trading signals.
Key Features:
Customizable Multi-Timeframe High/Low Levels:
Displays previous and current high/low levels for daily, weekly, and monthly timeframes, as well as previous hourly and 4-hour highs and lows.
Each timeframe’s high/low lines are color-coded and can be toggled on or off based on user preference.
Hourly Breakout Candle Coloring:
Candle colors change when the hourly close breaks above or below the previous day's high or low, visually indicating important breakout conditions.
User-configurable colors for candles that close above or below these breakout levels make this indicator highly customizable.
Dynamic Line Plotting:
Automatically updates and plots dotted lines for the previous day’s high and low levels, providing consistent visual cues for key support and resistance.
This indicator is ideal for intraday and swing traders who want to keep an eye on important breakout levels and multi-timeframe support and resistance zones, all in one convenient tool. Whether you're trading trends, breakouts, or reversals, this indicator helps enhance decision-making with clear, color-coded signals and adaptable settings.
Original Keltner with Support And ResistanceThis indicator is based on the original Keltner Channels using typical price and calculating the 10 period average of high - low
Typical price = (high + low + close)/3
In this case, I've taken Typical price as (open + high + low + close)/4 on the advice of John Bollinger from his book Bollinger on Bollinger Bands.
Buy Line = 10 Period Typical Price Average + 10 Period Average of (High - Low)
Sell Line = 10 Period Typical Price Average - 10 Period Average of (High - Low)
This is the basis for the indicator. I've added the highest of the Buy Line and lowest of the Sell Line for the same period which acts as Support and Resistance.
If price is trending below the Lowest of Sell Line, take only sell trades and the Lowest Line acts as resistance.
If price is trending above the Highest of Buy Line, take only buy trades and the Highest Line acts as support.
MMAPMarket Maker Aggression & Panic
Here's how it works:
Bollinger Bands: The script calculates and plots the Bollinger Bands, which helps you identify potential aggressive buying or panic selling when the price breaks above or below the bands.
Volume Analysis: It checks for volume spikes compared to the average volume over a specified period. If the volume exceeds a defined threshold, the background color changes to orange, indicating a potential market maker reaction.
Alerts: Alerts are set for volume spikes, aggressive buying (when the price breaks above the upper Bollinger Band), and panic selling (when it drops below the lower Bollinger Band).
Feel free to customize the parameters to fit your trading style!
Future Trend Channel [ChartPrime]The Future Trend Channel indicator is a dynamic tool for identifying trends and projecting future prices based on channel formations. The indicator uses SMA (Simple Moving Average) and volatility calculations to plot channels that visually represent trends. It also detects moments of lower momentum, indicated by neutral color changes in the channels, and projects future price levels for up to 50 bars ahead.
⯁ KEY FEATURES AND HOW TO USE
⯌ Dynamic Trend Channels :
The indicator draws channels when a trend is identified. It uses a combination of SMA and volatility to determine the direction and strength of the trend. Each channel is visualized with a specific color, where green indicates an uptrend and orange represents a downtrend.
Example of channels during uptrend and downtrend:
⯌ Momentum-Based Color Shifts :
The indicator adapts its channel colors based on momentum changes. When the starting point (Y1) of a channel is higher than its ending point (Y2) during an uptrend, the channel turns neutral, indicating lower momentum and a possible ranging market. The same applies in a downtrend, where the channel turns neutral if Y1 is lower than Y2.
Example of neutral momentum channels:
⯌ Future Price Projection :
At the end of each channel, the indicator generates a projected future price based on the midpoint of the channel. By default, this projection is made 50 bars into the future, but users can adjust the number of bars to their preference.
Example of future price projection:
⯌ Diamond Signals for Valid Trends :
Lime-colored diamonds appear when an uptrend channel is confirmed, while orange diamonds indicate valid downtrend channels. These signals confirm the presence of a strong trend and help identify valid entry and exit points. Neutral channels, which indicate lower momentum, do not show diamond signals.
Example of trend confirmation signals:
⯌ Customizable Settings :
Users can adjust the channel length (how far back the trend is analyzed) and the width (which determines the channel boundaries based on volatility). The future price projection can also be customized to forecast further or fewer bars into the future.
⯁ USER INPUTS
Trend Length : Sets the number of bars used to calculate the trend channels.
Channel Width : Adjusts the width of the channels, based on volatility (ATR multiplier).
Up and Down Colors : Allows customization of the colors used for uptrend and downtrend channels.
Future Bars : Sets the number of bars used for future price projection.
⯁ CONCLUSION
The Future Trend Channel indicator is a versatile tool for identifying and trading trends. With its ability to detect momentum shifts and project future prices, it provides traders with key insights for making more informed decisions. The use of diamond signals for trend validation adds an extra layer of confirmation, helping traders act with greater confidence during volatile or trending markets.
Target Trend [BigBeluga]The Target Trend indicator is a trend-following tool designed to assist traders in capturing directional moves while managing entry, stop loss, and profit targets visually on the chart. Using adaptive SMA bands as the core trend detection method, this indicator dynamically identifies shifts in trend direction and provides structured exit points through customizable target levels.
SP500:
🔵 IDEA
The Target Trend indicator’s concept is to simplify trade management by providing automated visual cues for entries, stops, and targets directly on the chart. When a trend change is detected, the indicator prints an up or down triangle to signal entry direction, plots three customizable target levels for potential exits, and calculates a stop-loss level below or above the entry point. The indicator continuously adapts as price moves, making it easier for traders to follow and manage trades in real time.
When price crosses a target level, the label changes to a check mark, confirming that the target has been achieved. Similarly, if the stop-loss level is hit, the label changes to an "X," and the line becomes dashed, indicating that the stop loss has been activated. This feature provides traders with a clear visual trail of whether their targets or stop loss have been hit, allowing for easier trade tracking and exit strategy management.
🔵 KEY FEATURES & USAGE
SMA Bands for Trend Detection: The indicator uses adaptive SMA bands to identify the trend direction. When price crosses above or below these bands, a new trend is detected, triggering entry signals. The entry point is marked on the chart with a triangle symbol, which updates with each new trend change.
Automated Targets and Stop Loss Management: Upon a new trend signal, the indicator automatically plots three price targets and a stop loss level. These levels provide traders with structured exit points for potential gains and a clear risk limit. The stop loss is placed below or above the entry point, depending on the trend direction, to manage downside risk effectively.
Visual Target and Stop Loss Validation: As price hits each target, the label beside the level updates to a check mark, indicating that the target has been reached. Similarly, if the stop loss is activated, the stop loss label changes to an "X," and the line becomes dashed. This feature visually confirms whether targets or stop losses are hit, simplifying trade management.
The indicator also marks the entry price at each trend change with a label on the chart, allowing traders to quickly see their initial entry point relative to current price and target levels.
🔵 CUSTOMIZATION
Trend Length: Set the lookback period for the trend-detection SMA bands to adjust the sensitivity to trend changes.
Targets Setting: Customize the number and spacing of the targets to fit your trading style and market conditions.
Visual Styles: Adjust the appearance of labels, lines, and symbols on the chart for a clearer view and personalized layout.
🔵 CONCLUSION
The Target Trend indicator offers a streamlined approach to trend trading by integrating entry, target, and stop loss management into a single visual tool. With automatic tracking of target levels and stop loss hits, it helps traders stay focused on the current trend while keeping track of risk and reward with minimal effort.
VWAP Stdev Bands Strategy (Long Only)The VWAP Stdev Bands Strategy (Long Only) is designed to identify potential long entry points in trending markets by utilizing the Volume Weighted Average Price (VWAP) and standard deviation bands. This strategy focuses on capturing upward price movements, leveraging statistical measures to determine optimal buy conditions.
Key Features:
VWAP Calculation: The strategy calculates the VWAP, which represents the average price a security has traded at throughout the day, weighted by volume. This is an essential indicator for determining the overall market trend.
Standard Deviation Bands: Two bands are created above and below the VWAP, calculated using specified standard deviations. These bands act as dynamic support and resistance levels, providing insight into price volatility and potential reversal points.
Trading Logic:
Long Entry Condition: A long position is triggered when the price crosses below the lower standard deviation band and then closes above it, signaling a potential price reversal to the upside.
Profit Target: The strategy allows users to set a predefined profit target, closing the long position once the specified target is reached.
Time Gap Between Orders: A customizable time gap can be specified to prevent multiple orders from being placed in quick succession, allowing for a more controlled trading approach.
Visualization: The VWAP and standard deviation bands are plotted on the chart with distinct colors, enabling traders to visually assess market conditions. The strategy also provides optional plotting of the previous day's VWAP for added context.
Use Cases:
Ideal for traders looking to engage in long-only positions within trending markets.
Suitable for intraday trading strategies or longer-term approaches based on market volatility.
Customization Options:
Users can adjust the standard deviation values, profit target, and time gap to tailor the strategy to their specific trading style and market conditions.
Note: As with any trading strategy, it is important to conduct thorough backtesting and analysis before live trading. Market conditions can change, and past performance does not guarantee future results.
Previous 4-Hour and Previous Hourly High/LowDescription:
This script is designed to help traders identify recent support and resistance levels by displaying the Previous 4-Hour and Previous Hourly High/Low prices on the chart. By tracking the highs and lows of both the last completed 4-hour and hourly candles, this indicator provides a clear view of price action on short-term timeframes, useful for intraday analysis.
Functionality:
Previous 4-Hour High and Low: The script captures the highest and lowest prices of the last fully closed 4-hour candle, updating these levels at the beginning of each new 4-hour period.
Previous Hourly High and Low: Similarly, it records the high and low of the most recent completed hourly candle, refreshing at the start of each hour.
How to Use: With these levels displayed, traders can quickly spot areas of potential support and resistance, making this tool valuable for gauging short-term price action trends. The indicator is especially useful for those trading within shorter timeframes, such as scalpers or day traders, who benefit from knowing where prices have recently ranged.
The Previous 4-Hour High/Low is marked with Green and Red lines, while the Previous Hourly High/Low uses Blue and Orange lines, making each timeframe’s levels easily distinguishable.
This script offers a simple yet powerful addition to short-term trading setups, giving traders multi-timeframe insights to inform their trading decisions.
The Ultimate ATR-BBW Market Volatility Indicator"The ATR-BBW Market Volatility Indicator combines the Average True Range (ATR) and Bollinger Bands Width (BBW) to provide a measure of market volatility. This indicator does not indicate bullish or bearish trends, but rather the magnitude of price fluctuations.
* Usage: When the indicator moves upward, it suggests increasing market volatility, indicating that prices are moving within a wider range. Conversely, a downward movement implies decreasing volatility, signifying that prices are moving within a narrower range.
* Note: This sub-indicator solely reflects market volatility and does not provide buy or sell signals.
Investing involves risk. Please conduct thorough research before making any investment decisions.
ATR and BBW Explained:
* Average True Range (ATR): ATR is a technical analysis indicator used to measure market volatility. It calculates the average of a series of true ranges, where the true range is the greatest of the following:
* The current high minus the current low
* The absolute value of the current high minus the previous close
* The absolute value of the current low minus the previous close
* A higher ATR value indicates higher volatility, while a lower value suggests lower volatility.
* Bollinger Bands Width (BBW): Bollinger Bands are plotted two standard deviations above and below a simple moving average. BBW measures the distance between the upper and lower bands. A wider BBW indicates higher volatility, as prices are moving further away from the moving average. Conversely, a narrower BBW suggests lower volatility.
Combining ATR and BBW:
By combining ATR and BBW, the ATR-BBW indicator provides a more comprehensive view of market volatility. ATR captures the overall volatility of the market, while BBW measures the volatility relative to the moving average. Together, they provide a more robust indicator of market conditions and can be used to identify potential trading opportunities.
Why ATR and BBW are Effective for Measuring Volatility:
* ATR directly measures the actual price movement, regardless of the direction.
* BBW shows how much prices are deviating from their average, indicating the strength of the current trend.
* Combined: By combining these two measures, the ATR-BBW indicator provides a more comprehensive and accurate assessment of market volatility.
In essence, the ATR-BBW indicator helps traders understand the magnitude of price fluctuations, allowing them to make more informed trading decisions.
PTS - Bollinger Bands with Trailing StopPTS - Bollinger Bands with Trailing Stop Strategy
Overview
The "PTS - Bollinger Bands with Trailing Stop" strategy is designed to capitalize on strong bullish market movements by combining the Bollinger Bands indicator with a dynamic trailing stop based on the Average True Range (ATR). This strategy aims to enter long positions during upward breakouts and protect profits through an adaptive exit mechanism.
Key Features
1. Bollinger Bands Indicator
Basis Moving Average Type: Choose from SMA, EMA, SMMA, WMA, or VWMA for the Bollinger Bands' basis line. Length: Adjustable period for calculating the moving average and standard deviation (default is 20). Standard Deviation Multiplier (StdDev): Determines the width of the bands (default is 2.0). Source: Select the price data used for calculations (default is the closing price).
2. Entry Conditions
The strategy enters a long position when the closing price crosses above the upper Bollinger Band , indicating strong upward momentum.
3. Exit Conditions
Trailing Stop Loss: Implemented using ATR to adjust dynamically with market volatility. ATR Length: Period for calculating ATR (default is 14). ATR Multiplier for Trailing Stop: Determines how closely the trailing stop follows the price (default is 2.0). Close Below Lower Bollinger Band: The strategy exits the long position if the closing price crosses below the lower Bollinger Band .
4. Risk Management
Commission and Slippage: Commission is set at 0.1%; slippage is set to 3. Position Sizing: Uses 100% of equity per trade (adjustable).
5. Date Range Filter
Specify the time period during which the strategy is active. Start Date: January 1, 2018. End Date: December 31, 2069.
Customizable Inputs
BB Length: Adjust the period for Bollinger Bands calculation. BB StdDev: Modify the standard deviation multiplier. Basis MA Type: Select the moving average type. Source: Choose the price data source. Offset: Shift the Bollinger Bands on the chart. ATR Length: Set the period for ATR calculation. ATR Multiplier for Trailing Stop: Adjust the trailing stop sensitivity.
Thought for 1m 7s
Description for the "PTS - Bollinger Bands with Trailing Stop" Strategy
PTS - Bollinger Bands with Trailing Stop Strategy
Overview
The "PTS - Bollinger Bands with Trailing Stop" strategy is designed to capitalize on strong bullish market movements by combining the Bollinger Bands indicator with a dynamic trailing stop based on the Average True Range (ATR). This strategy aims to enter long positions during upward breakouts and protect profits through an adaptive exit mechanism.
Key Features
1. Bollinger Bands Indicator
Basis Moving Average Type: Choose from SMA, EMA, SMMA, WMA, or VWMA for the Bollinger Bands' basis line. Length: Adjustable period for calculating the moving average and standard deviation (default is 20). Standard Deviation Multiplier (StdDev): Determines the width of the bands (default is 2.0). Source: Select the price data used for calculations (default is the closing price).
2. Entry Conditions
The strategy enters a long position when the closing price crosses above the upper Bollinger Band , indicating strong upward momentum.
3. Exit Conditions
Trailing Stop Loss: Implemented using ATR to adjust dynamically with market volatility. ATR Length: Period for calculating ATR (default is 14). ATR Multiplier for Trailing Stop: Determines how closely the trailing stop follows the price (default is 2.0). Close Below Lower Bollinger Band: The strategy exits the long position if the closing price crosses below the lower Bollinger Band .
4. Risk Management
Commission and Slippage: Commission is set at 0.1%; slippage is set to 3. Position Sizing: Uses 100% of equity per trade (adjustable).
5. Date Range Filter
Specify the time period during which the strategy is active. Start Date: January 1, 2018. End Date: December 31, 2069.
Customizable Inputs
BB Length: Adjust the period for Bollinger Bands calculation. BB StdDev: Modify the standard deviation multiplier. Basis MA Type: Select the moving average type. Source: Choose the price data source. Offset: Shift the Bollinger Bands on the chart. ATR Length: Set the period for ATR calculation. ATR Multiplier for Trailing Stop: Adjust the trailing stop sensitivity.
How the Strategy Works
1. Initialization
Calculates Bollinger Bands and ATR based on selected parameters.
2. Entry Logic
Opens a long position when the closing price exceeds the upper Bollinger Band.
3. Exit Logic
Uses a trailing stop loss based on ATR. Exits if the closing price drops below the lower Bollinger Band.
4. Date Filtering
Executes trades only within the specified date range.
Advantages
Adaptive Risk Management: Trailing stop adjusts to market volatility. Simplicity: Clear entry and exit signals. Customizable Parameters: Tailor the strategy to different assets or conditions.
Considerations
Aggressive Position Sizing: Using 100% equity per trade is high-risk. Market Conditions: Best in trending markets; may produce false signals in sideways markets. Backtesting: Always test on historical data before live trading.
Disclaimer
This strategy is intended for educational and informational purposes only. Trading involves significant risk, and past performance is not indicative of future results. Assess your financial situation and consult a financial advisor if necessary.
Usage Instructions
1. Apply the Strategy: Add it to your TradingView chart. 2. Configure Inputs: Adjust parameters to suit your style and asset. 3. Analyze Backtest Results: Use the Strategy Tester. 4. Optimize Parameters: Experiment with input values. 5. Risk Management: Evaluate position sizing and incorporate risk controls.
Final Notes
The "PTS - Bollinger Bands with Trailing Stop" strategy provides a framework to leverage momentum breakouts while managing risk through adaptive trailing stops. Customize and test thoroughly to align with your trading objectives.
Uphorico Candle RangesThis script allows you to see the high and low prices of a specific previous timeframe directly on your TradingView chart. You can choose which previous period to view—previous month, week, day, or last Monday—and the script will plot two horizontal lines for the high and low prices of that period. These lines help you quickly identify key levels based on past performance.
Features of the Script:
1. Select Previous Timeframe: You can choose between:
• Month: Shows the high and low of the previous month.
• Week: Shows the high and low of the previous week.
• Day: Shows the high and low of the previous day.
• Monday: Shows the high and low of the most recent Monday.
2. Line Customization:
• Color: Choose different colors for the high and low lines.
• Thickness: Adjust the line thickness (1–5).
• Style: Choose from solid, dashed, or dotted lines.
3. Touch Source Candle Option:
• If enabled, the lines will start directly at the last candle of the selected timeframe (e.g., at the last candle of the previous month or week).
• If disabled, the lines will start from the current bar and extend to the right.
How It Works:
• The script retrieves the high and low prices from your selected previous timeframe and draws two horizontal lines (one for the high and one for the low).
• These lines provide a quick visual reference for key support and resistance levels based on past periods, making it easier to spot potential price action zones.
This tool is designed to be simple and customizable, helping you analyze past levels and make better trading decisions.
Daily BreadWhat it does:
This script uses specific multiple true ranges from a 30 EMA baseline to plot lines that represent 10% buying increments. Although the common period for ATR is 14, this script employs a period of 20 for smoothing that I have determined is more effective when used with a daily candle chart. It includes onscreen trend signals to identify an uptrend or downtrend when the 50 EMA crosses the 90 EMA and will also display a coloured directional signal at each candle beyond an EMA cross to identify the current trend.
The script plots a scale of percentage labels at the end of each line to identify the percent of an account intended to be in short or longer term trades.
How it does it:
The script uses a 30 EMA baseline and then multiplies ATR increments of +1, +2, +4 and -1 through -7. These ATR multiples and the EMA are plotted as 11 lines, 10 of which make up the range of 10% increments from 10% to 100% with the 11th line being the High Band representing the extreme high or expected sale of any holdings. The percentage label scale uses variable declarations to position and colour match a percentage label to each line.
Intended use:
It is intended to be used for short term trading or long term investing with a daily market index chart such as SPY and multiple exchange traded funds that track said market index. A different ETF is purchased when a daily SPY candle reaches a lower buy band using 10% of a total account value. The sale of any ETFs is at the discretion of the trader and dependent on investment strategy (short term trading or long term inventing) and the trend. When short term trading in a downtrend or when daily candles are below the 50 EMA, selling would be done every 2 to 3 bands above a buy to mitigate the risk of a significant portion of an account getting caught in a downtrend. In an uptrend the High Band would be used to sell any holdings.
Polygonal Pivot Bands [FXSMARTLAB]The Polygonal Pivot Bands highlights key price pivots, dynamic support and resistance levels, and recent price action on a trading chart. This indicator connects pivot highs and lows with a zigzag line, extends a real-time dashed line to the latest price point, and plots diagonal support/resistance levels that adapt to price movement. These elements together provide traders with a view of significant price zones and potential trend shifts.
Key Components of the Indicator
Pivots are calculated based on user-defined lengths, specifying how many bars on either side of a high or low are required to validate it as a pivot.
Adjustable left and right pivot lengths allow traders to control the sensitivity of pivot detection, with higher values resulting in fewer, more prominent pivots, and lower values increasing sensitivity to price changes.
Zigzag Line
The zigzag line connects consecutive pivot points, filtering out smaller fluctuations and emphasizing the broader direction of price movement.
Users can customize the line's color and thickness to match their preferences, helping them focus on larger trends and potential reversal points.
By linking pivot highs and lows, the zigzag pattern highlights the overall trend and potential points of reversal.
Real-Time Connector Line
A dashed line extends from the last confirmed pivot to the latest price point, providing a real-time, bar-by-bar update of the current price relative to the previous pivot.
This line does not project future price direction but maintains an up-to-date connection with the current price, showing the distance from the last pivot.
Its color and thickness are customizable for improved visibility on the chart.
Dynamic Support and Resistance Levels
The indicator plots dynamic support and resistanc e levels by connecting recent pivot highs and lows, resulting in lines that may appear diagonal rather than strictly horizontal.
These levels move in line with price action, adapting to the natural direction of trends, and offer visual cues where price may encounter support or resistance.
Colors and thickness of these lines can be set individually, allowing traders to adjust visibility according to their preferences.
Enabling these lines gives traders an ongoing reference for critical price boundaries that align more closely with the overall trend.
Previous Day High/Low ±0.5%The simple script was written for the educational purposes, to check if the simple system can help to hedge your strategic portfolio. Mainly works with Indexes (tested on IRUS). You can optimize strategy by changing the % in the pine code. Working mainly on D timeframe.
Current script gives you the lines on the graph, you should check if the current day close price is above the high line - buy, if below - close your buy, or reverce your position to sell, if you go in short.