Supply & Demand Zones
_____________________________________________________________________
Supply and Demand Zones
This indicator displays valid Supply and Demand zones on any chart and timeframe, using dynamically updating visuals. Users can see the moment that zones become validated, used, and then invalidated during live sessions. It is sleek, lightweight, and offers a feature-rich settings panel that allows customization of how each element appears and functions. Zones can enhance the probability of successful trades by locating areas that are most likely to contain resting orders of Supply or Demand, which are needed for price reversals.
Disclaimer
____________________
Like all indicators, this can be a valuable tool when incorporated into a comprehensive, risk-based trading system.
Supply and Demand is not the same thing as Support and Resistance.
Trading based on price hitting a zone without understanding which zones are of higher quality and which are of lower quality (only discernible with a trained human eye) will yield poor results.
Supply and Demand works well as a system and even better when added to an existing one. However, like all effective trading techniques, it requires diligent study, practice, and repetition to become proficient. This is an indicator for use with Supply and Demand concepts, not a replacement for learning them.
Features
____________________
Once a valid candle sequence is confirmed, a box will appear that displays the zone over the precise zone range. At 50% zone penetration, a zone becomes used , and at 100% it becomes invalidated . Each of these zone classifications changes the behavior of the zone on the chart immediately. The settings panel offers custom colors for Supply , Demand , Used , and Invalidated zone types.
Borders : The subtle border colors can be changed or hidden.
Boxes or Bases : Advanced users can opt to hide zone boxes and instead display small, subtle tags over base candle groups. This allows for more customizable selection over what is displayed and how.
Max Zones and Hide Invalidated :
There are limitations on how many objects TradingView allows at once. Because of this, once zones go from used to invalidated , they are hidden (deleted) by default. This allows the zones index to be allocated to display more valid , usable zones instead. If a user prefers to keep invalidated zones visible, they can be enabled; however, this will result in showing more recent zones for fewer historical zones.
All zones share one pool, so if you allow fifty max zones, forty-five might be supply while five might be demand on a big sell-off trend. You will always see the most recent zones, regardless of type or status.
It’s up to you how much clutter you want on your screen and how much improved load time you want - but once loaded, zone creation and function are always instantaneous.
Load Time
____________________
Load time refers to the time it takes from when you switch tickers or timeframes before the zones are displayed initially. There is zero lag in the dynamic function and minimal load time, regardless of settings. However, if you are a fine-tuner or multi-screener, the number of Max Zones displayed is the only major variable affecting load time.
I run everything at Max when I develop. When I trade, I run mine at 25 max zones because I change timeframes often and want a very quick display of zones when I do. I have invalidated hidden, and simply enable it if I want to check an old zone. This gives me more zones than I need and reduces the load time to right where I like it.
Thresholds
____________________
It is recommended to leave these as the default.
Base Body Threshold : Determines the maximum ratio of a candle’s body to wick before invalidation. Default (50% or 0.5). A higher number loosens thresholds, resulting in more zones being displayed.
Unrequire 2nd FT if LO is Strong & Strength Multiplier :
The standard logic sequence requires two Follow-Through candles. Under some strong price movement, Leg-Out candles can make an explosive directional move from a base, making a convincing argument for supply and demand perfectly at work, if not for a single Follow-Through candle instead of two.
By enabling this feature, you can tell the script to ignore second Follow-Through candles, if and only if, the Leg-Out candle's range is (Strength) X the base range. exceeds the range of the Base by a factor of X (Strength). ie: At 5x, this would require a Leg-Out range to be 500% the range of the Base.
If enabled and the Leg-Out is not strong enough, the default logic kicks in, and a second follow-through candle will validate the zone as per usual. This loosens thresholds overall and should result in more zones.
Recommended Usage
____________________
Form a thesis using your primary trend trading system (eg: Elliott Wave, Structure Reversal, TheStrat, et al) to identify locations of a pullback for a long or short entry.
Identify a pullback area using your system, then use this indicator to find a high-quality zone on your chosen timeframe.
Once located, draw your own channel over the indicator's zone box. Start on 1m, check for zones, 2m, 3m, and so on. When you see a zone you like, recreate it; thus, when finished, you can see every timeframe’s highest-quality zones that you created, regardless of what timeframe you switch to. Tip: Be selective
To make the process faster, save a channel design in settings for “Demand” and one for “Supply”, then you can quickly get through this process in less than a minute with practice.
Optional: Use additional methods (eg: Fibonacci retracements, Elliott Wave Theory, Anchored VWAPs) to find congruent confirmation.
Version 1.0
____________________
No known bugs remain from the closed beta.
In Development
____________________
Powerful combination zones occur when standard zone sequences are extended with additional levels of demand or supply by adding more conditionals to the state machine logic. Got this mostly working in a dev version and it adds minimal extra resources. Set aside to polish a clean standard 1.0 for release first, but now displaying these extended zones is my top priority for next version.
MTF support is essentially working in a dev copy, but adds resources. Not sure if it is in the spirit of price action being the primary focus of a chart for serious traders, rather than indicators. If there is demand for it, I'll consider it.
Additional Threshold Settings
Thanks!
____________________
Thank you for your interest in my work. This was a personal passion project of mine, and I was delighted it turned out better than I hoped, so I decided to share it. If you have any comments, bugs, or suggestions, please leave them here, or you can find me on Twitter or Discord.
@ ContrarianIRL
Open-source developer for over 25 years
Corak carta
ICT Order Blocks v2 (Debug)Josh has a very large PP xD
Understanding Order Blocks (OBs) - The ICT Perspective
This document delves into the concept of Order Blocks (OBs) from the perspective of the ICT methodology. It outlines what OBs are, their significance in trading, and how the "ICT Order Blocks v2 (Refined)" indicator functions to identify and visualize these critical price levels. By understanding OBs, traders can better navigate market movements and make informed decisions based on institutional trading behavior.
What is an Order Block (OB)?
Within ICT methodology, an Order Block represents a specific price candle where significant buying or selling interest from institutions (Smart Money) is believed to have occurred. They are potential areas where price might return and react.
Bullish Order Block: Typically the last down-closing candle before a strong, impulsive upward move (displacement). It suggests institutions may have absorbed selling pressure and initiated long positions here.
Bearish Order Block: Typically the last up-closing candle before a strong, impulsive downward move (displacement). It suggests institutions may have distributed long positions or initiated short positions here.
Why are OBs Significant (ICT View)?
Institutional Footprint: They mark potential zones of large order execution.
Support/Resistance: Unmitigated OBs can act as sensitive price levels where reactions are expected. Bullish OBs may provide support; Bearish OBs may provide resistance.
Origin of Moves: They often mark the origin point of significant price swings.
Liquidity Engineering: Institutions might drive price back to OBs to mitigate earlier positions or to engineer liquidity before continuing a move.
Common Refinements
ICT often emphasizes higher probability OBs that are associated with:
Displacement: The move away from the OB is sharp and decisive.
Fair Value Gaps (FVGs): An FVG forming immediately after the OB strengthens its validity.
OB Mitigation: This refers to price returning to the level of the Order Block after its formation. Price might react at the edge (proximal line) or the 50% level (mean threshold) of the OB. An OB is often considered fully mitigated or invalidated if price trades decisively through its entire range, especially with a candle body closing beyond it.
How the "ICT Order Blocks v2 (Refined)" Indicator Works
This indicator automates the detection and visualization of the most recent unmitigated Order Block of each type (Bullish/Bearish), incorporating optional filters.
Detection:
It looks at the relationship between the candle two bars ago ( ), the previous candle ( ), and potentially the current candle ( ).
Bullish OB: Identifies if candle was a down-close (close < open ) AND candle broke above the high of candle (high > high ).
Bearish OB: Identifies if candle was an up-close (close > open ) AND candle broke below the low of candle (low < low ).
Accuracy Filters (Optional Inputs):
These filters help identify potentially higher-probability OBs:
Require Fair Value Gap (FVG)?: If enabled, the indicator checks if an FVG formed immediately after the OB candle ( ). Specifically, it looks for a gap between candle and candle (low > high for Bullish OB confirmation, high < low for Bearish).
Require Strong Close Breakout?: If enabled, it requires the breakout candle ( ) to close beyond the range of the OB candle ( ). (close > high for Bullish, close < low for Bearish). This suggests stronger confirmation.
Storing the Most Recent OB:
When an OB is detected and passes any enabled filters, its details (high, low, formation bar index) are stored. Crucially, this indicator only tracks the single most recent valid unmitigated OB of each type (one Bullish, one Bearish) using var variables. If a newer valid OB forms, it replaces the previously stored one.
Drawing Boxes:
If a valid Bullish OB is being tracked (and Show Bullish OBs is enabled), it draws a box (box.new) using the high and low of the identified OB candle ( ). The same process applies to Bearish OBs (Show Bearish OBs enabled). The boxes automatically extend to the right (extend.right) and their right edge is updated on each new bar (box.set_right) until they are mitigated. Labels ("Bull OB" / "Bear OB") are displayed inside the boxes.
Mitigation & Box Deletion:
The indicator checks if the current closing price (close ) has moved entirely beyond the range of the tracked OB.
Mitigation Rule Used: A Bullish OB is considered mitigated if close < bull_ob_low. A Bearish OB is considered mitigated if close > bear_ob_high. Once an OB is marked as mitigated, the indicator stops tracking it and its corresponding box is automatically deleted (box.delete) from the chart.
This indicator provides a dynamic visualization of the most recent, potentially significant Order Blocks that meet the specified criteria, helping traders identify key areas of interest based on ICT principles.
Ichimoku Cloud Auto TF🧠 Timeframe Breakdown for Ichimoku Cloud Auto TF
Each timeframe in this indicator is carefully calibrated to reflect meaningful Ichimoku behavior relative to its scale. Here's how each one is structured and what it's best used for:
⏱️ 1 Minute (1m)
Tenkan / Kijun / Span B: 5 / 15 / 45
Use: Scalping fast price action.
Logic: Quick reaction to short-term momentum. Best for highly active traders or bots.
⏱️ 2 Minutes (2m)
Tenkan / Kijun / Span B: 6 / 18 / 54
Use: Slightly smoother than 1m, still ideal for scalping with a little more stability.
⏱️ 5 Minutes (5m)
Tenkan / Kijun / Span B: 8 / 24 / 72
Use: Intraday setups, quick trend capture.
Logic: Balanced between reactivity and noise reduction.
⏱️ 15 Minutes (15m)
Tenkan / Kijun / Span B: 9 / 27 / 81
Use: Short-term swing and intraday entries with higher reliability.
⏱️ 30 Minutes (30m)
Tenkan / Kijun / Span B: 10 / 30 / 90
Use: Intra-swing entries or confirmation of 5m/15m signals.
🕐 1 Hour (1H)
Tenkan / Kijun / Span B: 12 / 36 / 108
Use: Ideal for swing trading setups.
Logic: Anchored to Daily reference (1H × 24 ≈ 1D).
🕐 2 Hours (2H)
Tenkan / Kijun / Span B: 14 / 42 / 126
Use: High-precision swing setups with better context.
🕒 3 Hours (3H)
Tenkan / Kijun / Span B: 15 / 45 / 135
Use: Great compromise between short and mid-term vision.
🕓 4 Hours (4H)
Tenkan / Kijun / Span B: 18 / 52 / 156
Use: Position traders & intraday swing confirmation.
Logic: Designed to echo the structure of 1D Ichimoku but on smaller scale.
📅 1 Day (1D)
Tenkan / Kijun / Span B: 9 / 26 / 52
Use: Classic Ichimoku settings.
Logic: Standard used globally for technical analysis. Suitable for swing and position trading.
📆 1 Week (1W)
Tenkan / Kijun / Span B: 12 / 24 / 120
Use: Long-term position trading & institutional swing confirmation.
Logic: Expanded ratios for broader perspective and noise filtering.
🗓️ 1 Month (1M)
Tenkan / Kijun / Span B: 6 / 12 / 24
Use: Macro-level trend visualization and investment planning.
Logic: Condensed but stable structure to handle longer data cycles.
📌 Summary
This indicator adapts Ichimoku settings dynamically to your chart's timeframe, maintaining logical ratios between Tenkan, Kijun, and Span B. This ensures each timeframe remains responsive yet meaningful for its respective market context.
Engulfing Candle Pattern (Strict)Indicator Name :
Engulfing Candle Pattern (Strict)
Purpose :
The Engulfing Candle Pattern Indicator is designed to identify and visually mark bullish and bearish engulfing patterns on a price chart. These patterns are powerful reversal signals in technical analysis, often used by traders to spot potential trend changes. The indicator ensures strict adherence to the definition of engulfing patterns, making it reliable for identifying high-probability setups.
What It Does :
Identifies Engulfing Patterns :
The indicator scans the price data for candles that meet the criteria of either a bullish engulfing or bearish engulfing pattern .
A bullish engulfing occurs when a green (bullish) candle fully engulfs the body and wicks of the previous red (bearish) candle and closes above its high.
A bearish engulfing occurs when a red (bearish) candle fully engulfs the body and wicks of the previous green (bullish) candle and closes below its low.
Marks Patterns Visually :
Bullish engulfing patterns are marked with a green upward triangle below the candle.
Bearish engulfing patterns are marked with a red downward triangle above the candle.
Optional labels ("Bullish" or "Bearish") provide additional context.
Highlights Candles :
Engulfing candles are highlighted with semi-transparent colors:
Green for bullish engulfing.
Red for bearish engulfing.
Ensures Strict Conditions :
The current candle must fully cover the entire body and wicks of the previous candle.
The current candle must close above the previous candle's high (for bullish) or below the previous candle's low (for bearish).
Enhanced Scalping Strategy with Supertrend and MACD by TGK Enhanced Scalping Strategy with Supertrend and MACD
This strategy combines technical indicators to generate signals for opening and closing long and short positions. Below is a detailed explanation of how these signals and exit mechanisms work.
Long and Short Signals
**Long Signal (Buy):**
- **Conditions:** A signal is generated when the following conditions are met:
- The Supertrend indicator shows an uptrend (`direction == 1`).
- A bullish engulfing pattern is detected (`bullishEngulfing`).
- MACD is above the signal line (`macdLine > signalLine`).
- **Actions:** Upon signal generation, a long position is opened (`strategy.entry("Long", strategy.long)`).
**Short Signal (Sell):**
- **Conditions:** A signal is generated when the following conditions are met:
- The Supertrend indicator shows a downtrend (`direction == -1`).
- A bearish engulfing pattern is detected (`bearishEngulfing`).
- MACD is below the signal line (`macdLine rsiOverbought`).
- **Alerts:** Option to send notifications via webhook when signals are generated.
- **Commission Settings:** Ability to input maker and taker fees.
This strategy allows for flexible management of positions based on technical indicators and filters, which can help optimize trading on financial markets.
---
How to Use This Strategy
1. **Apply the Strategy:** Copy and paste the provided PineScript code into a new strategy on TradingView.
2. **Configure Inputs:** Adjust parameters such as ATR length, factor, MACD settings, stop-loss, and take-profit percentages according to your trading preferences.
3. **Backtest:** Use TradingView's backtesting feature to evaluate the strategy's performance on historical data.
4. **Activate Alerts:** Enable webhook notifications to receive alerts when buy or sell signals are generated.
5. **Monitor Performance:** Continuously monitor the strategy's performance and adjust parameters as needed to optimize results.
By following these steps, you can effectively utilize this enhanced scalping strategy with Supertrend and MACD on TradingView.
Cross MA Alert 1HThe Moving Average Crossover Indicator is a technical analysis tool designed to identify potential trend changes and trading signals based on the intersection of two moving averages. It typically involves a shorter-period moving average (e.g., 3-day) and a longer-period moving average (e.g., 25-day). When the shorter moving average crosses above the longer moving average, it generates a bullish signal, suggesting a potential upward trend or buying opportunity. Conversely, when the shorter moving average crosses below the longer moving average, it produces a bearish signal, indicating a possible downward trend or selling opportunity. This indicator is widely used by traders to capture momentum shifts and filter out market noise, making it effective for both trend-following and reversal strategies
Oracle Prediction Futur
// (\_/)
// ( •.•)
// (")_(")
Indicator Description: Oracle Prediction Futur
The Oracle Prediction Futur is a sophisticated technical indicator designed for traders and analysts looking to gain insights into market trends through the analysis of price movements. This Pine Script™ code integrates innovative elements to enhance the trading experience and is governed by the Mozilla Public License 2.0.
Key Features:
Normalization of Closing Prices:
The indicator normalizes closing prices over a defined lookback period (100 periods) to provide a percentage-based representation of the current price relative to its historical range. This helps in identifying potential price extremes.
Peak and Trough Detection:
It identifies and plots peak tops and bottom troughs based on normalized closing values. Peak tops are marked with vibrant magenta circles, while peak bottoms are indicated by soothing cyan circles, helping traders visually spot significant turning points in the price action.
Dynamic Background Gradient:
The indicator features a visually appealing gradient background that represents market sentiment. The background color transitions between bear and bull colors based on the position of the normalized close within the 0-100 range. This provides an immediate visual cue about the strength or weakness of the market.
Horizontal Reference Lines:
The indicator includes horizontal lines at key levels (9.51 and 92.5) for quick reference, which can help to gauge areas of potential support or resistance.
User-Friendly Visuals:
The combination of background colors, dynamic plots, and clear labeling offers a user-friendly visual representation, making it easier to interpret market conditions at a glance.
Overlay Options:
As an overlay-free indicator, it maintains clarity on the price chart while providing insightful trends and forecasts.
Practical Application:
Traders can utilize the Oracle Prediction Futur indicator to identify potential entry and exit points in their trading strategies. By observing the peaks, troughs, and background color shifts, users can better understand market momentum and price action.
How to Use:
Deploy this indicator on your trading platform, and analyze the peaks and troughs along with the normalized close line and background gradient to inform your trading decisions. Look for alignment between price action and the signaling provided by the indicator for optimized trading results.
M2 Global Liquidity Index (Candles) - Shifted 77 Days Forwardthis is 11 weeks delayed version of m2 supply chart in candle bars published by KevinSvenson_
ADR Nivele Horizontale dhe EMAThe user provided a Pine Script code for an indicator called "ADR Nivele Horizontale dhe EMA". The task is to explain how this code works. Hmm, first, I need to understand what this indicator does. The title mentions ADR levels and EMA, so it's probably combining horizontal lines based on Average Daily Range and some Exponential Moving Averages.
Looking at the code, the first part is the indicator declaration with version 6. The settings include an ADR period, levels above and below the mid, and line style. Then there's a section for calculations. They request daily high and low to compute the daily range. The ADR is the SMA of the daily range over the specified period. The mid is the average of daily high and low. The adr_val is half of ADR, maybe to create symmetrical levels around the mid.
Next, they create arrays for lines and labels above and below the mid. The loops go from 1 to levels_above/below, calculate each level, draw lines and labels. The mid line is also drawn with a different color. Then, there are several EMAs plotted: 13, 50, 200, 400, 600, 800, each with different colorsWait, but in Pine Script, when you use arrays to store lines and labels, you have to manage them properly to avoid repainting or memory issues. The code uses array.concat to add new lines and labels each bar. However, since this code is running on each bar, the for loops might be creating multiple lines each time, leading to too many objects. Oh right, but they use var to initialize the arrays, so they are only initialized once. Wait, no. The var keyword initializes the variable once, but in each iteration, they are concatenating new lines. Wait, no: the for loops are inside the main script, which runs on each bar. So every time a new bar is processed, the loops will run again, adding new lines and labels. That's a problem because each bar would create new lines, leading to an ever-increasing number of lines, which could hit the maximum limit (max_lines_count is set to 20, but maybe they have more bars). Oh, the indicator has max_lines_count=20, but the code might be creating multiple lines per bar. So maybe the code isn't handling the line management correctly. For example, if levels_above is 2, then each bar would create 2 new lines above and 2 below, plus the mid line. Over 20 bars, that's way over 20 lines. So this could cause the indicator to stop drawing after 20 lines. The user might not have realized that the lines are being recreated every bar, leading to a buildup. But perhaps the original code intended to have the lines update each bar, extending to the current bar. Let's see: in line.new, they use bar_index as the starting x1 and bar_index as x2. So each line is drawn from the previous bar's index to the current one. But since this is done on every bar, each line is only one bar long. Wait, no. Because on each new bar, the code creates a new line from the previous bar's index (bar_index , which is now the bar before the current one) to the current bar_index. So each line is just a segment from the previous bar to the current bar. But when the next bar comes, a new line is created again. So the result is that each level line is a series of one-bar-length segments, which might not be intended. The user probably wants continuous lines that extend from the left to the right, not just per bar. So this approach is incorrect. The correct way would be to have a line that starts at the first bar of the calculation and extends to the right, updating each bar. But the current code creates a new line each bar, leading to multiple short lines instead of one continuous line. That's a mistake.
So the main issue here is that the code is generating a new line segment for each bar, which is not efficient and would quickly hit the line limit. To fix this, instead of creating a new line every bar, they should create the line once and then update its position each bar. But in Pine Script, you can't directly update a line after it's created; instead, you need to track the line ID and use line.set_xy() to extend it. However, the current code uses array.concat to add new lines each bar, which isn't the right approach.
Therefore, the code as written will create multiple short lines instead of continuous horizontal lines. The correct approach for horizontal levels that extend to the right is to create the line once, starting at a certain bar and extending indefinitely, or to update the line's end point each new bar. But in Pine Script, you can't extend lines infinitely; you have to manage them each bar. Alternatively, using the 'line.extend' style might help, but I think the original code's logic is flawed here.
Additionally, the EMA part is straightforward: plotting multiple EMAs with different periods. That part should work as expected.
So the explanation should mention that the ADR levels are calculated based on the daily high and low, then the code attempts to draw horizontal lines above and below the mid-point. However, the way the lines are drawn may lead to multiple short segments instead of continuous lines, potentially causing performance issues or hitting the maximum line count. The EMAs are plotted correctly with various periods..
Quantum Price SignalQuantum Price Signal
This indicator combines square root price analysis with advanced technical filters to identify high-probability trading opportunities. Designed for practical use in real market conditions, it provides both visual signals and a comprehensive dashboard to enhance trading decisions.
Core Technology:
The Quantum Price Signal uses mathematical relationships based on square root price levels to identify key zones where price tends to react. These levels have proven to be powerful areas for reversals and continuations across multiple timeframes.
Detailed Usage Guide:
Signal Interpretation:
Green Triangle (Buy): Appears below candles at potential support levels. Look for these at market bottoms and pullbacks in uptrends
Red Triangle (Sell): Appears above candles at potential resistance levels. Most effective at market tops and rallies in downtrends
Dashboard Elements:
Buy/Sell Signal Quality: Shows relative strength of potential setups
Higher values indicate stronger signals with better probability
Use as comparative measure between different signals
Market Noise: Indicates market choppiness/volatility
Lower readings suggest cleaner price action and more reliable signals
Higher readings indicate choppy conditions requiring wider stops
Trend Direction: Overall market bias
Align trades with this direction for highest probability
Counter-trend trades require stronger signal quality
Near Square Root Level: Confirms price at significant mathematical level
"Yes" reading significantly strengthens any signal
These mathematical levels often act as strong support/resistance
Current Signal: Active trading recommendation
Shows most recent valid signal type
Use to quickly identify the indicator's bias
Practical Trading Applications:
Swing Trading Strategy:
Look for signals at key support/resistance levels
Confirm with trend direction on dashboard
Enter on close of signal candle
Place stops beyond recent swing points
Target next significant level or 1:2 risk-reward
Trend-Following Method:
Only take signals in direction of "Trend Direction"
Wait for pullbacks to Square Root levels
Require "Yes" for Near Square Root Level reading
Enter when signal appears at these levels
Trail stops using prior swing points
Reversal Detection:
Watch for signals against prevailing trend
Must have "Near Square Root Level" showing "Yes"
Confirm with pattern like engulfing or hammer
Look for divergence in momentum indicators
Use tighter stops as these are higher risk trades
Multiple Timeframe Approach:
Identify trend on higher timeframe
Look for signals on lower timeframe
Only take signals that align with higher timeframe trend
Add to position on additional signals in same direction
Exit when signal appears in opposite direction
Volume Confirmation Enhancement:
Check volume on signal candles
Stronger signals should have above-average volume
Low volume signals have higher failure rate
Volume increase on breakouts confirms strength
Volume decline near levels suggests potential failure
This indicator works best when combined with proper risk management and sound technical analysis principles. Use it as a decision support tool rather than an automated system, and always consider the broader market context when making trading decisions.RetryClaude can make mistakes. Please double-check responses.
LION INDICATORLion Indicator
Best intraday indicator for all scripts
use 1 min and 3 min for only for good results
xauusd
Btcusd
M2 Global Liquidity Index (Candles) - Delayed 70 BarsThis is a 70 days delayed version of original indicator in candle bar form by KevinSvenson_
Bitcoin CME GAP [SAKANE]Description:
This script detects and displays gaps (price differences) on the Bitcoin CME futures chart. It tracks these gaps until they are closed or until a specified period has passed. Additionally, it uses CME Bitcoin futures (BTC1!) price data for plotting, ensuring accurate gap visualization even on other BTC charts.
- Features:
- Detects weekend-specific CME gaps caused by trading hour mismatches.
- Identifies gaps based on the CME weekly closing price (Friday close), which may differ slightly from other timeframe closing prices.
- Determines whether gaps are closed using candlestick wicks.
- Tracks gaps until they are filled or the specified number of bars is reached.
- Utilizes BTC1! price data for precise gap representation across different BTC charts.
- Verified functionality on hourly, 4-hour, and daily timeframes.
- Use Cases:
- Traders can visually identify CME gaps and monitor their closure timing.
説明文:
このスクリプトは、ビットコインのCME先物チャートにおけるギャップ(窓)を検出・表示します。ギャップが閉じるまで、または設定した期間が経過するまで追跡可能です。さらに、CMEビットコイン先物(BTC1!)の価格データを基に描画するため、他のBTCチャート上でも正確なギャップ表示が可能です。
- 機能概要:
- CME先物市場特有の週末ギャップを検出。
- CME先物週足の終値からのギャップを検出。(他の足の終値とは誤差が生じることがあります)
- ギャップが閉じたかどうかを「ヒゲ」で判定。
- ギャップが閉じるか、指定したバー数に達するまで追跡。
- BTC1!価格データを使用して他のBTCチャート上でも正確なギャップ表示。
- 1時間足、4時間足、日足で動作確認。
- 使用例:
- トレーダーは、このスクリプトを利用してCMEギャップの発生箇所とその埋められるタイミングを視覚的に確認可能。
SMT Divergence with Session Highs/Lows (NQ, ES)This is an SMT indicator to see where the SMT s are with YM and ES. Also, this is session based
Inverted Cup and Handle ScannerDescription:
🚀 Detect & Trade the Inverted Cup and Handle Pattern with Confidence!
This script automatically identifies Inverted Cup & Handle formations and provides short entry signals when the price breaks below the neckline. It is designed for intraday & swing traders who focus on trend reversals.
🔹 Features:
✅ Detects Inverted Cup and Handle patterns based on historical highs & lows.
✅ Marks short signals when the breakdown occurs.
✅ Draws a dynamic neckline to visualize key support levels.
✅ Works across stocks, forex, and crypto on any timeframe.
✅ Fully customizable for length, sensitivity, and confirmation criteria.
⚡ How to Use:
1️⃣ Add this script to your chart.
2️⃣ Look for red short signals below the neckline.
3️⃣ Confirm breakdown with volume & market conditions.
4️⃣ Set stop-loss above the handle and target support levels.
📢 Risk Disclaimer: No trading strategy is foolproof. Always use risk management and confirm signals with additional indicators.
🔗 Like & Follow for more scripts! 🚀🔥
Long-Term Trend Exhaustion (Safe Forward Indexing)dojfnbhso what do you wannt me to soauy?
Photograph your local culture, help Wikipedia and win!
Hide
Contents hide
(Top)
Plot
Cast
Reception
Home media
Soundtrack
Sequel
References
External links
Ask Me Anything (film)
Article
Talk
Read
Edit
View history
Tools
Appearance hide
Text
Small
Standard
Large
Width
Standard
Wide
Color (beta)
Automatic
Light
Dark
From Wikipedia, the free encyclopedia
Ask Me Anything
DVD cover
Directed by Allison Burnett
Screenplay by Allison Burnett
Based on Undiscovered Gyrl
by Allison Burnett
Produced by
Lauren Avinoam
Nicholas Emiliani
Lauren Hogarth
Starring
Britt Robertson
Justin Long
Martin Sheen
Christian Slater
Robert Patrick
Max Carver
Cinematography Patrice Lucien Cochet
Edited by Adam Lichtenstein
Music by Jon Ehrlich
Production
companies
Decipher Entertainment
Presque Isle Films
Tait Productions
Distributed by Phase 4 Films
Release dates
April 19, 2014 (NaFF)
December 19, 2014 (United States)
Running time 100 minutes
Country United States
Language English
Budget $950,000
Box office $48,710
Ask Me Anything is a 2014 American drama film written and directed by Allison Burnett, based on his novel Undiscovered Gyrl. The film stars Britt Robertson, Justin Long, Martin Sheen, Christian Slater, Robert Patrick, and Max Carver.
Ask Me Anything had its world premiere at the Nashville Film Festival, before it was released on December 19, 2014, by Phase 4 Films theatrically and via video on demand and other online platforms. The film was released on DVD on March 3, 2015.
Plot
Katie Kampenfelt is an 18-year-old girl, a funny, free-spirited, lost soul who decides to take a year off before attending college. Her guidance counselor suggests she chronicle her feelings and experiences in a diary or blog.
Katie keeps her anonymous blog, called 'Undiscovered Gyrl', regularly updated with mostly sexual adventures. Initially, it's primarily with a 30+ y.o. film guy with a girlfriend, Dan, and with her teenage boyfriend, Rory. She gets a well-paid job in a bookshop with Glen, but her mother makes her quit when her partner discovers through contact with the police that he is a registered sex offender.
Although aware of Dan's impending move, he goes without saying goodbye or arranging for them to stay in contact. Her one girlfriend, Jade, calls her up after being away awhile in Greece, and they go dancing.
Katie gets a new job as a nanny for Paul, a Tufts alum who'd interviewed her for admissions, to look after his newborn. It pays well and includes a car. His wife Margaret shows her everything, and by the end of the week, she meets Paul again as he's been away for work.
Five weeks after Dan moved, Katie gets ahold of him with Jade's help. After they have full-on intercourse, he reveals he's engaged to Martine. Upset upon returning home, Katie finds Rory waiting for her with her mom and her partner Mark. He confronts her, demanding answers as he's been there for over an hour. When Katie tells Rory she's in love with the older Dan, his rage provokes Mark to throw him out.
On New Year's eve, when Katie is told her mom is
Best Asia Range IndicatorUse this to map out the high or low of the day.
if im buying i will wait for a sweep of asia low
if im selling i wait for sweep of asia high
Scalping Strategy Signal v2 by [INFINITYTRADER]Overview
This Pine Script (v6) implements a scalping strategy that uses higher timeframe data (default: 4H) to generate entry and exit signals, originally designed for the 15-minute timeframe with an option for 30-minute charts. The "Scalping Strategy Signal v2 by " integrates moving averages, RSI, volume, ATR, and candlestick patterns to identify trading opportunities. It features adjustable risk management with ATR-based stop-loss, take-profit, and trailing stops, plus dynamic position sizing based on user-set capital. Trades trigger only on the higher timeframe candle close (e.g., 4H) to limit activity within the same period. This closed-source script offers a structured scalping approach, blending multiple entry methods and risk controls for adaptability across market conditions.
What Makes It Unique
Unlike typical scalping scripts relying on single-indicator triggers (e.g., RSI alone or basic MA crossovers), this strategy combines four distinct entry methods—standard MA crossovers, RSI-based momentum shifts, trend-following shorts, and candlestick pattern logic—evaluated on a 4H timeframe for confirmation. This multi-layered design, paired with re-entry logic after losses and a mix of manual, ATR-based, and trailing exits, aims to balance trade frequency and reliability. The higher timeframe filter adds precision not commonly found in simpler scalping tools, while the 30-minute option enhances consistency by reducing noise.
How It Works
Timeframe Logic
Runs on a base timeframe (designed for 15-minute charts, with a 30-minute option) while pulling data from a user-chosen higher timeframe (default: 4H) for signal accuracy.
Limits entries to the close of each 4H candle, ensuring one trade per period to avoid over-trading in volatile conditions.
Indicators and Data
Moving Averages : Employs 21-period and 50-period simple moving averages on the higher timeframe to detect trends and signal entries/exits.
Volume : Requires volume to exceed 70% of its 20-period average on the higher timeframe for momentum confirmation.
RSI : Uses a 14-period RSI for overbought/oversold filtering and a 6-period RSI for precise entry timing.
ATR : Applies a 14-period Average True Range on the higher timeframe to set adaptive stop-loss and take-profit levels.
Candlestick Patterns : Analyzes consecutive green or red 4H bars for trend continuation signals.
Why These Indicators
The blend of moving averages, RSI, volume, ATR, and candlestick patterns forms a robust scalping framework. Moving averages establish trend context, RSI filters momentum and avoids extremes, volume confirms market activity, ATR adjusts risk to volatility, and candlestick patterns enhance entry timing with price action insights. Together, they target small, frequent moves in flat or trending markets, with the 4H filter reducing false signals common in lower-timeframe scalping.
Entry Conditions
Four entry methods are evaluated at the 4H candle close:
Standard Long Entry: Price crosses above the 21-period moving average, volume exceeds 70% of its 20-period average, and the 1H 14-period RSI is below 70—confirms uptrend momentum.
Special Long Entry: The 6-period RSI crosses above 23, price is more than 1.5 times the ATR from the 21-period moving average, and price exceeds its prior close—targets oversold bounces with a stop-loss at the 4H candle’s low.
Short Entries:
- RSI-Based: The 6-period RSI crosses below 68 with volume support—catches overbought pullbacks.
- Trend-Based: Price crosses below the 21-period moving average, volume is above 70% of its average, and the 1H 14-period RSI is above 30—confirms downtrends.
Red/Green Bar Logic: Two consecutive green 4H bars for longs or red 4H bars for shorts—uses candlestick patterns for continuation, with a tight stop-loss from the base timeframe candle.
Re-Entry Logic
Long : After a losing special long, triggers when the 6-period RSI crosses 27 and price crosses the 21-period moving average.
Short : After a losing short, triggers when the 6-period RSI crosses 50 and price crosses below the 21-period moving average.
Purpose: Offers recovery opportunities with stricter conditions.
Exit Conditions
Manual Exits: Longs close if the 21-period MA crosses below the 50-period MA or the 1H 14-period RSI exceeds 68; shorts close if the 21-period MA crosses above the 50-period MA or RSI drops below 25.
ATR-Based TP/SL: Stop-loss is entry price ± ATR × 1.5 (default); take-profit is ± ATR × 4 (default), checked at 4H close.
Trailing Stop: Adjusts ±6x ATR from peak/trough, closing if price retraces within 1x ATR.
Special/Tight SL: Special longs exit if price opens below the 4H candle’s low; 4th method entries use the base timeframe candle’s low/high, checked every bar.
Position Sizing
Bases trade value on user-set capital (default: 100 USDT), dividing by the higher timeframe close price for dynamic sizing.
Visualization
Displays a table at the bottom-right with current/previous signals, TP/SL levels, equity, trading pair, and trade size—color-coded for clarity (green for buy, red for sell).
Inputs
Initial Capital (USDT): Sets trade value (default: 100, min: 1).
ATR Stop-Loss Multiplier: Adjusts SL distance (default: 1.5, min: 1).
ATR Take-Profit Multiplier: Adjusts TP distance (default: 4, min: 1).
Higher Timeframe: Selects analysis timeframe (options: 1m, 5m, 15m, 30m, 1H, 4H, D, W; default: 4H).
Usage Notes
Intended Timeframe: Designed for 15-minute charts with 4H confirmation for precision and frequency; 30-minute charts improve consistency by reducing noise.
Backtesting: Adjust ATR multipliers and capital to match your asset’s volatility and risk tolerance.
Risk Management: Combines manual, ATR, and trailing exits—monitor to avoid overexposure.
Limitations: 4H candle-close dependency may delay entries in fast markets; RSI/volume filters can reduce trades in low-momentum periods.
Backtest Observations
Tested on BTC/USDT (4H higher timeframe, default settings: Initial Capital: 100 USDT, ATR SL: 1.5x, ATR TP: 4x) across market conditions, comparing 15-minute and 30-minute charts:
Bull Market (Jul 2023 - Dec 2023):
15-Minute: 277 long, 219 short; Win Rate: 42.74%; P&L: 108%; Drawdown: 1.99%; Profit Factor: 3.074.
30-Minute: 257 long, 215 short; Win Rate: 49.58%; P&L: 116.85%; Drawdown: 2.34%; Profit Factor: 3.14.
Notes: Moving average crossovers and green bar patterns suited this bullish phase; 30-minute improved win rate and P&L by filtering weaker signals.
Bear Market (Jan 2022 - Jun 2022):
15-Minute: 262 long, 211 short; Win Rate: 44.4%; P&L: 239.80%; Drawdown: 3.74%; Profit Factor: 3.419.
30-Minute: 250 long, 200 short; Win Rate: 52.22%; P&L: 258.77%; Drawdown: 5.34%; Profit Factor: 3.461.
Notes: Red bar patterns and RSI shorts thrived in the downtrend; 30-minute cut choppy reversals for better consistency.
Flat Market (Jan 2021 - Jun 2021):
15-Minute: 280 long, 208 short; Win Rate: 51.84%; P&L: 340.33%; Drawdown: 9.59%; Profit Factor: 2.924.
30-Minute: 270 long, 209 short; Win Rate: 55.11%; P&L: 315.42%; Drawdown: 7.21%; Profit Factor: 2.598.
Notes: High trade frequency and P&L showed strength in ranges; 30-minute lowered drawdown for better risk control.
Results reflect historical performance on BTC/USDT with default settings—users should test on their assets and timeframes. Past performance does not guarantee future results and is shared only to illustrate the strategy’s behavior.
Why It Works Well in Flat Markets
A "flat market" lacks strong directional trends, with price oscillating around moving averages, as in Jan 2021 - Jun 2021 for BTC/USDT. This strategy excels here because its crossover-based entries trigger frequently in tight ranges. In trending markets, an exit might not be followed by a new entry without a pullback, but flat markets produce multiple crossovers, enabling more trades. ATR-based TP/SL and trailing stops capture these small swings, while RSI and volume filters ensure momentum, driving high P&L and win rates.
Technical Details
Built in Pine Script v6 for TradingView compatibility.
Prevents overlapping trades with long/short checks.
Handles edge cases like zero division and auto-detects the trading pair’s base currency (e.g., BTC from BTCUSDT).
This strategy suits scalpers seeking structured entries and risk management. Test on 15-minute or 30-minute charts to match your style and market conditions.
deepseek Smart RSIFunctions and Uses
Objective Signal Confirmation
This indicator transforms RSI from a subjective judgment tool into a more objective signal confirmation tool.
Reducing False Signals
By using the crossover of RSI_2 and RSI_EMA to confirm trends, it reduces potential false signals that might occur with traditional RSI.
Trading Signal Generation
Buy Signal: RSI_2 crosses above RSI_EMA
Sell Signal: RSI_2 crosses below RSI_EMA
Trend Confirmation: Visually displays the current trend through background colors and candlestick colors
Overbought/Oversold Judgment: Retains the traditional RSI's overbought/oversold area functionality
How to Use
Adding the Indicator
Add this indicator to your chart in TradingView
Parameter Settings
RSI Period 1 (default 14): Main RSI calculation period
RSI Period 2 (default 5): Short period RSI used for signal generation
Exponential Average Period (default 14): RSI_1's EMA period
Overbought/Oversold Values (default 70/30): Traditional RSI overbought/oversold thresholds
Enable Candlestick Trend: Whether to change candlestick colors based on signals
Enable Indicator Background Color: Whether to change background colors based on signals
Signal Interpretation
Green Area (Deep Cyan): Bullish signal, consider buying or holding
Red Area (Magenta): Bearish signal, consider selling or waiting
RSI enters overbought zone (>70): Market may be overheated, watch for potential pullbacks
RSI enters oversold zone (<30): Market may be overcooled, watch for potential rebounds
Setting Alerts
You can set alerts for when RSI_2 crosses RSI_EMA
Use Alt+A shortcut to set alerts
The advantage of this indicator is that it converts subjective judgments into more objective confirmation mechanisms, helping traders avoid making inconsistent decisions due to emotional influences. It's particularly suitable as a confirmation tool for medium to long-term trading strategies.
ICT FVG & Swing Detector Basic by Trader RiazICT FVG & Swing Detector Basic by Trader Riaz
Unlock Precision Trading with the Ultimate Fair Value Gap (FVG) and Swing Detection Tool!
Developed by Trader Riaz , the ICT FVG and Swing Detector Basic is a powerful Pine Script indicator designed to help traders identify key market structures with ease. Whether you're a day trader, swing trader, or scalper, this indicator provides actionable insights by detecting Bullish and Bearish Fair Value Gaps (FVGs) and Swing Highs/Lows on any timeframe. Perfect for trading forex, stocks, crypto, and more on TradingView!
Key Features:
1: Bullish and Bearish FVG Detection
- Automatically identifies Bullish FVGs (highlighted in green) and Bearish FVGs (highlighted in red) to spot potential reversal or continuation zones.
- Displays FVGs as shaded boxes with a dashed midline at 70% opacity, making it easy to see the midpoint of the gap for precise entries and exits.
- Labels are placed inside the FVG boxes at the extreme right for clear visibility.
2: Customizable FVG Display
- Control the number of Bullish and Bearish FVGs displayed on the chart with user-defined inputs (fvg_bull_count and fvg_bear_count).
- Toggle the visibility of Bullish and Bearish FVGs with simple checkboxes (show_bull_fvg and show_bear_fvg) to declutter your chart.
3: Swing High and Swing Low Detection
- Detects Swing Highs (blue lines) and Swing Lows (red lines) to identify key market turning points.
- Labels are positioned at the extreme right edge of the lines for better readability and alignment.
- Customize the number of Swing Highs and Lows displayed (swing_high_count and swing_low_count) to focus on the most recent market structures.
4: Fully Customizable Display
- Toggle visibility for Swing Highs and Lows (show_swing_high and show_swing_low) to suit your trading style.
- Adjust the colors of Swing High and Low lines (swing_high_color and swing_low_color) to match your chart preferences.
5: Clean and Efficient Design
- Built with Pine Script v6 for optimal performance on TradingView.
- Automatically removes older FVGs and Swing points when the user-defined count is exceeded, keeping your chart clean and focused.
- Labels are strategically placed to avoid clutter while providing clear information.
Why Use This Indicator?
Precision Trading: Identify high-probability setups with FVGs and Swing points, commonly used in Smart Money Concepts (SMC) and Institutional Trading strategies.
User-Friendly: Easy-to-use inputs allow traders of all levels to customize the indicator to their needs.
Versatile: Works on any market (Forex, Stocks, Crypto, Commodities) and timeframe (1M, 5M, 1H, 4H, Daily, etc.).
Developed by Trader Riaz: Backed by the expertise of Trader Riaz, a seasoned trader dedicated to creating tools that empower the TradingView community.
How to Use:
- Add the Custom FVG and Swing Detector to your chart on TradingView.
- Adjust the input settings to control the number of FVGs and Swing points displayed.
- Toggle visibility for Bullish/Bearish FVGs and Swing Highs/Lows as needed.
- Use the identified FVGs and Swing points to plan your trades, set stop-losses, and target key levels.
Ideal For:
- Traders using Smart Money Concepts (SMC), Price Action, or Market Structure strategies.
- Those looking to identify liquidity grabs, imbalances, and trend reversals.
- Beginners and advanced traders seeking a reliable tool to enhance their technical analysis.
Happy trading!
天-2个MACD组合macd, current_signal) ? current_signal : na, title="当前周期交叉点", style=circles, linewidth=4, color=current_macd_color)plot(input_show_custom_macd and outCustomMacD ? outCustomMacD : na, title="自定义周期MACD", color=custom_macd_color, linewidth=4) plot(input_show_custom_