Justin's Bitcoin Power Law Predictor (Santostasi Model)This indicator uses the Powerlaw to predict the BTC price.
Penunjuk dan strategi
PriceActionLibrary "PriceAction"
Hi all!
This library will help you to plot the market structure and liquidity. By now, the only part in the price action section is liquidity, but I plan to add more later on. The market structure will be split into two parts, 'Internal' and 'Swing' with separate pivot lengths. For these two trends it will show you:
• Break of structure (BOS)
• Change of character (CHoCH/CHoCH+) (mandatory)
• Equal high/low (EQH/EQL)
It's inspired by "Smart Money Concepts (SMC) " by LuxAlgo.
This library is now the same code as the code in my library 'MarketStructure', but it has evolved into a more price action oriented library than just a market structure library. This is more accurate and I will continue working on this library to keep it growing.
This code does not provide any examples, but you can look at my indicators 'Market structure' () and 'Order blocks' (), where I use the 'MarketStructure' library (which is the same code).
Market structure
Both of these market structures can be enabled/disabled by setting them to 'na'. The pivots lengths can be configured separately. The pivots found will be the 'base' of and will show you when price breaks it. When that happens a break of structure or a change of character will be created. The latest 5 pivots found within the current trends will be kept to take action on. They are cleared on a change of character, so nothing (break of structures or change of characters) can happen on pivots before a trend change. The internal market structure is shown with dashed lines and swing market structure is shown with solid lines.
Labels for a change of character can have either the text 'CHoCH' or 'CHoCH+'. A Change of Character plus is formed when price fails to form a higher high or a lower low before reversing. Note that a pivot that is created after the change of character might have a higher high or a lower low, thus not making the break a 'CHoCH+'. This is not changed after the pivot is found but is kept as is.
A break of structure is removed if an earlier pivot within the same trend is broken, i.e. another break of structure (with a longer distance) is created. Like in the images below, the first pivot (in the first image) is removed when an earlier pivot's higher price within the same trend is broken (the second image):
[image [https://www.tradingview.com/x/PRP6YtPA/
Equal high/lows have a configurable color setting and can be configured to be extended to the right. Equal high/lows are only possible if it's not been broken by price. A factor (percentage of width) of the Average True Length (of length 14) that the pivot must be within to to be considered an Equal high/low. Equal highs/lows can be of 2 pivots or more.
You are able to show the pivots that are used. "HH" (higher high), "HL" (higher low), "LH" (lower high), "LL" (lower low) and "H"/"L" (for pivots (high/low) when the trend has changed) are the labels used. There are also labels for break of structures ('BOS') and change of characters ('CHoCH' or 'CHoCH+'). The size of these texts is set in the 'FontSize' setting.
When programming I focused on simplicity and ease of read. I did not focus on performance, I will do so if it's a problem (haven't noticed it is one yet).
You can set alerts for when a change of character, break of structure or an equal high/low (new or an addition to a previously found) happens. The alerts that are fired are on 'once_per_bar_close' to avoid repainting. This has the drawback to alert you when the bar closes.
Price action
The indicator will create lines and zones for spotted liquidity. It will draw a line (with dotted style) at the price level that was liquidated, but it will also draw a zone from that level to the bar that broke the pivot high or low price. If that zone is large the liquidation is big and might be significant. This can be disabled in the settings. You can also change the confirmation candles (that does not close above or below the pivot level) needed after a liquidation and how many pivots back to look at.
The lines and boxes drawn will look like this if the color is orange:
Hope this is of help!
Will draw out the market structure for the disired pivot length.
Liqudity(liquidity)
Will draw liquidity.
Parameters:
liquidity (Liquidity) : The 'PriceAction.Liquidity' object.
Pivot(structure)
Sets the pivots in the structure.
Parameters:
structure (Structure)
PivotLabels(structure)
Draws labels for the pivots found.
Parameters:
structure (Structure)
EqualHighOrLow(structure)
Draws the boxes for equal highs/lows. Also creates labels for the pivots included.
Parameters:
structure (Structure)
BreakOfStructure(structure)
Will create lines when a break of strycture occures.
Parameters:
structure (Structure)
Returns: A boolean that represents if a break of structure was found or not.
ChangeOfCharacter(structure)
Will create lines when a change of character occures. This line will have a label with "CHoCH" or "CHoCH+".
Parameters:
structure (Structure)
Returns: A boolean that represents if a change of character was found or not.
VisualizeCurrent(structure)
Will create a box with a background for between the latest high and low pivots. This can be used as the current trading range (if the pivots broke strucure somehow).
Parameters:
structure (Structure)
StructureBreak
Holds drawings for a structure break.
Fields:
Line (series line) : The line object.
Label (series label) : The label object.
Pivot
Holds all the values for a found pivot.
Fields:
Price (series float) : The price of the pivot.
BarIndex (series int) : The bar_index where the pivot occured.
Type (series int) : The type of the pivot (-1 = low, 1 = high).
Time (series int) : The time where the pivot occured.
BreakOfStructureBroken (series bool) : Sets to true if a break of structure has happened.
LiquidityBroken (series bool) : Sets to true if a liquidity of the price level has happened.
ChangeOfCharacterBroken (series bool) : Sets to true if a change of character has happened.
Structure
Holds all the values for the market structure.
Fields:
LeftLength (series int) : Define the left length of the pivots used.
RightLength (series int) : Define the right length of the pivots used.
Type (series Type) : Set the type of the market structure. Two types can be used, 'internal' and 'swing' (0 = internal, 1 = swing).
Trend (series int) : This will be set internally and can be -1 = downtrend, 1 = uptrend.
EqualPivotsFactor (series float) : Set how the limits are for an equal pivot. This is a factor of the Average True Length (ATR) of length 14. If a low pivot is considered to be equal if it doesn't break the low pivot (is at a lower value) and is inside the previous low pivot + this limit.
ExtendEqualPivotsZones (series bool) : Set to true if you want the equal pivots zones to be extended.
ExtendEqualPivotsStyle (series string) : Set the style of equal pivot zones.
ExtendEqualPivotsColor (series color) : Set the color of equal pivot zones.
EqualHighs (array) : Holds the boxes for zones that contains equal highs.
EqualLows (array) : Holds the boxes for zones that contains equal lows.
BreakOfStructures (array) : Holds all the break of structures within the trend (before a change of character).
Pivots (array) : All the pivots in the current trend, added with the latest first, this is cleared when the trend changes.
FontSize (series int) : Holds the size of the font displayed.
AlertChangeOfCharacter (series bool) : Holds true or false if a change of character should be alerted or not.
AlertBreakOfStructure (series bool) : Holds true or false if a break of structure should be alerted or not.
AlerEqualPivots (series bool) : Holds true or false if equal highs/lows should be alerted or not.
Liquidity
Holds all the values for liquidity.
Fields:
LiquidityPivotsHigh (array) : All high pivots for liquidity.
LiquidityPivotsLow (array) : All low pivots for liquidity.
LiquidityConfirmationBars (series int) : The number of bars to confirm that a liquidity is valid.
LiquidityPivotsLookback (series int) : A number of pivots to look back for.
FontSize (series int) : Holds the size of the font displayed.
PriceAction
Holds all the values for the general price action and the market structures.
Fields:
Liquidity (Liquidity)
Swing (Structure) : Placeholder for all objects used for the swing market structure.
Internal (Structure) : Placeholder for all objects used for the internal market structure.
ValdesTradingBot BB %B / BBW (Long & Short)ValdesTradingBot BB %B / BBW (Long & Short)
Overview
ValdesTradingBot BB %B / BBW (Long & Short) is a volatility and trend-based strategy that uses Bollinger Bands (%B and Band Width) to detect potential re-entry signals in both directions. It is designed for cryptocurrency trading but can be applied to other markets as well.
The strategy combines entry signals from band re-entries with optional filters for trend direction (EMA) and volatility (BBW). Once in a trade, it manages positions using multiple take-profit levels, trailing exits, and a configurable breakeven system.
How it works
Entry conditions (high-level):
Long signals: Price re-enters from below the Bollinger Band or %B crosses upward.
Short signals: Price re-enters from above the Bollinger Band or %B crosses downward.
Filters:
EMA filter: Optional, only takes longs above the EMA and shorts below.
BBW filter: Optional, requires a minimum band width and can require expansion.
Risk management & exits:
Stop Loss: ATR-based initial stop.
Breakeven: Optional; moves stop to entry once price has moved X% in favor (user-defined).
Take Profits: Up to 4 fixed TP levels, each with configurable percentages of the position size.
Trailing Stops: 2 trailing slices that lock in gains as price extends.
Inputs & settings
Bollinger Band Length & Multiplier – defines bands.
EMA Trend Filter – on/off + EMA length.
BBW Filter – on/off, min width, require rising.
ATR Length & Multiplier – defines initial stop distance.
TP1–TP4 % & Allocation – user can set levels and how much to close at each.
TP5–TP6 Trailing % & Allocation – trailing stops and allocations.
Breakeven Trigger % – percent move required to shift stop to entry.
Cooldown bars – blocks instant re-entries after closing a trade.
Recommended usage
Best timeframe: 30-minute chart.
Markets: Crypto pairs (BTC, ETH, majors); adaptable to Forex or stocks.
Starting settings:
EMA filter ON with EMA 200.
BB Multiplier: 1.9–2.2.
ATR Stop x: 5–8.
Breakeven Trigger: 1–2%.
BBW filter OFF (enable if too many signals).
Alerts & automation
The script includes alert conditions for:
Enter Long
Enter Short
All Exited / Flat
Alerts are provided with JSON payloads so they can be used in automation platforms (e.g., via webhooks). Configure on “Any alert() function call” or per-condition basis.
Notes & disclaimer
This is a strategy for research and educational purposes only.
Results vary by market, timeframe, and settings — always forward-test before live trading.
This does not guarantee profits and is not financial advice.
Past performance is not indicative of future results.
Auto Trend Lines v1.0 This advanced Pine Script indicator automatically detects and draws support and resistance trendlines for any instrument based on two independent lookback periods—short-term and long-term—making it suitable for all types of traders. The indicator identifies pivot highs and lows for both user-configurable lookback lengths, draws trendlines from each anchor point to the current bar, and supports a visually intuitive chart by coloring and labeling each line type separately.
Key features:
Dual lookback: Choose separate short-term and long-term sensitivity for pivots and trendlines.
Customizable: Select the number of displayed lines, colors, and line widths to suit your preferences.
Auto-updating: Trendlines update dynamically with new pivots and extend to the latest bar.
This indicator is ideal for those who want to automate trendline analysis, spot key breakout and reversal areas, and streamline technical trading.
True Order Block (OB) True Order Block (OB)
This script automatically detects and plots Order Blocks (OBs) based on the presence of Fair Value Gaps (FVGs).
Only Order Blocks are displayed on the chart.
🔎 How it works
The script looks for Fair Value Gaps (FVGs) according to a relaxed 3-candle definition.
Once an FVG is detected:
For a Bullish FVG → the last bearish candle before the gap is marked as the Bullish Order Block.
For a Bearish FVG → the last bullish candle before the gap is marked as the Bearish Order Block.
OBs are extended into the future until price either:
mitigates the zone (optional auto-removal), or
the number of live OBs exceeds the user’s maximum (FIFO cleanup).
⚙️ User settings
Draw Order Blocks (enable/disable plotting)
Minimum OB length (how far each zone extends initially)
Remove OB after violation (auto delete invalidated zones)
Max active OBs (limit on displayed zones for clarity)
Bullish/Bearish OB colors
✅ Key features
Fully automated OB detection
No clutter – only OBs are plotted (FVG logic hidden in the background)
Smart cleanup: mitigated zones are removed automatically
Customizable colors & limits
⚠️ Notes
This tool is designed for educational and analytical purposes only.
It does not generate trade signals.
Always combine with your own strategy, market context, and risk management.
MACD Lissé Smoothed MACD – Custom Indicator
This indicator is an enhanced version of the classic MACD, designed to balance responsiveness and noise reduction. It uses a short HMA (Hull Moving Average) smoothing to track price movements faster while keeping the signal smooth.
Key Features:
HMA-Smoothed MACD: Tracks trends with less lag than a standard MACD.
Signal Line: A simple EMA applied to the smoothed MACD to identify crossovers and generate buy/sell signals.
Filtered Histogram: Shows the difference between the smoothed MACD and its signal line, with an optional threshold to focus on meaningful movements and reduce visual noise.
Customizable Parameters:
Fast EMA Length and Slow EMA Length to adjust the classic MACD
HMA MACD Smoothing for faster or smoother MACD response
Signal Smoothing to fine-tune the signal line
Histogram Threshold to filter small movements and reduce noise
This indicator is ideal for traders who want a MACD that is responsive but not ultra-smoothed, perfect for spotting trend changes quickly without being overwhelmed by minor price fluctuations.
Colors and Display:
Smoothed MACD: Blue
Signal Line: Orange
Histogram: Green (positive) / Red (negative)
TIKOLE SVM Sentiment Combo Oscillator MACD"This one has MACD and RSI. Accuracy is very good. Best for 5-minute and 15-minute timeframes."
The script combines MACD-style histogram with RSI logic.
It gives high accuracy signals.
Works best on 5-minute and 15-minute charts (scalping + intraday).
⚡MACD (fast EMA / slow EMA) into the same script along with your RSI sentiment oscillator, so you’ll get a dual-confirmation system (RSI sentiment + MACD crossover + histogram).
Fear & Greed Oscillator — LEAPs (v6, manual DMI/ADX)Fear & Greed Oscillator for LEAPs — a composite sentiment/trend tool that highlights long-term fear/greed extremes and trend quality for better LEAP entries and exits.
This custom Fear & Greed Oscillator (FGO-LEAP) is designed for swing trades and long-term LEAP option entries. It blends multiple signals — MACD (trend), ADX/DMI (trend quality), OBV (accumulation/distribution), RSI & Stoch RSI (momentum), and volume spikes — into a single score that ranges from –100 (extreme fear) to +100 (extreme greed). The weights are tuned for LEAPs, emphasizing slower trend and accumulation signals rather than short-term noise.
Use Weekly charts for the main signal and Daily only for entry timing. Entries are strongest when the score is above zero and rising, with both MACD and DMI positive. Extreme Fear (< –60) can mark long-term bottoms when followed by a recovery, while Extreme Greed (> +60) often signals overheated conditions. A cross below zero is an early warning to reduce or roll positions.
Z-Score with Scaled RSICombination of a Zscore and a rsi. The goal is to measure the situation of the volatility byu a zscore confirmed with a rsi
Gann Bosameer This indicator identifies dynamic support and resistance levels using Gann angles from highs and lows.
It helps traders visualize the “price ladder” for potential upward or downward moves, with both manual and automatic pivot options and multiple angle selections.
⚠️ For analytical purposes only – not a financial advice or trading recommendation.
TIKOLE SVM Sentiment Combo Oscillator MACD"This one has MACD and RSI. Accuracy is very good. Best for 5-minute and 15-minute timeframes."
So basically, you mean:
The script combines MACD-style histogram with RSI logic.
It gives high accuracy signals.
Works best on 5-minute and 15-minute charts (scalping + intraday).
⚡ If you want, I can also add MACD (fast EMA / slow EMA) into the same script along with your RSI sentiment oscillator, so you’ll get a dual-confirmation system (RSI sentiment + MACD crossover + histogram).
Market Breadth (NIFTY50)This market breadth indicator good to indentified short term market sentiment.
Moving Averages with ADR%/ATR/52W/Market Cap TableMoving Average
ADR
ATR
52 Week High/Low
Market Cap
ICT Session High/Low LevelsThis indicator automatically plots the Highs and Lows of completed sessions and draws lines for the Asian session and London session. Levels are displayed only after each session has closed. A simple tool for liquidity work and intraday context (SMC/ICT).
X FocusDesigned to help traders reduce distractions by de-emphasizing specific time ranges on the chart. Instead of highlighting high-activity zones, this tool intentionally applies a muted overlay to selected sessions, allowing traders to concentrate on price action that occurs outside those designated ranges.
Core Purpose
The primary goal of this indicator is to combat the “noise” that often arises during certain periods, such as overnight sessions or pre-market trading. By visually softening those areas, traders can focus on the more relevant trading windows WITHOUT losing any time-based context. Unlike traditional tools that remove data entirely, X Focus preserves all candlestick and price information—ensuring that key levels, gaps, or reference values are still visible.
Key Features
Custom Session Filtering
Users can define up to three time ranges depending on preference. This flexibility allows for tailoring the indicator to different market strategies.
De-Emphasis by Design
Instead of masking or deleting data, the indicator overlays a semi-transparent shading box over the chosen sessions. This ensures traders remain aware of the data while maintaining visual focus on the price action outside of the selected time blocks.
Dual Utility – Highlight or Suppress
While built on the principle of minimizing distractions, the same framework can also be used in reverse to highlight specific areas of interest. This versatility makes it suitable for both noise-reduction and spotlighting critical ranges.
Dark Mode / Light Mode
Adjustable color schemes allow seamless integration into any chart setup, whether the user prefers dark or light backgrounds.
Non-Intrusive Visualization
The shading effect is applied without altering price bars, indicators, or other overlays. This ensures compatibility with existing technical tools and strategies.
Use Case
Traders who find themselves reacting too strongly to inconsequential movements during certain times (such as after-hours or low-volume sessions) can benefit from the X Focus indicator. It helps maintain clarity and discipline by visually guiding attention toward the periods that matter most—without erasing or ignoring potentially useful price references.
Androlog DailyWeeklyMonthlyAndrologLevel — Daily / Weekly / Monthly Levels
This indicator visualizes the Daily, Weekly, and Monthly key levels introduced by Daniel. It’s intentionally minimal and fast, focused on clean higher‑timeframe references for intraday and daily trading.
What it shows:
Daily open and prior‑day high/low
Weekly and Monthly “open”-based levels
Optional labels for quick price readouts
Controls
Show only new levels or keep/extend old ones
Choose whether levels extend to the right
Alerts
Optional alert conditions for level touches (per your settings)
Uses confirmed higher‑timeframe bars; no historical repaint
SP500 Droite CAGR Auto (bandes + label dynamique)This indicator plots the long-term Compound Annual Growth Rate (CAGR) line of the S&P500 from a chosen start date (default: 1973).
It helps visualize whether the index is currently overvalued or undervalued compared to its historical growth trend.
Key Features:
CAGR Trendline (red): straight line connecting the start price (e.g. 1973 = 111.05 points) to today’s price based on compounded average growth.
Observed vs Fixed Mode:
Observed → CAGR automatically calculated from start date to the present.
Fixed → user-defined CAGR (e.g. 8.3%/year).
±20% and ±10% Bands (toggle on/off):
Provide tolerance zones around the long-term trend.
Useful to identify over/undervaluation ranges.
Customizable colors: for trendline and both bands.
Dynamic label (at the latest bar):
Displays the CAGR used (% per year).
Shows current deviation of the S&P500 from the CAGR line.
Gives a clear reading:
✅ “SP500 in the central band”
🟧 “SP500 between ±10% and ±20%”
🔴 “SP500 > +20% (overvalued)”
🟩 “SP500 < -20% (undervalued)”
Purpose:
This tool is designed for long-term investors. It helps to:
Spot periods of structural overvaluation (excessive bull markets).
Identify historical undervaluation phases (long-term opportunities).
Serve as an objective benchmark against short-term market noise.
⚠️ Tip: use the indicator with a logarithmic scale for correct visualization of compounded growth (the CAGR line appears straight on a log chart).
Lucid Lion Entry Sniper V1The Lucid Lion Entry Sniper V1 is not your average indicator — it’s your private trading edge, built to help you pinpoint high-probability entries with laser accuracy. Designed for serious traders, this invite-only tool gives you the clarity you need to act with confidence in fast-moving markets
The Entry Sniper analyzes multiple layers of price action and market behavior to highlight potential setups in real-time. When conditions align, you get instant visual cues right on your chart — helping you react faster and with greater confidence.
This tool is invite-only and is not available in the TradingView public library.
To request access send and email to: LucidLionLLC@icloud.com
Trading involves risk. The Lucid Lion Entry Sniper V1 is designed as a market analysis tool to support your decision-making process — it does not guarantee profits. Always trade responsibly and manage your risk.
NYC Candle TimesMarca las horas de apertura de las velas en los diferentes timeframes.
Marks the opening hours of the candles on the different timeframes.
BOS & CHoCH (v6, UA)The logic of the trading strategy
This is a well-structured and concise summary of a trading strategy based on market structure analysis. Here is the English translation.
Swings
ta.pivothigh/low on a selected structure timeframe (TF). When a swing is confirmed, we fix the level and the bar_index of the current chart as an anchor for a horizontal line.
BOS (Break of Structure)
A breakout of the last Swing High (SH) or Swing Low (SL) in the direction of the current trend.
CHoCH (Change of Character)
A breakout against the trend, signaling a potential trend reversal.
Breakout
By close or by high/low (you can switch the breakout confirmation mode to closing price).
EMAS + SuperTrend+ Key Levels SpacemanBTC IDWMEma 200 800 supertrend and key levels.
Thanks to spaceman for making the code available.
Svl - Trading SystemPrice can tell lies but volume cannot, so keeping this in mind I have created this indicator in which you see sell order block and buy order block on the basis of price action + volume through which we execute our trade
First of all, let us know its core concepts and logic, which will help you in taking the right decisions in it.
core concept of the " Svl - Trading System " TradingView indicator is based on professional price action, volume, and swing structure. This indicator smartly gives real-time insights of important price turning points, reversal zones, and trend continuation. Its deep explanation is given below.
Edit - default swing length -5 , change according your nature , tested With 7 For 5 minute timeframe
Core Concept:
1. Swing Structure Detection
The indicator automatically detects swing highs (HH/LH) and swing lows (HL/LL) on the chart.
HH: Higher High
HL: Higher Low
LH: Lower High
LL: Lower Low
These swings are the backbone of price action – signaling a change in trend, a bounce, reversal or trend continuation.
2. Order Block (OB) Mapping
Buy Order Block (Buy OB): When the indicator detects the HL/LL swing, we declare Buy OB, the lowest point of the swing.
Sell Order Block (Sell OB): On HH/LH swing, the highest point of our swing is called Sell OB.
Order Blocks are those important zones of price where historically price has reacted strongly – where major clusters of buyers/sellers are located in the market.
3. Volume Analysis (Optional Dashboard/Barcolor)
The candle color depends on the volume ranking on the chart (most high/low, normal, pressure blue shade).
Highest/lowest volume candles are a special highlight, which helps to spot liquidity spikes, exhaustion, or big orders.
4. Live Dashboard
There is an automated dashboard in the top-right of the chart, which shows this in real-time:
Last swing type (HH/HL/LH/LL)
Reversal price (last swing level)
Swing direction (Bull/Bear/Neutral)
Volume, Buy OB, Sell OB, etc.
This helps the trader understand the market situation at a glance.
5. Smart Plotting/Labels
Buy/Sell are plotted as distinct lines on the OB chart.
The Labels option gives clear visual swing points.
All calculations are fast and automated – the user does not need to mark manually.
This indicator is an advanced, fully-automated price action tool that combines
trend, reversal, volume, liquidity and zone detection in one smart system,
makes entry/exit decisions objective and error-free,
and provides complete trading confidence with a live monitor/dashboard.
All of its functions/properties such as: swing detect, OB plot, volume color, dashboard follow best practice for professional chart analysis!