CopyPipe Signal Connector🚀 Turn TradingView Alerts into Automatic MetaTrader Trades
Stop copy-pasting signals. This indicator generates **webhook-ready alerts** that execute directly on your MT4 or MT5 — hands-free.
---
### 🎯 How It Works
1. **Add this indicator** to any chart
2. **Set your webhook URL** (from CopyPipe.io) in the alert
3. **Conditions trigger → Trade executes** on MetaTrader automatically
Your TradingView does the analysis. Your MetaTrader does the execution. You do... whatever you want.
---
### 📊 Built-In Strategies
Choose from 4 ready-to-use strategies:
- **RSI Reversal** — Classic oversold/overbought entries
- **EMA Cross** — Trend-following momentum plays
- **Breakout** — Catch support/resistance breaks
- **Custom** — RSI + EMA confluence for filtered entries
Or use this as a **template** and add your own logic.
---
### ⚙️ Features
✅ Webhook-formatted alerts (JSON ready)
✅ Customizable lot size
✅ Built-in SL/TP calculation
✅ Works on any symbol
✅ Clean visual signals on chart
✅ Info panel with live RSI + signal status
---
### 🔗 Setup with CopyPipe (Free Beta)
1. Sign up at **copypipe.io/beta** (free during beta)
2. Download the EA for MT4 or MT5
3. Copy your webhook URL from the dashboard
4. Create an alert on this indicator → paste webhook URL
5. Done. Alerts now auto-trade.
---
### 📝 Alert Message Format
The alerts output clean JSON that CopyPipe understands:
```json
{
"action": "BUY",
"symbol": "BTCUSD",
"lot_size": 0.1,
"sl": 74500,
"tp": 78000
}
```
Works with the free CopyPipe tier. No API coding required.
---
### ⚠️ Risk Disclaimer
This indicator is a **tool**, not financial advice. Backtest thoroughly. Start with small positions. You are responsible for your own trades.
---
### 💬 Feedback Welcome
Drop a comment if you have questions or feature requests. Building this for the community.
**Happy trading!** 🎯
---
Educational
EMA 9 & 26 Crossover By SN TraderEMA 9 & 26 Crossover – Trend & Momentum Indicator For Scalpers
The EMA 9 & EMA 26 Crossover Indicator is a simple yet powerful trend-following tool designed to identify high-probability buy and sell signals based on short-term and medium-term momentum shifts.
This indicator is widely used by scalpers, intraday traders, and swing traders across Forex, Crypto, Stocks, Indices, and Commodities.
🔹 Indicator Logic
EMA 9 (Green) → Fast momentum
EMA 26 (Red) → Trend direction
BUY Signal
When EMA 9 crosses above EMA 26
Indicates bullish momentum and possible trend reversal or continuation
SELL Signal
When EMA 9 crosses below EMA 26
Indicates bearish momentum and potential downside movement
Clear BUY / SELL labels are plotted directly on the chart for easy visual confirmation.
📈 How to Trade Using This Indicator
✔ Enter BUY trades after EMA 9 crosses above EMA 26
✔ Enter SELL trades after EMA 9 crosses below EMA 26
✔ Use higher timeframes (15m, 1H, 4H) for stronger signals
✔ Combine with RSI, MACD, UT Bot, VWAP, Support & Resistance for confirmation
✅ Best Use Cases
Trend reversal identification
Momentum-based entries
Scalping & intraday strategies
Swing trading trend confirmation
Works on all timeframes
⚙️ Features
✔ Lightweight & fast
✔ Beginner-friendly
✔ Non-repainting signals
✔ Pine Script v6 compatible
✔ Clean visual design
⚠️ Disclaimer
This indicator is for educational purposes only and should not be considered financial advice. Always apply proper risk management and confirm signals with additional analysis.
Long-Term Investment Manager [Manual]Long-Term Investment Manager (Manual) is a portfolio decision support indicator designed for investors managing long-horizon equity or crypto positions with a rules-based, evidence-informed framework.
This script is not a trading signal generator and does not place orders. Instead, it functions as a structured portfolio advisor that contextualizes price action relative to trend, volatility, momentum, and your own cost basis, then translates that context into clear, interpretable guidance.
Core Philosophy
The indicator formalizes how disciplined long-term investors typically think:
Stay invested in primary uptrends
Protect capital when trends break
Trim into strength, not fear
Accumulate selectively during healthy pullbacks
Anchor decisions to entry price and position size, not emotions
What You Configure (Manual by Design)
Average Buy Price – your actual cost basis
Position Size – used for unrealized PnL calculation
Profit Trim Targets – two customizable percentage levels
Volatility Stop Multiplier – controls long-term trailing risk
This ensures the indicator adapts to your portfolio, not a hypothetical backtest.
Evidence-Based Components
200-period Simple Moving Average
Defines the long-term trend using a widely accepted institutional standard.
ATR-based Volatility Stop (Chandelier-style)
Adjusts dynamically to market noise and provides an objective exit when the trend fails.
Relative Strength Index (RSI) + Bollinger Bands
Identifies extension and overheating for profit trimming, and controlled pullbacks for accumulation.
Decision Hierarchy (Capital First)
The logic prioritizes decisions in a strict order:
Exit / Capital Protection
Triggered when price breaks the volatility stop or falls below the long-term trend.
Profit Management
Graduated trimming based on extension and predefined return thresholds.
Accumulation or Hold
Differentiates between healthy pullbacks in an uptrend versus conditions that warrant patience.
Visual & Dashboard Outputs
Entry price and profit targets plotted directly on the chart
Long-term trend and trailing stop visualized clearly
A compact dashboard displaying:
Return on investment percentage
Unrealized profit or loss in currency terms
Current recommended action
Explicit reasoning behind that action
Distance to stop as a quantified risk metric
Intended Use
This tool is best suited for:
Long-term investors managing core positions
Swing-to-position traders seeking structure and discipline
Portfolio managers who prefer rules over reactions
It is intentionally manual, transparent, and conservative—designed to support judgment, not replace it.
Disclaimer:
This indicator is for educational and informational purposes only and does not constitute financial advice. Always integrate broader risk management and personal judgment when making investment decisions.
Sai & Deb DMISai & Deb DMI with horizontal lines. Existing DMI lines are used and various levels can be drawn between 0 and 100 to see the trend reversals.
QuantumPips Sessions QuantumPips Sessions highlights the three main trading sessions. Asia, London, and New York, directly on your chart using session boxes, live session high/low tracking, and optional vertical dotted separators at each session open.
What it does
Draws a box around each session range (from session start to session end)
Updates the box dynamically to reflect the current session High + Low
Adds a session label (ASIA / LONDON / NEW YORK) above the session high
Optionally shades the chart background during active sessions
Optionally plots vertical dotted separators at the start of each session
Sessions (default UK time)
Asia: 00:00 – 09:00
London: 08:00 – 17:00
New York: 13:00 – 22:00
You can change session times and timezone in the settings to match your broker/chart.
Customization options
Toggle sessions on/off (Asia, London, NY)
Change box fill + border colors for each session
Adjust label text color + padding
Enable/disable background shading
Enable/disable vertical separators + set color/width
Day High And Low_FaysalThis indicator will help you find out previous day high and low. It works for those who want to use external liquidity strategy to take a trade.
Candle Numbers (last N, no bubble)
Candle Numbers (last N, no bubble) is a lightweight utility indicator that labels candles with sequential numbers to make chart analysis and discussion easier (e.g., “candle 213”, “the breakout candle”, “the pivot”). It is designed for clarity and performance: labels are text-only (no background bubble) and are drawn only for the last N bars.
What it does
Numbers the last N candles on the chart (a sliding window near the most recent bar).
Counting starts at the left edge of that window:
the leftmost bar in the window is 1
the most recent bar in the window is N (or fewer if you use stepping / limits).
Allows numbering every Nth bar to keep the chart clean.
Places numbers below each candle, with a configurable vertical offset measured in ticks.
Inputs
Bars to number (last N) (barsWindow)
Size of the numbered window (default 200).
Number every N bars (step)
1 = every bar, 2 = every second bar, 5 = every fifth bar, etc.
Text color (txtColor)
Text size (txtSizeIn)
tiny / small / normal / large
Vertical offset (ticks) (offsetTick)
Moves the label down by offsetTick * syminfo.mintick. You can use large values if needed.
Max numbers to plot (maxMarks)
Extra safeguard to control label count and performance.
How it works (implementation notes)
Labels are drawn only when barstate.islast is true (updates on the latest bar).
Previously created labels are deleted and re-created each update to avoid clutter.
Uses max_labels_count=500 plus maxMarks to stay within TradingView label limits.
Notes
This is not a trading signal indicator. It’s a chart annotation tool for analysis and manual backtesting.
Market Memory Layer by TheArchitectProject - COMMUNITY🎭 MARKET MEMORY LAYER by TheArchitectProject
🧠 PRICE REMEMBERS SAME CALENDAR DAYS FROM PAST YEARS
NAS100FT traders discovered → NOW UNIVERSAL
✅ 2023 👻 GREEN High/Low Lines (FREE)
✅ 2021 👻 PURPLE High/Low Lines (FREE)
📈 WORKS PERFECTLY:
• NAS100FT • EURUSD • SPX • BTC • DJ30FT • XAUUSD • XAGUSD
• 1m → Monthly timeframes
• No scam • All brokers
🔥 PRO VERSION ($67/mo):
• 1 Custom Year "Purple Ghosts" (1971-2025)
• ALL 6 years + 2025 live ghosts
• Discord setups • PDF manual
👻 patreon.com/TheArchitectProject
#MarketMemory #GhostTrading #NAS100FT
Auction Market Theory LevelsAuction Market Theory Indicator
TradingView Pine Script v6 indicator that plots Auction Market Theory (AMT) session levels for RTH/ETH, including value area, VPOC, initial balance extensions, and session VWAP, with Bookmap cloud notes logging.
Features
RTH and ETH session detection with configurable session times.
RTH levels: HOD/LOD, IB30, IB60, IB0.5, IB1.5, IB2.
Value Area (VAH/VAL) and VPOC computed from a session volume profile histogram.
ETH levels: ONH/ONL/ONMID/ONVPOC.
Session VWAP overlay.
Optional labels and/or lines, with ability to extend lines to the right.
Previous session level carry-forward.
Bookmap CSV-style logging and alert payload formatting.
## Inputs
Sessions: `RTH session time`, `ETH session time`.
Levels toggles: `Show HOD and LOD`, `Show IB`, `Show IB30`, `Show IB60`, `Show IB1.5`, `Show IB2`, `Show ONH, ONL, ONVPOC, ONMID`, `Show VAH and VAL`, `Show VPOC`.
Value Area: `Value Area %`, `Number of Histograms`.
Display: `Show price labels`, `Show Lines at price levels`, `Extend lines to the right`, `Session VWAP`, `VWAP color`.
Lookback: `Look back time in hours for previous sessions`.
Logging: `Symbol Prefix` for Bookmap datafeed output.
Getting started
1. Open TradingView and create a new Pine Script.
2. Paste the contents of (src/auction-market-theory.pine).
3. Save and add the indicator to a chart.
Notes
The indicator is designed to run on intraday timeframes with session boundaries.
VPOC/VAH/VAL are calculated from a volume profile histogram built from session bars.
Alerts emit a CSV-style payload containing AMT levels for Bookmap.
Bookmap Cloud Notes output
The script logs and alerts a CSV-style line compatible with Bookmap Cloud Notes. Each line follows this format:
"SYMBOL",PRICE,NOTE,FG_COLOR,BG_COLOR,ALIGN,DIAMETER,LINE
Example (from the script):
"ESH6.CME@BMD",5243.25,ONVPOC,#000000,#ff0066,left,1,TRUE
Alerts → email → local Bookmap Cloud Notes
TradingView alerts can be configured to send these CSV lines to your email address. A simple Python script can then read the email and publish the notes locally to Bookmap Cloud Notes.
Suggested flow:
1. Create a TradingView alert for this indicator.
2. Use the alert message template to output the payload (the script already builds the message in `msg`).
3. Configure the alert to send to your email.
4. Run a local Python reader that parses the incoming email and forwards the CSV lines to your Bookmap Cloud Notes endpoint.
Ross GPT - Momentum Scalp 1mThis strategy is a long-only momentum scalping system designed for the 1-minute timeframe, combining VWAP, EMA trend alignment, MACD momentum, volume confirmation, and session filtering to identify high-probability intraday entries for pre-market session and U.S small cap stocks with high % change compared to previous day. Apply only for stock price between $2-$20.
⸻
1️⃣ Date Range Filter
The strategy trades only within a user-defined date range.
• Default range: Feb 1, 2026 – Dec 31, 2069
• Trades are ignored outside this period
• Useful for controlled backtesting and forward testing
⸻
2️⃣ Indicators Used
VWAP
• Used as a trend and mean-reversion filter
• Only long trades are allowed when price is above VWAP
MACD (12, 26, 9)
• Momentum confirmation
• Entry requires MACD line > Signal line
• Exit is triggered if MACD crosses below Signal
Exponential Moving Averages
• EMA 9
• EMA 20
• EMA 50
• EMA 200 (visual reference)
Trend Bias Requirement
• Bullish alignment:
• EMA 9 > EMA 20 > EMA 50
Volume Strength (Price Action Proxy)
• Counts bullish candles over the last 5 bars
• Entry requires at least 3 green candles
• Used as a confirmation of buying pressure
⸻
3️⃣ Session Filter
Trades are allowed only during a specific intraday session:
• 06:59 – 09:00 (exchange time)
• Designed to focus on high-liquidity morning momentum
⸻
4️⃣ Entry Conditions (Long Only)
A buy signal is generated when all of the following are true:
• Price is above VWAP
• MACD line is above Signal line
• EMA alignment confirms bullish trend
• Bullish candle count condition is met
• Current bar is within the allowed session
• Current bar is within the selected date range
• No existing open position
Only one position at a time is allowed.
⸻
5️⃣ Trade Execution
• Market entry when all conditions align
• Fixed position sizing (default: 500 units)
• Commission and slippage are included for realism
⸻
6️⃣ Exit Logic
Primary Exit (Bracket Order)
• Take Profit: +0.25
• Stop Loss: -0.10
• Managed using strategy.exit for intra-bar accuracy
Indicator-Based Exit
• If MACD crosses below the Signal line, the position is closed immediately at market
This dual exit system allows both quick scalps and early momentum failure exits.
⸻
7️⃣ Visual Aids
The strategy plots all key indicators used in decision-making:
• EMA 9, 20, 50, 200
• VWAP
This allows easy visual verification of entries and exits directly on the chart.
⸻
⚠️ Notes
• Designed for scalping and short-duration trades
• Best suited for high-liquidity instruments
• Results may vary depending on symbol, spread, and market conditions
• This script is for educational and research purposes only
Liqudity Magnets [Zofesu]Liquidity Magnets is a high-precision institutional-grade tool designed to identify where large market participants place their orders. Instead of looking at basic support and resistance, this indicator focuses on Liquidation Levels and Stop-Loss cluster s, which act as "magnets" for price action.
🧠 The Concept
Markets move from one pocket of liquidity to another. Retail traders often place their stop-losses just above or below recent Swing Highs/Lows. Professional players and algorithms target these areas to fill their large orders (Stop-hunting) .
This indicator uses a Multi-Timeframe (MTF) approach to detect these critical zones based on leverage psychology:
🧲 Yellow Lines (4%) : Near-term liquidity/stop-loss clusters. Common targets for intraday sweeps.
💰 Red/Green Lines (10%): Major liquidation zones. These represent areas where high-leverage positions (10x) face forced liquidations, often leading to massive trend exhaustion and reversals.
🛠️ How it works
📊 MTF Liquidity Projection: The indicator automatically projects levels from a higher timeframe (Default: 4h) to ensure you are looking at significant market structure.
🎯 Filtered Stop-Run Signals (▲/▼): Grey triangles appear only when the price successfully "sweeps" a high/low AND penetrates deep enough into the liquidity pool. This filters out market noise.
🌑 Stealth Bar Coloring: Candles turn black/dark when a sweep is in progress, providing a clear visual cue that the market is currently "hunting" liquidity.
⚙️ Settings Guide
🕒 Select TF: Choose the anchor timeframe for magnets (Recommended: 240 for 4h).
🔍 Lookback: Sets the period for detecting the most relevant Swing Highs and Lows.
📏 Line Length: Controls how many bars the magnet lines extend into the future.
📈 Signal Sensitivity %: * 0%: Shows every minor sweep.
100%: Only triggers if price reaches the 4% magnet line exactly.
🎨 Color Settings: Fully customizable colors to fit any chart theme (Dark/Light).
💡 Trading Strategy
For the best results, look for the "Sweep & Reject" play:
1. Price enters a Magnet Line (Yellow or Red/Green).
2. A Stop-Run Triangle appears.
3. Wait for the price to reject the level and close back inside the previous range.
⚠️ Note
This script uses dark bar-coloring for sweep detection. If you are using a Dark Theme, ensure your candle borders are visible or adjust the Barcolor settings in the script inputs. On TF-H4 you can also use H1, you will see the channel in which the price moves and hits the lines, it is recommended to watch green and red there. Good use on titles like gold, silver - significant movements. Experiment.
For any questions or setup assistance, feel free to check my profile signature or better send me a private message here on TV!
Pinescript Custom Performance BoostThis small script is a custom function that works similarly to the built-in calc_bars_count and max_bars_back functions, but can be used far more flexibly and significantly reduces the required computation time of Pine Script scripts.
The advantages over calc_bars_count are substantial.
The standard function works with a fixed value, e.g. calc_bars_count = 20000. The custom function, on the other hand, works on a percentage basis, e.g. with 20% of the total available chart bars.
In addition, calc_bars_count always affects the entire code, while the custom function can be applied selectively to specific parts of the script.
These two differences enable a much more flexible and efficient usage.
Fixed number of bars vs. percentage-based limitation:
The number of available bars varies greatly, not only depending on the ticker and timeframe used, but also on the TradingView subscription (approx. 5,000–40,000 historical bars).
For example, when using calc_bars_count = 20000, only charts that have more than 20,000 candles benefit. If the available number of bars is lower, there is no performance benefit at all until the value is changed after the first slow calculation.
When using the custom function with, for example, 50%, only 50% of the available bars are always calculated, regardless of how many bars are available. This results in a performance gain with shorter calculation times regardless of the chart.
Entire code vs. partial code sections:
calc_bars_count = 20000 affects the entire code globally, meaning the script processes data from only those 20,000 bars.
The custom function, however, can be used selectively for specific sections of the code. This makes it possible to continue accessing certain values across all available bars, while limiting only the truly computation-intensive parts of the script to a percentage-based range.
In this way, computation time can be drastically reduced without restricting the overall size of the data sets.
It is also possible to imitate max_bars_back and selectively limit specific values instead of limiting all of them.
I hope this is useful to some of you. Have fun with it!
SolQuant WatermarkSOLQUANT WATERMARK
The SolQuant Watermark is a professional-grade utility script designed for traders, educators, and content creators who want to keep their charts organized and branded. By utilizing Pine Script’s table functions, this indicator ensures your custom text and symbol data stay pinned to the screen, regardless of where you scroll on the price action.
KEY FEATURES
Customizable Branding: Display your community name, website, or social handles anywhere on the chart.
Automated Symbol Data: Dynamic tracking of the current Asset, Timeframe, and Date—perfect for keeping screenshots contextually accurate.
Precision Placement: Choose from 9 different anchor points (Top-Left, Bottom-Right, etc.) to ensure the UI never interferes with your technical analysis.
Visual Scaling: 5 different size settings (Tiny to Huge) to accommodate high-resolution displays or mobile viewing.
Aesthetic Control: Fully adjustable color palettes, background transparency, and border toggles.
WHY USE A TABLE-BASED WATERMARK?
Unlike standard chart labels which are tied to specific price/time coordinates, this tool uses the Table API . This means:
The watermark stays in place while you scroll through history.
It doesn't disappear when you "hide" other drawing tools.
It scales consistently across different devices.
INSTRUCTIONS
1. Branding: Open settings and type your link or handle into the "Quote Text" area.
2. Symbol Info: Toggle the "Symbol Info" section to automatically display asset names and dates for your records.
3. Layout: Use the X and Y position dropdowns to move the modules if they overlap with your current price action or other indicators.
Note: This is a visual utility tool only. It does not provide trade signals or financial advice.
Relative Equal Highs/Lows by tncylyvRelative Equal Highs/Lows
Relative Equal Highs/Lows (REH/REL) is a technical analysis utility designed to identify significant liquidity pools based on Smart Money Concepts (SMC). Unlike standard support and resistance tools that look for single touches, this script identifies sequences of swing points that form relatively flat or slightly stepping structures.
These structures typically represent engineered liquidity or inducement levels where stop-losses are clustered. The indicator visualizes these areas and projects the price level that is likely to be targeted by future price action.
Core Concepts
Relative Structure Detection
Markets rarely form perfectly equal double tops or bottoms to the exact tick. This indicator detects "Relative" Equal Highs or Lows by analyzing a sequence of swing points. It looks for a user-defined number of swings (default is 3) that occur within a specific point threshold of each other, forming a trendline liquidity or flat structure.
Validation System (Noise Reduction)
A distinct feature of this script is its validation mechanism. When a potential pattern is detected, it is not drawn immediately. Instead, it enters a "pending" state for a specific number of bars.
• If price immediately breaks the level during this wait period, the pattern is discarded as noise.
• If the level remains unmitigated after the wait period, it is confirmed and drawn on the chart.
This logic helps reduce clutter and false signals caused by immediate volatility.
Standard Data Integrity
The indicator explicitly requests standard ticker data for all calculations. This ensures that even if you are viewing Heikin Ashi, Renko, or other synthetic chart types, the liquidity levels remain accurate to the real market OHLC prices.
Key Features
• Customizable Swing Detection: You can define how many swings are required to form a pattern (e.g., 2 for double tops/bottoms, 3 or more for extended liquidity pools).
• Gap Management: Options to enforce a minimum number of bars between swings to ensure the structure covers a significant timeframe.
• Mitigation Handling: Choose exactly how a level is considered broken (Wick Touch, Candle Close, or Sweep/Rejection).
• Visual Connectors: Optional dotted lines connect the specific pivot points used to derive the level, helping you visualize the structure of the liquidity.
Settings Overview
Pivot Length
Determines the lookback period to define a Swing High or Low. Higher values will identify more significant market structures.
Max Step Difference (Points)
This is the tolerance range allowed between consecutive swing points. Since this calculates based on raw points, this value must be adjusted significantly depending on the asset class (e.g., Forex pairs versus Crypto or Indices) to match the price scale of the instrument.
Required Swings Amount
The number of swing points required to confirm a pattern.
Min Bars Between Swings
Ensures that the detected pivots are distinct and spaced out by a minimum amount of time.
Validation Wait (Bars)
The duration a pattern must survive before being rendered. Increasing this value filters out structures that are immediately swept.
Mitigation Mode
• Wick Touch: The level is mitigated as soon as a wick touches it.
• Close Through: The level is only mitigated if a candle closes beyond it.
• Sweep Reject: The level is mitigated only if price sweeps it but closes back inside the range.
Visualization
Controls the colors, line styles, and line widths for both active and mitigated levels. Connectors can be toggled on or off to show the path of the swing points.
Adaptive For LoopAdaptive For Loop (AFL | MisinkoMaster)
The Adaptive For Loop is an innovative trend-following indicator designed to deliver fast and reliable signals while minimizing false positives. By dynamically assessing the relationship between current and historical price data across multiple price components—open, high, low, and close—this tool filters out noise and highlights the strongest trend signals.
Unlike traditional indicators that rely on a single price input, Adaptive For Loop harnesses the combined strength of multiple price points, intelligently selecting the most relevant signal to adapt to changing market conditions. This approach helps traders identify genuine trend momentum with clarity and speed.
🔍 Concept & Idea
The idea behind Adaptive For Loop is to improve trend detection by simultaneously evaluating multiple price sources instead of just one. Each price component (open, high, low, close) undergoes a scoring process comparing the current price to a series of historical prices within a user-defined lookback range.
Since different price points may exhibit varying degrees of noise or trend clarity at different times, the indicator selects the source with the strongest directional signal based on absolute scoring. This adaptive selection reduces noise and enhances signal reliability while maintaining fast responsiveness.
⚙️ How It Works
The indicator performs a looped comparison for each price series (open, high, low, close) over a range specified by the user (from start to end bars ago).
For each bar in the range, it increments or decrements a score depending on whether the current price is higher or lower than the compared historical price.
After scoring all four price sources, the indicator selects the score with the greatest absolute value to represent the dominant market momentum.
This dominant score is then evaluated against user-defined upper and lower thresholds to determine the market trend state:
Above the upper threshold: bullish/uptrend signal
Below the lower threshold: bearish/downtrend signal
Between thresholds: neutral/no clear trend
The indicator plots the score, thresholds, and highlights the trend visually, including colored candlesticks representing the detected trend.
🧩 Inputs Overview
From (start) – Defines the start bar offset for the lookback range in the for loop (default 0).
To (end) – Defines the end bar offset for the lookback range in the for loop (default 45).
Upper Threshold – Score level above which an uptrend signal is triggered (default 39).
Lower Threshold – Score level below which a downtrend signal is triggered (default -12).
📌 Usage Notes
Adaptive Selection: The indicator adapts by selecting the price source with the strongest trend signal, reducing false signals caused by noisy individual price inputs.
Speed and Noise: Designed for fast execution and minimal noise, making it especially useful in volatile markets such as BTCUSD.
Visual Clarity: Colored candlesticks and score plots help traders quickly identify trend direction and strength.
Customization: Users can adjust the lookback range and thresholds to fit different assets and timeframes.
Complementary Tool: Best used alongside other confirmation indicators and sound risk management practices.
Backtesting Recommended: Always backtest and validate settings on historical data to optimize performance for your specific market.
⚠️ Disclaimer
This indicator is provided for educational and analytical purposes only and does not constitute financial advice. Trading involves significant risk, and users should perform their own due diligence before making any investment decisions.
Enjoy trading with Adaptive For Loop!
Money managementnever forget your money management ! never.....................................................................................
JB Trader - Scenario B: Visual Pro (Nifty 50)Description: Designed and developed by Jeya Bharathi (JB), Founder of JB Trader.
This is a high-precision scalping strategy specifically optimized for Nifty 50 and Bank Nifty. It combines trend-following logic with momentum and volume confirmation to capture quick moves in the intraday market.
Key Features:
Multi-Indicator Synergy: Integrates SuperTrend for trend direction and VWAP for institutional price alignment.
Candle Break Confirmation: Entries are triggered only when a price break occurs (High/Low) on the signal candle, ensuring momentum is on our side.
Volume Filter: Built-in volume analysis to filter out "false breakouts" during low-liquidity periods.
Visual Dashboard: Real-time on-chart table showing current trend status and decision-making (Buy/Sell/Wait).
Time-Restricted Trading: Optimized for Indian market hours (9:15 AM - 2:45 PM) to avoid end-of-day volatility.
Best Performance:
Timeframe: 3 Minutes or 5 Minutes.
Asset: Nifty 50 Index / Futures.
Declaration & Disclaimer:
Educational Purpose: This script is developed for educational and analytical purposes only.
Risk Warning: Trading involves significant risk. JB Trader is not responsible for any financial losses incurred using this strategy.
No Financial Advice: The signals generated by this script do not constitute financial advice. Users should consult a certified financial advisor before making any investment decisions.
Proprietary Logic: This code is the intellectual property of JB Trader (Jeya Bharathi). Unauthorized reproduction or redistribution is strictly prohibited.
Pair Correlation Oscillator (Overlay)Pair Correlation Oscillator (Overlay)
Overview
This open-source TradingView indicator computes the Pearson correlation coefficient between the chart's instrument (Ticker A) and a user-selected instrument (Ticker B). The correlation is displayed as an oscillator within the range −1..+1:
+1 — perfect positive correlation
0 — no linear correlation
−1 — perfect inverse correlation
Key features
Default window: 500 bars (configurable)
Option to compute correlation on log returns (recommended for comparing different instruments)
Option to exclude the current unfinished bar (use previous completed bars only)
Overlaid line + histogram columns for immediate visual interpretation
Alert examples included (commented out) for high correlation thresholds
Inputs
Ticker 2 — the other instrument to compare against (Ticker 1 is always the chart symbol)
Correlation length — window in bars for the rolling correlation (default 500)
Use log returns — converts price series to log returns before correlation (recommended)
Exclude current bar — shift series by 1 to use only completed bars
How to use
Add the script to your chart and set Ticker 2 to the instrument you want to correlate with the chart symbol.
Choose Use log returns = true for price-to-price comparisons (it removes level bias).
Optionally enable Exclude current bar for more stable signals if you do not want the live unfinished bar affecting results.
Use the line/histogram and label shown on the chart to inspect correlation in real time.
Limitations & notes
Correlation measures linear relationship over the chosen window — non-linear relationships won't be captured.
Very different tickers (e.g., price scales, very low liquidity) may show noisy correlation; use returns and longer windows in such cases.
This indicator is for information/analysis only — not trading advice.
MAs+Engulfing O caminho das Criptos
This indicator overlays multiple moving averages (EMAs 12/20/50/100/200 and SMA 200) and highlights bullish/bearish engulfing candles by dynamically coloring the candle body. The EMA 12 (gray) provides short-term momentum insight, helping refine entry timing and micro pullbacks.
When a bullish engulfing is detected, the candle appears as a strong dark green; for bearish engulfing, a vivid red. Normal candles retain classic lime/red colors. Visual alerts and bar coloring make price-action patterns instantly visible.
Includes built-in alert conditions for both patterns, supporting both trading automation and education. The tool upgrades trend-following setups by combining macro structure (longer EMAs) with micro momentum (EMA 12) and automatic price-action insights.
Risk/Reward vs Win Rate HeatmapThis indicator overlays two decision-support tables on your main chart:
1. Reward:Risk vs Win Rate Heatmap
A matrix that shows whether a given combination of Win Rate (%) and Reward:Risk (R:R) is expected to be:
Profitable (green)
Break-even (amber)
Not Profitable (red)
The color is based on the standard expectancy concept:
E = p * R - (1 -p)
where p is win probability and R is Reward:Risk.
The diagonal amber cells represent the break-even boundary.
2. Drawdown Table
A quick reference table showing how much % gain is required to recover after a capital drawdown (e.g., -20% requires +25% to return to break-even). This is meant to anchor capital preservation and risk management decisions.
________________________________________
How to Use
Set your expected Win Rate and R:R in the inputs.
Enable Show highlight to display a status icon on the matching cell:
Profitable: 💰
Break-even: ⚠
Not profitable: 🚫
(All icons are customizable.)
Use the heatmap to sanity-check whether your strategy parameters make sense, and use the drawdown table as a reminder of why protecting capital matters.
________________________________________
Inputs & Customization
Position: Place each table anywhere on the chart (default layout provided).
Colors: Header colors and heatmap colors are customizable (defaults included).
Fonts: Title, headers, labels, legend, and icon font sizes are configurable.
Icons: Set your own symbols for Profitable / Break-even / Not profitable (with optional auto-contrast).
________________________________________
Notes
This script is educational and provides a visual framework to reason about expectancy and drawdowns.
It does not generate trade signals and does not guarantee profitability.
Results depend on the accuracy of your inputs and real-world execution (slippage, fees, market regime, etc.).
________________________________________
Disclaimer
This indicator is for educational purposes only and is not financial advice. You are responsible for any trading decisions and risk management.
EZ Trend Indicator**EZ Trend Indicator (ElectZA)**
EZ Trend Indicator is a clean, lightweight trend tool built around the classic **EMA 50 / EMA 200** relationship. It plots both moving averages directly on price and automatically shades the chart background to quickly show whether the market is in a **bullish** or **bearish** environment. It also includes alert conditions for trend state changes so you can monitor direction without staring at the screen.
### What it shows
* **EMA 50 (Blue):** faster trend line (shorter-term direction)
* **EMA 200 (Red):** slower trend line (longer-term direction)
* **Background shading:**
* **Green** when EMA50 is above EMA200 (bullish trend)
* **Red** when EMA50 is below EMA200 (bearish trend)
### How to use
* **Trend filter (simple & effective):**
* When the background is **green**, prioritize **buy/long setups** and avoid counter-trend sells.
* When the background is **red**, prioritize **sell/short setups** and avoid counter-trend buys.
* **Crossover confirmation:**
* A shift from red → green suggests a potential bullish trend transition.
* A shift from green → red suggests a potential bearish trend transition.
* **Alerts:**
* Use **Bull Trend** alerts to get notified when the script detects a bullish trend state.
* Use **Bear Trend** alerts to get notified when the script detects a bearish trend state.
* **Best practice tip:**
* Combine this with your entry model (price action, support/resistance, MACD/RSI, etc.)—use EZ Trend Indicator as the **direction filter**, not the only trigger.
---
### Disclaimer
This indicator/script is provided for **educational and informational purposes only** and does **not** constitute financial, investment, or trading advice. Trading involves **significant risk**, and you may lose some or all of your capital. Past performance is **not** indicative of future results. Always do your own research, backtest on your market/timeframe, and apply proper risk management. By using this script, you accept full responsibility for all trading decisions and outcomes.






















