Inside/Outside Bar Direction Highlighter
Here’s a trading indicator in Pine Script (v6) that combines the essence of the Inside Bar, Outside Bar, and directional patterns inspired by TT3 Theory. This indicator highlights bars based on their classification as inside, outside, or directional and provides potential trade signals.
Inside Outside Indicator
Explanation:
Bar Classification:
Inside Bar: Current high is less than the previous high, and the low is greater than the previous low.
Outside Bar: Current high exceeds the previous high, and the low breaks below the previous low.
Up/Down Bars: Closing prices relative to the previous high/low.
Visual Highlights:
Bars are visually highlighted with colors for easy identification.
Trade Signals:
Long Signal: When the close crosses above the previous high and it's a directional up bar.
Short Signal: When the close crosses below the previous low and it's a directional down bar.
Customizable Inputs:
Colors for inside, outside, up, and down bars can be modified.
You can copy and paste this script into the Pine Editor on TradingView to see it in action. Adjust the logic to fit your trading strategy as needed.
You said:
summary of how to use this indicator without buy/sell signal
ChatGPT said:
ChatGPT
How to Use the Inside/Outside Bar Direction Highlighter Indicator (Without Buy/Sell Signals)
Understand the Bar Classifications:
Inside Bars: Highlighted in blue (default). These indicate periods of market consolidation. Look for potential breakouts in either direction.
Outside Bars: Highlighted in orange (default). These represent increased volatility, where both higher highs and lower lows are made. Watch for reversals or continuations based on broader trends.
Directional Up Bars: Highlighted in green (default). These occur when the current close is above the previous high, signaling bullish momentum.
Directional Down Bars: Highlighted in red (default). These occur when the current close is below the previous low, indicating bearish momentum.
Identify Key Patterns:
Use the highlighted bars to spot price action setups, such as:
Breakouts from inside bars.
Reversal signals following outside bars.
Continuation patterns when directional bars align with the trend.
Combine with Your Analysis:
Trend Analysis: Match bar classifications with trend direction on larger timeframes (e.g., daily, 4-hour).
Support/Resistance: Use inside and outside bars near key levels for confirmation or reversal signals.
Volume: Higher volume on directional bars strengthens the momentum signal.
Customize the Colors:
Adjust the bar highlight colors to fit your chart theme for better visibility.
No Automatic Signals:
This indicator doesn’t provide explicit buy/sell recommendations. Instead, use the visual highlights to make informed decisions based on your trading strategy.
By interpreting these bar patterns, you can better gauge market behavior and make more confident decisions without relying on preset signals.
Chart patterns
Cripto Indicator SwingTradeInclui em um único indicador vários métodos visando ajudar aqueles que usam a conta free do tradingview e somente podem ter dois indicadores simultaneamente nos graficos.
EMA
AMA
Pivot
Super Trend
Nuvem de Ishimoku
Heikin Ashi_NormanHeikin Ashi para la estrategia de Norman
as;lasd;jmdsalkvlfsamlfdslnfsamnslfsaa;'fA
AVFSAPAP;M;LAM;CMV
FDSAVMAMAM;A;ABSA;
Fair Value Gap DetectorHow this indicator works:
It detects two types of FVGs:
Bullish FVG: Occurs when the low of the current candle is higher than the high of the candle from 2 bars ago (creates an upward gap)
Bearish FVG: Occurs when the high of the current candle is lower than the low of the candle from 2 bars ago (creates a downward gap)
Features:
Allows users to toggle both bullish and bearish FVG detection independently
Customizable colors for both bullish (default green) and bearish (default red) FVGs
Visualizes FVGs using:
Boxes that highlight the gap area (with 80% transparency)
Labels that mark each FVG ("Bull FVG" or "Bear FVG")
Visual representation:
Bullish FVGs are marked with green boxes and downward-pointing labels
Bearish FVGs are marked with red boxes and upward-pointing labels
This indicator can be useful for :
Identifying potential areas where price might return to
Finding potential support and resistance zones
Understanding market structure and momentum shifts
Enigma Endgame with Dynamic Trend-Based FibonacciThe Enigma Endgame script combines dynamic trend-based Fibonacci levels with the core principles of the ENIGMA strategy. It provides traders with actionable signals by identifying key levels of fractal support and resistance and highlighting opportunities to trade with market momentum. This tool is designed for multi-timeframe analysis and is especially effective during high-volatility sessions like London and New York.
Purpose and Usefulness
This script was developed to simplify complex market dynamics by integrating Fibonacci principles with ENIGMA's logic of fractal support and resistance. Traders can use it to:
- Identify key breakout and retracement levels dynamically.
- Understand the shift between support and resistance as price action evolves.
- Gain confidence in their entries with real-time signals derived from logical fractal behavior.
By merging Fibonacci levels with fractal-based trading insights, this script offers a unique and comprehensive approach to analyzing market structure.
How It Works
The script uses a dual approach to provide insights:
1. Dynamic Fibonacci Levels:
- Automatically plots Fibonacci retracement and extension levels based on recent high and low swings, adjusting dynamically to current market trends.
- Allows traders to visualize key levels where price might reverse or extend.
2. Fractal Support and Resistance Logic:
- The script identifies fractal support and resistance by analyzing candle formations.
- When a candle body closes below the low of a previous candle, the previous low, which was fractal support, now becomes fractal resistance. The script generates a bearish signal, encouraging traders to look for sell opportunities at or above the previous low.
- Conversely, when a candle body closes above the high of a previous candle, the previous high, which was fractal resistance, becomes fractal support. The script generates a bullish signal, encouraging traders to look for buy opportunities at or below the previous high.
Real-Time Signals
The script marks these transitions with arrows on the chart:
- Bearish arrows indicate broken fractal support turning into resistance.
- Bullish arrows** indicate broken fractal resistance turning into support.
These signals help traders stay aligned with the trend and trade with market momentum.
Key Features
1. Session-Based Analysis: Focuses on high-probability setups by allowing traders to customize session times, such as London or US sessions.
2. Multi-Timeframe Support: Works seamlessly across multiple timeframes for both scalpers and swing traders.
3. Real-Time Alerts: Sends customizable alerts when price interacts with critical Fibonacci levels or fractal support/resistance shifts.
How to Use the Script
1. Apply the script to a clean chart for clear visualization. Avoid combining it with other scripts unless necessary.
2. Use the arrows to identify shifts in fractal support and resistance and validate opportunities for buy/sell trades.
3. Monitor the dynamic Fibonacci levels to find confluence with key price areas.
4. Customize session times to focus on high-probability trading hours.
Key Notes for Traders
- This script provides insights based on logical market structure but should be used alongside proper risk management and trading plans.
- The fractal-based approach works well in conjunction with dynamic Fibonacci levels, helping traders build confidence in their strategy.
- Adapt the script settings to match your unique trading style and timeframe preferences.
By offering a seamless integration of fractal logic and Fibonacci principles, Enigma Endgame empowers traders with actionable insights to navigate markets effectively.
GROK - 40 Day High BreakoutTitle: GROK - Customizable High Breakout Detector
To scan base breakout with Pine Screener
Description:
This Pine Script indicator identifies high breakout patterns based on a user-defined lookback period. By default, it checks for a breakout of the 40-day high, but the period can be adjusted to suit your trading strategy. Key features include:
Custom Lookback Period: Easily modify the number of days for high breakout detection. Lookback period is length of base you want to scan using pine screener.
Visual Alerts: Displays a green triangle above the price bar when a breakout is detected.
Alert Conditions: Built-in alert notifications for automated breakout detection.
Screener Compatibility: Plots breakout signals as a histogram for screener use.
This script is ideal for traders looking to identify strong breakout patterns and incorporate them into their strategies.
How to Use:
Adjust the lookback period in the settings to match your desired breakout criteria.
Add alerts for automated notifications when a breakout is detected.
Use the visual markers and histogram to analyze breakout patterns on your chart.
Fibonacci Retracement and Target LevelsHighest and Lowest Price Points:
The script calculates the highest (high_price) and lowest (low_price) prices in the specified timeframe. These values are essential for computing the Fibonacci retracement and extension levels.
Fibonacci Retracement Levels:
fib_0: 0% level (highest price).
fib_236, fib_382, fib_50, fib_618, and fib_100: These are the classic Fibonacci retracement levels used to identify potential support or resistance areas as the price retraces from its highest point.
Fibonacci Extension Levels (Targets):
fib_1618, fib_2618, and fib_4236: These are Fibonacci extension levels used to predict potential price targets in the direction of the trend if the price breaks beyond its current range.
Drawing the Levels:
The line.new function is used to draw horizontal lines on the chart representing the Fibonacci retracement and extension levels.
Dashed lines represent retracement levels.
Dotted lines represent extension (target) levels.
How to Use:
Create a new Pine Script in TradingView.
Paste the code above into the Pine Script editor.
Save the script and apply it to your chart to see Fibonacci retracement and extension levels plotted.
Breakout Master//@version=5
indicator('Breakout Master', overlay=true)
bullishBar = 1
bearishBar = -1
var inside_bar = array.new_int(0)
var inside_bar_high = array.new_float(0)
var inside_bar_low = array.new_float(0)
var motherCandleIndex = 0
var motherCandleHigh = 0.0
var motherCandleLow = 0.0
var motherCandleRange = 0.0
var target1Buy = 0.0
var target2Buy = 0.0
var target1Sell = 0.0
var target2Sell = 0.0
var motherCandleH = line.new(na, na, na, na, extend=extend.right, color=color.green)
var motherCandleL = line.new(na, na, na, na, extend=extend.right, color=color.red)
var motherCandleHLabel = label.new(na, na, style=label.style_label_left, textcolor=color.green, color=color.new(color.green, 80))
var motherCandleLLabel = label.new(na, na, style=label.style_label_left, textcolor=color.red, color=color.new(color.red, 80))
var longT1 = line.new(na, na, na, na, extend=extend.right)
var longT2 = line.new(na, na, na, na, extend=extend.right)
var shortT1 = line.new(na, na, na, na, extend=extend.right)
var shortT2 = line.new(na, na, na, na, extend=extend.right)
var longT1Label = label.new(na, na, textcolor=color.blue, style=label.style_label_left, color=color.new(color.blue, 80))
var longT2Label = label.new(na, na, textcolor=color.blue, style=label.style_label_left, color=color.new(color.blue, 80))
var shortT1Label = label.new(na, na, textcolor=color.blue, style=label.style_label_left, color=color.new(color.blue, 80))
var shortT2Label = label.new(na, na, textcolor=color.blue, style=label.style_label_left, color=color.new(color.blue, 80))
var longT1Line = input.bool(title='Show Long T1', defval=true, group='Long')
var longT2Line = input.bool(title='Show Long T2', defval=true, group='Long')
var shortT1Line = input.bool(title='Show Short T1', defval=true, group='Short')
var shortT2Line = input.bool(title='Show Short T2', defval=true, group='Short')
var longT1Range = input.float(title='Long T1', defval=1, group='Long (x times above range of mother candle)', tooltip='Line will be plotted above high of mother candle. If value entered is 1, then T1 = range of mother candle x 1')
var longT2Range = input.float(title='Long T2', defval=1.5, group='Long (x times above range of mother candle)', tooltip='Line will be plotted above high of mother candle. If value entered is 2, then T2 = range of mother candle x 2')
var shortT1Range = input.float(title='Short T1', defval=1, group='Short (x times below range of mother candle)', tooltip='Line will be plotted below low of mother candle. If value entered is 1, then T1 = range of mother candle x 1')
var shortT2Range = input.float(title='Short T2', defval=1.5, group='Short (x times below range of mother candle)', tooltip='Line will be plotted below low of mother candle. If value entered is 2, then T2 = range of mother candle x 1')
hi = high
lo = low
op = open
cl = close
isInside() =>
previousBar = 1
bodyStatus = cl >= op ? 1 : -1
isInsidePattern = hi < hi and lo > lo
isInsidePattern ? bodyStatus : 0
newDay = ta.change(time('D'))
if newDay
array.clear(inside_bar)
array.clear(inside_bar_high)
array.clear(inside_bar_low)
if isInside() and array.size(inside_bar) <= 0
array.push(inside_bar, bar_index)
array.push(inside_bar_high, hi )
array.push(inside_bar_low, lo )
if barstate.islast and array.size(inside_bar) > 0
motherCandleIndex := array.get(inside_bar, 0) - 1
motherCandleHigh := array.get(inside_bar_high, 0)
motherCandleLow := array.get(inside_bar_low, 0)
motherCandleRange := motherCandleHigh - motherCandleLow
target1Buy := motherCandleHigh + longT1Range * motherCandleRange
target2Buy := motherCandleHigh + longT2Range * motherCandleRange
target1Sell := motherCandleLow - shortT1Range * motherCandleRange
target2Sell := motherCandleLow - shortT2Range * motherCandleRange
// mother candle high
line.set_xy1(motherCandleH, motherCandleIndex, motherCandleHigh)
line.set_xy2(motherCandleH, bar_index, motherCandleHigh)
label.set_xy(motherCandleHLabel, bar_index + 5, motherCandleHigh)
label.set_text(id=motherCandleHLabel, text='Range High - ' + str.tostring(motherCandleHigh))
//mother candle low
line.set_xy1(motherCandleL, motherCandleIndex, motherCandleLow)
line.set_xy2(motherCandleL, bar_index, motherCandleLow)
label.set_xy(motherCandleLLabel, bar_index + 5, motherCandleLow)
label.set_text(id=motherCandleLLabel, text='Range Low - ' + str.tostring(motherCandleLow))
//long target 1
if longT1Line
line.set_xy1(longT1, motherCandleIndex, target1Buy)
line.set_xy2(longT1, bar_index, target1Buy)
label.set_xy(longT1Label, bar_index + 5, target1Buy)
label.set_text(id=longT1Label, text='T1 - ' + str.tostring(target1Buy) + ' (' + str.tostring(longT1Range * motherCandleRange) + ') points')
//long target 2
if longT2Line
line.set_xy1(longT2, motherCandleIndex, target2Buy)
line.set_xy2(longT2, bar_index, target2Buy)
label.set_xy(longT2Label, bar_index + 5, target2Buy)
label.set_text(id=longT2Label, text='T2 - ' + str.tostring(target2Buy) + ' (' + str.tostring(longT2Range * motherCandleRange) + ') points')
//short target 1
if shortT1Line
line.set_xy1(shortT1, motherCandleIndex, target1Sell)
line.set_xy2(shortT1, bar_index, target1Sell)
label.set_xy(shortT1Label, bar_index + 5, target1Sell)
label.set_text(id=shortT1Label, text='T1 - ' + str.tostring(target1Sell) + ' (' + str.tostring(shortT1Range * motherCandleRange) + ') points')
//short target 2
if shortT2Line
line.set_xy1(shortT2, motherCandleIndex, target2Sell)
line.set_xy2(shortT2, bar_index, target2Sell)
label.set_xy(shortT2Label, bar_index + 5, target2Sell)
label.set_text(id=shortT2Label, text='T2 - ' + str.tostring(target2Sell) + ' (' + str.tostring(shortT2Range * motherCandleRange) + ') points')
Brijesh TTrades candle plot"Brijesh TTrades candle plot" is a powerful and customizable indicator that allows you to overlay higher timeframe candles directly on your chart. Choose your desired timeframe (e.g., Daily, Hourly) and plot up to 10 recent candles with precise control over color, wick style, and width. The candles are offset by 40 bars to the right, providing a clear and unobstructed view of the current price action. Ideal for multi-timeframe analysis and gaining deeper insights into market trends.
Weekly and daily separators - MKThis indicator is designed to provide easier usability and greater customization for traders. The update brings enhanced stability and reliability in detecting day, week, and month changes across various timeframes, ensuring consistent and accurate visuals on your charts.
Key Features:
Time Zone Customization: Select the time zone to determine when session changes are marked.
Adjustable Line Coverage: Lines can now be customized to only partially cover the top and bottom of the chart, offering a cleaner look.
Optional Labels: Enable labels to display the starting month, calendar week, or day. Day formats include:
Weekday name
Date in formats: dd.MM or MM.dd
Visual Enhancements:
Default line widths and colors now use an orange hue for better visibility.
Added a monthly separator line for better long-term trend tracking.
Higher time frame color options for clarity.
Independent customization of line styles and widths.
Additional Improvements:
Ability to hide daily lines on daily charts and higher timeframes. Similarly, weekly lines can be hidden on weekly charts and higher.
Secondary line width for weekly separators on daily and higher timeframes, ensuring cleaner chart aesthetics.
Updated color selection and default values for better readability.
Fibonacci Extensions and Retracements for Selected TimeframesPurpose of the Script
This script plots Fibonacci levels (retracements and extensions) based on the high and low points of the previous day, previous week, or previous month. It is a trading aid to help identify potential support and resistance zones. These zones are often used by traders to determine entry or exit points for trades.
How It Works
Select Timeframe
The trader can choose whether to calculate Fibonacci levels based on the high and low points of the previous day, previous week, or previous month.
This is selected using the timeframe_input input.
Examples:
"D" for the previous day
"W" for the previous week
"M" for the previous month
Calculate Price Range
The script calculates the price range using the high and low of the selected timeframe:
Formula: price_range = High - Low
Draw Fibonacci Levels
Retracements: Within the price range, Fibonacci levels such as 12%, 23%, 38%, 50%, 61%, 78%, and 88% are calculated. These help identify potential support or resistance zones.
Extensions: Beyond the price range, Fibonacci extensions such as 127%, 161%, 200%, 224%, and 241% are plotted to indicate potential breakout targets.
Visualization
The script plots lines and labels for each level.
These lines extend to the right, providing real-time guidance during trading.
Colors and line styles can be customized to match personal preferences.
How to Use as a Trading Aid
Use Fibonacci Retracements:
Use retracements (e.g., 38%, 50%, 61%) to identify potential support or resistance zones.
Example: If the price dropped sharply the previous day, the retracement levels could act as support during a rebound.
Use Fibonacci Extensions:
Extensions help identify price targets when the price breaks above or below the high or low of the previous day, week, or month.
Example: After a breakout above the previous week’s high, the 127% or 161% level could serve as a target.
Adjust Timeframe:
Choose the timeframe that suits your strategy:
Intraday traders can use the previous day’s high and low.
Swing traders might prefer the previous week.
Long-term traders could work with the previous month.
Example
A trader selects the weekly timeframe (W) to analyze the high and low of the previous week:
The script calculates the price range based on the high and low of the previous week.
Fibonacci retracements (e.g., 50% and 61%) are drawn to identify potential support zones.
Fibonacci extensions (e.g., 127% and 161%) help define price targets for a potential breakout above or below the range.
Awesome Oscillator Twin Peaks Strategy
1. The indicator identifies both bullish and bearish twin peaks:
- Bullish: Two consecutive valleys below zero, where the second valley is higher than the first
- Bearish: Two consecutive peaks above zero, where the second peak is lower than the first
2. Visual elements:
- AO histogram with color-coding for increasing/decreasing values
- Triangle markers for confirmed twin peak signals
- Zero line for reference
- Customizable colors through inputs
3. Built-in safeguards:
- Minimum separation between peaks to avoid false signals
- Maximum time window for pattern completion
- Clear signal reset conditions
4. Alert conditions for both bullish and bearish signals
To use this indicator:
1. Add it to your TradingView chart
2. Customize the input parameters if needed
3. Look for triangle markers that indicate confirmed twin peak patterns
4. Optional: Set up alerts based on the signal conditions
Santa's Secrets | FractalystSanta’s Secrets is a visually engaging trading tool that infuses holiday cheer into your charts. Inspired by the enchanting, mysterious vibes of the holiday season, this indicator overlays price charts with dynamic, multi-colored glitches that sync with market data, delivering a festive and whimsical visual experience.
The indicator brings a magical touch to your charts, featuring characters from classic holiday themes (e.g., Santa, reindeer, snowflakes, gift boxes) to create a fun and festive “glitch effect.” Users can select a theme for their matrix characters, adding a holiday twist to their trading visuals. As the market data moves, these themed characters are randomly picked and displayed on the chart in a colorful cascade.
Underlying Calculations and Logic
1.Character Management:
The indicator uses arrays to manage different sets of holiday-themed characters, such as Santa’s sleigh, snowflakes, and reindeer. These arrays allow dynamic selection and update of characters as the market moves, mimicking a festive glitch effect.
2. Current and Previous States:
Arrays track the current and previous states of characters, ensuring smooth transitions between visual updates. This dual-state management enables the effects to look like a magical, continuous movement, just like Santa’s sleigh cruising through the winter night.
3. Transparency Control:
Transparency levels are controlled through arrays, adjusting opacity to create subtle fading effects or more intense visual appearances. The result is a festive glow that can fade or intensify depending on the market’s volatility.
4. Rain Effect Simulation:
To create the “snowfall” or “glitching lights” effect, the indicator manages arrays that simulate falling characters, like snowflakes or candy canes, continuously updating their position and visibility. As new characters enter the top of the screen, older ones disappear from the bottom, with fading transparency to simulate a seamless flow.
5. Operational Flow:
• Initialization: Arrays initialize the characters and transparency controls, readying the script for smooth and continuous updates during trading.
• Updates: During each cycle, new characters are selected and the old ones shift, with updates in both content and appearance ensuring the matrix effect is visually appealing.
• Rendering: The arrays control how the characters are rendered, ensuring the magical holiday effect stays lively and eye-catching without interrupting the trading flow.
How to Use Santa’s Secrets Indicator
1. Apply the Indicator to Your Charts:
Add the Santa’s Secrets indicator to your chart, activating the holiday-themed visual effect on your selected trading instrument or time frame.
2. Select Your Holiday Theme:
In the settings, choose the holiday theme or character set. Whether it’s Santa’s sleigh, reindeer, snowflakes, or gift boxes, pick the one that brings the most festive cheer to your charts.
3. Choose Your Visual Effect (Snowfall or Glitch Burst):
Select between the “Snowfall” effect, where characters gently drift down the chart like snowflakes, or the “Glitch Burst” effect, where characters explode outward in a burst of holiday cheer, representing bursts of market volatility.
4. Adjust the Color for Holiday Vibes:
Customize the color of the characters to match your chart’s aesthetic or reflect different market conditions. Choose from red for a downtrend, green for an uptrend, or opt for a gradient of colors to capture a true holiday spirit.
5. Fit the Matrix to Your Display:
Adjust the width and height of the matrix display to make sure it fits perfectly with your chart layout. Ensure it doesn’t obscure your view while still providing the holiday-themed magic.
What Makes Santa’s Secrets Indicator Unique?
Holiday Theme Selection:
Santa’s Secrets allows traders to choose from a variety of holiday-themed characters. Whether you prefer the traditional Santa’s sleigh, snowflakes, reindeer, or gift boxes, you can bring the festive spirit into your trading. This personalized touch adds a fun, holiday twist to your charts and keeps you engaged during the festive season.
Dynamic Effects:
Choose between two exciting visual modes – Snowfall Mode or Glitch Burst Mode. The Snowfall Mode brings a gentle, peaceful effect with characters cascading down the chart like snowflakes, while Glitch Burst Mode creates a more intense effect, radiating characters outward in an explosive, holiday-themed display.
Customizable Holiday Colors:
Traders can fully customize the color of the matrix characters to match their trading environment. Whether you want a traditional red and green for a Christmas mood or a blue and white snow effect, Santa’s Secrets allows you to create the perfect holiday atmosphere while you trade.
Universal Display Compatibility:
No matter what screen or device you’re using – whether it’s a large monitor, laptop, or mobile – Santa’s Secrets is fully adjustable to fit your screen size. The holiday effect remains visually striking without compromising the integrity of your chart data.
Wishing you a happy year filled with success, growth, and profitable trades.🎅🎁
Let's kick off the new year strong with Santa's Secrets! 🚀🎄
Pivot PointsPivot Points Indicator
The Pivot Points indicator highlights areas on the chart where candles close in opposite colors. These points occur when the price shifts from bullish to bearish, or vice versa, indicating potential reversals or continuation patterns. These points are more easily seen on a line chart and represent areas where the price changes direction to create peak formations.
Foundational Concepts
Before diving into the indicator, it’s important to understand a few key concepts:
When price is trending upward, it creates higher highs and higher lows. Each high or low acts as a pivot point. In an uptrend, the price is more likely to break the previous high (pivot point) and continue higher. You can enter a buy trade when the price breaks the previous high, anticipating the continuation of the trend.
When price is trending downward, it creates lower lows and lower highs. Each high or low is also a pivot point. In a downtrend, the price is more likely to break the previous low (pivot point) and continue lower. You can enter a sell trade when the price breaks the previous low, anticipating the continuation of the trend.
For reversal trades, it’s helpful to be familiar with chart patterns like double tops, double bottoms, and head and shoulders. The Pivot Points indicator can assist in identifying these patterns, helping you determine entry points, as well as where to place your stop loss.
Recommended Setup
It’s recommended to have two charts open side by side: one displaying a line chart and the other showing a candlestick chart, with the Pivot Points indicator applied to both. This setup allows you to easily identify the market structure and price action as it approaches these levels. You can also add a 20-period Simple Moving Average (SMA) to both charts to help identify the overall trend. Additionally, consider adding the Relative Strength Index (RSI) to the line chart to confirm overbought or oversold conditions.
This approach can be used on any timeframe.
Contributing
If you have suggestions, improvements, or bug fixes, I encourage you to submit pull requests. Collaboration helps make the indicator more versatile and useful for everyone.
Disclaimer
Any trading decisions you make are entirely your responsibility.
The MetaTrader 5 version of this indicator is available on my GitHub repository: roshaneforde/pivot-points-indicator
MFS-3 Bars Pattern Strategy3 Bar Pattern Strategy
Detects an Ignite Candle followed by a Pullback Candle followed by a Confirmation Candle.
A Box will be drawn around the setup and three arrows will identify I, P, C (Ignite, Pullback, Confirmation) the setup.
The strategy will calculate a Stop Loss below the Low Price of the Ignite candle and a Take Profit at 2 times the Stop Loss giving a Risk to Reward Ratio of 1:2.
Extra conditions are included to reduce false triggers:
- A down trend must be detected using 3 SMA (Long, Medium, Short) that should be aligned from Long to Short one above the other.
- The Ignite Candle's body must be BELOW the Short SMA
An input form is available to adjust some strategy parameters.
Performance Note
----------------------
Trading conditions are very strict, so most of the time, no signals will be detected in the Strategy window.
This strategy should only be one of many strategies used for trade setups.
Hope you enjoy it.
Future Interest Indexed by AssetEste script em Pine Script calcula e exibe o índice dos juros futuros (DI1) em relação ao preço de um ativo, utilizando o preço de fechamento do ativo e a taxa de juros futuros (DI1). O cálculo é realizado dividindo a taxa de juros pelos preços do ativo, resultando no índice indice_juros. Para evitar a divisão por zero, o script verifica se o preço do ativo é válido e não nulo. O índice calculado é então plotado em um painel inferior no gráfico, representado por uma linha azul, permitindo aos usuários observar a relação entre a taxa de juros futuros e o preço do ativo de forma clara e intuitiva.
This Pine Script script calculates and displays the future interest rate (DI1) in relation to the price of an asset, using the asset's closing price and the future interest rate (DI1). The calculation is carried out by dividing the interest rate by the asset prices, resulting in the index_interest index. To avoid division by zero, the script checks that the asset's price is valid and not null. The calculated index is then plotted in a lower panel on the chart, represented by a blue line, allowing users to observe the relationship between the future interest rate and the asset price clearly and intuitively.
12 Month Difference - YoY ComparisonEste script foi desenvolvido para calcular e exibir a variação percentual do preço de um ativo nos últimos 12 meses, de forma simples e visual. Ele utiliza dados históricos de preços e apresenta o resultado diretamente no gráfico, permitindo ao usuário acompanhar a relação entre o valor atual e o valor de 12 meses atrás.
O cálculo é baseado em um período de 12 meses, que equivale a 252 dias úteis no mercado financeiro. O script primeiro identifica o preço atual do ativo e o compara com o preço registrado há exatamente 252 dias úteis. A diferença entre esses dois valores é transformada em uma variação percentual, o que facilita a análise de desempenho do ativo ao longo do período.
Além disso, o script define uma cor para destacar o resultado:
Verde, se a variação percentual for positiva (indicando crescimento).
Vermelho, se a variação for negativa (indicando queda).
O valor calculado é exibido de forma prática no canto inferior direito do gráfico, como uma tabela flutuante. Essa tabela contém o texto "Relação 12M" e o valor percentual correspondente, permitindo uma leitura rápida.
Embora o resultado seja calculado para todos os momentos no gráfico, ele é mostrado apenas como uma tabela no último ponto confirmado da série histórica, ou seja, no momento mais recente com dados disponíveis. Além disso, o script inclui o valor da relação na legenda do gráfico, mas ele está oculto visualmente para evitar sobrecarregar o layout.
Esse indicador é útil para analisar rapidamente o desempenho de um ativo ao longo de um ano, ajudando investidores e analistas a entenderem tendências e mudanças no mercado.
This script was developed to calculate and display the percentage change in the price of an asset over the last 12 months, in a simple and visual way. It uses historical price data and displays the result directly on the chart, allowing the user to monitor the relationship between the current value and the value from 12 months ago.
The calculation is based on a 12-month period, which is equivalent to 252 business days in the financial market. The script first identifies the current price of the asset and compares it with the price recorded exactly 252 business days ago. The difference between these two values is transformed into a percentage change, which makes it easier to analyze the asset's performance over the period.
In addition, the script defines a color to highlight the result:
Green, if the percentage change is positive (indicating growth).
Red, if the change is negative (indicating a decline).
The calculated value is displayed conveniently in the bottom right corner of the chart, as a floating table. This table contains the text "12M Ratio" and the corresponding percentage value, allowing for quick reading.
Although the result is calculated for all points in time on the chart, it is only displayed as a table at the last confirmed point in the historical series, i.e. the most recent point in time with available data. In addition, the script includes the ratio value in the chart legend, but it is visually hidden to avoid cluttering the layout.
This indicator is useful for quickly analyzing the performance of an asset over a year, helping investors and analysts understand trends and changes in the market.
Intraday Volume### Intraday Volume Indicator Explanation
--- this was Mostly created by OpenAI ChatGPT --- it's pretty good!
--- My Commentary: One of the problems I find is with Volume is - it is skewed by the overwhelming volume around the Open and Close. So, as an experiment, I asked ChatGPT to create an indicator to plot the volume everywhere BUT the open.
I added in the CandleColor() function and set the times.
I also changed the Intraday Volume calculation from Cumulative to live.
still Chat GPT - did about 90% of the heavy lift! And, wrote the summary !
----
The "Intraday Volume" indicator is a custom script designed for use on the TradingView platform. It provides a visual representation of the total accumulated trading volume during the intraday trading session, specifically between the market open and close times. Below is a detailed explanation of its functionality:
#### **Key Features:**
1. **Session Times:**
- The indicator defines the intraday session as the period between 9:30 AM EST (market open) and 4:00 PM EST (market close).
- It uses the `timestamp` function to set these times dynamically for each trading day.
2. **Intraday Volume Calculation:**
- During the defined intraday session, the indicator accumulates the trading volume from each bar (candlestick).
- Outside the intraday session, the volume is reset to `na` (not available) to ensure only intraday data is plotted.
3. **Plotting the Volume:**
- The accumulated intraday volume is plotted as a blue column chart in a separate pane below the price chart.
- This provides a clear visualization of how the trading volume evolves throughout the trading session.
4. **Horizontal Reference Line:**
- A horizontal line is added at zero as a visual reference, making it easier to interpret the volume data.
#### **Use Cases:**
- **Volume Analysis:**
- Traders can use the indicator to identify periods of high or low trading activity during the intraday session.
- Peaks in the volume chart may correspond to key market events, such as news releases or significant price movements.
- **Trend Confirmation:**
- Comparing intraday volume with price action can help traders confirm the strength of a trend or the likelihood of a reversal.
- **Custom Time Frames:**
- Although this script is tailored for regular U.S. market hours, it can be adapted for other markets or time zones by modifying the session times.
#### **Customization:**
- **Colors and Styles:**
- The plot color (blue) and style (columns) can be customized to suit user preferences.
- **Session Times:**
- Users can change the session start and end times to match their trading needs or regional market hours.
This indicator is especially useful for intraday traders seeking insights into trading volume dynamics within the trading day. By visualizing the intraday volume, traders can gain a deeper understanding of market behavior and make informed decisions.
Support/Resistance
Custom Moving Average Indicator with MACD, RSI, and Support/Resistance
This indicator is designed to help traders make informed trading decisions by integrating several technical indicators, including moving averages, the Relative Strength Index (RSI), and the Moving Average Convergence Divergence (MACD).
Key Features:
Moving Averages:
This indicator uses simple moving averages (SMAs) for several periods (4, 18, 66, 89, 632, 1000, 1500, 2000, and 3000 bars). This helps to identify the overall trend of the price and potential support and resistance levels.
The color of each moving average line is dynamically changed based on the closing price's position relative to the average; it turns red if the price is above the average and green if the price is below.
Relative Strength Index (RSI):
The RSI is calculated for a 14-bar period, which is a measure of overbought or oversold conditions.
An RSI value above 70 indicates an overbought condition, while a value below 30 indicates an oversold condition.
MACD:
The MACD is calculated using a fast length of 12, a slow length of 26, and a signal length of 9. Crossovers between the MACD line and the signal line indicate momentum shifts.
A crossover of the MACD line above the signal line suggests a potential buy signal, while a crossover below indicates a potential sell signal.
Buy and Sell Signals:
Buy Signal: Triggered when the MACD line crosses above the signal line, the RSI is below 30, the MACD is above 0, and there is high volume.
Sell Signal: Triggered when the MACD line crosses below the signal line, the RSI is above 70, the MACD is below 0, and there is high volume.
Alerts:
The indicator includes alerts that are triggered when buy and sell signals occur, helping traders respond quickly to market opportunities.
How to Trade Using the Indicator (continued):
Trading on Buy Signals:
Look for buy signals when the MACD line crosses above the signal line. Ensure that the RSI is below 30, indicating there is a potential for price recovery from an oversold condition.
Confirm that the volume is above the average, which indicates strong market participation and adds validity to the trade.
Trading on Sell Signals:
Search for sell signals when the MACD line crosses below the signal line. Check that the RSI is above 70 to confirm an overbought condition, implying the price may decline.
As with buy signals, ensure that volume is high to validate the strength of the sell signal.
Risk Management:
Use stop-loss orders to protect your capital. Establish an initial loss threshold based on your risk management strategy.
Continuously monitor the market and new signals and adjust your approach according to your market analysis.
Conclusion:
This combined indicator helps traders make informed decisions by relying on a set of technical tools. To achieve the best results, ensure you integrate the analysis from these indicators with your trading strategies and other techniques.
Feel free to use this explanation as an introduction or guide to inform traders on how to effectively use the indicator. If you have any more questions or need further details, don't hesitate to ask!
Support and Resistance TrendlinesStrategy:
Support: Identified as the lowest low over a specific period.
Resistance: Identified as the highest high over a specific period.
Dynamic Trendlines: We’ll use the concept of a rolling window to calculate the highest highs and lowest lows over the last n bars (you can adjust the number of bars for more sensitivity).
Explanation:
Lookback Period (length): The number of bars over which we calculate the support and resistance levels. You can adjust this value depending on the timeframe and the sensitivity you want for the trendlines.
Resistance: This is the highest high over the length of bars. We use ta.highest(high, length) to find the highest high within the specified lookback period.
Support: This is the lowest low over the length of bars. We use ta.lowest(low, length) to find the lowest low within the specified lookback period.
Plotting the Lines:
We plot the support and resistance as horizontal lines on the chart using plot().
Additionally, we create dynamic trendlines that update automatically with each new bar. The line.new function creates lines that can be modified dynamically as new price data comes in.
Line Persistence:
The line functions are used to create horizontal lines that persist across bars. The trendlines adjust their position as the bars move forward.
How It Works:
This indicator will automatically detect the highest and lowest prices over the last n bars and draw support (green line) and resistance (red line) levels on the chart.
The trendlines will adjust as the market evolves and provide visual reference points for potential areas of price reversal.
How to Use This Script:
Copy and paste the Pine Script code into the Pine Script Editor on TradingView.
Save the script, and then add it to your chart.
Adjust the Lookback Period input to suit your trading strategy and timeframe.
The support and resistance levels will be drawn dynamically, and the lines will update as new bars form.
Customizations:
You can modify the number of bars (length) used to calculate support and resistance, depending on the timeframes you're interested in.
If you need more advanced trendline drawing (such as drawing trendlines between significant high/low points or automatic adjustment to more complex patterns), you might need to implement more advanced logic using peaks and valleys or price action patterns.
Let me know if you need any further adjustments!
Alert Kabi Family Unlimited Alarm indicator for any time frame and any type of currency, stock and index
اندییکاتور آلارم نامحدود برای هر تایم فریم و هر شاخص و ارز و سهام
Settings :
1- Before starting, clear all alarms in the trading view alarm section
2- Specify your alarm areas and currency pairs in the indicator settings section
3- Go to the trading view alarm section, click create alert, select the name of the indicator and click OK
4- Good Luck
T e L : @Ar3781
1- قبل از شروع تمام آلارم های تریدینگ ویو را پاک کنید
2- در قسمت تنظیمات اندیکاتور نواحی آلارم و جفت ارز خود را مشخص کنید
3- به قسمت الارم تریدینگ ویو رفته ایجاد هشدار را زده و اسم اندیکاتور را انتخاب کنید و اوکی کنید
4- مـــــــوفق بــــــاشـید
Percent Movement HighlighterThe Percent Movement Highlighter is a custom TradingView indicator that visually highlights candles based on their percentage movement relative to the previous day's close. The indicator uses two user-defined thresholds:
Positive Threshold: Marks candles that move up by a specified percentage or more.
Negative Threshold: Marks candles that move down by a specified percentage or more.
Features:
Visual Highlights:
Green candles for upward moves exceeding the positive threshold.
Red candles for downward moves exceeding the negative threshold.
Dynamic Counters:
Displays a summary label that counts the number of positive, negative, and neutral candles dynamically as the chart progresses.
User Inputs:
Customizable positive and negative percentage thresholds to suit different trading strategies.
This tool is useful for traders seeking to identify significant price movements and analyze market volatility efficiently.
BKLevelsThis displays levels from a text input, levels from certain times on the previous day, and high/low/close from previous day. The levels are drawn for the date in the first line of the text input. Newlines are required between each level
Example text input:
2024-12-17
SPY,606,5,1,Lower Hvol Range,FIRM
SPY,611,1,1,Last 20K CBlock,FIRM
SPY,600,2,1,Last 20K PBlock,FIRM
SPX,6085,1,1,HvolC,FIRM
SPX,6080,2,1,HvolP,FIRM
SPX,6095,3,1,Upper PDVR,FIRM
SPX,6060,3,1,Lower PDVR,FIRM
For each line, the format is ,,,,,
For color, there are 9 possible user- configurable colors- so you can input numbers 1 through 9
For line style, the possible inputs are:
"FIRM" -> solid line
"SHORT_DASH" -> dotted line
"MEDIUM_DASH" -> dashed line
"LONG_DASH" -> dashed line