Sahid Strategy v2This script identifies potential buy/sell signals using:
Pivot Points - Detects swing highs/lows (price reversals)
Confirmation Filters - Reduces false signals using:
RSI (momentum)
Moving Average (trend direction)
Optional MACD (trend confirmation)
Key Features
Signal Type Trigger Conditions
BUY - Price makes a swing low (pivot)
Copy
- RSI ≤ 30 (oversold)
- Price above trend MA
- MACD bullish (optional) |
| SELL | - Price makes a swing high (pivot)
- RSI ≥ 70 (overbought)
- Price below trend MA
- MACD bearish (optional) |
Visual Signals
Green "BUY" labels below price bars
Red "SELL" labels above price bars
Purple trend line (20-period EMA/SMA)
Orange/blue circles showing raw pivot points
Optional Tools
Debug Table (top-right): Shows real-time:
RSI value
Price vs MA position
MACD status
Alerts - Triggers audible/visual notifications
Customization
Adjust in settings:
Pivot sensitivity (left/right bars)
RSI levels (30/70 by default)
MA type/length (20-period EMA/SMA)
Toggle MACD filter on/off
Best For: Swing trading in trending markets (1H-4H timeframes). Signals appear faster than classic pivot strategies but still require confirmation from other analysis tools.
Corak carta
[icreature] Various types of MA with Auto-coloured and LabelsHi all,
This MA includes multiple types for you to choose from, with automatic color changes to indicate bullish or bearish trends. It also comes with labels, so you won’t have to remember which MA periods or timeframe you’ve set. Enjoy!
EMA + MA + Daily Pivot Levels + Supertrend
🔹 20 EMA – A fast-moving average to track short-term trend
🔹 100 & 200 SMA – Long-term trend indicators
🔹 Daily Pivot Levels – PDH, PDL, Pivot Point, R1, S1
🔹 Supertrend (10, 2) – Trend-following signal with color-coded direction
Million Minority Strategy (Visualizer)This Indicator breaks up the candles on a 1 min chart into 5 minute blocks. THis can then provide an indication of what trade will open the next 5 min block.
Market Open Highlights (9:30 AM ET)This indicator zeroes in on the 9:30 AM Eastern Time market opens for NAS100 and US30, highlighting all market opens with a bold yet subtle yellow background. Tailored for precision backtesting, it uses TradingView’s timezone capabilities to pinpoint the exact 9:30 AM candle, skipping weekends to focus solely on U.S. equity market opens.
What It Does:
The script tracks the bar indices of all market opens at 9:30 AM ET, applying a semi-transparent yellow highlight to those candles. It’s a clean, efficient way to mark key session starts for analyzing price action or testing strategies.
How to Use It:
1. Apply the script to a chart of NAS100 (e.g., FX:NAS100) or US30 (e.g., FX:US30) in TradingView on any timeframe.
2. Set your chart timezone to "America/New_York" (Settings > Timezone/Sessions).
3. Scroll back through trading days to see the yellow highlights on the 9:30 AM candles.
4. While it functions across all timeframes, it’s optimized for 5-minute and 1-minute charts, where the 9:30 AM candle aligns precisely with the U.S. market open for detailed analysis.
5. Use it to study price behavior or refine strategies around this critical daily event.
Support & Resistance LevelsSupport & Resistance Levels (MTF) is an indicator that highlights key support and resistance zones using data from higher timeframes. It helps traders spot strong price levels and align entries with the broader market trend.
London Breakout Tracker - Box Style📊 London Breakout Tracker (Pine Script v6)
This script is designed to track the Asian session range and identify breakout opportunities when the London session begins. It highlights high-probability trade setups and helps avoid fakeouts or overly wide ranges.
🧱 1. Session Time Definitions (Adjusted for Kenyan Time)
The Asian session is defined as:
3:00 AM to 11:00 AM (Kenyan Time)
🔐 2. Asian Session High & Low
During the Asian session:
The script tracks the highest high and lowest low to define the range.
These are stored in variables: asianHigh and asianLow.
🧊 3. Box Drawing for the Asian Range
Once the Asian session ends:
A visual box is drawn around the session using box.new().
This box spans from the session start to end bars and from the high to low.
It helps visually see the range price must break out from.
🚨 4. Breakout Signals
After the Asian session:
A Long Breakout signal is generated if:
The candle closes above the Asian High.
A Short Breakout signal is generated if:
The candle closes below the Asian Low.
This corresponds to 00:00 to 08:00 UTC
These are shown with:
✅ Green up label for long breakouts
❌ Red down label for short breakouts
🧯 5. Fakeout Detection
If price breaks out but closes back inside the Asian range, it’s marked as a Fakeout:
Long Fakeout: Price breaks above high, then closes back below.
Short Fakeout: Price breaks below low, then closes back above.
These are marked with orange X-crosses above or below candles.
⚠️ 6. Wide Range Filter
If the Asian session range is too wide (e.g. > 40 pips), a gray background is drawn.
This warns you not to trade that day since breakouts from wide ranges are unreliable.
📣 7. Alert Conditions
The script can trigger alerts in TradingView when:
🔔 A Long or Short Breakout occurs
⚠️ A Fakeout is detected
You can set these up via the TradingView alert system.
🎯 Overall Purpose:
The script helps you:
Clearly see the Asian session range
Identify breakout opportunities at the London open
Avoid trading during fakeouts or wide-range sessions
Get alerted when breakout/fakeout conditions occur
Nifty 1m EMA Pullback Scalper Signals
### **Master the Market with the Sniper Scalping Strategy for Nifty (1-Minute Timeframe)**
Unlock the power of precision trading with this expertly crafted **Sniper Scalping Strategy**, designed specifically for the Nifty index on a lightning-fast 1-minute timeframe. Perfect for traders who thrive on quick decisions and small, consistent profits, this strategy combines multiple indicators to deliver razor-sharp entries and exits—ideal for India’s dynamic market.
#### **Why This Strategy Stands Out**
- **Pinpoint Accuracy**: Harness the synergy of the **5 EMA and 10 EMA crossover** to lock onto the short-term trend, while the **Stochastic Oscillator (14,3,3)** times your entries and exits with surgical precision.
- **Fast and Effective**: Tailored for the 1-minute chart, this strategy capitalizes on Nifty’s volatility, targeting **10-point profits** with a tight **5-point stop-loss**—keeping your risk low and rewards high.
- **Trend + Momentum**: Blend trend-following (EMAs) with momentum signals (Stochastic) for a robust, multi-dimensional approach that cuts through market noise.
#### **How It Works**
- **Buy Signal**: Enter long when the 5 EMA crosses above the 10 EMA and the Stochastic rises above 20—catching the uptrend at its sweet spot.
- **Sell Signal**: Go short when the 5 EMA dips below the 10 EMA and the Stochastic falls below 80—riding the downtrend with confidence.
- **Exit Like a Pro**: Take profits at 10 points or when the Stochastic hits overbought/oversold extremes, ensuring you’re in and out before the market shifts.
#### **Perfect for Nifty Scalpers**
Built for the fast-paced world of Nifty trading, this strategy shines during high-volatility sessions like the market open or global overlaps. Whether you’re a beginner honing your skills or a seasoned trader seeking consistency, the Sniper Scalping Strategy offers a clear, actionable framework to scalp profits with discipline and precision.
#### **Get Started**
Test it in a demo account, refine it to your style, and watch your scalping game soar. Trade smart, stay focused, and let the Sniper Scalping Strategy turn Nifty’s 1-minute moves into your edge!
USI - Ultimate Swing Indicator (Daily)swing trading for equity market momentum indicater for candel stick basis and strenght
DM Support / ResistanceThis indicator functions on the basis of Demarks Support / Resistance by analyzing the most recent 4-hour candle of the US trading session. The preferred candle for analysis is the one closing at 3 PM local time in the USA. The indicator's calculations are derived from the mathematical properties of the 4-hour candle immediately preceding the 3 PM candle, which would have opened at 10 AM USA time. Please consult the chart provided by the Capital.com broker. If the pivot value displayed by the indicator is positive (the fourth value shown), it indicates a long signal. In this case, consider entering a long position on the corresponding stock at the identified support level. Similarly, if the displayed pivot value is negative, look for a short opportunity from the resistance level. The resistance and support levels are the second and third values presented by the indicator, in that order.
SMC Structures and FVGThe provided Pine Script code is an indicator for trading platforms, specifically designed to identify and visualize key trading concepts such as Fair Value Gaps (FVG) and market structures. Here is a detailed description of its functionality:
### Overall Purpose
This indicator aims to assist traders in analyzing market dynamics by highlighting important price levels and areas of interest. It combines the identification of FVGs and market structures to provide a comprehensive view of the market.
### Key Features and Functionalities
#### 1. Input Parameters
- **Fair Value Gap (FVG) Settings**:
- `isFvgToShow`: A boolean input to determine whether to display FVGs on the chart.
- `bullishFvgColor` and `bearishFvgColor`: Define the colors for bullish and bearish FVGs respectively.
- `mitigatedFvgColor`: Specifies the color for mitigated FVGs.
- `fvgHistoryNbr`: Determines the number of FVGs to display on the chart (default set to 10).
- `isMitigatedFvgToReduce`: A boolean input to decide whether to reduce the size of mitigated FVGs.
- **Market Structure Settings**:
- `isStructBodyCandleBreak`: A boolean input to indicate whether to consider the candle body for structure breaks.
- `isCurrentStructToShow`: A boolean input to control the display of the current market structure.
- `bullishBosColor` and `bearishBosColor`: Set the colors for bullish and bearish Break of Structure (BOS) lines (both set to green).
- `bosLineStyleOption` and `bosLineWidth`: Define the style and width (set to 2) of BOS lines.
- `bullishChochColor` and `bearishChochColor`: Determine the colors for bullish and bearish Change of Character (CHoCH) lines.
- `chochLineStyleOption` and `chochLineWidth`: Specify the style and width (set to 2) of CHoCH lines.
- `currentStructColor`, `currentStructLineStyleOption`, and `currentStructLineWidth`: Set the color, style, and width (set to 2) of the current market structure lines.
- `structHistoryNbr`: Defines the number of structure breaks to display on the chart.
#### 2. Fair Value Gap (FVG) Detection and Visualization
- **FVG Identification**:
- The code identifies bullish FVGs when the high of the third - previous bar is less than the low of the previous bar (`isBullishFVG`).
- Bearish FVGs are identified when the low of the third - previous bar is greater than the high of the previous bar (`isBearishFVG`).
- **FVG Drawing**:
- For each identified FVG, a box is drawn on the chart with the appropriate color based on its bullish or bearish nature.
- Labels are added to the FVG boxes.
- The code also handles the removal of FVGs that have been mitigated (i.e., when the price crosses the FVG range).
- Mitigated FVGs are colored differently, and an alert can be triggered when an FVG is mitigated.
#### 3. Market Structure Analysis
- **Structure Identification**:
- The code identifies the highest and lowest price levels within a lookback period (default 10 bars).
- It tracks the start index of the current high and low structures.
- Structure breaks are detected based on whether the price crosses the previous high or low structure levels, considering the candle body if `isStructBodyCandleBreak` is set to true.
- **Line Drawing**:
- When a structure break occurs, either a BOS or CHoCH line is drawn on the chart depending on the market direction.
- The lines are drawn with the specified color, style, and width.
- Labels are added to the lines to indicate whether they are BOS or CHoCH lines.
- The current market structure is also displayed on the chart with the defined color, style, and width.
#### 4. Alerts
- **Alert Conditions**:
- Alerts are set for BOS and CHoCH events. When a BOS or CHoCH occurs, an alert is triggered with the corresponding title and message.
In summary, this indicator provides traders with a visual representation of FVGs and market structures, along with alerts for key events, helping them to make more informed trading decisions.
MOPS Indicator - Master of ProfitsWhat this Script Does
1. Quick Buy (QB)
Conditions:
MACD crossover
RSI < 50
Trend is up (EMA50 > EMA200)
➡️ Places a label below the bar:
"QB Entry: xxx SL: xxx | TP: xxx | R:R"
2. Quick Sell (QS)
Conditions:
MACD crossunder
RSI > 50
Trend is down (EMA50 < EMA200)
➡️ Label appears above the bar.
3. Close Quick Buy (QBC)
When the previous candle had QB and now a MACD crossunder happens.
➡️ Label "QBC" above bar to close long.
4. Close Quick Sell (QSC)
Previous candle had QS and now MACD crossover.
➡️ Label "QSC" below bar to close short.
5. Bull Buy (BullB)
When price crosses above middle Bollinger Band + MACD cross + price between BB Middle & Upper + MACD above zero.
➡️ Entry label below bar.
6. Bear Sell (BearS)
Opposite logic to BullB, label above bar.
7. Close BullB / Close BearS
Opposite exit signals using price movement and MACD.
8. Swing Buy / Swing Sell
When price breaks Fibonacci retracement levels with trend confirmation.
EMA Crossover 9/21 📈 **EMA Crossover Signal Line**
Created by **Ahmet AKSOY (tugeday)**
This indicator visualizes the crossover between two EMAs using a single dynamic-colored line.
✅ **How it works:**
- The script calculates two EMAs: a short-period EMA and a long-period EMA.
- Only the **short EMA line** is displayed on the chart.
- When the short EMA **crosses above** the long EMA (bullish crossover), the line color turns **green**.
- When the short EMA **crosses below** the long EMA (bearish crossover), the line color turns **red**.
- The line color remains based on the last crossover signal.
🎛️ **Customizable Inputs:**
- Short EMA period (default: 9)
- Long EMA period (default: 21)
All EMA periods can be adjusted from the settings panel, allowing traders to fine-tune the indicator to match their strategy.
Simple, clean, and effective.
Developed by **Ahmet AKSOY (tugeday)** — enjoy and trade smart!
Liquidity Grab (Bullish + Bearish) + 14, 22, 30 Bars + AlertsThis is a Institutional Level alert system. When a liquidity grab level is reached, candles 14, 22, and 30 are lit up to help you enter and exit.
Normalized MACD with RSI & Stoch RSI + SignalsNormalized MACD with RSI & Stoch RSI Indicator
Overview:
This indicator combines three popular momentum indicators (MACD, RSI, and Stochastic RSI) into a single cohesive, normalized view, making it easier for traders to interpret market momentum and potential buy/sell signals. It specifically addresses an important issue—the different scale ranges of indicators—by normalizing MACD values to match the 0–100 scale of RSI and Stochastic RSI.
Here’s a clear and concise description of your updated Pine Script indicator:
⸻
Normalized MACD with RSI & Stoch RSI Indicator
Overview:
This indicator combines three popular momentum indicators (MACD, RSI, and Stochastic RSI) into a single cohesive, normalized view, making it easier for traders to interpret market momentum and potential buy/sell signals. It specifically addresses an important issue—the different scale ranges of indicators—by normalizing MACD values to match the 0–100 scale of RSI and Stochastic RSI.
⸻
Key Components:
① MACD (Normalized):
• The Moving Average Convergence Divergence (MACD) originally has an unlimited numerical range.
• Normalization Method:
• Uses a custom tanh(x) function implemented directly in Pine Script:
\tanh(x) = \frac{e^{x}-e^{-x}}{e^{x}+e^{-x}}
• MACD values are scaled using this method to a range of 0–100, with the neutral line at exactly 50.
• Interpretation:
• Values above 50 indicate bullish momentum.
• Values below 50 indicate bearish momentum.
② RSI (Relative Strength Index):
• Measures market momentum on a 0–100 scale.
• Traditional RSI interpretation:
• Overbought conditions: RSI > 70–80.
• Oversold conditions: RSI < 30–20.
③ Stochastic RSI:
• Combines RSI and Stochastic Oscillator to give short-term, highly sensitive signals.
• Helps identify immediate market extremes:
• Above 80 → Short-term overbought.
• Below 20 → Short-term oversold.
⸻
How the Indicator Works:
• Visualization:
• All three indicators (Normalized MACD, RSI, Stochastic RSI) share the same 0–100 scale.
• Clear visual lines and reference levels:
• Midline at 50 indicates neutral momentum.
• Dashed lines at 20 and 80 clearly mark oversold/overbought zones.
• Trading Signals (Recommended approach):
• Bullish Signal (Potential Buy):
• Normalized MACD crosses above 50.
• RSI below or approaching oversold zone (below 30–20).
• Stochastic RSI below 20, indicating short-term oversold conditions.
• Bearish Signal (Potential Sell):
• Normalized MACD crosses below 50.
• RSI above or approaching overbought zone (above 70–80).
• Stochastic RSI above 80, indicating short-term overbought conditions.
⸻
Why Use This Indicator?
• Harmonized Signals:
Normalization of MACD significantly improves clarity and comparability with RSI and Stochastic RSI, providing a unified momentum picture.
• Intuitive Analysis:
Traders can rapidly and intuitively identify momentum shifts without needing multiple indicator windows.
• Improved Decision-Making:
Clear visual references and signals help reduce subjective interpretation, potentially improving trading outcomes.
⸻
Suggested Usage:
• Combine with traditional support
NEW Non-Directional Market StrategyFinal New Non Directional Trading Strategy! which can be used for all markets , the candles will turn grey during the choppy conditions.
BTC/USDC 50x Futures Strategy with Multi-TPScript in the workings for btc/usdt 50x leverage trading at 1% portfolio margin. Please do not use to save your money
BTC Trading RobotOverview
This Pine Script strategy is designed for trading Bitcoin (BTC) by placing pending orders (BuyStop and SellStop) based on local price extremes. The script also implements a trailing stop mechanism to protect profits once a position becomes sufficiently profitable.
________________________________________
Inputs and Parameter Setup
1. Trading Profile:
o The strategy is set up specifically for BTC trading.
o The systemType input is set to 1, which means the strategy will calculate trade parameters using the BTC-specific inputs.
2. Common Trading Inputs:
o Risk Parameters: Although RiskPercent is defined, its actual use (e.g., for position sizing) isn’t implemented in this version.
o Trading Hours Filter:
SHInput and EHInput let you restrict trading to a specific hour range. If these are set (non-zero), orders will only be placed during the allowed hours.
3. BTC-Specific Inputs:
o Take Profit (TP) and Stop Loss (SL) Percentages:
TPasPctBTC and SLasPctBTC are used to determine the TP and SL levels as a percentage of the current price.
o Trailing Stop Parameters:
TSLasPctofTPBTC and TSLTgrasPctofTPBTC determine when and by how much a trailing stop is applied, again as percentages of the TP.
4. Other Parameters:
o BarsN is used to define the window (number of bars) over which the local high and low are calculated.
o OrderDistPoints acts as a buffer to prevent the entry orders from being triggered too early.
________________________________________
Trade Parameter Calculation
• Price Reference:
o The strategy uses the current closing price as the reference for calculations.
• Calculation of TP and SL Levels:
o If the systemType is set to BTC (value 1), then:
Take Profit Points (Tppoints) are calculated by multiplying the current price by TPasPctBTC.
Stop Loss Points (Slpoints) are calculated similarly using SLasPctBTC.
A buffer (OrderDistPoints) is set to half of the take profit points.
Trailing Stop Levels:
TslPoints is calculated as a fraction of the TP (using TSLTgrasPctofTPBTC).
TslTriggerPoints is similarly determined, which sets the profit level at which the trailing stop will start to activate.
________________________________________
Time Filtering
• Session Control:
o The current hour is compared against SHInput (start hour) and EHInput (end hour).
o If the current time falls outside the allowed window, the script will not place any new orders.
________________________________________
Entry Orders
• Local Price Extremes:
o The strategy calculates a local high and local low using a window of BarsN * 2 + 1 bars.
• Placing Stop Orders:
o BuyStop Order:
A long entry is triggered if the current price is less than the local high minus the order distance buffer.
The BuyStop order is set to trigger at the level of the local high.
o SellStop Order:
A short entry is triggered if the current price is greater than the local low plus the order distance buffer.
The SellStop order is set to trigger at the level of the local low.
Note: Orders are only placed if there is no current open position and if the session conditions are met.
________________________________________
Trailing Stop Logic
Once a position is open, the strategy monitors profit levels to protect gains:
• For Long Positions:
o The script calculates the profit as the difference between the current price and the average entry price.
o If this profit exceeds the TslTriggerPoints threshold, a trailing stop is applied by placing an exit order.
o The stop price is set at a distance below the current price, while a limit (profit target) is also defined.
• For Short Positions:
o The profit is calculated as the difference between the average entry price and the current price.
o A similar trailing stop exit is applied if the profit exceeds the trigger threshold.
________________________________________
Summary
In essence, this strategy works by:
• Defining entry levels based on recent local highs and lows.
• Placing pending stop orders to enter the market when those levels are breached.
• Filtering orders by time, ensuring trades are only taken during specified hours.
• Implementing a trailing stop mechanism to secure profits once the trade moves favorably.
This approach is designed to automate BTC trading based on price action and dynamic risk management, although further enhancements (like dynamic position sizing based on RiskPercent) could be added for a more complete risk management system.
Machine Learning: Lorentzian ClassificationUpdated with just the indicator for easier analysis. Moving average with machine learning built in.
Adaptive Fibonacci Pullback System -FibonacciFluxAdaptive Fibonacci Pullback System (AFPS) - FibonacciFlux
This work is licensed under a Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0). Original concepts by FibonacciFlux.
Abstract
The Adaptive Fibonacci Pullback System (AFPS) presents a sophisticated, institutional-grade algorithmic strategy engineered for high-probability trend pullback entries. Developed by FibonacciFlux, AFPS uniquely integrates a proprietary Multi-Fibonacci Supertrend engine (0.618, 1.618, 2.618 ratios) for harmonic volatility assessment, an Adaptive Moving Average (AMA) Channel providing dynamic market context, and a synergistic Multi-Timeframe (MTF) filter suite (RSI, MACD, Volume). This strategy transcends simple indicator combinations through its strict, multi-stage confluence validation logic. Historical simulations suggest that specific MTF filter configurations can yield exceptional performance metrics, potentially achieving Profit Factors exceeding 2.6 , indicative of institutional-level potential, while maintaining controlled risk under realistic trading parameters (managed equity risk, commission, slippage).
4 hourly MTF filtering
1. Introduction: Elevating Pullback Trading with Adaptive Confluence
Traditional pullback strategies often struggle with noise, false signals, and adapting to changing market dynamics. AFPS addresses these challenges by introducing a novel framework grounded in Fibonacci principles and adaptive logic. Instead of relying on static levels or single confirmations, AFPS seeks high-probability pullback entries within established trends by validating signals through a rigorous confluence of:
Harmonic Volatility Context: Understanding the trend's stability and potential turning points using the unique Multi-Fibonacci Supertrend.
Adaptive Market Structure: Assessing the prevailing trend regime via the AMA Channel.
Multi-Dimensional Confirmation: Filtering signals with lower-timeframe Momentum (RSI), Trend Alignment (MACD), and Market Conviction (Volume) using the MTF suite.
The objective is to achieve superior signal quality and adaptability, moving beyond conventional pullback methodologies.
2. Core Methodology: Synergistic Integration
AFPS's effectiveness stems from the engineered synergy between its core components:
2.1. Multi-Fibonacci Supertrend Engine: Utilizes specific Fibonacci ratios (0.618, 1.618, 2.618) applied to ATR, creating a multi-layered volatility envelope potentially resonant with market harmonics. The averaged and EMA-smoothed result (`smoothed_supertrend`) provides a robust, dynamic trend baseline and context filter.
// Key Components: Multi-Fibonacci Supertrend & Smoothing
average_supertrend = (supertrend1 + supertrend2 + supertrend3) / 3
smoothed_supertrend = ta.ema(average_supertrend, st_smooth_length)
2.2. Adaptive Moving Average (AMA) Channel: Provides dynamic market context. The `ama_midline` serves as a key filter in the entry logic, confirming the broader trend bias relative to adaptive price action. Extended Fibonacci levels derived from the channel width offer potential dynamic S/R zones.
// Key Component: AMA Midline
ama_midline = (ama_high_band + ama_low_band) / 2
2.3. Multi-Timeframe (MTF) Filter Suite: An optional but powerful validation layer (RSI, MACD, Volume) assessed on a lower timeframe. Acts as a **validation cascade** – signals must pass all enabled filters simultaneously.
2.4. High-Confluence Entry Logic: The core innovation. A pullback entry requires a specific sequence and validation:
Price interaction with `average_supertrend` and recovery above/below `smoothed_supertrend`.
Price confirmation relative to the `ama_midline`.
Simultaneous validation by all enabled MTF filters.
// Simplified Long Entry Logic Example (incorporates key elements)
long_entry_condition = enable_long_positions and
(low < average_supertrend and close > smoothed_supertrend) and // Pullback & Recovery
(close > ama_midline and close > ama_midline) and // AMA Confirmation
(rsi_filter_long_ok and macd_filter_long_ok and volume_filter_ok) // MTF Validation
This strict, multi-stage confluence significantly elevates signal quality compared to simpler pullback approaches.
1hourly filtering
3. Realistic Implementation and Performance Potential
AFPS is designed for practical application, incorporating realistic defaults and highlighting performance potential with crucial context:
3.1. Realistic Default Strategy Settings:
The script includes responsible default parameters:
strategy('Adaptive Fibonacci Pullback System - FibonacciFlux', shorttitle = "AFPS", ...,
initial_capital = 10000, // Accessible capital
default_qty_type = strategy.percent_of_equity, // Equity-based risk
default_qty_value = 4, // Default 4% equity risk per initial trade
commission_type = strategy.commission.percent,
commission_value = 0.03, // Realistic commission
slippage = 2, // Realistic slippage
pyramiding = 2 // Limited pyramiding allowed
)
Note: The default 4% risk (`default_qty_value = 4`) requires careful user assessment and adjustment based on individual risk tolerance.
3.2. Historical Performance Insights & Institutional Potential:
Backtesting provides insights into historical behavior under specific conditions (always specify Asset/Timeframe/Dates when sharing results):
Default Performance Example: With defaults, historical tests might show characteristics like Overall PF ~1.38, Max DD ~1.16%, with potential Long/Short performance variance (e.g., Long PF 1.6+, Short PF < 1).
Optimized MTF Filter Performance: Crucially, historical simulations demonstrate that meticulous configuration of the MTF filters (particularly RSI and potentially others depending on market) can significantly enhance performance. Under specific, optimized MTF filter settings combined with appropriate risk management (e.g., 7.5% risk), historical tests have indicated the potential to achieve **Profit Factors exceeding 2.6**, alongside controlled drawdowns (e.g., ~1.32%). This level of performance, if consistently achievable (which requires ongoing adaptation), aligns with metrics often sought in institutional trading environments.
Disclaimer Reminder: These results are strictly historical simulations. Past performance does not guarantee future results. Achieving high performance requires careful parameter tuning, adaptation to changing markets, and robust risk management.
3.3. Emphasizing Risk Management:
Effective use of AFPS mandates active risk management. Utilize the built-in Stop Loss, Take Profit, and Trailing Stop features. The `pyramiding = 2` setting requires particularly diligent oversight. Do not rely solely on default settings.
4. Conclusion: Advancing Trend Pullback Strategies
The Adaptive Fibonacci Pullback System (AFPS) offers a sophisticated, theoretically grounded, and highly adaptable framework for identifying and executing high-probability trend pullback trades. Its unique blend of Fibonacci resonance, adaptive context, and multi-dimensional MTF filtering represents a significant advancement over conventional methods. While requiring thoughtful implementation and risk management, AFPS provides discerning traders with a powerful tool potentially capable of achieving institutional-level performance characteristics under optimized conditions.
Acknowledgments
Developed by FibonacciFlux. Inspired by principles of Fibonacci analysis, adaptive averaging, and multi-timeframe confirmation techniques explored within the trading community.
Disclaimer
Trading involves substantial risk. AFPS is an analytical tool, not a guarantee of profit. Past performance is not indicative of future results. Market conditions change. Users are solely responsible for their decisions and risk management. Thorough testing is essential. Deploy at your own considered risk.
Strat Pattern Highlighter (with Alerts)This indicator helps you isolate Failed 2d and Failed 2u candles, and the 3-1-2 Pattern in the strat with colored candles. It also has alerts added. Enjoy!
2013-2025 EclipsesIndicator Description: 2013-2025 Eclipses
This Pine Script (version 5) indicator overlays solar and lunar eclipse events on a TradingView chart, covering the period from 2013 to 2025. It is designed for traders and astrology enthusiasts who wish to visualize these significant astronomical events alongside price action, potentially identifying correlations with market movements or key turning points.
Features:
Eclipses:
Visualization: Displayed as a semi-transparent aqua background highlight across the chart.
Data: Includes 48 specific eclipse dates (both solar and lunar) from April 25, 2013, to September 21, 2025.
Purpose: Highlights dates of eclipses, which are often considered powerful astrological events associated with sudden changes, revelations, or significant shifts in energy and market sentiment.
Technical Details:
Overlay: The indicator is set to overlay=true, ensuring it displays directly on the price chart rather than in a separate pane.
Date Matching: Utilizes a helper function is_date(y, m, d) to determine if the current chart date matches any of the predefined eclipse dates, using TradingView's year, month, and dayofmonth variables.
Visualization Method:
bgcolor: Applies a light aqua background (using color.new(color.aqua, 85)) on the specific dates of eclipses. The transparency level of 85 allows price action to remain visible through the highlight.
Time Range: Spans from April 2013 to September 2025, covering a 12+ year period of eclipse events.
Usage:
Add the script to your TradingView chart to see eclipse dates highlighted with an aqua background on your chosen symbol and timeframe.
The background highlight appears only on the exact dates of eclipses, making it easy to spot these events amidst price data.
Ideal for those incorporating astrological analysis into trading or studying the potential impact of eclipses on financial markets.
Notes:
The script uses a single-line definition for eclipse_dates to ensure compatibility with Pine Script v5 syntax and avoid line continuation errors.
The aqua color matches the original circle-based visualization, with transparency adjustable via the color.new(color.aqua, 85) parameter (0 = fully opaque, 100 = fully transparent).
Works best on daily or higher timeframes for clear visibility of individual eclipse dates, though it functions on any TradingView-supported timeframe.
Eclipse dates should be cross-checked with astronomical sources for critical applications, as the script relies on the provided data accuracy.
Purpose:
This indicator provides a straightforward way to track eclipses over a 12-year period, offering a visual representation of these potent celestial events. By using a background highlight instead of markers, it maintains chart clarity while emphasizing the specific days when eclipses occur, potentially aiding in the analysis of their influence on market behavior or personal trading strategies.
2013-2025 Moon Phases & Mercury RetrogradesIndicator Description: 2013-2025 Moon Phases & Mercury Retrogrades
This Pine Script (version 5) indicator overlays key astrological events on a TradingView chart, specifically tracking full moons, new moons, and Mercury retrograde periods from 2013 to 2025. It is designed to help traders and astrology enthusiasts visualize these celestial events alongside price action, potentially identifying correlations or patterns.
Features:
New Moons:
Visualization: Plotted as small white circles above the price bars.
Data: Includes 156 specific new moon dates from January 11, 2013, to December 20, 2025.
Purpose: Marks the start of the lunar cycle, often associated with new beginnings or shifts in energy.
Full Moons:
Visualization: Plotted as small orange circles above the price bars.
Data: Includes 157 specific full moon dates from January 27, 2013, to December 15, 2025.
Purpose: Highlights the peak of the lunar cycle, often linked to heightened emotions or market volatility in astrological analysis.
Mercury Retrogrades:
Visualization: Displayed as a light red background highlight across the chart.
Data: Covers 39 Mercury retrograde periods, with precise start and end timestamps from February 23, 2013, to November 29, 2025.
Purpose: Indicates periods traditionally associated with communication issues, delays, or reversals, which some traders monitor for potential market impacts.
Technical Details:
Overlay: The indicator is set to overlay=true, meaning it displays directly on the price chart rather than in a separate pane.
Date Matching: Uses a helper function is_date(y, m, d) to check if the current chart date matches any of the predefined event dates, leveraging TradingView's year, month, and dayofmonth variables.
Visualization Methods:
plotshape: Used for new moons (white circles) and full moons (orange circles), positioned above bars for clear visibility.
bgcolor: Used for Mercury retrograde periods, applying a semi-transparent red highlight (transparency level 85) to the background during active retrograde periods.
Time Range: Spans from January 2013 to December 2025, providing a comprehensive 13-year view of these astrological events.
Usage:
Add the script to your TradingView chart to see new moons, full moons, and Mercury retrograde periods overlaid on your chosen symbol and timeframe.
The white and orange circles appear on specific dates, while the red background highlights extend across the duration of each Mercury retrograde period.
Useful for traders incorporating astrology into their analysis or anyone interested in tracking these celestial events alongside financial data.
Notes:
The script assumes accurate date data as provided; users should verify dates against astronomical sources if precision is critical.
The transparency of the Mercury retrograde background can be adjusted by modifying the value in color.new(color.red, 85) (0 = fully opaque, 100 = fully transparent).
Best viewed on daily or higher timeframes for clarity, though it works on any timeframe supported by TradingView.
This indicator provides a visual tool to explore the potential influence of lunar phases and Mercury retrograde periods on market behavior, blending astrology with technical analysis in a clear, customizable format.