Simple MA CrossoverGrok made this. A basic example of a simple Moving Average Crossover strategy script.
Candlestick analysis
High Accuracy 5m Strategy
I can create a custom TradingView indicator script for this if you want. It will show:
• Entry signals (arrows)
• SL & TP levels
• Alerts
Would you like the Pine Script for this?
J-Hook Long/Short Strategy6-24-25 updated rsi enigma algo to catch long and short signals for NQ intraday.
Daily Candle BoxDaily candle overlay, high, low, and candle color based on open and close
Charts included in script: '3m', '5m', '15m', '1H'
1. Visualizes Key Daily Levels on Lower Timeframes:
The indicator overlays the previous day’s high and low as a box on a lower timeframe chart (e.g., 5-minute). This highlights critical support and resistance levels from the daily timeframe, making it easier to see where price might react without switching to a daily chart.
Use Case: Traders can identify potential reversal or breakout zones on intraday charts, aligning lower timeframe trades with higher timeframe structure.
2. Simplifies Intraday Trading Decisions:
By showing the previous day’s range (high to low) as a box, it provides a clear context for intraday price action. For example, if the price approaches the box’s top (previous day’s high), traders might anticipate resistance or a breakout.
Use Case: Useful for scalpers or day traders who need to quickly assess whether the price is near significant daily levels for entries, exits, or stop-loss placement.
3. Highlights Daily Candle Direction:
The box’s color (green for bullish, red for bearish) indicates whether the previous day’s close was above or below its open. This provides a quick visual cue about the prior day’s market sentiment.
XAUUSD Smart AI Strategy v1.2spodfjkpsdogfjkpod
sdfpjdsoikgfjmp
d
sfopsdjgf
sodjihfosiudg
sdpofjiposdgj
sdokgfpiosdg
TZADIKAOTTZA1.2 - Triple Convergence🚀 *TZADIK – Triple Convergence*
The ultimate convergence indicator that brings clarity through the power of consensus.
*What’s Inside?*
A smart fusion of *3 powerful momentum-based indicators*:
* *SMI (Stochastic Momentum Index)*
* *Stochastic RSI*
* *CCI Stochastic*
📊 Each one generates its own buy/sell signal — and TZADIKAOT combines them into a clear, unified consensus:
* ✅ *3/3 BUY / SELL* – Strong entry signals
* ⚠ *2/3 BUY / SELL* – Moderate signals worth watching
* ⚪ *Neutral* – No consensus yet
🎯 *Features*:
✔ Dynamic score histogram
✔ Color-coded background zones
✔ Visual arrows + status labels
✔ Real-time signal table
✔ Built-in alerts for full consensus
*Who is it for?*
Traders who want structured, data-driven signals instead of noise — and a single, trustworthy indicator to guide their decisions.
💡 Designed for clarity, precision, and ease of use on *any timeframe*. No more guesswork. Just signals that matter.
First 15-Min Candle High/Low with Breakout AlertsDescription (for Publishing on TradingView):
This Pine Script automatically plots the high and low of the first 15-minute candle of each trading day.
✅ Features:
🟢 Green horizontal line for High
🔴 Red horizontal line for Low
Automatically resets each day
Designed for Indian markets (IST), with market open at 09:15 AM
💡 These levels are commonly used by intraday traders as breakout zones, support/resistance, or reference points for scalping and price action strategies.
📊 Best Used On:
1-min, 5-min, or 15-min timeframes
Instruments like Bank Nifty, Nifty, major NSE stocks, and global markets with adjustable timing
📌 For custom time zones, adjust the session timestamps.
First 15-min Candle High/LowFirst 15-Min Candle High/Low – Intraday Range Indicator
This script plots the High and Low of the first 15-minute candle of the trading day using:
🟢 Green horizontal line for the first 15-min High
🔴 Red horizontal line for the first 15-min Low
These levels are commonly used by intraday traders as:
Breakout zones
Support/resistance levels
Entry/exit reference points
The script is designed to reset daily and is especially helpful for index and equity traders operating during market open volatility.
⏰ Optimized for markets operating in IST (Indian Standard Time), such as NSE/BSE, starting at 09:15 AM.
🛠️ How to Use:
Apply on 15-minute or lower timeframes
Ideal for breakout strategies, opening range setups, or volatility scalping
LA SOÑADA 7000 4h//@version=5
strategy(title='LA SOÑADA 7000 4h', calc_on_order_fills=true, calc_on_every_tick=false, initial_capital=10000, commission_type=strategy.commission.percent, commission_value=0.04, overlay=true, default_qty_type=strategy.cash, default_qty_value=60000)
buffer = input.float(title='buffer', defval=0.3, minval=0, step=0.1)
b1 = close * (1 + buffer / 100)
b2 = close * (1 - buffer / 100)
strategy.entry('Long', strategy.long, when=close > b1, comment='entry')
strategy.close('Long', when=close < b2, comment='exit')
//money management
stop_loss = input.int(15, 'Stop loss %', minval=1, step=1)
sl = strategy.position_avg_price * (1 - stop_loss / 100)
close_Stop = close < sl
strategy.close('Long', when=close_Stop, comment='Stop loss')
Target_profit = input.int(50, 'Target Profit %', minval=1, step=1)
tp = strategy.position_avg_price * (1 + Target_profit / 100)
close_Target = close > tp
strategy.close('Long', when=close_Target, comment='Target')
Intraday BUY/SELL & AUTO SL (5-min timeframe only) by chaitu50c)Intraday BUY/SELL & AUTO SL (5-min timeframe only) by chaitu50c
This indicator provides intraday traders with BUY/SELL reversal signals and automated SL (Stoploss) tracking, based on a 3-candle reversal block logic — designed to work exclusively on the 5-min timeframe.
Key Features:
• 3-Candle Reversal Logic — Signals are generated when a defined 3-candle reversal pattern is detected (body-close breakout).
• Current Session Only — All signals and SL lines are valid only for the current session and automatically reset at session start.
• BUY/SELL Signal Labels — Visual ▲ and ▼ labels mark valid reversal signals on the chart.
• Dynamic Auto SL Lines — Plots dashed SL lines based on the reversal block's low/high.
• SL HIT Tracking — If SL is broken, the line stops extending and a ‘SL HIT’ label is displayed at the midpoint of the SL line.
• Adjustable Visual Settings — Customize signal label size, SL line width, colors, and more.
• Clean & Lightweight — Optimized for intraday use without cluttering the chart.
How to Use:
You can trade this indicator in two ways:
1. Direct Signal Entry — Take a BUY or SELL trade when a valid ▲/▼ reversal signal forms.
2. SL HIT Re-entry — If an existing SL line is broken and ‘SL HIT’ appears, you can optionally take an opposite side trade in the direction of the SL HIT.
Example:
A BUY signal is generated and an SL line is plotted below.
If price breaks the SL (SL HIT appears), you may consider entering a SELL trade at that point — as it indicates weakness.
Important Notes:
• Works only on 5-min timeframe — Set your chart to 5-min for correct behavior.
• Designed for intraday trading — all signals and SL levels reset at session start.
• Does not carry signals between sessions.
• SL lines and HIT labels provide a clear and simple visual aid for trade management.
---
JOEL-ATR Trend Color StrategyThis ATR tend based strategy with indicator gives exact buy and sell signal based on the trend. early detection of trend is very important to book good profits. This strategy proved that best for all indices, stocks, crypto etc,, 5 mints - day time from works really well .. add it enjoy the trade
Engulfing Bar AggressiveEngulfing Bar Aggressive
Engulfing Bar Aggressive is a precise price action indicator designed to detect strong bullish and bearish engulfing patterns in an aggressive way. This tool is perfect for traders who want early and confirmed signals based purely on candle formations, without relying on any indicators or moving averages.
🔍 Core Logic
The indicator scans for 2-bar engulfing patterns with additional strict conditions:
Bullish Engulfing
Current candle closes bullish (close > open).
Previous candle closes bearish (close < open ).
Current close completely engulfs previous open and high.
Current open is below previous close.
Signal triggers only after bar closure (confirmed pattern).
Bearish Engulfing
Current candle closes bearish (close < open).
Previous candle closes bullish (close > open ).
Current close completely engulfs previous open and low.
Current open is above previous close.
Signal triggers only after bar closure (confirmed pattern).
🛠 Features
Clear visual markers on the chart (green for bullish, red for bearish).
Configurable generic alert to receive notifications for any engulfing pattern detected.
Dedicated alerts for bullish and bearish engulfing setups.
Works on any timeframe and any market.
🎯 Use Case
Ideal for breakout traders, reversal traders, or as part of a multi-factor strategy.
Can be combined with support/resistance zones, ATR exhaustion levels, or trend filters for enhanced accuracy.
Candle Closer Levels & TP Zones📝 Description:
This indicator is designed to provide intrabar trade levels for high-speed execution strategies, such as scalping and intraday momentum trading.
🧩 Key Features:
Plots High, Low, Mid, and two Quarter Levels on the current candle only, keeping charts clean
Take Profit (TP) lines are calculated as a percentage of candle range, not fixed ticks — this makes it highly adaptable for futures like NQ/ES or volatile markets like crypto
Supports both long and short setups via a simple toggle
Customizable colors, line thickness, and length
Each TP level can be enabled or muted individually
📈 Use Case:
Apply this tool to spot candle-based breakouts or rejections. You can scale TPs dynamically based on the strength of the current candle. This is especially helpful in assets where volatility fluctuates greatly intrabar.
This is not a repackaged built-in indicator — it’s purpose-built for real-time tactical level plotting without historical noise.
Alto y Bajo Vela Anterior PersonalizableThe high and low values of the last closed candle. It works on any timeframe and features adjustable font size and color. The label can be relocated to any corner of the chart.
FOREX Strength Matrix PRO | Auto·Scalp·Swing·ManualStrategy type
Multi-session FX divergence engine (long/short) designed for scalping, day-trading, swing-automation on any major/cross.
What it does
The script hunts for moments when one currency is clearly dominating another and converts that edge into trades on the selected pair.
Four strength factors (-100→+100 each)
• Price Return (STR) – raw 1-bar % change.
• Relative Volume (RVOL) – today’s volume ÷ 30-bar SMA.
• Relative Volatility (VOL) – ATR% ÷ 30-bar SMA of ATR%.
• Normalised Momentum (MOM) – price momentum / ATR%.
Matrix build
• Values from 21 symbols roll up to the 7 G-7 currencies.
• Each factor crowns a strongest & weakest currency; weights
(40 / 30 / 20 / 10 %) turn those into ± contributions.
• Result = TOTAL % score per currency.
EDGE gap trigger
• EDGE = TOTAL_base − TOTAL_quote (range −200…+200).
• Long when EDGE ≥ threshold; Short when EDGE ≤ −threshold.
• Default threshold 150 % ⇒ only act on wide divergences.
Timing rails
• Session filter: London, New-York, Tokyo, Sydney boxes.
• Optional contrarian mode: flips all entries.
Risk engine
• Stop & target = ATR × inputs (default 3×).
• Hard flat when EDGE flips sign (dominance lost).
Visual aids
• One-glance strength “Matrix” table.
• Live best-pair suggestion (strongest vs. weakest currency).
• Technical-Rating overlay (All / MA / Osc).
All request.security() calls use lookahead_off → no repaint.
Default inputs (1H template)
Reference TF = Chart
ATR length = 14
Momentum length = 10
RVOL window = 30
VOL window = 10
Factor weights = 40 / 30 / 20 / 10
Trade when EDGE ≥ = 150 %
Stop ATR× / Target ATR× = 3 / 3
Back-test properties used in screenshots
Initial capital 100 000 (quote currency)
Order size 5 % of equity
Pyramiding 1
Commission 0.01 per lot
Slippage 3 ticks
Fills Bar magnifier ✔ · On bar close ✔ · Standard OHLC ✔
How to use
Add to any major/cross chart (default set = USDJPY 1 H).
In Inputs set Pair to trade equal to chart symbol.
Tick the sessions that suit your style.
Leave threshold 150 % or tighten/loosen as desired (50–200 %).
Adjust ATR stops if your broker’s spreads are wider/narrower.
Forward-test on demo; tune commission/slippage to reality.
Important notes
Built exclusively with TradingView built-in data; no external feeds.
No look-ahead, no intrabar repaint, open-source for audit.
Works on any timeframe.
Long/short symmetric; set Reverse logic to fade extremes instead.
Historical results never guarantee future performance; markets evolve.
Credits
TradingView for their technical analysis rating script.
Trade smart, manage risk, and may the strongest currency be with you!
Binance OI Stochastic MFIibb.co Binance Open Interest Stochastic Money Flow Index (OI Stochastic MFI)
Inspiration:
This indicator is an innovative tool combining the traditional Money Flow Index (MFI) and Stochastic Oscillator concepts, enhanced by directly incorporating Open Interest data from Binance Futures BTCUSDT perpetual contracts.
What is it and what does it measure?
The traditional Money Flow Index (MFI) measures the flow of money considering both price and volume.
Open Interest represents the total number of outstanding futures contracts at any given moment, offering deeper insight into speculative involvement and investors' positioning.
This indicator replaces the traditional volume input with Open Interest, providing a more accurate perspective of speculative inflows and outflows in Bitcoin's perpetual futures market.
Advantages and Applications:
Higher accuracy for futures markets, particularly cryptocurrencies, due to direct usage of Binance Futures data reflecting real and speculative activities.
Clear identification of extreme overbought and oversold levels.
Provides objective visual signals for buying (green upward arrows) and selling (red downward arrows).
How to interpret:
The indicator oscillates between values of 0 and 100.
Values above the configured overbought level (e.g., 80) indicate potential downward reversals.
Values below the configured oversold level (e.g., 20) indicate potential upward reversals.
Crossovers of the K-line (blue) with the D-line (orange) generate immediate buy or sell signals.
Practical use:
Long (buy): Look for a green upward arrow after the indicator exits an oversold region.
Short (sell): Look for a red downward arrow after the indicator exits an overbought region.
This indicator is especially useful for traders operating perpetual futures contracts, providing increased precision and clarity for decision-making based on speculative money flows.
Average Candle Length TrendlineI developed an interesting indicator and share it with you. Generally, when the price goes up, the price movement within each minute will be large, and vice versa. Based on that, I created an indicator that averages the trend of candle length and displays it as a line. In order to display it on the screen, I adjusted it to change around the 200-day moving average. It will be a very useful long-short reference line. Based on this line, if the candle goes above this line, the candle length generally starts to get longer, so if you only hit longs, and if it goes below that, you will see a very high winning rate.
Previous Daily High/LowUnderstanding Previous Daily High and Low in Trading
The previous day’s high and low are critical price levels that traders use to identify potential support, resistance, and intraday trading opportunities. These levels represent the highest and lowest prices reached during the prior trading session and often act as reference points for future price action.
Why Are Previous Daily High/Low Important?
Support & Resistance Zones
The previous day’s low often acts as support (buyers defend this level).
The previous day’s high often acts as resistance (sellers defend this level).
Breakout Trading
A move above the previous high suggests bullish momentum.
A move below the previous low suggests bearish momentum.
Mean Reversion Trading
Traders fade moves toward these levels, expecting reversals.
Example: Buying near the previous low in an uptrend.
Institutional Order Flow
Market makers and algos often reference these levels for liquidity.
How to Use Previous Daily High/Low in Trading
1. Breakout Strategy
Long Entry: Price breaks & closes above previous high → bullish continuation.
Short Entry: Price breaks & closes below previous low → bearish continuation.
2. Reversal Strategy
Long at Previous Low: If price pulls back to the prior day’s low in an uptrend.
Short at Previous High: If price rallies to the prior day’s high in a downtrend.
3. Range-Bound Markets
Buy near previous low, sell near previous high if price oscillates between them.
Previous Daily High/LowThe previous day’s high and low are critical price levels that traders use to identify potential support, resistance, and intraday trading opportunities. These levels represent the highest and lowest prices reached during the prior trading session and often act as reference points for future price action.
Why Are Previous Daily High/Low Important?
Support & Resistance Zones
The previous day’s low often acts as support (buyers defend this level).
The previous day’s high often acts as resistance (sellers defend this level).
Breakout Trading
A move above the previous high suggests bullish momentum.
A move below the previous low suggests bearish momentum.
Mean Reversion Trading
Traders fade moves toward these levels, expecting reversals.
Example: Buying near the previous low in an uptrend.
Institutional Order Flow
Market makers and algos often reference these levels for liquidity.
How to Use Previous Daily High/Low in Trading
1. Breakout Strategy
Long Entry: Price breaks & closes above previous high → bullish continuation.
Short Entry: Price breaks & closes below previous low → bearish continuation.
2. Reversal Strategy
Long at Previous Low: If price pulls back to the prior day’s low in an uptrend.
Short at Previous High: If price rallies to the prior day’s high in a downtrend.
3. Range-Bound Markets
Buy near previous low, sell near previous high if price oscillates between them.
Example Trade Setup
Scenario: Price opens near the previous day’s high.
Bullish Case: A breakout above it targets next resistance.
Bearish Case: Rejection at the high signals a pullback.
Candlestick Pattern DetectorAll main Candlestick Pattern are available in this
Candlestick patterns are visual representations of price movements that help traders identify potential trend continuations and reversals in financial markets. Each candlestick displays four key price points: open, high, low, and close for a specific time period.
In trending markets, several patterns prove particularly valuable. **Continuation patterns** signal that the existing trend will likely persist. The bullish engulfing pattern occurs when a large green candle completely engulfs the previous red candle, indicating strong upward momentum. Conversely, a bearish engulfing pattern suggests continued downward movement.
**Hammer and doji patterns** often appear at trend extremes, potentially signaling reversals. A hammer features a small body with a long lower wick, suggesting buyers stepped in after initial selling pressure. Doji candles, where open and close prices are nearly identical, indicate market indecision and possible trend changes.
**Three-candle patterns** like morning and evening stars provide stronger reversal signals. A morning star consists of a bearish candle, followed by a small-bodied candle, then a strong bullish candle, suggesting a potential uptrend reversal.
Successful traders combine candlestick analysis with volume indicators and support/resistance levels for confirmation. While these patterns offer valuable insights into market psychology and potential price movements, they should never be used in isolation for trading decisions.
Liquidity Sweeps [SB1]### 🧠 **Liquidity Sweeps \ – Enhanced by SamB817**
> ⚠️ **Original Credit:** This script is built on the excellent foundation by **LuxAlgo**, licensed under (creativecommons.org). All core functionality and visual logic originates from LuxAlgo’s open-source framework. This version adds enhanced functionality tailored for precision intraday and swing entries using sweep behavior.
🔹 Overview
The Liquidity Sweeps indicator is designed to help traders spot bullish and bearish liquidity grabs, a key concept in smart money trading. It automatically detects swing highs and lows, identifies stop hunts, and highlights areas where institutional traders might be sweeping liquidity before price reverses.
🔹 How It Works
Detects liquidity sweeps by tracking swing points based on a user-defined lookback period.
Differentiates between:
✅ Wick-based liquidity grabs (stop hunts).
✅ Breakouts & retests (confirming liquidity sweeps).
✅ Both combined for deeper analysis.
Draws liquidity zones with extendable boxes to visualize areas where liquidity was taken.
Provides alerts when a liquidity sweep occurs. ---
---
### 📈 **WHAT THIS INDICATOR DOES**
This tool identifies **liquidity sweeps**—key moments where price **wicks above/below swing highs/lows**, often triggering stop losses or absorbing institutional orders. These zones frequently precede powerful reversals or continuations.
It draws:
* 🔹 **Dotted lines** at the top or bottom of the candle wicks when a sweep is confirmed.
* 🔹 **Shaded sweep zones** (boxes) which extend until price decisively trades through them.
* 🔹 **Breakout confirmation lines** when price reclaims or mitigates a swept level.
---
### 🔧 **FEATURES & ENHANCEMENTS BY SAM**
* ✅ **Dotted Lines Extension**: Liquidity sweep dotted lines now **automatically extend** until they’re traded through, allowing for reliable reference levels even dozens of bars later.
* ✅ **Thickness Upgrade**: Dotted lines now appear **thicker** for better visibility during fast market conditions.
* ✅ **Visual Cleanup**: Auto-deletion of outdated sweeps (older than 2000 bars or already mitigated).
* ✅ **Optimized Wicks-Only Mode**: Improved behavior when in *Only Wicks* mode, ideal for tracking stop hunts without false triggers.
---
### 🚨 **ALERTS INCLUDED**
1. 🔔 **New Bullish Sweep (Wick)**
2. 🔔 **New Bearish Sweep (Wick)**
These alerts let you react **in real-time** when liquidity has been swept and price is beginning to show directional intent.
---
### 📚 **HOW TO USE IT EFFECTIVELY**
1. **Timeframes**:
* Use on **2H / 4H** for swing setups.
* Use on **1min–15min** for scalping or day trading around NY/LO open.
2. **Entry Logic**:
* Wait for the **dotted line to form after a sweep**.
* **Do not enter immediately.** Wait for: Close of candle!!!!
* A clean **break of the sweep line**, OR
* A **retest of the line within 3–45 bars**, followed by rejection.
3. **Best When Combined With**:
* Fair Value Gaps (FVGs)
* Market Structure Shift (MSS)
* Order Flow Clusters
* Anchored VWAP and Volume Profile
---
### 💡 **TIPS & STRATEGIC INSIGHTS**
* **Sweeps on higher timeframes** (like 2H/4H) are more powerful and often mark **institutional reversals**.
* **Double lines** (dotted lines on both wick ends) = high-volatility trap. Wait for a clean break before entry.
* Use the **sweep box + dotted line** as a **zone**, not a pinpoint level.
* Be patient. Sweeps are **traps first**, **opportunities second**.
---
### 🔓 Attribution
Script forked and expanded from the open-source **LuxAlgo Liquidity Sweeps**. Original License: (creativecommons.org).
Enhancements by **SamB817**.
--- 🧠 1. It Tracks Sweep Behavior — Not Just Breakouts
Purpose: It identifies where liquidity has been taken — stops hit — not where price is "breaking out" in the traditional sense.
The dotted lines show wick-based stop hunts (liquidity raids).
The boxes show sweep zones, including body-to-wick range when applicable.
🟢 Use case: Smart money is taking stops here → expect reaction, not chase the move.
🕓 2. Timeframe Matters — Sweeps on Higher TF = More Impact
15m & 1h: Intraday trap sweeps, good for scalps or fast directional shifts.
2h/4h: Institutional-level sweeps. Often lead to major intraday reversals or the start of a new leg.
Daily/Weekly: Macro-level stops taken → these are often trend changers.
🔑 Rule of thumb: The higher the timeframe the sweep occurs on, the more meaningful the response tends to be.
🎯 3. Entry Logic: Always Wait for Price to Show Direction
After a sweep appears:
Wait for price to break above/below the dotted line or box, depending on the direction.
Don’t enter blindly on the sweep — it's a trap until proven otherwise.
✅ Best entries often occur on retests of the sweep line or area, especially 3–45 bars later (as you’ve already implemented).
🧲 4. Sweeps Often Magnetize Price
Liquidity sweeps act like magnets — if a sweep hasn't been hit yet, price may drift toward it to "collect" those orders.
Use this to anticipate potential targets and reversal zones.
🧪 5. Sweeps Work Best With These Confirmations:
🔹 FVG (Fair Value Gaps) in the same direction immediately after a sweep.
🔹 Market Structure Shift (MSS) right after a sweep = high-probability reversal.
🔹 Order Flow Confirmation: Strong buy/sell imbalances, absorption at sweep level.
🔹 Liquidity voids: If price sweeps and then enters an inefficient zone — fast move likely.
📊 6. Combines Best With These Tools:
Tool Why It Works Well With Sweeps
1.🎯🎯🧠 🧠 Order Flow (AlgoAlpha)Confirm absorption or intent at sweep zone🎯🎯🧠🧠 2.✅ Volume Profile - See if the sweep occurred at a low-volume node (ideal)
3.✅ VWAP or Anchored VWAP - Catch reclaims or rejections off institutional zones
4.✅ Session Highs/Lows Sweeps of session extremes are often the trap setups
🧩 7. Psychology Behind the Sweeps
Sweeps represent stop runs, trap moves, or liquidity grabs by larger players.
The goal is to trigger weak hands before moving in the true direction.
Train yourself to:
Expect the opposite of the sweep direction once structure confirms.
Think like the liquidity provider, not the victim.