Mayfair Fx Scalper✅ Mayfair FX Scalper — By EastWave Capital
The Mayfair FX Scalper is a precision-focused, closed-source indicator designed for short-term intraday trading, particularly scalping on lower timeframes such as 1-minute, 3-minute, and 5-minute charts. This tool is developed by EastWave Capital and is based on a combination of Relative Strength Index (RSI) extremes and specific candlestick structure patterns to detect potential exhaustion and reversal points in the market.
🔍 How It Works:
The algorithm operates by evaluating three core elements:
RSI Extremes:
RSI is calculated using default settings.
Buy signals are considered only when the RSI on the previous candle is below 22 (oversold), and the current candle is bullish, while the previous one was bearish.
Sell signals are considered when the RSI on the previous candle is above 78 (overbought), and the current candle is bearish, while the previous one was bullish.
Candle Confirmation Logic:
The system waits for candle confirmation (e.g., shift in bullish/bearish structure) rather than triggering signals based on RSI alone.
This avoids false triggers in strong trends and filters weak entries.
SL/TP Estimation (Visual):
While not automatically placing orders, the indicator can optionally display lines or small labels showing a Stop Loss at the previous swing high/low (±0.5) and TP levels at 1R, 2R, and 3R based on that stop.
These visual aids help traders plan risk/reward and exits manually.
📈 How to Use:
Timeframes: Best suited for 1M, 3M, and 5M charts
Markets: Works well on Gold (XAU/USD), Forex majors, Indices, and Crypto
Session: Performs best during high volatility sessions (London & NY)
Use Case:
Wait for a signal label to appear after a clear momentum move.
Confirm price action and trend context.
Use provided visual SL/TP labels or apply your manual RR planning.
Combine with structure breaks, FVG zones, or liquidity sweeps for confluence.
⚠️ Important Notes:
This indicator does not repaint.
No automatic trades are executed. Signals are visual.
Not intended for use in isolation; best when combined with proper trade management and confirmation tools.
Past performance does not guarantee future results. Always manage risk appropriately
Bantlar ve Kanallar
Mohammad - Auto TrendLinesMohammad - Auto TrendLines
Overview
An advanced automatic trendline detection system that identifies and draws both major and minor trendlines based on pivot highs and lows. This indicator uses sophisticated algorithms to detect market structure and automatically plot relevant trendlines, helping traders identify key support and resistance levels without manual chart analysis.
Key Features
Automatic Detection: Identifies pivot points and connects them to form trendlines without manual intervention
Multi-Level Analysis: Distinguishes between Major and Minor trendlines, both External and Internal
Smart Validation: Only draws trendlines that haven't been violated by price action
Comprehensive Alerts: 16 different alert conditions for breaks and reactions to trendlines
Fully Customizable: Complete control over colors, styles, widths, and display preferences for each trendline type
How It Works
The indicator uses a ZigZag algorithm with configurable pivot periods to identify significant highs and lows. It then connects these points to form trendlines, validating them against historical price action to ensure they remain relevant. The system categorizes trendlines into Major/Minor and External/Internal based on their significance in the market structure.
Use Cases
This indicator is particularly useful for:
Identifying trend continuations and potential reversals
Finding optimal entry and exit points based on trendline breaks
Setting stop-loss levels using trendline support/resistance
Confirming trade setups with multiple timeframe analysis
Automating trendline detection for systematic trading strategies
Settings/Parameters
Pivot Period: Controls the sensitivity of pivot detection (default: 5)
Display Options: Toggle visibility for each of the 8 trendline types
Style Customization: Adjust color, line style, width, and extension for each trendline
Alert Configuration: Enable/disable alerts for breaks and reactions to each trendline type
Delete Previous: Option to remove old trendlines when new ones are formed
How to Use
Add the indicator to your chart and adjust the Pivot Period based on your trading timeframe
Configure which trendline types you want to display (Major/Minor, External/Internal, Up/Down)
Set up alerts for the specific trendline interactions you want to monitor
Look for price reactions at trendlines for potential trade entries
Use trendline breaks as confirmation for trend changes
Signals
Break Alerts: Triggered when price closes beyond a trendline
React Alerts: Triggered when price touches but respects a trendline
Major External: Most significant trendlines based on major pivot points
Major Internal: Secondary major trendlines within the trend structure
Minor External: Short-term trendlines for intraday movements
Minor Internal: Smallest scale trendlines for precise entries
Trendline Types Explained
Up Trendlines: Connect ascending lows, act as support
Down Trendlines: Connect descending highs, act as resistance
External: Connect the outermost pivots
Internal: Connect pivots within the major structure
Best Timeframes
Works effectively on all timeframes:
Scalping: 1m, 5m, 15m charts
Day Trading: 15m, 1H, 4H charts
Swing Trading: 4H, Daily, Weekly charts
Position Trading: Daily, Weekly, Monthly charts
Important Notes
The indicator repaints trendlines as new pivots form - this is by design to maintain accuracy
Historical trendlines that have been broken are automatically extended to show past levels
Use multiple timeframe analysis for best results
Combine with other indicators for trade confirmation
Always use proper risk management
Alert Integration
This indicator uses the TradingFinder Alert Library for enhanced alert functionality, providing detailed notifications for all trendline interactions.
Version History
v6: Current version with full alert integration and enhanced trendline validation
Disclaimer: This indicator is for educational and informational purposes only. Past performance does not guarantee future results. Always conduct your own analysis and use proper risk management when trading.
Note: This is an overlay indicator that draws directly on your price chart. Ensure you have sufficient chart history loaded for optimal performance.
adc pivotstest╔═════════════════════════════════════════════════════════════════╗
║ PIVOTS MULTI TF BODO ║
║ ║
║ © 2025 Your Name or Username ║
║ Version: 1.0 ║
║ ║
║ Description: ║
║ This script plots Traditional Pivot Points (PP, S1–S3, R1–R3) ║
║ based on a user-selected timeframe (Daily, Weekly, Monthly). ║
║ It includes optional labels and extended line settings. ║
║ ║
║ How to Use: ║
║ – Add the indicator to your chart ║
║ – Select your pivot timeframe (D/W/M) in settings ║
║ – Toggle label visibility and line extensions as needed ║
║ ║
║ Contac ║
║ Redistribution is not allowed without permission. ║
║ ║
║ For educational purposes only. Trade responsibly. ║
╚═════════════════════════════════════════════════════════════════╝
WaveTrend LazyBear + BUY/SELL Labels (Custom Color)WaveTrend LazyBear + BUY/SELL Labels (Custom Color)
HyperChannelThought for 1m 33sHyperChannel Exhaustion Indicator
Overview
This open-source indicator creates a dynamic volatility channel to identify trend directions and potential support/resistance levels, while incorporating momentum analysis, trend strength assessment, and a composite exhaustion metric to highlight possible trend fatigue and reversal points. The core idea is to combine volatility adaptation with multi-layered exhaustion signals, providing a unified tool that goes beyond standalone channels or oscillators. By integrating these elements, it offers a comprehensive view: the channel tracks price within volatile bounds, momentum detects strength or weakening, and exhaustion quantifies reversal risks—allowing users to spot continuations in strong trends or prepare for reversals during fatigue. This synergy creates a unique, actionable framework not found in isolated indicators, helping users make informed decisions across various market conditions.
The indicator builds on public domain concepts like ATR-based channels and standard exhaustion ratios (with credits to Franklin Moormann for foundational exhaustion logic, significantly enhanced here through integration and scoring). Improvements include a custom composite score weighting multiple factors, adaptive coloring for visual clarity, and a dashboard for quick stats—resulting in a tool that's more than a simple merge, but a cohesive system for trend management.
Key Features
Volatility Channel: Plots adaptive upper and lower bands based on smoothed true range multiples around a price midpoint, with trend confirmation requiring consecutive closes beyond bands for reliability.
Momentum Layer: Uses averaged relative changes across varying periods to flag strong impulses or pullbacks, enhancing channel breakouts with contextual strength.
Trend Strength: Differentiates strong trends from ranges or transitions, altering band colors for intuitive reading (e.g., vibrant in trends, subdued otherwise).
Exhaustion Metrics:
A ratio-based signal comparing price advances to highs, smoothed to detect fading momentum.
A composite score (0-100%) aggregating normalized exhaustion, divergence flags, and volume surges—low scores suggest trend health, medium warn of fatigue, high indicate reversal potential.
Visuals:
Band plots (active/inactive) with fills for trend highlighting.
Circles on candles for pullback warnings.
Candle coloring: Dark shades for robust trends (e.g., deep green/up, maroon/down), lighter/warning tones (yellow/up, orange/down) for weakening phases.
Divergence labels on price vs. momentum for hidden/regular setups.
Dashboard: Compact table with trend, risk score (integrated exhaustion), composite value, regime, and higher-timeframe levels; background gradients from green (low risk) to red (high) for at-a-glance reversal probability.
Alerts: For channel events, momentum shifts, exhaustion thresholds, and signals.
How It Works
The indicator operates on core technical concepts without relying on external data:
Channel Construction: Starts with true range (high-low, gaps) smoothed over a period (default 120) to form ATR. Bands are midpoint ± ATR multiple (default 3.0), tightened/loosened based on closes and momentum to avoid whipsaws. Trends flip only after confirmed breaches (default 2 bars), reducing false signals.
Momentum Calculation: Aggregates percentage changes from short to long moving averages (defaults 10-200 periods), smoothed into dynamic thresholds. This detects "strong" (beyond multiples) vs. "exhausting" (pullbacks below fractions), feeding into channel logic and warnings.
Strength and Regime: ADX (default period 14) classifies markets: above high threshold (25) as trending, below low (20) as ranging, in-between as transitioning (with bias if rising and momentum aligns).
Exhaustion and Scoring:
Compares cumulative closes above priors vs. new highs, smoothed (default length 10) into a slope: positive/negative for bull/bear, intensifying for strength.
Composite score weights this normalization (40%), binary divergence checks on a standard oscillator (30%), and volume ratios (30%)—scaled to 0-100%. Thresholds (e.g., 80 for high) trigger color shifts.
Reversal risk (0-100%) blends exhaustion depth, divergences, unconfirmed bars, and the score—labeled Low (<30%), Medium (30-70%), High (>70%).
These interact: e.g., channel bands adjust with momentum, exhaustion colors candles/dashboard, creating a feedback loop for holistic analysis.
Usage Suggestions
Setup: Add to a clean chart (no other indicators unless combining for confluence, e.g., with volume—explain in notes). Use defaults for most assets; tweak ATR period/multiplier for volatility (shorter for crypto, longer for stocks). Set higher timeframe (default 60min) for context.
Interpreting Trends: Green-filled uptrends (active support band) signal buys on pullbacks; red downtrends for shorts. Vibrant colors indicate ADX strength—trade with trend.
Spotting Exhaustion/Reversals: Watch for yellow/orange candles (weakening signal) or circles (pullback warnings). Composite >80% (red dashboard cell) or high risk (yellow/orange table background) suggests exits/preparation. Divergences add confirmation: bullish (green label) near supports, bearish (red) at resistances.
Regimes: Trending: Follow channel breaks. Ranging: Fade extremes. Transitioning: Wait for emerging bias.
Alerts: Enable for real-time notifications—e.g., high exhaustion for potential tops/bottoms.
Customization: Adjust weights for risk sensitivity (e.g., boost exhaustion for conservative trading). Test on historical data to align with strategy; aim for balanced risk (e.g., <5% per trade).
This tool visualizes concepts like volatility clustering and momentum divergence, aiding in trend-following or mean-reversion setups. Always combine with personal analysis—it's not a signal generator but a decision aid.
Credits and Notes
Builds on public domain ATR/ADX ideas; exhaustion ratio inspired by Franklin Moormann (cheatcountry), with major enhancements like multi-momentum integration, composite scoring, and visual/dashboard features for originality.
Compliant with Pine v6; open-source for community use. No ads/guarantees—past performance isn't indicative. Manage risk; this is educational. For chart: Publish clean, with this script only, showing clear outputs.
ZigZag Volume Profile [ChartPrime]⯁ OVERVIEW
ZigZag Volume Profile combines swing structure with volume analytics by plotting a ZigZag of major price swings and overlaying a detailed volume profile around each swing. At the end of each swing, it highlights the Point of Control (POC) — the price level with the highest traded volume — and extends it forward to identify key areas of potential support or resistance.
⯁ KEY FEATURES
ZigZag Swing Detection:
Automatically detects swing highs and lows based on a user-defined length, creating clean visual segments of market structure.
These segments act as boundaries for volume profile calculations.
swingHigh = ta.highest(swingLength)
swingLow = ta.lowest(swingLength)
ZigZag Channel Visualization:
The ZigZag structure is connected with sloped lines, forming a visual “channel” of the price movement.
The ZigZag can optionally, scaled by ATR.
Volume Profile Around Each Swing:
For every completed swing (high to low or low to high), the indicator constructs a full volume profile using user-defined bin counts.
It scans volume across price levels in the swing and plots histogram-style bins using a gradient color to indicate volume magnitude.
Dynamic Bin Width and Slope Adjustment:
Bins are distributed across a vertical ATR-based range, and their width is adjusted based on the percentage of total swing volume.
The volume fill direction is adapted to the swing’s slope for visually aligned plotting.
POC Detection and Extension:
The highest volume bin in each swing is identified as the Point of Control (POC).
This level is plotted with a thicker line and extended horizontally into the future as a key reaction level.
Automatic POC Expiry on Price Interaction:
POC lines are continuously extended unless breached by price.
When price crosses the POC level, the extension is terminated — signaling that the level may have been absorbed.
Clean Volume Bin Visualization:
Bin colors range from green (low volume) to blue (higher volume), with the POC always marked in red by default for easy identification.
Volume percentages are optionally labeled at each bin level.
Flexible Swing Profile Parameters:
Users can control:
Number of volume bins
Bin width
Channel width (ATR factor)
Visibility of the swing channel or POC lines
Efficient Memory Handling:
Old POC lines and volume profiles are automatically removed from memory after a threshold to keep charts clean and performant.
⯁ USAGE
Use ZigZag swings to define market structure visually.
Analyze volume profile around each swing to understand where most trading activity occurred.
Use POC extensions as dynamic support/resistance zones for entries, stops, or take-profits.
Watch for price interaction with extended POC lines — breaks may suggest absorbed liquidity or breakout potential.
Use the ATR-based channel width to adapt profiles based on market volatility.
⯁ CONCLUSION
ZigZag Volume Profile offers a powerful fusion of structure and volume. By plotting detailed volume profiles over each price swing and extending the POC as actionable S/R levels, this tool provides deep insight into market participation zones — giving traders a tactical edge in both ranging and trending environments.
Dolphin 3penggunaan FCPO
DISCLAIMER:
This script is provided for **educational and informational purposes only**.
It is **not intended as financial advice** or a recommendation to buy or sell any asset.
Use at your own risk. Past performance does not guarantee future results.
Always do your own research or consult a licensed financial advisor before making trading decisions.
Bollinger Levels Table - Horizontal Support ZonesBollinger Levels Table - Horizontal Support Zones Indicator (with Customizable Options)
The "Bollinger Levels Table - Horizontal Support Zones" indicator is a comprehensive tool designed to help you identify potential support areas on your chart using moving averages and Bollinger Bands. The indicator displays an organized table of key price levels and draws horizontal lines on the chart, providing clear visibility of potential support zones.
What Does This Indicator Do?
This indicator aims to simplify support analysis by consolidating and displaying significant price levels derived from three different Bollinger Band settings: BB10, BB20, and BB50. It calculates both the Mid-line (Basis) and the Lower Band for each of these settings.
Furthermore, the indicator automatically arranges these levels from highest to lowest in an easy-to-read table, assigning a "Payment" label to each level. These "Payments" are simply labels to help you track the levels in descending order.
How Does This Indicator Work?
Bollinger Band Calculations: The indicator uses the standard Bollinger Band formula:
Mid-line (Basis): A Simple Moving Average (SMA) of the closing price over a specified period.
Standard Deviation (Dev): The standard deviation of the closing price over the same period, multiplied by a Multiplier.
Lower Band: The Mid-line minus the Standard Deviation.
These calculations are applied to three different periods: 10, 20, and 50, providing a variety of potential support levels based on different timeframes. You can adjust the values for these lengths (10, 20, 50) and the Multiplier through the indicator's settings.
Table Construction: A dynamic table is created on the chart (which can be positioned in the top or bottom right corner based on the current price's position). This table displays:
Indicator: The name of the Bollinger Band level (e.g., BB10 Mid, BB20 Lower).
Price: The exact price value of that level.
Payments: A label indicating the level's order in the table.
Level Ordering: All calculated levels are dynamically sorted from highest to lowest to present them in a logical order within the table.
Horizontal Line Plotting: Horizontal lines are drawn on the chart for each selected level, providing a visual representation of the potential support areas. These lines are colored black and have a consistent width for easy identification.
How to Use This Indicator:
This indicator is intended to provide potential entry points or accumulation zones for trades, especially for traders employing Dollar-Cost Averaging (DCA) strategies or building positions in stages. The levels displayed in the table and on the chart can represent potential support levels where one might consider initiating or adding to a position.
In the indicator's settings, you'll find important options:
Multiplier: Controls the width of the Bollinger Bands (default 2.0).
BB Lengths: Allows you to adjust the periods for the moving averages (default 20, 50, 10).
Visible Levels: This is the new feature! Here, you can select which levels you wish to see in the table and on the chart. Simply check or uncheck the boxes next to each level (BB10 Mid, BB10 Lower, and so on) to customize the indicator's display according to your strategy and needs.
Underlying Concepts:
This indicator is based on the principle that Bollinger Bands can act as dynamic support and resistance zones.
Mid-line (SMA): Often functions as a medium-term support or resistance.
Lower Band: Typically indicates that the price is relatively low and may find support, making it a potential area for buying or starting to build a position.
By combining different Bollinger Band timeframes (10, 20, 50), the indicator gives you a multi-timeframe perspective on support areas, helping you identify the most relevant levels for your strategy.
Note: While the indicator provides "Payments" for the levels, this is purely a sequential labeling within the table to assist your position-building strategy. There is no actual payment functionality associated with this indicator.
Candle Channel█ OVERVIEW
The "Candle Channel" indicator is a versatile technical analysis tool that plots a price channel based on the Simple Moving Average (SMA) of candlestick midpoints. The channel bands, calculated based on candlestick volatility, form dynamic support and resistance levels that adapt to price movements. The script generates signals for reversals from the bands and SMA breakouts, making it useful for both short-term and long-term traders. By adjusting the SMA length, the channel can vary in nature—from a wide channel encapsulating price movement to narrower support/resistance or trend-following bands. The channel width can be further customized using a scaling parameter, allowing adaptation to different trading styles and markets.
█ MECHANISM
Band Calculation
The indicator is based on the following calculations:
Candlestick Midpoint: Calculated as the arithmetic average of the candle’s high and low prices: (high + low) / 2.
Simple Moving Average (SMA): The average of candlestick midpoints over a specified length (default: 20 candles), forming the channel’s centerline.
Average Candle Height: Calculated as the average difference between the high and low prices (high - low) over the same SMA length, serving as a measure of market volatility.
Band Scaling: The user specifies a percentage of the average candle height (default: 200%), which is multiplied by the average height to create an offset. The upper band is SMA + offset, and the lower band is SMA - offset.Example: For an average candle height of 10 points and 200% scaling, the offset is 20 points, meaning the bands are ±20 points from the SMA.
Channel Characteristics: The SMA length determines the channel’s dynamics. Shorter SMA values (10–30) create a wide channel that contains price movement, ideal for scalping or short-term trading. Longer SMA values (above 30, e.g., 50–100) transform the channel into narrower support/resistance or trend-following bands, suitable for longer-term analysis. Band scaling further adjusts the channel width to match market volatility.
Signals
Reversal from Bands: Signals are generated when the price closes outside the band (above the upper or below the lower) and then returns to the channel, indicating a potential trend reversal.
SMA Breakout: Signals are generated when the price crosses the SMA upward (bullish signal) or downward (bearish signal), suggesting potential trend changes.
Visualization
Centerline: The SMA of candlestick midpoints, displayed as a thin line.
Channel Bands: Upper and lower channel boundaries, with customizable colors.
Fill: Options include a gradient (smooth color transition between bands) or solid color. The fill can also be disabled for greater clarity.
█ FEATURES AND SETTINGS
SMA Length: Determines the moving average period (default: 20). Values of 10–30 are suitable for a wide channel containing price movement, ideal for short-term timeframes. Longer values (e.g., 50–100) create narrower support/resistance or trend-following bands, better suited for higher timeframes.
Band Scaling: Percentage of the average candle height (default: 200%). Adjusts the channel width to match market volatility—smaller values (e.g., 50–100%) for narrower bands, larger values (e.g., 200–300%) for wider channels.
Fill Type: Gradient, solid, or no fill, allowing customization to user preferences.
Colors: Options to change the colors of bands, fill, and signals for better readability.
Signals: Options to enable/disable reversal signals from bands and SMA breakout signals.
█ HOW TO USE
Add the script to your chart in TradingView by clicking "Add to Chart" in the Pine Editor.
Adjust input parameters in the script settings:
SMA Length: Set to 10–30 for a wide channel containing price movement, suitable for scalping or short-term trading. Set above 30 (e.g., 50–100) for narrower support/resistance or trend-following bands.
Band Scaling: Adjust the channel width to market volatility. Smaller values (50–100%) for tighter support/resistance bands, larger values (200–300%) for wider channels containing price movement.
Fill Type and Colors: Choose a gradient for aesthetics or a solid fill for clarity.
Analyze signals:
Reversal Signals: Triangles above (bearish) or below (bullish) candles indicate potential reversal points.
SMA Breakout Signals: Circles above (bearish) or below (bullish) candles indicate trend changes.
Test the indicator on different instruments and timeframes to find optimal settings for your trading style.
█ LIMITATIONS
The indicator may generate false signals in highly volatile or consolidating markets.
On low-liquidity charts (e.g., exotic currency pairs), the bands may be less reliable.
Effectiveness depends on properly matching parameters to the market and timeframe.
EMA9/EMA50 Cross Alert (2H Only)התראה לקרוס של ממוצע נא אקספוננציאלי 9 ו 50 ל 2 הכיוונים בטיים פרם של שעתיים.
Alert for a collapse of the 9 and 50 exponential moving averages in both directions on a two-hour time frame.
LLW Trading indicatorLLW Trading indicator is a indicator focus on trading between EMA Line, Support and Resistance and Signal Box.
⚡ LLW Trading indicator⚡ LLW Trading indicator focus on EMA,Support and Resistance and Signal Box to optimize the entry.
COT INDEX
// Users & Producers: Commercial Positions
// Large Specs (Hedge Fonds): Non-commercial Positions
// Retail: Non-reportable Positions
//@version=5
int weeks = input.int(26, "Number of weeks", minval=1)
int upperExtreme = input.int(80, "Upper Threshold in %", minval=50)
int lowerExtreme = input.int(20, "Lower Threshold in %", minval=1)
bool hideCurrentWeek = input(true, "Hide the current week until market close")
bool markExtremes = input(false, "Mark long and short extremes")
bool showSmallSpecs = input(true, "Show small speculators index")
bool showProducers = input(true, "Show producers index")
bool showLargeSpecs = input(true, "Show large speculators index")
indicator("COT INDEX", shorttitle="COT INDEX", format=format.percent, precision=0)
import TradingView/LibraryCOT/2 as cot
// Function to fix some symbols.
var string Root_Symbol = syminfo.root
var string CFTC_Code_fixed = cot.convertRootToCOTCode("Auto")
if Root_Symbol == "HG"
CFTC_Code_fixed := "085692"
else if Root_Symbol == "LBR"
CFTC_Code_fixed := "058644"
// Function to request COT data for Futures only.
dataRequest(metricName, isLong) =>
tickerId = cot.COTTickerid('Legacy', CFTC_Code_fixed, false, metricName, isLong ? "Long" : "Short", "All")
value = request.security(tickerId, "1D", close, ignore_invalid_symbol = true)
if barstate.islastconfirmedhistory and na(value)
runtime.error("Could not find relevant COT data based on the current symbol.")
value
// Function to calculate net long positions.
netLongCommercialPositions() =>
commercialLong = dataRequest("Commercial Positions", true)
commercialShort = dataRequest("Commercial Positions", false)
commercialLong - commercialShort
netLongLargePositions() =>
largeSpecsLong = dataRequest("Noncommercial Positions", true)
largeSpecsShort = dataRequest("Noncommercial Positions", false)
largeSpecsLong - largeSpecsShort
netLongSmallPositions() =>
smallSpecsLong = dataRequest("Nonreportable Positions", true)
smallSpecsShort = dataRequest("Nonreportable Positions", false)
smallSpecsLong - smallSpecsShort
calcIndex(netPos) =>
minNetPos = ta.lowest(netPos, weeks)
maxNetPos = ta.highest(netPos, weeks)
if maxNetPos != minNetPos
100 * (netPos - minNetPos) / (maxNetPos - minNetPos)
else
na
// Calculate the Commercials Position Index.
commercialsIndex = calcIndex(netLongCommercialPositions())
largeSpecsIndex = calcIndex(netLongLargePositions())
smallSpecsIndex = calcIndex(netLongSmallPositions())
// Conditional logic based on user input
plotValueCommercials = hideCurrentWeek ? (timenow >= time_close ? commercialsIndex : na) : (showProducers ? commercialsIndex : na)
plotValueLarge = hideCurrentWeek ? (timenow >= time_close ? largeSpecsIndex : na) : (showLargeSpecs ? largeSpecsIndex : na)
plotValueSmall = hideCurrentWeek ? (timenow >= time_close ? smallSpecsIndex : na) : (showSmallSpecs ? smallSpecsIndex : na)
// Plot the index and horizontal lines
plot(plotValueCommercials, "Commercials", color=color.blue, style=plot.style_line, linewidth=2)
plot(plotValueLarge, "Large Speculators", color=color.red, style=plot.style_line, linewidth=1)
plot(plotValueSmall, "Small Speculators", color=color.green, style=plot.style_line, linewidth=1)
hline(upperExtreme, "Upper Threshold", color=color.green, linestyle=hline.style_solid, linewidth=1)
hline(lowerExtreme, "Lower Threshold", color=color.red, linestyle=hline.style_solid, linewidth=1)
/// Marking extremes with background color
bgcolor(markExtremes and (commercialsIndex >= upperExtreme or largeSpecsIndex >= upperExtreme or smallSpecsIndex >= upperExtreme) ? color.new(color.gray, 90) : na, title="Upper Threshold")
bgcolor(markExtremes and (commercialsIndex <= lowerExtreme or largeSpecsIndex <= lowerExtreme or smallSpecsIndex <= lowerExtreme) ? color.new(color.gray, 90) : na, title="Lower Threshold")
Bollinger Bands + LWMA + EMA ComboThe BBMA strategy from Omaly Ally, this contains all the MA 5/ 10 high and MA 5/ 10 low, it also has EMA 50, 100 and 200
The Real DealThis strategy uses a closed source 3 EMA band, as well as a few other closed source indicators that I prefer no to mention right now. Play with it and tell me what you think. The stock settings are definitely not what I use.
Adam Mancini ES Game Plan LevelsThis script plots Support & Resistance levels from Adam Mancini's newsletter.
You can copy and paste levels from Adam's Newsletter to Indicator settings.
You can also add custom text after the support level. For e.g 6550 : Your custom text
Bollinger Bands SMA 20_2 StrategyMean reversion strategy using Bollinger Bands (20-period SMA with 2.0 standard deviation bands).
Trade Triggers:
🟢 BUY SIGNAL:
When: Price crosses above the lower Bollinger Band
Logic: Price has hit oversold territory and is bouncing back
Action: Places a long position with stop at the lower band
🔴 SELL SIGNAL:
When: Price crosses below the upper Bollinger Band
Logic: Price has hit overbought territory and is pulling back
Action: Places a short position with stop at the upper band
HTF Candles and Regression Channel [100Zabaan]🟢🟢 HTF Candles and Regression Channel 🟢🟢
🟡 Overview
This is a powerful multi-timeframe analysis tool designed to help traders understand the overall market context and structure at a glance. It provides a comprehensive view of the price trend across multiple timeframes, from long-term (weekly) to short-term (one-minute), all simultaneously on a single chart.
This tool assists your market analysis in two primary ways:
Displaying recent candles from higher timeframes to quickly grasp the strength, momentum, and overall trend context on different scales.
Displaying automatic linear regression channels to visually identify the direction, slope, and strength of the trend in your selected time periods.
🟡 Key Features
1. Multi-Timeframe Candle Viewer
In a separate pane below the main chart, this indicator displays the last N candles (adjustable number) from various timeframes (Weekly, Daily, 4-Hour, etc.).
This feature allows you to easily compare the trend strength and volatility across different timeframes and assess the current price position within the context of larger trends.
For instance, if you set the number of candles to 50, you can simultaneously monitor the last 50 candles from various timeframes like weekly, daily, 4-hour, 1-hour, 15-minute, 5-minute, and 1-minute, all within a dedicated pane.
Additionally, descriptive labels guide you, indicating the time period covered by each timeframe's set of candles.
Robust and Optimized Data-Fetching Mechanism: To render the candles, the indicator uses box and line objects and fetches data from multiple timeframes. The data-fetching engine has been specifically designed for high stability and performance. This allows you to reliably view a large number of candles from high timeframes (e.g., 60 weekly candles) even while on a very low timeframe like the one-minute chart, without encountering common historical data loading errors.
2. Automatic Linear Regression Channels
The indicator automatically plots linear regression channels for various time periods directly on your main price chart. This allows you to examine the price trend's path across different timeframes.
For better readability, the labels and their corresponding regression channels for each timeframe are color-coordinated.
Key Difference: Unlike standard tools that often focus on the closing price “Close”, this indicator uses the average price of a candle “OHLC4” to calculate the central regression line. The advantage of this approach is a more balanced and stable representation of the trend, which is less affected by sharp price fluctuations within a single candle.
Furthermore, the upper and lower channel boundaries are drawn based on a fraction of the period's maximum volatility, rather than the standard deviation, leading to a channel that adapts more effectively to the actual price action.
🟡 How to Use & Input Settings
Add the indicator to your chart
Go to the indicator's settings
In the Inputs tab, adjust the values according to your strategy:
Number of Candles to Display: Specify the number of recent candles to show in the bottom pane.
Show Time Period Labels: Toggle the visibility of labels that show the time span covered by each timeframe.
Show Regression Channels: Toggle the visibility of the regression channels on the main chart.
Timeframe Selection: Choose which timeframes you want to be displayed.
Style Settings: Configure the color and thickness of the regression lines to match their labels.
🟡 Important Notes & Limitations
No Repainting: This indicator is designed to be non-repainting. The values displayed are fixed once a candle closes. (Note: The values on the current, real-time candle will update until it closes).
Compatibility: This indicator is compatible with all symbols but is designed for optimal performance on timeframes lower than Daily.
Chart Timeframe Dependency: The indicator automatically hides timeframes in the bottom pane that are smaller than your current chart's timeframe. To view all possible resolutions, set your chart to the 1-minute timeframe.
Time Period Display Precision: The labels indicating the time duration (e.g., "1.2 years") may show approximate values due to rounding and are not intended to be perfectly precise.
Note Regarding the Source Code: The core logic of this indicator, especially the proprietary formulas used, is the result of personal research and development. To preserve this unique methodology and ensure its integrity for future developments, this version is released as closed-source. However, we have made every effort to fully and transparently describe the indicator's logic and operational process in the explanations.
🔴 Disclaimer
This indicator is provided for educational, informational, and analytical purposes only and should not be considered as financial advice or a definitive signal for buying or selling. Past performance is not indicative of future results. All investment and trading activities involve risk, and the user is solely responsible for any profits or losses. Please conduct your own research and consult with a qualified financial advisor before making any financial decisions.
🔴 Developers: Mr. Mohammad sanaei
⭐️⭐️ Feel free to share your feedback in the comments ⭐️⭐️
این اندیکاتور یک ابزار تحلیلی چند-زمانی قدرتمند است که به معاملهگران کمک میکند تا با یک نگاه، زمینه و ساختار کلی بازار را درک کرده و دیدی جامعی از روند قیمت و تایمفریمهای بلندمدت (هفتگی) تا کوتاهمدت (یک دقیقه)، به طور همزمان روی یک نمودار به دست آورند.
این ابزار از دو طریق به شما در تحلیل بازار کمک میکند:
نمایش کندلهای اخیر تایمفریمهای بالاتر برای درک سریع قدرت، مومنتوم و بررسی کلی روند در مقیاسهای مختلف.
نمایش کانال رگرسیون خطی خودکار برای تشخیص بصری جهت، شیب و قدرت روند در بازههای زمانی منتخب شما.
🔴 توسعه دهندگان: محمد ثنائی
⭐️⭐️ لطفاً نظرات خود را در کامنتها با ما در میان بگذارید; از خواندن بازخوردهای شما خوشحال میشویم. ⭐️⭐️
FlatBottomReversion
FlatBottomReversion is a mean‑reversion tool that combines multi‑timeframe Heikin‑Ashi trend analysis with flat‑bottom/top detection to catch high‑probability intraday reversals. The indicator also includes an optional Keltner Channel.
⚙️ Usage
It works on any timeframe and candle style, but it was developed specifically for a 3‑minute Heikin Ashi chart. Results may vary significantly if a different chart type or timeframe is used.
⚠️ Tips
Like other reversion tools, separate confirmation is recommended. For example, checking whether the outer Keltner bands have been touched. Waiting for the high or low of the firing candle to be broken is also advised.
Be cautious on strong trend days, as fakeouts can occur. The indicator performs best on ranging days.
The Point Tolerance setting lets you “blur” what qualifies as a flat candle. Perfectly flat candles are the most reliable but happen infrequently. Adding a few points to the tolerance can help in volatile markets, but it may also reduce reliability.
The trend section is a non‑visible version of the PorchTrendLines indicator. It functions similarly to using three SMAs: when the average shows an overbought or oversold area, it may indicate a reversion is likely. The default settings work well on a 3‑minute Heikin Ashi chart but may need adjusting for other setups.
🧪 Inputs you can adjust
Entry & Exit --Controls how the lines are plotted.
Trend Settings --Define which timeframes, lengths, and thresholds determine overbought/oversold conditions.
Keltner Channels – Show or hide the bands, change length, and adjust the multiplier.
🔔 Built‑in alerts (how they behave)
Flat Bottom Entry :
Fires in real time while the candle is forming. This alert is good for a notice to “look up, a setup may be building.” However it will have false‑alarms due to candles later failing criteria.
Flat Bottom Entry with Trend :
Fires only when lines are actually plotted. When this fires the criteria are confirmed. If the reversion is fast though you may miss the best entry if you aren't ready for it.
Brain Premium [ALGO]💡 Brain Premium ALGO
Brainpremium ALGO is a strategy algorithm that analyzes a two-phase regional liquidity structure and only opens positions on price breakouts occurring within these liquidity zones.
This system is developed based on the market experience of manual traders and automatically executes trade decisions using AI-like rules and specific triggers.
💡 Two-Phase Liquidity-Based Entry Strategy
This strategy operates by detecting liquidity sweep zones and confirmed reversal signals:
🔹 Phase 1 – Liquidity Sweep:
Price is expected to sweep areas where equal highs/lows or liquidity clusters exist. These zones are considered potential reversal levels.
🔹 Phase 2 – Confirmed Entry:
After liquidity is swept, entries are triggered only by confirmed reversal signals such as structural breaks, inside bars, or breakouts in the opposite direction.
✅ Entries are triggered only when liquidity and reversal confirmation occur simultaneously.
🎯 This approach targets high-probability, low-risk trades.
⚙️ Key Features
🔍 Dynamic Liquidity Detection — Automatically identifies liquidity zones.
🧩 Modular Entry Options (1–2–3) — Allows opening positions via different strategy paths.
🛡️ Dynamic Stop Loss System — Stop Loss adjusts as price moves favorably.
📈 Advanced Risk Management — Adjustable Take Profit, Stop Loss, leverage, balance, and mode.
🔔 JSON Alert Support — Connects to platforms like BingX via webhook.
🧾 Information Panel — Displays real-time trade data and strategy status.
📊 Backtest & Default Settings
Strategy tests are conducted with realistic and sustainable parameters:
Parameter Value
Trading Balance: $100 (%10 of total wallet)
Leverage: 10x
Stop Loss: 1%
Take Profit Type : High TP (optional: Low and Risky also available)
Entry Option 1 (optional: 2 and 3 also available)
Mode: NORMAL
Commission 0.05%
Dynamic Stop Loss: Enabled
Timeframe: 5 minute
Pair ETH/USDT
Duration: 30 days
🧭 Usage Instructions
Add Brain Premium ALGO to your TradingView chart.
Set position size, leverage, and SL/TP levels from the settings panel.
Select entry option (1, 2, or 3).
Activate backtesting and alert systems to monitor the strategy.
⚠️ Disclaimer
This strategy is not financial advice. Past performance does not guarantee future results. Trade only with capital you can afford to risk and always test thoroughly in a demo environment first.
NY Premarket – High/LowNY Premarket – High/Low
Displays two horizontal lines for the last completed New York pre‑market session (07:00–09:30 America/New_York):
Premarket High (top wick of the session)
Premarket Low (bottom wick of the session)
Both lines are anchored to the exact candles that formed the session’s high/low and remain aligned with those candles regardless of zooming or panning.ng or panning.