ForexATRPositionSizerThis script allows me to size up my trades based on account size and ATR. Default is Weekly ATR.
Inputs:
1) Account Size
2) % Unit of Risk
3) ATR Time Frame
4) ATR Period
5) ATR Multiple
The indicator will calculate a trade size for you (1000 = 0.01 lots) across all pairs adjusted by ATR.
1 Unit of Risk (%) is equivalent to ATR Multiple * ATR Weekly of movement.
For example:
Assume you have a 10000 dollar account.
You equate 1% of Equity to N*ATR of movement on weekly chart.
Suppose N*ATR = 100 pips.
Therefore, your trade size will equate to 0.1 lots.
This allows the trader to equalize the effect of equity fluctuations relative to any one given pair.
Pesquisar nos scripts por "weekly"
Multi-Timeframe VWAPShows the Daily, Weekly, Monthly, Quarterly, and Yearly VWAP.
Also shows the previous closing VWAP, which is usually very near the HLC3 standard pivot for the previous time frame. i.e. The previous daily VWAP closing price is usually near the current Daily Pivot. Tickers interact well with the previous Daily and Weekly closing VWAP.
Enabling the STDEV bands shows 3 separate standard deviation levels, defaulted at 1, 2, and 3. The lookback period for the bands is always changing with each new bar, since the standard deviation is calculated from the current bar to the beginning of the period. This is different from bollinger bands, as the lookback is constant (usually 20 periods is the textbook default).
The STDEV bands interval of interest can be changed from Day (D), Week (W), Month (M), Quarter (Q), Year (Y).
Tickers tend to bounce very well on Daily, Weekly, and Yearly VWAP (Yes... Year). Use this code and observe the Year VWAP on several major symbols through the past few years and eyes will be opened.
reallifetrading.com DeanMA + vwap w/ 50+200 smaThis script functions in 2 modes, "intraday" & daily/weekly/monthly.
By changing your chart to any "intraday" timeframe, this mode will automatically switch based on which timeframe you are view on your TradingView charts.
INTRADAY: the script will show the "Dean Moving Average" (10ema on 15/min). NOTE: This 10ema on 15/min will calculate correctly even if using a 5 min chart.
DAILY/WEEKLY/MONTHLY: the script will show the 50 sma in green and 200 sma in purple. If you are viewing a daily chart, it will show the 50-daily sma, if you are viewing a weekly chart, it will show the 50-week sma, etc.
Any questions: DM me
Strategic LevelsIntroduction
The Strategic Levels indicator plots key high and low price levels for monthly, weekly, daily, and Monday (current week) timeframes. It draws horizontal lines with consolidated labels to highlight significant support and resistance zones.
How to use it ?
Identify critical price levels for trade entries, exits, and risk management.
These prices levels (monthly, weekly, daily open/close) are significant inflection points during short term price movements.
Perfect for swing traders, day traders, or anyone using support/resistance strategies.
Best used for trades lasting no more than a few days.
Relative Strength of 2 securities - Jayy This is an update of the Relative Strength to index as used by Leaf_West.. 4th from the top. my original RS script is 3rd from the top.
In this use of the term " Relative Strength" (RS) what is meant is a ratio of one security to another.
The RS can be inerpreted in a fashion similar to price action on a regual security chart.
If you follow his methods be aware of the different moving averages for the different time periods.
From Leaf_West: "on my weekly and monthly R/S charts, I include a 13 EMA of the R/S (brown dash line) and
an 8 SMA of the 13 EMA (pink solid line). The indicator on the bottom of the weekly/monthly charts is an
8 period momentum indicator of the R/S line. The red horizontal line is drawn at the zero line.
For daily or 130-minute time periods (or shorter), my R/S charts are slightly different
- the moving averages of the R/S line include a 20EMA (brown dash line), a 50 EMA (blue dash line) and
an 8 SMA of the20 EMA (pink solid line). The momentum indicator is also slightly different from the weekly/monthly
charts – here I use a 12 period calculation (vs 8 SMA period for the weekly/monthly charts)."
Leaf's website has gone but I if you are interested in his methods message me.
What is different from my previous RS: The RS now displays RS candles. So if you prefer to watch price action of candles to
a line chart which only plots the ratio of closes then this will be more interesting to you.
I have also thrown in a few options to have fun with.
Jayy
SuperTrend Oscillator v3Version 3: Improved aesthetically, complete turnaround for the strategy with which to use this indicator.
Once again, thanks to BlindFreddy and ChrisMoody for the bits of code that were assembled into this indicator.
Make the chart yours using the share button for the indicator with barcolors functionality.
Changes from v2 and looking forward: Indicator now uses a 14 length SuperTrend with no ATR multiplier. This my preferred use and I'd be grateful to hear your case for a different length/multiplier. Removed the Bollinger Bands and retracement dots due to these being gimmicky and marginally useful. There may be a version 4 should a similar concept using a rate of change analysis turn out to be useful. I have also tried -in vain- to plot internal trend peaks as horizontal S/R levels. Please pm if you are willing to help in that respect.
Strategy: The indicator will display the trend as a red/green area. It measures the spread between the closing price and the SuperTrend line, much like a CCI (close and ma). When the area contracts warning bars of the opposite trend color will warn of a reversal. When this happens, these areas will either be defended, reviving the trend, or will break, causing a trend flip. SuperTrend is unique in that breaks are typically large candles, and that its levels, especially on Weekly, Daily, Hourly, Minute timeframes, these levels will be defended (think similar to a 200sma or a 21ema). The STO making new highs within (internal) a trend is an overextension sign.
CVX Example: This is not a full analysis of CVX's stock , just an example potential trades. On the posted chart I used a weekly and a daily STO.
Long 1:The weekly showed warnings and then flipped. The daily made a double bottom, showed warnings and then flipped the daily STO at trendline support.
Long 2:The weekly still shows an uptrend, the daily made a weak break to downtrend and reversed back upwards at trendline support, forming a double bottom. Note the conservative exit when the STO made an internal new high.
Long 3: looking forward on CVX stock , the current downtrend made a weak break and is showing sings of reversal (pin bar) at horizontal support. Go long on flip of the daily (conservative) or flip of the hourly (aggressive).
SuperTrend OscillatorVersion 3: Improved aesthetically, complete turnaround for the strategy with which to use this indicator.
Once again, thanks to BlindFreddy and ChrisMoody for the bits of code that were assembled into this indicator.
Make the chart yours using the share button for the indicator with barcolors functionality.
Changes from v2 and looking forward: Indicator now uses a 14 length SuperTrend with no ATR multiplier. This my preferred use and I'd be grateful to hear your case for a different length/multiplier. Removed the Bollinger Bands and retracement dots due to these being gimmicky and marginally useful. There may be a version 4 should a similar concept using a rate of change analysis turn out to be useful. I have also tried -in vain- to plot internal trend peaks as horizontal S/R levels. Please pm if you are willing to help in that respect.
Strategy: The indicator will display the trend as a red/green area. It measures the spread between the closing price and the SuperTrend line, much like a CCI (close and ma). When the area contracts warning bars of the opposite trend color will warn of a reversal. When this happens, these areas will either be defended, reviving the trend, or will break, causing a trend flip. SuperTrend is unique in that breaks are typically large candles, and that its levels, especially on Weekly, Daily, Hourly, Minute timeframes, these levels will be defended (think similar to a 200sma or a 21ema). The STO making new highs within (internal) a trend is an overextension sign.
CVX Example: This is not a full analysis of CVX's stock, just an example potential trades. On the posted chart I used a weekly and a daily STO.
Long 1:The weekly showed warnings and then flipped. The daily made a double bottom, showed warnings and then flipped the daily STO at trendline support.
Long 2:The weekly still shows an uptrend, the daily made a weak break to downtrend and reversed back upwards at trendline support, forming a double bottom. Note the conservative exit when the STO made an internal new high.
Long 3: looking forward on CVX stock, the current downtrend made a weak break and is showing sings of reversal (pin bar) at horizontal support. Go long on flip of the daily (conservative) or flip of the hourly (aggressive).
Momentum of Relative strength to Index Leaf_West styleMomentum of Relative Strength to index as used by Leaf_West. This is to be used with the companion Relative Strength to Index indicator Leaf_West Style. Make sure you use the same index for comparison. If you follow his methods be aware of the different moving averages for the different time periods. From Leaf_West: "on my weekly and monthly R/S charts, I include a 13 EMA of the R/S (brown dash line) and an 8 SMA of the 13 EMA (pink solid line). The indicator on the bottom of the weekly/monthly charts is an 8 period momentum indicator of the R/S line. The red horizontal line is drawn at the zero line.
For daily or 130-minute time periods (or shorter), my R/S charts are slightly different - the moving averages of the R/S line include a 20EMA (brown dash line), a 50 EMA (blue dash line) and an 8 SMA of the20 EMA (pink solid line). The momentum indicator is also slightly different from the weekly/monthly charts – here I use a 12 period calculation (vs 8 SMA period for the weekly/monthly charts)." Leaf's methods do evolve and so watch for any changes to the preferred MAs etc..
Relative strength to Index set up as per Leaf_WestRelative Strength to index as used by Leaf_West. If you follow his methods be aware of the different moving averages for the different time periods. From Leaf_West: "on my weekly and monthly R/S charts, I include a 13 EMA of the R/S (brown dash line) and an 8 SMA of the 13 EMA (pink solid line). The indicator on the bottom of the weekly/monthly charts is an 8 period momentum indicator of the R/S line. The red horizontal line is drawn at the zero line.
For daily or 130-minute time periods (or shorter), my R/S charts are slightly different - the moving averages of the R/S line include a 20EMA (brown dash line), a 50 EMA (blue dash line) and an 8 SMA of the20 EMA (pink solid line). The momentum indicator is also slightly different from the weekly/monthly charts – here I use a 12 period calculation (vs 8 SMA period for the weekly/monthly charts)." Leaf's methods do evolve and so watch for any changes to the preferred MAs etc..
CM_Pivot Points Daily To IntradayNew Pivots Indicator With Options for Daily, 4 Hour, 2 Hour, 1 Hour, 30 Minute Pivot Levels!
Great for Forex Traders! - Take a Look at Chart with Weekly, Daily, and 4 Hour levels. Weekly Pivots Indicator is separate - Link is Below.
Plot one Pivot Level or Multiple at the Same Time via Check Boxes in the Inputs tab.
Defaults to 4 Hour Pivot Levels - Adjust in Inputs Tab.
S3 and R3 are turned off by Default - You can Activate Them In The Inputs Tab.
These Intraday Options were Requested By Users Using My CM_ Pivots Point Custom Indicator that Plots Daily, Weekly, Monthly, Quarterly, and Yearly Pivot Levels. Link is Below.
Now Both Longer-Term Traders and Shorter Term Traders Have All The Pivot Levels They Need. From Yearly Levels All The Way Down to 30 Minute Levels!
***The Candles On The Chart Are Custom Heikin-Ashi Paint Bars. Link is Below
CM_ Pivot Points Custom
Daily, Weekly, Monthly, Quarterly, Yearly Pivot Levels
Heikin-Ashi Paint Bars
CM_Pivot Points_CustomCustom Pivots Indicator - Plots Yearly, Quarterly, Monthly, Weekly, and Daily Levels.
I created this indicator because when you have multiple Pivots on one chart (For Example The Monthly, Weekly, And Daily Pivots), the only way to know exactly what pivot level your looking at is to color ALL S1 Pivots the same color, but create the plot types to look different. For example S1 = Bright Green with Daily being small circles, weekly being bigger circles, and monthly being even bigger crosses for example. This allows you to visually know exactly what pivot levels your looking at…Instantly without thinking. This indicator allows you to Choose any clor you want for any Pivot Level, and Choose The Plot Type.
Spot Nachkauf-Zonen High TF (RSI + BB)**Spot Buy/Sell Zones High TF Indicator (RSI + Bollinger Bands + Trend & Volume Filters)**
This is an overlay indicator for TradingView that highlights optimal buy and sell areas on a higher timeframe (e.g. Daily, Weekly) while you view a lower timeframe chart. It combines volatility, momentum, trend and volume checks to reduce false signals.
---
### Key Features
* **Higher-Timeframe Calculations**
All indicators (Bollinger Bands, RSI, moving averages, volume) use data from a user-selected timeframe (for example “D” for daily or “W” for weekly).
* **Bollinger Bands**
* Middle line: Simple Moving Average (SMA) over N periods
* Upper/Lower bands: ±M × standard deviation
* Semi-transparent fill between the bands for quick visual reference
* **RSI Momentum**
* Classic 14-period RSI with adjustable overbought (e.g. 70) and oversold (e.g. 30) levels
* **Buy** when RSI crosses up out of oversold and price touches or goes below the lower Bollinger Band
* **Sell** when RSI crosses down out of overbought and price touches or goes above the upper Bollinger Band
* **Trend Filter (Optional)**
* Higher-TF SMA (default 200 periods) plotted in orange
* Signals only fire when price is above the SMA (for buys) or below (for sells) to align with the main trend
* **Volume Filter (Optional)**
* Compares current higher-TF volume against its SMA
* Signals require volume to exceed a user-set multiplier of average volume, ensuring real market participation
* **Visual Signals**
* Green triangles below bars mark buy zones; red triangles above bars mark sell zones
* Light green background highlights active buy areas
* **Built-In Alerts**
* Two alert conditions (“Buy Signal” and “Sell Signal”) ready to be used in TradingView’s Alert dialog
* Customizable alert messages include ticker and timeframe
---
### Inputs
| Setting | Default | Purpose |
| ------------------------- | ------- | ------------------------------------------------ |
| **Calculation Timeframe** | D | Higher timeframe for all calculations |
| **BB Periods** | 20 | Length of SMA for Bollinger middle line |
| **BB Std-Dev Multiplier** | 2.0 | Number of standard deviations for the bands |
| **RSI Periods** | 14 | Length of the RSI calculation |
| **Overbought / Oversold** | 70 / 30 | RSI thresholds for signal generation |
| **Enable Trend Filter** | true | Use higher-TF SMA to confirm trend direction |
| **Trend MA Periods** | 200 | SMA length for the trend filter |
| **Enable Volume Filter** | true | Require above-average volume to validate signals |
| **Volume MA Periods** | 20 | SMA length for volume filter |
| **Volume Multiplier** | 1.2 | How many times above average volume is needed |
---
### How to Use
1. **Add the Script**: Paste the Pine code into TradingView’s Pine Editor and save.
2. **Adjust Settings**: Choose your higher timeframe (“D”, “W”, etc.) and tweak BB, RSI, trend, and volume parameters.
3. **Activate Alerts**: In the Alerts panel, select the “Buy Signal” or “Sell Signal” alert condition.
4. **Interpret Signals**:
* A green triangle + green background = suggested buy zone
* A red triangle = suggested sell zone
This setup gives you clear, rule-based entry and exit areas by filtering noise and confirming market strength on a higher timeframe.
👽 TIME PERIODS👽 TIME PERIODS v1.15
Visualize key time divisions and session levels on any chart:
• Timezone‐aware session shading
– Highlight active NY session (configurable HHMM–HHMM and days)
– Adjustable background opacity
• Weekly & Monthly Separators
– Toggle on/off
– Custom color, style (solid/dashed/dotted) & width
• Day-of-Week Labels
– Diamonds at session start for M–S
– Toggle on/off
• Session Open Line
– Horizontal line at each session’s open
– Configurable color, width & “distanceRight” in bars
– Always shows current session
• Midpoint Vertical Line
– Plots halfway between session open & close
– Custom color, style & width
– Toggle on/off
▶ All elements grouped for easy parameter tweaking
▶ Fully timezone-configurable (default America/New_York)
▶ Version 1.15 — added distanceRight feature & current session support
Use this to see exactly where your chosen session, weekly/monthly boundaries, and intraday pivot points fall—across any timeframe.
X ORTX ORT — Opening Range & Time Reference Tool
Overview
The X ORT indicator is a precision tool designed for intraday traders seeking to anchor their trading decisions to high-probability price levels. It captures key market reference points including Opening Ranges, Settlement Prices, and Time-Specific Opens, all based on New York time, to help identify potential pivots and directional bias in the market.
Key Features & Usage
🔹 Opening Range Boxes (ORs)
The indicator defines up to two customizable Opening Ranges (e.g., 9:30–9:59 and 8:20–8:49 ET). Each range dynamically tracks the high, low, and midpoint price as the session unfolds, and continues to extend those levels forward throughout the day.
Use as Pivots: The high and low of the Opening Range often act as intraday support and resistance zones. A breakout above the ORH (Opening Range High) may signal bullish intent, while a drop below the ORL (Opening Range Low) may suggest bearish momentum.
Use for Directional Bias: If price remains above or below the range after completion, it may indicate a continuation in that direction. The midpoint (dashed line) serves as a mean-reversion or fair value pivot.
🔸 Settlement Price Anchors
The indicator optionally plots Daily, Weekly, and Monthly Settlement Prices, which are significant institutional reference points.
Use as Market Anchors: Settlement prices are often used by professionals to gauge positioning. Price acceptance above or below settlement can signal strength or weakness and guide directional trades.
Historical weekly and monthly settlements help define multi-day or swing levels for broader context.
🔹 Time-Based Open Levels
X ORT also draws horizontal lines at the open price of specific time points: Midnight, 8:30 AM, 9:30 AM, and 1:30 PM ET.
Use for Session Anchors: These reference opens are useful for understanding session shifts, aligning with key economic releases (like 8:30 AM), and gauging session-to-session continuity.
Why Use X ORT?
Objective Structure: Provides rule-based levels to avoid emotional trading.
Visual Clarity: Transparent, extendable boxes and labeled lines help traders focus on key decision zones.
Multi-Time Context: Blends intraday and higher timeframe levels to support short-term and swing traders.
Whether you're breakout trading, fading range extremes, or gauging market bias, X ORT offers a reliable structural foundation that aligns with how professionals track price behavior throughout the trading day.
1D/1W/1M extreme levelsDaily, Weekly, and Monthly Range Values for Enhanced Positioning
This script calculates dynamic range levels for daily, weekly, and monthly timeframes to help identify key price extremes.
The Initial Value reflects the starting point derived from the assumption of a candle’s bullish or bearish close — essentially your initial reference for potential entry or exit levels.
Range values continuously update based on the high and low prices within each respective timeframe.
When price reaches these range extremes, it signals an increased risk of reversal, providing refined entry points.
Use this tool alongside your existing strategies to improve timing and precision in your trade positioning.
Quarterly Theory Opening Prices🔹 Quarterly Theory Opening Prices (QTOP) Indicator
This indicator plots critical institutional price levels based on Quarterly Theory principles. It identifies and displays key opening prices from various timeframes — including Midnight Open, True Session Open (AM & PM), True Week Open, and True Month Open — all dynamically calculated and timezone-aligned.
These levels are widely used by professional traders to anticipate price reactions around session changes. The indicator is highly customizable, giving users visual and analytical access to these levels on any timeframe and market.
🔍 What This Indicator Does
Midnight Open (MO): The open of the new calendar day, often used in intraday trading for anchoring daily ranges.
True Session Open (TSO AM/PM): Reflects institutional trading session starts, designed to highlight liquidity injections during early U.S. market hours (07:30 and 13:30 EST).
True Week Open (TWO): Marks the institutional open for the trading week, beginning on Monday at 18:00 EST (Sunday 6 PM), used for weekly bias.
True Month Open (TMO): Accurately locates the first institutional trading Monday after NFP for monthly opening flow analysis — a rarely implemented but critical level for swing and macro traders.
🎯 Who It’s For
This indicator is designed for:
Intraday traders looking for early-session range anchors and reversal zones.
Swing traders using weekly/monthly opens as structural bias points.
Liquidity-based traders monitoring reactions around key institutional price levels.
🔒 Why It's Closed-Source
This script contains:
A custom-built session detection engine based on timestamp conditions instead of bar-based time filtering, ensuring more accurate plotting across timezones.
Dynamic label and line positioning logic that adapts based on timeframe and chart zoom, minimizing overlap and improving readability.
Proprietary open-level offset calculation logic to enhance visibility and prevent plotting distortion across devices and brokers.
Because these features go beyond existing open-source implementations, and required extensive backtesting and refinement, the source code has been protected.
⚙️ How to Use
Use on any chart and timeframe.
Adjust session settings via the UI panel.
Works best on instruments aligned with New York trading hours, but timezone support is included.
Use plotted levels to define trading ranges, support/resistance, or reference for breakout/reversal strategies.
📌 Note: This tool is not a buy/sell signal generator — it’s designed to provide reliable reference levels around which you can apply your own strategy.
Multi-Timeframe OHLC Levels█ OVERVIEW
A fully customizable multi-timeframe indicator that independently plots levels based on the open, previous close, previous high, previous low, and previous mid-price.
This tool is ideal for traders who require a high level of tailoring and usability.
█ FEATURES
Multi-timeframe
Select the timeframe for each level separately. The indicator shows higher timeframe levels down to the 1-second chart.
Multi-source
Choose the source for each level individually from the current open, previous close, previous high, previous low, and previous mid-price.
Past levels
Manage the number of relevant levels displayed on historical bars for trading or backtesting.
Projections
Extend the levels to the current price action with clear and clean options.
Styling
Adjust the appearance according to your preferences and screen size using options for color, line style, line thickness, custom name, and text size.
█ NOTES
This is a PREMIUM indicator.
You may also find my free Daily Weekly Monthly Yearly Opens and Previous Day Week Highs & Lows indicators helpful.
ICT Sensitive Key Levels [Mariinus]Indicator Overview – Inspired by ICT Concepts
This indicator is inspired by the teachings of Inner Circle Trader (ICT), whose philosophies and principles have greatly shaped the way I view price action. One of the most powerful lessons that stuck with me is his quote:
"All you need is OHLC."
Another fundamental concept that underpins this tool is the idea that:
"Price is constantly moving in cycles from Premium or Discount to Equilibrium, from Equilibrium to Discount to Premium."
With these core ideas in mind, this indicator was developed to help traders who are already using an ICT-based framework. In addition to plotting the standard OHLC levels, the ICT Sensitive Key Levels indicator also includes derived levels that provide deeper Market insight. These include the Equilibrium of the full candle range (High to Low) as well as the Equilibrium of the wicks – offering a more nuanced view of price balance and potential turning points, in line with ICT’s core concepts.
⚠️ Important Disclaimer:
This is not a standalone trading plan.
This is not a buy or sell signal generator.
Instead, this tool is designed to support traders who follow ICT principles by helping them identify higher-probability PD Arrays – the key zones where setups are more likely to occur. If your trading plan includes looking for specific PD Arrays and structural frameworks taught by ICT, then this indicator is a visual aid to refine and focus your attention on the areas where your framework has a higher probability of playing out.
🔁 Backtesting & Daily Preparation
In addition to improving your real-time analysis, this indicator is also a valuable tool for accelerated backtesting . Rather than manually drawing out levels, the indicator automatically provides them, allowing you to analyze past price action faster and more efficiently .
It’s also ideal for preparing your trading day . By loading the indicator before the session starts, you get a clear visual of key levels that may play a role in your strategy. And if you find the chart too cluttered with lines, simply copy the ones that matter to you, draw them manually, and then turn the indicator off to keep your chart clean while keeping your zones intact.
⚙️ Explanation of the Settings
You can combine up to 4 timeframes to monitor their respective levels while operating on a lower timeframe. For each timeframe, you can:
• Set a lookback period to control how far back you want to calculate levels.
• Choose to display or hide the levels of the current candle , which helps you monitor intra-candle ebbs and flows.
Each level (e.g., High, Low, Open, Close, Equilibrium) can be customized:
• Color
• Line style
• Line width
• To hide a level , simply set its opacity to zero.
You can also enable dividers to clearly mark the start and end of higher timeframe candles on your lower timeframe chart. These dividers are also fully customizable:
• Color
• Style
• Width
• And again, if you prefer a cleaner chart, you can set the opacity to zero to hide them completely.
This setup gives you full control over how much or how little visual data you want to see, aligning the tool with your personal trading workflow.
💡 Example Use Cases
These examples are for educational purposes only. This tool is not financial advice and should always be used in conjunction with your own trading plan—whether it involves Fair Value Gaps, Order Blocks, or a custom combination of ICT-based elements.
• Example 1: A 1H Bearish Fair Value Gap overlapping with the Equilibrium Key Level of the Previous Day's Range – a high-probability zone for reaction.
• Example 2: A 1H Bullish Fair Value Gap in Discount, overlapping with the Equilibrium of Two Days Ago, followed by a move into a 1H Bearish Order Block that coincides with the Previous Day’s Equilibrium.
• Example 3: The same 1H PD Arrays viewed from a 4H chart, alongside Weekly Price Levels – giving you a higher timeframe context that supports or invalidates lower timeframe setups.
• Example 4: A combination of two timeframes for added context. A 4H Bullish Fair Value Gap is nested inside the current Weekly Equilibrium Key Level . On the 15M chart , we observe a reaction that creates an Inversion Fair Value Gap , which aligns with the Equilibrium Key Level of the previous 4H candle .
This indicator doesn’t replace your trading plan—it enhances your ability to execute it. It’s a precision tool made for ICT traders who understand context, structure, and probability.
RSI Mansfield +An adaptive relative strength indicator for any market and timeframe.
OVERVIEW
This indicator plots the Mansfield Relative Strength (RSI Mansfield) oscillator, a tool to compare the performance of your instrument against a chosen benchmark index or asset. It auto-adjusts to cryptocurrencies, stocks, and various timeframes, applying the appropriate smoothing techniques to reveal true relative strength or weakness.
CONCEPTS
Relative Strength: Measures how the price of your asset evolves compared to a benchmark (e.g., BTC dominance, S&P 500).
Mansfield Normalization: Expresses the deviation from the moving average of the ratio between your asset and the benchmark, scaled to highlight trends.
Adaptive Smoothing: Automatically selects EMA or SMA smoothing depending on market type and timeframe.
Divergences: Detects regular and hidden bullish or bearish divergences in the Mansfield oscillator, which can signal potential reversals.
FEATURES
Supports major global stock indices and crypto benchmarks.
Auto-selection of moving average length (daily, weekly, monthly).
Dynamic coloring: green for positive relative strength, red for negative.
Configurable detection of four divergence types:
Regular Bullish Divergence
Hidden Bullish Divergence
Regular Bearish Divergence
Hidden Bearish Divergence
Toggle switch to show/hide divergences.
Clear zero baseline reference.
USAGE
Benchmark Selection
Choose the benchmark index or asset you want to compare against, e.g., Bitcoin Dominance, S&P 500, or other regional indices.
Interpret Colors
Green oscillator: outperforming the benchmark.
Red oscillator: underperforming.
Analyze Divergences
Enable divergence detection to spot potential reversal points. Regular divergences indicate classical divergence; hidden divergences may confirm continuation.
Timeframes
Works on intraday, daily, weekly, or monthly charts. The indicator auto-adjusts smoothing and calculation length accordingly.
Smart LevelsSmart Levels - Professional Support & Resistance Indicator
🔥 ADVANCED TRUE OPENS & HIGH/LOW DETECTION SYSTEM
Smart Levels is a comprehensive technical analysis tool designed for professional traders who demand precision in identifying key market levels across multiple timeframes. This indicator automatically detects and displays critical support and resistance levels based on institutional trading concepts.
🎯 KEY FEATURES
TRUE OPENS DETECTION
Annual True Open: April 1st market opening (Q2 institutional cycle start)
Monthly Q1 & Q2 True Opens: First and second Monday of each month (customizable hours: 18:00 NY or 00:00 NY)
Weekly True Open: Every Monday at 18:00 NY (institutional week start)
Daily True Open: Midnight NY time (00:00 NY)
HIGH/LOW LEVELS IDENTIFICATION
Daily Highs & Lows: Previous day's extreme levels
Weekly Highs & Lows: Previous week's extreme levels
Monthly Highs & Lows: Previous month's extreme levels
Quarterly Highs & Lows: Previous quarter's extreme levels
Annual Highs & Lows: Previous year's extreme levels
ADVANCED CUSTOMIZATION
Master Controls: Enable/disable entire groups with one click
⚙️ Auto Scale Adjustment: Keep chart focused on price action (lines don't compress the view)
Individual Control: Each level can be configured independently
Line Styles: Solid, dashed, or dotted lines
Extension Types: Fixed displacement or last candle alignment
Color Coding: Fully customizable colors for each timeframe
PROFESSIONAL DISPLAY
Information Table: Live quarterly cycle status with color coding
Smart Labels: Price levels clearly marked with descriptive text
Multiple Positioning: Table can be positioned anywhere on chart
Clean Interface: Professional appearance with customizable text sizes
📊 INSTITUTIONAL CONCEPTS
This indicator is built on institutional trading principles:
Q1 (Accumulation): Smart money accumulation phase
Q2 (Manipulation): Price manipulation and liquidity hunting
Q3 (Distribution): Smart money distribution phase
Q4 (Continuation/Reversal): Trend continuation or major reversal
⚡ MASTER CONTROLS
🔥 DISPLAY ALL TRUE OPENS
Toggle all True Open levels on/off with a single click
📊 DISPLAY ALL HIGHS & LOWS
Toggle all High/Low levels on/off with a single click
⚙️ AUTO SCALE ADJUSTMENT (NEW FEATURE)
ON: Lines extend but don't affect chart scaling (maintains focus on price action)
OFF: Traditional behavior (lines may compress chart view)
Default: ENABLED for optimal trading experience
🛠 CONFIGURATION OPTIONS
True Open Settings (Per Timeframe)
Enable/Disable individual True Opens
Hour selection for monthly levels (18:00 NY or 00:00 NY)
Extension type: Fixed displacement or last candle alignment
Line appearance: Color, style, and width
Maximum number of lines displayed
High/Low Settings (Per Timeframe)
Enable/Disable individual High/Low pairs
Extension configuration
Separate colors for highs and lows
Line styling options
Information Table
Show/Hide information panel
Detailed view toggle
Position selection (6 options)
Text and background color customization
Text size adjustment
🎨 VISUAL FEATURES
Color-Coded Quarters: Each quarterly phase has distinct colors
Smart Positioning: Lines extend 20 candles beyond current price for clarity
Professional Labels: Clean price level identification
Memory Efficient: Automatic cleanup of old levels
Multi-Timeframe: Works on all timeframes from 1-minute to monthly
💡 TRADING APPLICATIONS
Support & Resistance
Previous High/Low levels act as natural S&R zones
True Opens often become significant pivot points
Institutional Analysis
Track quarterly cycles for macro trend analysis
Identify accumulation and distribution phases
Entry & Exit Points
Use level breaks for entry signals
Set targets at next timeframe levels
Risk Management
Place stops beyond key institutional levels
Size positions based on level confluence
🔧 TECHNICAL SPECIFICATIONS
Pine Script Version: v6
Overlay: Yes (displays directly on price chart)
Max Objects: 500 lines, 500 labels, 500 boxes
Timezone: America/New_York (institutional standard)
Performance: Optimized for all chart timeframes
Compatibility: Works with all TradingView accounts
📈 RECOMMENDED USAGE
Enable Master Controls for full functionality
Keep Auto Scale ON for optimal chart viewing
Customize colors to match your trading style
Use Information Table to track current quarterly phase
Combine with price action for high-probability setups
Smart Levels transforms complex institutional concepts into clear, actionable visual information. Whether you're scalping intraday moves or analyzing long-term trends, this indicator provides the precision levels professional traders depend on.
📊 Trade with institutional precision. Trade with Smart Levels.Tentar novamenteO Claude pode cometer erros. Confira sempre as respostas.Pesquisa Sonnet 4
SMC Prime Matrix🧠 SMC Prime Matrix — Multi-Concept Smart Money Indicator
The SMC Prime Matrix is an advanced Pine Script indicator that brings together multiple Smart Money Concepts (SMC) into a single, modular tool. Designed for institutional-style traders and students of market structure, this overlay visualizes key price action events, liquidity levels, and trend shifts across all timeframes.
It aims to simplify complex institutional concepts such as BOS, CHoCH, Order Blocks, Fair Value Gaps, SFPs, and premium/discount analysis into a cohesive and customizable framework.
🔍 Key Features
📆 Institutional Key Levels: Automatically plots weekly, monthly, and yearly opens (including previous sessions) to identify institutional reference levels often used for bias setting and liquidity targeting.
🧱 Order Blocks & Breaker Blocks: Detects bullish/bearish order blocks and breaker blocks using custom swing logic. Boxes are drawn with dynamic labels and styling to highlight the most relevant zones.
📉 Market Structure Detection: Identifies Break of Structure (BOS) and Change of Character (CHoCH) at both internal and major swing levels, helping determine trend continuation or reversal points.
🌀 Fair Value Gaps (FVGs): Highlights price imbalances (inefficient zones) based on swing displacement. Options include real-time filtering, styling, and visibility limits.
🧠 Swing Points & Liquidity Zones: Marks swing highs/lows and detects equal highs/lows (EQH/EQL) to expose areas prone to liquidity grabs or stop runs.
⚠️ Swing Failure Patterns (SFPs): Identifies potential liquidity sweeps or failed swing breakouts, with debounce logic and MTF integration to reduce signal noise.
🕓 Multi-Timeframe Integration: Displays key swing highs/lows and SFPs from higher timeframes (daily, weekly, monthly) directly on lower timeframe charts.
🧩 Highly Customizable: Users can toggle individual modules, adjust detection sensitivity, line/label styles, debounce filtering, and theme presets to suit different trading styles.
🧠 How It Works
The script uses a combination of:
Swing detection algorithms (including internal vs. major pivots)
Price displacement logic (for BOS/CHoCH/FVG)
Multi-timeframe request.security() calls (without lookahead bias)
Real-time plotting of levels, boxes, and labels with visual efficiency in mind
All calculations are done in real-time using a structured top-down flow that integrates structural, value-based, and liquidity-based models in one overlay.
📈 Use Cases
Trend Direction: Determine market bias using CHoCH, BOS, and swing structure shifts.
Liquidity Mapping: Visualize likely liquidity pools via EQH/EQL, FVGs, and SFPs.
Refined Entries: Use OBs or Breaker Blocks within premium/discount zones for better R/R setups.
Confluence Building: Overlay higher-timeframe levels for stronger confirmation with intraday trades.
Discretionary & Systematic Trading: Modular layout makes it suitable for both styles.
💡 Originality & Integration
This is an original implementation that combines multiple Smart Money trading ideas into a tightly integrated and performant script. Each component is coded for interoperability, rather than being a visual mashup of disconnected ideas. It is designed for those who want to study or emulate institutional trading behavior within Pine Script limitations.
📌 Limitations & Notes
This is not a signal generator. All elements are for informational and analytical use only.
Some features (FVGs, SFPs, CHoCH) rely on historical pivots and may repaint as new bars form.
Market structure is subjective — settings may need tuning depending on asset volatility.
For educational purposes only. This script does not constitute financial advice or trading recommendations.
✅ How to Use
Add the indicator to any chart or asset.
Open the settings panel to enable/disable modules or adjust sensitivity.
Use tooltips and label text to gain insights into the detected events.
Combine this tool with your own technical or fundamental analysis and proper risk management.
TPO[Fixed Range, Anchored, Bars Back]TPO Bars Back, Fixed Range and Anchored
Overview
The TPO Profile (Time Price Opportunity Profile) is a powerful market profile indicator that displays the amount of time price spent at different levels during a specified period. Unlike traditional volume profile indicators that show volume distribution, TPO Profile shows time distribution , providing insights into where price has spent the most time and identifying key support and resistance levels.
Key Advantages Over TradingView's Built-in TPO
Simplified Composite Creation : Automatically creates TPO profiles for any time range without manual split/merge operations
Instant Value Area Calculation : Immediately shows Value Area, POC, VAH, and VAL for your selected period
No Manual Assembly Required : TradingView's native TPO requires you to manually split sessions and merge them to create composites - this indicator does it automatically
Flexible Time Ranges : Create composites for any custom time period (multiple days, weeks, specific events) with a few clicks
Real-time Composite Updates : Anchor mode creates live composites that update as new data arrives
Multiple Composite Analysis : Easily compare different time periods without the tedious manual process
Key Features
Core Functionality
Time-Based Analysis : Shows time spent at each price level rather than volume
Configurable Time Blocks : Use any timeframe for TPO counting (30min, 1H, 4H, etc.)
Multiple Price Levels : Adjustable from 5 to 200 levels for granular analysis
Point of Control (POC) : Automatically identifies the price level with highest time activity
Value Area Calculation : Shows the price range containing 70% (configurable) of time activity
Automatic Composite Generation : Creates multi-session composites without manual intervention
Three Operating Modes
1. Bars Back Mode
Analyzes the last N bars from the current bar
Perfect for recent market activity analysis
Range: 10-500 bars
Use Case : Intraday analysis, recent session review
2. Fixed Range Mode
Analyzes a specific time period between start and end times
Ideal for historical analysis of specific events
Creates perfect composites for multi-day periods
Use Case : Earnings periods, news events, specific trading sessions, weekly/monthly composites
3. Anchor Mode (NEW)
Starts from a specific time and extends to the current bar
Dynamically updates as new bars form
Perfect for building live composites from any starting point
Use Case : Live session monitoring, event-based analysis from a specific point, growing composites
Visual Elements
TPO Bars
Horizontal bars showing time distribution at each price level
Longer bars = more time spent at that level
Color-coded to distinguish Value Area from outlying levels
Point of Control (POC)
Red line marking the price level with highest time activity
Most significant support/resistance level
Configurable line style (Solid/Dashed/Dotted) and width
Value Area High/Low (VAH/VAL)
Green and Orange lines marking the boundaries of the Value Area
Shows the price range containing the specified percentage of time activity
Optional display with customizable line styles
Single Print Detection
Identifies price levels touched by only one time block
Display options: Lines or Boxes
Purple color highlighting these significant levels
Often act as strong support/resistance in future trading
Customization Options
Time Block Configuration
Block Time : Choose timeframe for TPO counting (30min, 1H, 4H, etc.)
Allows analysis at different time granularities
Higher timeframes = broader perspective, Lower timeframes = finer detail
Visual Styling
Line Styles : Solid, Dashed, or Dotted for all line elements
Line Widths : 1-5 pixels for POC, VAH, and VAL lines
Colors : Fully customizable colors for all elements
Transparency : Adjustable transparency for better chart readability
Label Management
Show/Hide Labels : Toggle POC, VAH, VAL labels
Font Sizes : Tiny, Small, Normal, Large, Huge
Label Positioning : 8 different position options relative to lines
Offset Controls : Fine-tune label positioning
Line Extension
Level Offset Right : Controls how far lines extend
Smart extension logic:
Value ≤ 0: Infinite extension (extend.right)
Value ≥ 1: Extends exactly N bars ahead
Trading Applications
Support & Resistance
POC often acts as strong support/resistance
Value Area boundaries provide key levels
Single prints frequently become significant levels
Market Structure Analysis
Identify areas of price acceptance (thick TPO bars)
Spot areas of price rejection (thin TPO bars)
Understand where market participants are comfortable trading
Composite Profile Analysis
Create multi-day, weekly, or monthly composites instantly
Compare different composite periods without manual work
Analyze longer-term price acceptance levels
Build composites around specific events or announcements
Session Analysis
Monitor intraday session development in real-time
Compare different sessions (London, New York, Asia)
Track how profiles change throughout the trading day
Build live composites across multiple sessions
Event Analysis
Use Fixed Range mode for earnings, news events
Use Anchor mode to track price development from specific events
Compare pre/post event price acceptance levels
Create event-based composites automatically
Input Parameters
Mode Selection
Mode : Bars Back | Fixed Range | Anchor
Bars Back : Number of bars to analyze (10-500)
Start Time : Beginning time for Fixed Range and Anchor modes
End Time : Ending time for Fixed Range mode only
Analysis Configuration
Block Time : Timeframe for TPO blocks (e.g., "30" for 30-minute blocks)
TPO Levels : Number of price levels (5-200)
Value Area % : Percentage for Value Area calculation (50-95%)
Display Options
Show POC : Display Point of Control line
Show Value Area : Display Value Area box
Show VAH/VAL Lines : Display Value Area boundary lines
Show Single Prints : Display single print detection
Single Print Style : Lines or Boxes
Styling Controls
Colors : TPO, POC, Value Area, VAH, VAL, Single Print colors
Line Styles : POC, VAH, VAL line styles
Line Widths : POC, VAH, VAL line widths
Labels : Show/hide, font size, position, offset controls
Technical Details
Calculation Method
Divides the price range into equal levels based on TPO Levels setting
For each time block, determines which price levels it crosses
Adds +1 count to each crossed level
Identifies POC as the level with highest count
Calculates Value Area by expanding from POC until target percentage is reached
Performance Considerations
Historical data limited to prevent buffer overflow errors
Smart bounds checking for different timeframes
Optimized cleanup routines to prevent drawing object accumulation
Pine Script Version
Built on Pine Script v6
Uses modern Pine Script best practices
Efficient array handling and drawing object management
Best Practices
Timeframe Selection
Block Time = Chart Timeframe : Traditional TPO approach
Block Time > Chart Timeframe : Smoother, broader perspective
Block Time < Chart Timeframe : More granular, detailed analysis
Level Count Guidelines
Low levels (10-20) : Better for swing trading, major levels
High levels (50-100) : Better for scalping, precise entries
Very high levels (100+) : For very detailed analysis
Mode Selection
Bars Back : Daily analysis, recent activity
Fixed Range : Historical events, specific periods, manual composites
Anchor : Live monitoring, event-based analysis, growing composites
Composite Creation Workflow
Select Fixed Range or Anchor mode
Set your desired start time (and end time for Fixed Range)
Adjust TPO Levels for desired granularity
Enable VAH/VAL lines to see Value Area boundaries
The composite profile generates automatically with all key levels
This indicator eliminates the tedious manual process of creating composite TPO profiles in TradingView. Instead of splitting sessions and manually merging them, you get instant composite analysis with automatic Value Area calculation, POC identification, and single print detection. The combination of time-based analysis, multiple operating modes, and extensive customization options makes it a powerful tool for understanding market structure and price acceptance levels across any time period.
Pristine Fundamental AnalysisThe Pristine Fundamental Analysis indicator enables users to perform comprehensive fundamental stock analysis in a fraction of the time! 🏆
For swing/position traders, fundamental analysis is essential—it informs stock selection and strengthens conviction, enabling traders to stay in positions long enough to capture larger moves. Since every ticker represents both a business and a tradable asset, fundamental analysis perfectly complements technical analysis.
💠 Fundamental Analysis Insights - Weekly Timeframe
EPS & sales trends, margins & ratios, and valuation metrics are displayed on the weekly timeframe for in-depth analysis outside market hours.
💠 Fundamental Analysis Insights - Daily Timeframe
A slimmed down version of the fundamental analysis table is displayed on the daily timeframe to provide users quick insights into the fundamentals, while allowing them to focus on technical analysis during market hours.
💠 Fundamental Analysis Metrics to Deepen Understanding of Companies!
EARNINGS & SALES TRENDS
Why does it matter? Company stock prices tend to track the growth trajectory of earnings and sales over time. By analyzing fundamentals, users can gain an edge that pure technical traders do not have. This edge is most pronounced during big market dislocations when investors are forced to liquidate their top holdings.
▪ EPS - Measures year-over-year growth, quarter-over-quarter growth, and the surprise between actuals & analyst estimates
▪ Sales Analysis - Measures year-over-year growth, quarter-over-quarter growth, and the surprise between actuals & analyst estimates
MARGIN ANALYSIS
Why does it matter? Revenue is the lifeblood of a company. Margins measure company profits and expenditures as a percentage of revenue
▪ G% - Gross margin measures the percentage of revenue a company retained after subtracting the direct costs of producing the goods or services it sells, known as the cost of goods sold (COGS)
▪ CFO% - Measures the percentage of a company's revenue that was converted to Cash flow from operations (CFO). CFO, also known as operating cash flow (OCF), is the amount of cash a company generated from its core business activities over a specific period. It reflects the actual cash inflows and outflows resulting from the company’s main operations, such as selling products or providing services, and excludes cash flows from investing and financing activities.
▪ Net% - Net margin measures the percentage of revenue that was converted to net profit
▪ ROE% - Return on Equity measures how much net income a company produced for each dollar of equity invested by shareholders
▪ R&D% - R&D margin measures how much the company invested in research & development as a percentage of revenue
▪ D/E - The Debt to Equity ratio measures how much of a company’s financing comes from creditors (debt) versus owners (equity), providing insight into the company’s financial leverage and risk profile. The indicator tracks changes in the ratio over time
VALUATION METRICS
Why does it matter? Valuation metrics provide users an understanding of the potential risk if the fundamental trajectory of the company, or the broad market, changes! The more highly valued a company is, the more downside risk is present if conditions worsen, and vice versa.
▪ PE - The Price-to-Earnings ratio measures a company’s current share price relative to its trailing twelve-month(TTM) earnings per share (EPS). It helps investors assess how much they are paying for each dollar of a company’s earnings and is often used to gauge whether a stock is overvalued, undervalued, or fairly valued compared to its peers or historical averages.
▪ PS - The Price-to-Sales ratio measures a company’s current share price relative to its trailing twelve-month(TTM) sales per share. It helps investors assess how much they are paying for each dollar of a company’s sales and is often used to gauge whether a stock is overvalued, undervalued, or fairly valued compared to its peers or historical averages.
▪ BB% - Buyback yield measures the annual percentage of stock repurchased by the company. Share buybacks reduce total share count, which directly increases earnings per share!
💠 What Makes This Indicator Unique
There are many fundamental dashboards, however, what makes this indicator unique is customized metrics that were used to achieve back-to-back top finishes in the US Investing Championship. The main purpose of the indicator is to highlight companies with a history of EPS and sales acceleration , rather than focusing on the values in isolation, or even the growth of the values. Our goal is further evolution of the metrics and color signals based on continued backtesting and analysis of real-time market data.
▪ Custom Margin Metrics : Several of the margin metrics are unique and offer significant value beyond EPS and sales data alone.
For example, there are plenty of companies that have negative EPS due to non-cash expenses and/or investments they are making into their business, but that does not by itself mean that the companies are not worthy of an investment. Roblox (RBLX) is a great example. The company has consistently negative EPS, but the CFO% margin is positive! That means the core business throws off significant amounts of cash, and a large amount of it is being allocated to aggressive R&D spend, which is captured by the R&D% metric. This could propel the fundamentals of the business well into the future.
▪ Color Signals Based on Thresholds : The background colors of metrics are based on historical analysis and apply relevant thresholds to help users identify companies with strong fundamentals
▪ Comprehensive Inline Documentation : All headers cells offer detailed information about the relevant calculations/metrics as well as in-depth information on color coding and how to interpret each value. This small, yet important detail, allows users to quickly identify accelerating fundamental trends
💠 Practical Use Case Examples
Analyzing fundamentals to trade a Power Earnings Gap setup 👇
In August 2023, APP reported a +467% YoY increase in EPS, 181% higher than Wall Street estimates! This sparked a generational trading opportunity.👇
After the first earnings report with stellar earnings growth, APP rallied > 1000% in 2 years, following the trajectory of sales and EPS.👇
💠 Settings and Preferences
💠 Tips and Tricks
Fundamentals drive price action during periods of fundamental transition
▪ Pre-revenue companies that are anticipated to start earning revenue
▪ Revenue-generating companies that are anticipated to flip from negative to positive EPS
▪ Revenue-generating companies that are anticipated to flip from negative cash flow to positive cash flow
▪ Major accelerations or decelerations in sales or EPS
Niveaux Dealers + Previous M W D📊 TradingView Script – Dealers Levels & Previous D/W/M
🔹 General Purpose:
This advanced script provides a clear view of key market levels used by professional traders for scalping, day trading, and technical analysis. It combines manual levels (Dealer) set by the user with automated levels based on the previous day, week, and month’s highs and lows.
⸻
🧩 1. Dealers Levels Module (Manual)
✅ Features:
• Displays 28 customizable levels, grouped into 4 categories:
• Maxima: Buyer Control, Max Day, Max Event, Max Extreme
• Minima: Seller Control, Min Day, Min Event, Min Extreme
• Call Resistance: 10 user-defined levels
• Pull Support: 10 user-defined levels
🎨 Customization:
• Each level’s value is manually entered
• Line color, style, and thickness can be customized
• Display includes transparent labels with a clean design
🔧 Options:
• Line extension configurable:
• To the left: from 1 to 499 bars
• To the right: from 1 to 100 bars
• Label display can be toggled on/off
⸻
🧩 2. Previous Daily / Weekly / Monthly Levels Module (Automatic)
✅ Features:
• Automatically detects and plots:
• Previous Daily High / Low
• Previous Weekly High / Low
• Previous Monthly High / Low
🎯 Technical Details:
• Accurate calculation based on closed periods
• Dynamically extended lines (past and future projection)
• Labels aligned with the right-hand extension of each line
🎨 Customization:
• Each level has configurable color, line style, and thickness
• Labels use rectangle style with transparent background
⸻
⚙ Global Script Settings:
• Toggle display of labels (✔/❌)
• Configurable left extension (1–499) and right extension (1–100)
• Settings panel organized into groups for clarity and ease of use
⸻
💡 Usefulness:
This script provides traders with a precise map of price reaction zones, combining fixed institutional zones (Dealer levels) with dynamic historical levels (D/W/M). It’s ideal for intraday strategies on indices (e.g., Nasdaq), crypto, or forex markets.