Pine Script® göstergesi
Grafik Desenleri
Microstructure Mean Reversion Microstructure Mean Reversion · Execution Levels (MNQ)OverviewThe Microstructure Mean Reversion (MMR) is a tactical execution tool designed specifically for the Nasdaq Micro E-mini (MNQ). Unlike traditional indicators that chase extremes (Highs/Lows), this script identifies Accepted Price Levels within micro-structures to provide high-probability Mean Reversion entries using Limit Orders.It is built for disciplined scalpers who prioritize clean charts and systematic execution over emotional trading.Core Logic: The "Accepted Price" ConceptMost traders focus on candle wicks. This indicator ignores them. It calculates the L0 (Lowest Close) and H0 (Highest Close) over a specific lookback period ($N$) to identify where the market is actually transacting and "accepting" value.Touch Count Validation: A setup only becomes valid if the microstructure has touched the level exactly 2-3 times (user-defined), preventing entries into "over-tested" or "insistent" levels that are likely to break.EMA Filter: Entries are only triggered during a pullback to the EMA 9, provided the price is still protected by the EMA 21 trend.Key FeaturesExecution Modes: Toggle between BUY-only, SELL-only, or BOTH to align the script with your daily bias.Timeframe-Specific Presets: Automatically adjusts parameters (Lookback, Tolerance, Entry Offset, and EMA Distance) for 30s, 1m, 2m, 3m, and 5m charts.Real-Time Performance Monitor: An on-chart dashboard tracks Win Rate, Total Trades, and Max Loss Streak during your session or Bar Replay.Tactical Visuals: Clean, professional interface showing only the active Buy/Sell Limit (BL/SL), Take Profit (TP), and Stop Loss (SL) levels.Execution Parameters (Optimized for MNQ)Contracts: 35 (Scalp model)Take Profit: +3.25 pts ($220)Stop Loss: -9.50 pts ($650)Entry: Limit Orders only (No Market/Stop chasing).How to UseSelect Bias: Set the Execution Mode based on your higher timeframe analysis.Wait for Setup: The script will draw the Limit Level (Green for Buy, Red for Sell) when micro-structure acceptance and weakness are confirmed.Execute: Place your Limit Order at the BL/SL line.Manage: The script automatically hides the setup once the TP or SL is hit to keep your workspace clutter-free.Disclaimer: This is an execution aid for manual trading. It does not execute trades automatically. Always trade within your risk management rules.
Pine Script® göstergesi
[CT] MTF CISD w/ExtensionsThis indicator is a modified version of “Change in State of Delivery CISD” originally created by © AlgoAlpha and released under the Mozilla Public License 2.0. The core CISD logic, including how the script identifies qualifying bullish and bearish state changes and how it draws the original CISD levels, comes from AlgoAlpha’s work. The version you are using has been modified by © ChaosTrader63 to add multi time frame CISD functionality, optional HTF labeling and styling controls, and a configurable method to extend a user selected number of the most recent current time frame CISD levels beyond the last candle.
At its core, CISD is designed to identify moments when price behavior suggests a meaningful shift in control, where one side of the market has effectively “taken delivery” and the prior state has changed. The script watches price swings, then tracks specific candle state transitions that can act like triggers. When the conditions are met, it prints a CISD level as a horizontal line originating from the candle that defined the trigger and extending to the detection candle, creating a clear reference level that can behave like a decision point for future price interaction. In practice, those levels often act as areas where price may react, reject, or accept, because they represent the point where a meaningful state change was confirmed by price behavior rather than by a simple moving average or lagging trend filter.
The indicator also includes swing based liquidity tracking to provide context around potential liquidity events. It detects swing highs and swing lows using a pivot period you control, then maintains those swing levels as “liquidity lines” until they are either mitigated or expire after a set number of bars. When price wicks into one of those swing liquidity levels and confirms the mitigation, the script records that event. If a CISD trigger happens shortly after, and the new state change occurs with evidence that opposing liquidity was just taken, the script flags that as a stronger event by marking it on the chart. This is meant to separate normal CISD signals from those that occur after a sweep, because a sweep plus a decisive state change is often more meaningful than a state change that happens in the middle of noise.
The user controls in the calculations section determine how sensitive or selective the CISD detection is. The noise filter controls how strict the script is about qualifying the internal structure that leads to a CISD event. Higher values reduce noise and typically produce fewer, more selective CISD levels, while lower values will produce more frequent levels that may be less reliable in choppy conditions. The swing period controls how far back the script looks when identifying pivot highs and lows, which changes how “major” a swing must be to count as liquidity. The expiry bars setting controls how long older liquidity levels remain active before they stop updating or are removed, and the liquidity lookback determines how recently a swing mitigation must have occurred for the script to treat the CISD as happening with a sweep.
Visually, the script colors candles based on the current CISD trend state. When a bearish CISD is detected, the trend state flips bearish and candles are shaded using the bearish color with a user controlled transparency blend, and when a bullish CISD is detected the trend state flips bullish and candles are shaded using the bullish color. This makes the tool useful not only for marking levels, but also for keeping a simple “state” view on the chart so you can see when the indicator believes control has shifted. If you enable the option to use HTF trend for candle coloring, then the candle shading can reflect the higher time frame trend state instead of the local chart state, which is helpful when you want to trade a lower time frame while staying aligned with the higher time frame CISD bias.
The modifications add a higher time frame CISD layer so you can see more significant CISD levels from a chosen HTF while trading on a lower time frame chart. When enabled, the script computes CISD on the higher time frame through a request security call and then draws HTF CISD lines onto your current chart. You can require confirmed HTF signals only, which means the HTF CISD will print only after the HTF candle closes, reducing repaint style behavior and preventing the level from appearing and disappearing mid-candle. The HTF CISD lines keep the original bullish and bearish color scheme, and you can choose whether they render as solid or dashed to visually separate HTF structure from current time frame structure. The script can also place a label on the HTF CISD level, showing the selected HTF, for example “15 min HTF CISD,” and you can control the label background color, text color, size, and a horizontal offset so the label sits to the right of the current price rather than directly on top of the level.
The other key modification is the extension system for the current time frame CISD levels. The original script draws CISD levels from the origin candle to the detection candle, which is the “normal” behavior and is still preserved for all CISD levels. The enhancement allows you to choose how many of the most recent current time frame CISD levels you want to extend past the last candle by a defined number of bars. This is designed for traders who want their freshest decision levels projected into the future so they can be used as immediate references for reaction, acceptance, rejection, entries, or targets, without cluttering the chart by extending every single historical level. Because the extension uses the original line and simply moves the line’s end point to bar index plus your offset, it extends cleanly from the true starting point with no visual gap, and it automatically updates as new bars print. When a level is no longer within the most recent group, the script restores the original endpoint so older CISD lines revert back to normal and do not continue extending.
To use the indicator effectively, start by choosing whether you want it to be a current time frame decision tool, a higher time frame structure tool, or both. If you are trading lower time frames, enabling HTF CISD with confirmed only is usually the cleanest way to stay aligned with the dominant structure while avoiding levels that shift during an unclosed HTF candle. Then tune the swing period and noise filter to your market. If you are seeing too many levels in chop, increase the noise filter and consider a longer swing period so only larger structural transitions qualify. If you are missing important shifts, reduce the noise filter slightly so the script becomes more responsive. For execution, treat CISD levels like state change reference prices. When price returns to a bullish CISD level, look for acceptance above it to confirm continuation or rejection below it to warn of failure, and do the inverse for bearish levels. The liquidity sweep markers are especially useful as a context filter, because a CISD that occurs after a sweep often represents a more forceful transition where one side grabbed liquidity and then reversed state, which can create cleaner follow-through or stronger reaction zones.
Overall, this modified version keeps AlgoAlpha’s original CISD and liquidity framework intact, but adds the two things traders typically need when using a state change concept in live execution: the ability to overlay higher time frame CISD structure on a lower time frame chart, and the ability to project only the most relevant recent CISD levels into future bars so the levels are immediately actionable without turning the chart into a wall of extended lines.
Pine Script® göstergesi
Custom NYSE Open RangeThis indicator is designed for Opening Range Breakout (ORB) traders who focus on the high-intensity volatility of the New York open. By isolating the very first 5-minute candle of the session, it establishes a "Battle Zone"—the high and low of which represent the initial consensus between institutional buyers and sellers.
The Strategy: Opening Range Breakout (ORB)
The logic behind this tool is that the first 5 minutes of trading often set the "Initial Balance" for the day.
The Box (The Range): The rectangle marks the boundaries of volatility. As long as price stays inside this box, the market is in a state of "price discovery."
Bullish Scenario (Buy): A sustained breakout and candle close above the upper boundary of the M5 box signals that buyers have taken control of the session.
Bearish Scenario (Sell): A sustained breakout and candle close below the lower boundary signals that sellers are driving the momentum.
Pine Script® göstergesi
Custom NYSE Open M5 - ExtendedThis indicator is designed for Opening Range Breakout (ORB) traders who focus on the high-intensity volatility of the New York open. By isolating the very first 5-minute candle of the session, it establishes a "Battle Zone"—the high and low of which represent the initial consensus between institutional buyers and sellers.
The Strategy: Opening Range Breakout (ORB)
The logic behind this tool is that the first 5 minutes of trading often set the "Initial Balance" for the day.
The Box (The Range): The rectangle marks the boundaries of volatility. As long as price stays inside this box, the market is in a state of "price discovery."
Bullish Scenario (Buy): A sustained breakout and candle close above the upper boundary of the M5 box signals that buyers have taken control of the session.
Bearish Scenario (Sell): A sustained breakout and candle close below the lower boundary signals that sellers are driving the momentum.
Pine Script® göstergesi
Custom Time PartitionsThis indicator, Custom Time Partitions, is a precision charting tool designed for intraday traders who need to visually segment their charts based on specific moments in the New York (EST/EDT) trading day.
Unlike standard session highlighters, this script focuses on vertical delineations that act as clear psychological and structural dividers across price action.
Pine Script® göstergesi
CRR Market StructureCRR — Market Structure (Educational) is an educational chart overlay designed to help traders visualize market structure and price behavior in a clear, objective way.
This indicator focuses on:
Swing structure (HH, LH, HL, LL)
Break of Structure (BOS)
Change of Character (ChoCH)
Current market range
Optional internal Fibonacci levels
Optional confirmation filters (ATR, Volume, MACD, Gap detection)
Important
This script is NOT a trading strategy.
It does NOT generate buy or sell signals, does NOT predict future price, and does NOT provide financial advice.
It is strictly a visual and educational tool to support discretionary analysis.
How to Use This Indicator
This tool is intended to be used as a context and structure guide, not as a signal generator.
Market Structure Reading
HH / HL → Bullish structure
LH / LL → Bearish structure
Observe how price reacts after BOS or ChoCH events.
BOS vs ChoCH
BOS confirms continuation in the current trend.
ChoCH highlights a potential structural shift.
Strength is visually differentiated using optional filters.
Range Awareness
Yellow dotted lines represent the current active range.
Useful for identifying consolidation, expansion, or compression phases.
Fibonacci Context (Optional)
Internal Fibonacci levels visualize retracements inside the last structure range.
Designed for context only, not entries.
Community Usage Guidelines
This indicator is built to encourage shared learning and discussion:
Share charts showing clean BOS / ChoCH examples.
Compare structure behavior across different markets and timeframes.
Discuss price behavior, not signals.
Use screenshots to explain why structure matters.
If you publish ideas using this indicator:
Focus on market structure explanation.
Avoid calling entries or targets.
Keep analysis educational and transparent.
Final Notes
Market structure is not about prediction, but about understanding price behavior.
This tool aims to help traders see the market more clearly, reduce noise, and develop stronger analytical skills.
If you find this indicator useful:
Like
Share insights
Collaborate respectfully with the community
Pine Script® göstergesi
Pine Script® göstergesi
DkS Morning Start PRO 3.0DkS Morning Start PRO — FX Live Guide (Auto Entry / SL / TP + Asia Range)
DkS Morning Start PRO is a professional trading tool designed for Forex and intraday traders who want precise, rule-based entries using the Asian session breakout, with fully automated Entry, Stop Loss, and Take Profit levels.
The script automatically detects the Asian session range, monitors breakout conditions during the morning session, and generates a complete trading plan with clean, continuous visual levels directly on the chart.
Key Features
• Automatic Asian Range (Daily High & Low)
Draws the current day’s Asian High and Low and automatically removes previous levels, keeping your chart clean and focused.
• Automatic Entry, Stop Loss, and Take Profit
Calculated using professional logic based on:
Asian range breakout
Optional retest confirmation
Configurable risk management
Custom Risk/Reward ratio
• Clean and Professional Visual Display
Includes:
Continuous Entry, SL, and TP lines
Professional labels (Entry / SL / TP)
Real-time informational panel
Clear and minimal chart design
• Live Trading Plan (Before Confirmation)
Displays potential Entry, SL, and TP levels in advance, allowing traders to prepare before the signal confirms.
• Professional Confirmation Filters
Built-in filters for higher-probability setups:
Fast and Slow EMA trend filter
RSI confirmation filter
One trade per day option (ideal for FTMO and prop firms)
• Designed for Forex Intraday and Scalping
Highly effective on:
EURUSD
GBPUSD
AUDUSD
XAUUSD
Recommended timeframes:
M5
M15
M30
Advantages
• Eliminates emotional decision-making
• Provides clear, rule-based entries
• Improves consistency and discipline
• Ideal for FTMO and prop firm trading
• Clean, professional interface
• Non-repainting logic
How It Works
Detects the Asian session range
Waits for breakout during morning session
Confirms retest (optional)
Calculates Entry, Stop Loss, and Take Profit
Displays full trading plan automatically
Pine Script® göstergesi
Price Action Checklist - Choppy vs CleanA checklist to determine whether price action is clean or choppy.
Pine Script® göstergesi
Hidden Divergence with BB & Triple Filterthis stargies use for intraday best for structure trading and breakout and breakdown helpful for all beginer and expernices trader
Pine Script® göstergesi
MTF Countdown (tablouh)it simple just showing all timeframes countdown
it simple just showing all timeframes countdown
it simple just showing all timeframes countdown
Pine Script® göstergesi
NTrades [IFVG Model + SMT]NTrades – IFVG Model + SMT
NTrades – IFVG Model + SMT is a multi-concept market structure indicator designed to identify high-probability intraday trading opportunities by combining Directional Fair Value Gaps (IFVG), Smart Money Technique (SMT) divergences, and Higher Timeframe (HTF) candle projections into one streamlined tool.
Key Features
✅ Directional IFVG Model
Detects and plots 15-minute Fair Value Gaps aligned with a selected daily market bias (Bullish or Bearish).
Filters FVGs using customizable lookback days and automatically extends zones for forward reference.
Focuses on post-NY open price inefficiencies for higher institutional relevance.
✅ SMT Divergence Detection
Identifies pivot-based SMT divergences between the main chart symbol and up to two external correlated markets.
Highlights bullish and bearish liquidity displacements using customizable styling.
Allows timeframe-specific SMT visibility for cleaner chart analysis.
✅ Adjacent 15M SMT Confirmation
Detects short-term SMT shifts between consecutive 15-minute candles.
Provides rapid confirmation of potential liquidity grabs and reversals using visual divergence lines.
✅ Higher Timeframe Candle Overlay
Displays projected HTF candles directly on the chart with optional Heikin Ashi smoothing.
Includes projected Open, High, Low, and Close levels for precision execution and context.
Supports automatic timeframe selection or fully customizable HTF settings.
✅ Advanced Customization
Adjustable visual styling for FVGs, SMT signals, and HTF candles.
Custom session opening time support.
Flexible projection levels and display options for cleaner workflow integration.
Pine Script® göstergesi
Polynomial Regression Clustering [LuxAlgo]The Polynomial Regression Clustering indicator utilizes K-Means clustering to categorize historical price data into discrete levels and fits polynomial regression curves to each identified cluster.
This tool allows traders to visualize non-linear trends within specific price regimes, providing a unique perspective on support, resistance, and price momentum.
🔶 USAGE
The indicator identifies "K" number of clusters based on the vertical distribution of price over a user-defined lookback period. Each cluster represents a group of bars that share similar price levels, and a polynomial regression line is calculated to represent the localized trend for that specific group.
🔹 Cluster Identification
The script groups price action into color-coded dots. By default, it uses the HL2 (Average price) to determine which cluster a bar belongs to. This is particularly useful for identifying historical value areas where price has spent a significant amount of time.
🔹 Polynomial Fitting
Unlike standard linear regression, which produces a straight line, the polynomial regression curves can bend to fit the data more accurately.
A Polynomial Degree of 1 will result in a standard linear regression (straight lines). A Polynomial Degree of 2 or higher allows for curves that capture parabolic moves or cyclical swings within each cluster.
🔹 Future Projections
The current active cluster (the one containing the most recent price point) can be projected into the future. This allows you to see where the localized trend for the current price regime is heading based on the mathematical fit of historical data.
🔶 DETAILS
🔹 K-Means Algorithm
The script uses an iterative K-Means algorithm to find the optimal centroids (center points) for the price levels. It calculates the distance of each price point to the nearest centroid and refines the centroid position until the clusters are stable or the maximum iterations are reached.
🔹 Regression Logic
Once price points are assigned to a cluster, the script solves for the coefficients of a polynomial equation that minimizes the distance between the line and the cluster's data points. To ensure numerical stability with higher degrees, the horizontal (time) axis is normalized before performing matrix operations.
🔶 SETTINGS
🔹 K-Means
Number of Clusters (K): Defines how many price levels the indicator should look for. Higher values create more granular levels. Lookback Period: The number of recent bars used to perform the clustering and regression calculation. Max Iterations: The maximum number of refinement steps for the K-Means algorithm.
🔹 Regression
Polynomial Degree: Controls the "bend" of the regression lines. Higher degrees allow for more complex curves. Extend All Fits to Current Bar: When enabled, the regression lines for all historical clusters are extended to the rightmost edge of the chart. Project Current Cluster into Future: Extends the current regime's regression line into the future (empty space) using a dashed line.
🔹 Visual Style
Show Regression Lines: Toggles the visibility of the polynomial curves. Show Cluster Dots: Toggles the visibility of the colored dots on each price bar. Dot Size: Adjusts the size of the cluster dots. Cluster Colors: Customizable colors for each of the identified clusters.
Pine Script® göstergesi
SMC Valid/Invalid PullbacksThis indicator helps to identify valid / invalid price pullbacks from smc perspective
Pine Script® göstergesi
Sam BB V14 Bollinger Bands Ribbon with custom inter-band fills looks well-structured and mostly correct for Pine Script v5. It implements:
Four independent, customizable Bollinger Band sets (different lengths, MA types, multipliers, sources, colors)
Individual inner fills (inside each band)
Inter-band "ribbon" fills (the zones between bands on both upper and lower sides)
Toggle visibility per band
Clean input grouping
Design by Sam Mahboubeh, V1
Pine Script® göstergesi
XAUUSD Power @ Strict Pivot S/RThis indicator identifies who is in control (buyers or sellers) when price reaches key support and resistance zones, defined using strict pivot points.
How it works
Automatically plots support and resistance using confirmed pivots.
Analyzes candle structure:
candle direction (bullish / bearish)
body size
wick dominance
A signal is shown only when:
price is near support or resistance (ATR-based filter)
there is clear buying or selling strength
Signals appear only after the candle closes (no repaint).
Signals
🔺 Green triangle → buyers gain control at support
🔻 Red triangle → sellers gain control at resistance
Best use
Scalping / intraday trading
Recommended timeframe: 5-minute
Works well on volatile markets such as XAUUSD, US30, NASDAQ
Important
Confirmation tool, not a prediction system
Not an automated trading strategy
Should be used with proper risk management
Pine Script® göstergesi
Put Spread Signals Daily v5 (NO ta.sum)//@version=5
indicator("Put Spread Signals Daily v5 (NO ta.sum)", overlay=true)
// Inputs
ma20Len = input.int(20, "MA20")
ma50Len = input.int(50, "MA50")
ma200Len = input.int(200, "MA200")
pullbackPct = input.float(0.01, "Pullback near MA20 (1%=0.01)", step=0.005)
minRedDays = input.int(1, "Min red days (last 5)", minval=0, maxval=5)
stopBelow200Pct = input.float(0.005, "Stop below MA200 %", step=0.0025)
// MAs
ma20 = ta.sma(close, ma20Len)
ma50 = ta.sma(close, ma50Len)
ma200 = ta.sma(close, ma200Len)
// Trend + pullback
bullTrend = close > ma50 and close > ma200 and ma50 > ma200
nearMA20 = close <= ma20 * (1 + pullbackPct)
// Red candle count last 5 bars (NO ta.sum)
red0 = close < open ? 1 : 0
red1 = close < open ? 1 : 0
red2 = close < open ? 1 : 0
red3 = close < open ? 1 : 0
red4 = close < open ? 1 : 0
redCount = red0 + red1 + red2 + red3 + red4
hasMinRed = redCount >= minRedDays
// Bounce
bounce = close > open and close > close
// Signals
enter = bullTrend and nearMA20 and hasMinRed and bounce
takeProfit = ta.crossover(close, ma20)
stopOut = close < ma200 * (1 - stopBelow200Pct)
// Plots
plot(ma20, "MA20", linewidth=2)
plot(ma50, "MA50", linewidth=2)
plot(ma200, "MA200", linewidth=2)
plotshape(enter, title="ENTER", style=shape.labelup, location=location.belowbar, text="ENTER", size=size.small)
plotshape(takeProfit, title="EXIT_TP", style=shape.labeldown, location=location.abovebar, text="TP", size=size.small)
plotshape(stopOut, title="EXIT_STOP", style=shape.labeldown, location=location.abovebar, text="STOP", size=size.small)
// Alerts
alertcondition(enter, title="ENTER Alert", message="ENTER: Trend up + pullback near MA20 + bounce. Consider selling put credit spread (30-45 DTE).")
alertcondition(takeProfit, title="EXIT TP Alert", message="EXIT TP: Price reclaimed MA20. Consider taking profit.")
alertcondition(stopOut, title="EXIT STOP Alert", message="EXIT STOP: Close below MA200 threshold. Consider closing/rolling.")
Pine Script® göstergesi
Put Spread Signals Daily v5 (NO ta.sum)//@version=5
indicator("Put Spread Signals Daily v5 (NO ta.sum)", overlay=true)
// Inputs
ma20Len = input.int(20, "MA20")
ma50Len = input.int(50, "MA50")
ma200Len = input.int(200, "MA200")
pullbackPct = input.float(0.01, "Pullback near MA20 (1%=0.01)", step=0.005)
minRedDays = input.int(1, "Min red days (last 5)", minval=0, maxval=5)
stopBelow200Pct = input.float(0.005, "Stop below MA200 %", step=0.0025)
// MAs
ma20 = ta.sma(close, ma20Len)
ma50 = ta.sma(close, ma50Len)
ma200 = ta.sma(close, ma200Len)
// Trend + pullback
bullTrend = close > ma50 and close > ma200 and ma50 > ma200
nearMA20 = close <= ma20 * (1 + pullbackPct)
// Red candle count last 5 bars (NO ta.sum)
red0 = close < open ? 1 : 0
red1 = close < open ? 1 : 0
red2 = close < open ? 1 : 0
red3 = close < open ? 1 : 0
red4 = close < open ? 1 : 0
redCount = red0 + red1 + red2 + red3 + red4
hasMinRed = redCount >= minRedDays
// Bounce
bounce = close > open and close > close
// Signals
enter = bullTrend and nearMA20 and hasMinRed and bounce
takeProfit = ta.crossover(close, ma20)
stopOut = close < ma200 * (1 - stopBelow200Pct)
// Plots
plot(ma20, "MA20", linewidth=2)
plot(ma50, "MA50", linewidth=2)
plot(ma200, "MA200", linewidth=2)
plotshape(enter, title="ENTER", style=shape.labelup, location=location.belowbar, text="ENTER", size=size.small)
plotshape(takeProfit, title="EXIT_TP", style=shape.labeldown, location=location.abovebar, text="TP", size=size.small)
plotshape(stopOut, title="EXIT_STOP", style=shape.labeldown, location=location.abovebar, text="STOP", size=size.small)
// Alerts
alertcondition(enter, title="ENTER Alert", message="ENTER: Trend up + pullback near MA20 + bounce. Consider selling put credit spread (30-45 DTE).")
alertcondition(takeProfit, title="EXIT TP Alert", message="EXIT TP: Price reclaimed MA20. Consider taking profit.")
alertcondition(stopOut, title="EXIT STOP Alert", message="EXIT STOP: Close below MA200 threshold. Consider closing/rolling.")
Pine Script® göstergesi
Daily Put Spread Signals - Final Clean v5//@version=5
indicator("Daily Put Spread Signals - Final Clean v5", overlay=true)
//========================
// Inputs
//========================
ma20Len = input.int(20, "MA20 Length")
ma50Len = input.int(50, "MA50 Length")
ma200Len = input.int(200, "MA200 Length")
pullbackPct = input.float(0.01, "Pullback proximity to MA20 (1% = 0.01)", step=0.005)
minRedDays = input.int(1, "Min red days in last 5 bars (0-5)", minval=0, maxval=5)
stopBelow200Pct = input.float(0.005, "STOP: Close below MA200 by % (0.5%=0.005)", step=0.0025)
//========================
// Moving averages
//========================
ma20 = ta.sma(close, ma20Len)
ma50 = ta.sma(close, ma50Len)
ma200 = ta.sma(close, ma200Len)
//========================
// Trend filter (bull regime)
//========================
bullTrend = close > ma50 and close > ma200 and ma50 > ma200
//========================
// Pullback condition (near MA20)
//========================
nearMA20 = close <= ma20 * (1 + pullbackPct)
//========================
// Count red candles in last 5 bars (NO ta.sum)
//========================
isRed(barBack) => close < open ? 1 : 0
redCount = isRed(0) + isRed(1) + isRed(2) + isRed(3) + isRed(4)
hasMinRed = redCount >= minRedDays
//========================
// Bounce confirmation
//========================
bounce = close > open and close > close
//========================
// Entry signal
//========================
enter = bullTrend and nearMA20 and hasMinRed and bounce
//========================
// Exit signals
//========================
takeProfit = ta.crossover(close, ma20)
stopOut = close < ma200 * (1 - stopBelow200Pct)
//========================
// Plots
//========================
plot(ma20, "MA20", linewidth=2)
plot(ma50, "MA50", linewidth=2)
plot(ma200, "MA200", linewidth=2)
plotshape(enter, title="ENTER", style=shape.labelup, location=location.belowbar, text="ENTER Sell Put Vertical", size=size.small)
plotshape(takeProfit, title="EXIT TP", style=shape.labeldown, location=location.abovebar, text="EXIT Take Profit", size=size.small)
plotshape(stopOut, title="EXIT STOP", style=shape.labeldown, location=location.abovebar, text="EXIT STOP", size=size.small)
//========================
// Alerts
//========================
alertcondition(enter, title="ENTER Alert (Daily)", message="ENTER (Daily): Bull trend + pullback near MA20 + bounce. Consider selling put credit spread (30-45 DTE).")
alertcondition(takeProfit, title="EXIT Take Profit Alert (Daily)", message="EXIT TP (Daily): Price reclaimed MA20. Consider taking profit on put spread.")
alertcondition(stopOut, title="EXIT Stop Alert (Daily)", message="EXIT STOP (Daily): Close below MA200 threshold. Consider closing/rolling defensive.")
Pine Script® göstergesi
High Low MTF PRO (2 HTF) - SurendarHigh Low MTF PRO (2 HTF) is a smart multi-timeframe support & resistance indicator that automatically plots important High and Low levels from the current timeframe and two higher timeframes.
The indicator dynamically displays levels only when price is near, keeping your chart clean and focused on the most relevant zones.
🔹 Key Features
✅ Plots Current TF High & Low levels
✅ Plots High & Low from two selectable Higher Timeframes
✅ Lines appear only when price is near the level
✅ Lines disappear when price moves away
✅ Broken levels are automatically removed
✅ Custom colors for each timeframe
✅ Adjustable proximity distance
✅ Works on all markets and timeframes
✅ Non-repainting
Pine Script® göstergesi
JESUS SAVES LevelsJESUS SAVES Levels is a price-action based support and resistance indicator designed to automatically identify and visualize significant market levels.
The indicator detects structural peaks and valleys from a user-selectable source timeframe and projects them as horizontal levels across the chart. These levels help traders understand where price previously reacted and where future reactions are more likely.
Key Features
• Automatic Peak & Valley Detection
Levels are generated from clear market structure (swing highs and swing lows).
• Multi-Timeframe Analysis
Choose any source timeframe (e.g. M5, M15, H1) while viewing the levels on any chart timeframe, including M1.
• Dynamic Level Validation
Levels remain active as long as price respects them.
Once broken, they are automatically marked as invalid and visually faded, remaining visible only for historical context.
• Clean & Minimal Chart Design
Valid levels are clearly visible, while invalid levels fade into the background to keep the chart readable.
• Performance Optimized
An internal level limit ensures fast loading and smooth performance, even on lower timeframes.
Ideal For
• Support & resistance trading
• Market structure analysis
• Intraday and scalping strategies
• Higher-timeframe context on lower-timeframe charts
JESUS SAVES Levels focuses on clarity, structure, and discipline — helping traders better understand price behavior without clutter or subjective drawing.
Pine Script® göstergesi
Rainer Trend-Follow (200d High/Low + 6ATR Trail)Trendfollow Strategie mit Entry und Stop-Loss Angaben
Pine Script® göstergesi






















