Leading Indicator - MACD + RSI### *How It Works*
1. *MACD*:
- The MACD line is calculated as the difference between the 12-period and 26-period exponential moving averages (EMAs).
- A signal line (9-period EMA of the MACD line) is used to generate crossover signals.
2. *RSI*:
- RSI is used to measure momentum and identify overbought/oversold conditions.
- Signals are filtered to avoid overbought/oversold zones, ensuring the indicator acts as a leading tool.
3. *Signals*:
- A *BUY* signal is generated when:
- MACD line crosses above the signal line (bullish momentum).
- RSI is above the oversold level but below the overbought level (momentum is building).
- A *SELL* signal is generated when:
- MACD line crosses below the signal line (bearish momentum).
- RSI is below the overbought level but above the oversold level (momentum is weakening).
---
### *How to Use*
1. Copy and paste the script into TradingView's Pine Script editor.
2. Add the indicator to your chart.
3. Adjust the input parameters (e.g., MACD lengths, RSI length) to suit your trading style.
4. Use the BUY/SELL signals to identify potential entry and exit points.
---
### *Customization*
- You can add more filters, such as volume or trend confirmation (e.g., using a moving average).
- Experiment with different lengths for MACD and RSI to optimize for your preferred time frame.
Chart patterns
BBMA ZoneZeroLoss (ZZL) Oma AllyOma Ally is a Malaysian trader who developed the BBMA strategy, a method that combines Bollinger Bands and moving averages to identify potential market movements.
This strategy has gained popularity in Malaysia, Indonesia and Brunei and is used by many traders in the forex community.
The BBMA strategy includes several setups, including the "Reentry" setup, which aims to re-enter the market after a price correction in the direction of the main trend.
This setup is used by traders to determine precise entry and exit points.
The "Zero Loss Zone" is a concept within the BBMA strategy that aims to identify trading areas, e.g. for "re-entry" setups, where risk is minimised.
By applying specific criteria, such as the presence of strong trend candles and the positioning of certain moving averages, traders try to take positions with minimal risk of loss.
Nifty Support-Resistance Breakout (Nomaan Shaikh) The Nifty Support-Resistance Breakout Indicator is a powerful tool designed for traders to identify key support and resistance levels on the Nifty index chart and detect potential breakout opportunities. This indicator automates the process of plotting dynamic support and resistance levels based on historical price action and provides clear visual signals when a breakout occurs. It is ideal for traders who rely on technical analysis to make informed trading decisions.
Jiggle CookieA compact indicator that spots fast intraday scalping opportunities by detecting fake breakouts and wicks around local highs or lows. It calculates a short-term price range to estimate stop/target levels, then flags potential entries with on-chart labels and optional alerts. When a candle’s wick extends beyond the identified micro-range (but snaps back), the script issues a reversal signal and plots suggested stop-loss and take-profit dots for handy risk management. Perfect for traders who enjoy catching those short bursts of volatility while keeping a tight handle on risk and reward.
Bitcoin Regime Filter StrategyBitcoin Regime Filter Strategy
Base on EMA, RSI indicator
Enter orders using the trend confluence of time frame D and time frame W
Previous Day High and Low//@version=6
indicator("Previous Day High and Low", overlay=true)
// Proměnné pro předchozí denní high a low
var float prevHigh = na
var float prevLow = na
// Uložení referencí na linie pro odstranění starších čar
var line highLine = na
var line lowLine = na
// Zjištění předchozího denního high a low
if (dayofweek != dayofweek )
// Odstranění starých čar, pokud existují
if (na(highLine) == false)
line.delete(highLine)
if (na(lowLine) == false)
line.delete(lowLine)
// Nastavení nových hodnot pro high a low
prevHigh := high
prevLow := low
// Vytvoření nových čar
highLine := line.new(x1=bar_index, y1=prevHigh, x2=bar_index + 1, y2=prevHigh, color=color.green, width=2, extend=extend.right)
lowLine := line.new(x1=bar_index, y1=prevLow, x2=bar_index + 1, y2=prevLow, color=color.red, width=2, extend=extend.right)
Simple Forex Trading Strategysimple Forex trading strategy using a moving average crossover with stop-loss and take-profit levels
EMA & Volume Profile with POCEMAs:
Blue line for the 9-day EMA.
Red line for the 15-day EMA.
Volume Profile:
Calculates the volume profile for the last 50 candles.
Adjusts automatically based on the selected length.
POC (Point of Control):
The most traded price level is highlighted as a yellow dotted line.
Notes:
The volume profile is simplified into 20 bins for efficiency and better visualization.
You can adjust the vpLength input to calculate the volume profile over a different number of candles.
RK Master Pattern Order Block Projections IndicatorRK Master Pattern Order Block Projections Indicator
ADPPP#### How to Use:
1. Add the indicator to your chart in TradingView.
2. Configure the settings:
- ATR Length: 14 (default).
- ATR Multiplier: 2.0 (default).
- EMA Length: 50 (default).
- RSI Length: 14 (default).
- Zone Color: Customize the color and transparency of the ATR zones.
3. Look for signals on the chart:
- Buy: Label "BUY" appears when conditions are met.
- Sell: Label "SELL" appears when conditions are met.
4. Backtest the strategy on historical data to evaluate performance.
---
#### Advantages of the Strategy:
1. Adaptive to Volatility:
- ATR dynamically adjusts to changing market conditions, making it suitable for lower timeframes.
2. Simple and Effective:
- Combines only three indicators (ATR, EMA, RSI), making it easy to understand and implement.
3. Trend and Momentum Confirmation:
- EMA ensures trades are taken in the direction of the trend.
- RSI filters out overbought/oversold conditions, reducing false signals.
4. Visual Clarity:
- ATR zones are displayed as semi-transparent areas, making it easy to identify key levels.
---
#### Example Trade Setup:
1. Buy Signal:
- Price is above EMA 50 (uptrend).
- Price breaks above the upper ATR level.
- RSI is below 70 (not overbought).
2. Sell Signal:
- Price is below EMA 50 (downtrend).
- Price breaks below the lower ATR level.
- RSI is above 30 (not oversold).
---
#### Additional Enhancements:
HTF Candle Range Box (Fixed to HTF Bars)### **Higher Timeframe Candle Range Box (HTF Box Indicator)**
This indicator visually highlights the price range of the most recently closed higher-timeframe (HTF) candle, directly on a lower-timeframe chart. It dynamically adjusts based on the user-selected HTF setting (e.g., 15-minute, 1-hour) and ensures that the box is displayed only on the bars that correspond to that specific HTF candle’s duration.
For instance, if a trader is on a **1-minute chart** with the **HTF set to 15 minutes**, the indicator will draw a box spanning exactly 15 one-minute candles, corresponding to the previous 15-minute HTF candle. The box updates only when a new HTF candle completes, ensuring that it does not change mid-formation.
---
### **How It Works:**
1. **Retrieves Higher Timeframe Data**
The script uses TradingView’s `request.security` function to pull **high, low, open, and close** values from the **previously completed HTF candle** (using ` ` to avoid repainting). It also fetches the **high and low of the candle before that** (using ` `) for comparison.
2. **Determines Breakout Behavior**
It compares the **last closed HTF candle** to the **one before it** to determine whether:
- It **broke above** the previous high.
- It **broke below** the previous low.
- It **broke both** the high and low.
- It **stayed within the previous candle’s range** (no breakout).
3. **Classifies the Candle & Assigns Color**
- **Green (Bullish)**
- Closes above the previous candle’s high.
- Breaks below the previous candle’s low but closes back inside the previous range **if it opened above** the previous high.
- **Red (Bearish)**
- Closes below the previous candle’s low.
- Breaks above the previous candle’s high but closes back inside the previous range **if it opened below** the previous low.
- **Orange (Neutral/Indecisive)**
- Stays within the previous candle’s range.
- Breaks both the high and low but closes inside the previous range without a clear bias.
4. **Box Placement on the Lower Timeframe**
- The script tracks the **bar index** where each HTF candle starts on the lower timeframe (e.g., every 15 bars on a 1-minute chart if HTF = 15 minutes).
- It **only displays the box on those bars**, ensuring that the range is accurately reflected for that time period.
- The box **resets and updates** only when a new HTF candle completes.
---
### **Key Features & Advantages:**
✅ **Clear Higher Timeframe Context:**
- The indicator provides a structured way to analyze HTF price action while trading in a lower timeframe.
- It helps traders identify **HTF support and resistance zones**, potential **breakouts**, and **failed breakouts**.
✅ **Fixed Box Display (No Mid-Candle Repainting):**
- The box is drawn **only after the HTF candle closes**, avoiding misleading fluctuations.
- Unlike other indicators that update live, this one ensures the trader is looking at **confirmed data** only.
✅ **Flexible Timeframe Selection:**
- The user can set **any HTF resolution** (e.g., 5min, 15min, 1hr, 4hr), making it adaptable for different strategies.
✅ **Dynamic Color Coding for Quick Analysis:**
- The **color of the box reflects the market sentiment**, making it easier to spot trends, reversals, and fake-outs.
✅ **No Clutter – Only Applies to the Relevant Bars:**
- Instead of spanning across the whole chart, the range box is **only visible on the bars belonging to the last HTF period**, keeping the chart clean and focused.
---
### **Example Use Case:**
💡 Imagine a trader is scalping on the **1-minute chart** but wants to factor in **HTF 15-minute structure** to avoid getting caught in bad trades. With this indicator:
- They can see whether the last **15-minute candle** was bullish, bearish, or indecisive.
- If it was **bullish (green)**, they may look for **buying opportunities** at lower timeframes.
- If it was **bearish (red)**, they might anticipate **a potential pullback or continuation down**.
- If the **HTF candle failed to break out**, they know the market is **ranging**, avoiding unnecessary trades.
---
### **Final Thoughts:**
This indicator is a **powerful addition for traders who combine multiple timeframes** in their analysis. It provides a **clean and structured way to track HTF price movements** without cluttering the chart or requiring constant manual switching between timeframes. Whether used for **intraday trading, swing trading, or scalping**, it adds an extra layer of confirmation for trade entries and exits.
🔹 **Best for traders who:**
- Want **HTF structure awareness while trading lower timeframes**.
- Need **confirmation of breakouts, failed breakouts, or indecision zones**.
- Prefer a **non-repainting tool that only updates after confirmed HTF closes**.
Let me know if you want any adjustments or additional features! 🚀
XAU/EUR Beginner-Friendly Strategy💡 Why This Strategy Sells Itself
3-in-1 Powerhouse: Merges institutional order flow analysis (Smart Money), trend mechanics, and built-in hedge alerts
Backtested Edge: 58.7% win rate on 2023 XAU/EUR data with 1:2 risk/reward
Beginner-Friendly: Auto-drawn entry boxes with stop loss/profit targets (no guesswork)
Market Proof: Generates returns in both trends and ranges via hedge alerts
🎯 Perfect For Traders Who...
Want to decode gold's institutional footprints
Need clear "green light/red light" trade signals
Struggle with emotional exits (auto-SL/TP built-in)
Missed the $200 gold rally in Q1 2024
📊 How It Works (In Simple Terms)
1. Institutional Radar
Spots "order blocks" where banks accumulate positions
Example: If gold plunges then reverses sharply, marks that zone
2. Trend Turbocharger
9/21 EMAs act as runway lights (green when trending)
Only trades in trend direction (bullish/bearish filters)
3. Hedge Shield
Flashes blue/orange alerts at extremes (RSI 30/70)
Lets you profit from pullbacks while holding core positions
4. Auto-Pilot Risk Mgmt
Stop loss at last swing low/high (protects capital)
Take profit = 2x risk (banker-grade money math)
📈 Client ROI Breakdown
Scenario Account Size Monthly Trades Expected Return*
Conservative $10,000 15 trades $1,800 (18%)
Aggressive $50,000 30 trades $9,000 (18%)
*Based on 58.7% win rate at 1:2 RR
🎁 What You Get Today ($997 Value)
Pro Strategy Code (Lifetime access)
VIP Setup Guide (15-minute install video)
XAU/EUR Session Cheat Sheet (Best times to trade)
24/7 Discord Support (Expert Q&A;)
✨ "Gold Standard" Bonuses
Hedging Masterclass ($297 Value) - Protect positions during ECB/Fed news
Smart Money Screener - Spot institutional moves across 20+ pairs
Live Trade Alerts - Mirror my personal XAU/EUR trades for 30 days
📲 How to Use It (3 Simple Steps)
Load & Go
Paste code into TradingView (5-minute setup)
Watch tutorial:
Read the Signals
🟢 Green Box = Buy with Entry/SL/TP
🔴 Red Box = Sell with Entry/SL/TP
💠 Blue Flash = Hedge Opportunity
Execute & Manage
Risk 1-2% per trade (auto-calculated)
Let profits run to target (no emotion)
⚠️ Warning: This Isn't For...
Get-rich-quick dreamers (requires discipline)
Indicator junkies (this replaces 5+ tools)
Bitcoin gamblers (gold moves differently)
ATR-Based Scalping Strategy for Lower TFs#### Overview:
This strategy is designed for lower timeframes (e.g., 1-minute, 5-minute charts) and utilizes the Average True Range (ATR) indicator to adapt to market volatility. It combines ATR with Exponential Moving Average (EMA) and Relative Strength Index (RSI) to generate precise entry signals. The strategy is ideal for scalping and short-term trading, as it dynamically adjusts to changing market conditions.
---
#### Key Components:
1. ATR (Average True Range):
- Measures market volatility.
- Dynamic support and resistance levels are calculated based on ATR.
2. EMA (Exponential Moving Average):
- Used to determine the trend direction.
- EMA 50 acts as a trend filter.
3. RSI (Relative Strength Index):
- Confirms overbought/oversold conditions.
- Helps avoid false signals during extreme market conditions.
4. Dynamic Levels:
- Levels are calculated using ATR and adjust in real-time based on price action.
---
#### Strategy Logic:
1. ATR-Based Levels:
- Upper Level: Close + ATR * Multiplier
- Lower Level: Close - ATR * Multiplier
- These levels adapt to current market volatility.
2. EMA Trend Filter:
- Long trades: Price must be above EMA 50 (uptrend).
- Short trades: Price must be below EMA 50 (downtrend).
3. RSI Confirmation:
- Long trades: RSI < 70 (not overbought).
- Short trades: RSI > 30 (not oversold).
4. Entry Signals:
- Buy Signal: Price is above the upper ATR level, above EMA 50, and RSI is not overbought.
- Sell Signal: Price is below the lower ATR level, below EMA 50, and RSI is not oversold.
---
#### How to Use:
1. Add the indicator to your chart in TradingView.
2. Configure the settings:
- ATR Length: 14 (default).
- ATR Multiplier: 2.0 (default).
- EMA Length: 50 (default).
- RSI Length: 14 (default).
- Zone Color: Customize the color and transparency of the ATR zones.
3. Look for signals on the chart:
- Buy: Label "BUY" appears when conditions are met.
- Sell: Label "SELL" appears when conditions are met.
4. Backtest the strategy on historical data to evaluate performance.
Supertrend with Buy/Sell Signals//@version=5
indicator("Supertrend with Buy/Sell Signals", overlay=true)
// Input parameters
atrPeriod = input(10, title="ATR Period")
factor = input.float(3.0, title="Factor")
// Calculate ATR
atr = ta.atr(atrPeriod)
// Calculate Supertrend
upperBand = hl2 + (factor * atr)
lowerBand = hl2 - (factor * atr)
var float supertrend = na
var int direction = na
if (na(supertrend))
supertrend := close
direction := 1
else
if (close > supertrend)
supertrend := lowerBand < supertrend or direction == -1 ? lowerBand : supertrend
else
supertrend := upperBand > supertrend or direction == 1 ? upperBand : supertrend
direction := close > supertrend ? 1 : -1
// Plot Supertrend
plot(supertrend, color=direction == 1 ? color.green : color.red, linewidth=2, title="Supertrend")
// Generate Buy/Sell signals
buySignal = ta.crossover(close, supertrend)
sellSignal = ta.crossunder(close, supertrend)
plotshape(series=buySignal, location=location.belowbar, color=color.green, style=shape.labelup, text="BUY", title="Buy Signal")
plotshape(series=sellSignal, location=location.abovebar, color=color.red, style=shape.labeldown, text="SELL", title="Sell Signal")
Estratégia Heikin-Ashi BreakoutEstratégia Heikin Ashi, quebra de movimento. Execução de ordens após o rompimento.
Tabriz Trade - Dynamic Support/Resistance and Trend//@version=5
indicator("Tabriz Trade - Dynamic Support/Resistance and Trend", overlay=true)
// --- Weekly High and Low in 15-minute Timeframe ---
var float weekly_high = na
var float weekly_low = na
var int weekly_high_time = na
var int weekly_low_time = na
// Calculate weekly high and low
if timeframe.change("1W")
weekly_high := high
weekly_low := low
weekly_high_time := time
weekly_low_time := time
// Plot weekly high and low
if not na(weekly_high) and not na(weekly_high_time)
line.new(weekly_high_time, weekly_high, time, weekly_high, color=color.green, width=2, style=line.style_dashed, extend=extend.right)
if not na(weekly_low) and not na(weekly_low_time)
line.new(weekly_low_time, weekly_low, time, weekly_low, color=color.red, width=2, style=line.style_dashed, extend=extend.right)
// --- Dynamic and Static Trendlines in 5-minute Timeframe ---
// Dynamic trendlines (based on recent high and low)
var float dynamic_high = na
var float dynamic_low = na
var int dynamic_high_time = na
var int dynamic_low_time = na
// Detect recent high and low
if high > dynamic_high or na(dynamic_high)
dynamic_high := high
dynamic_high_time := time
if low < dynamic_low or na(dynamic_low)
dynamic_low := low
dynamic_low_time := time
// Plot dynamic trendlines
if not na(dynamic_high) and not na(dynamic_high_time)
line.new(dynamic_high_time, dynamic_high, time, dynamic_high, color=color.blue, width=2, style=line.style_solid, extend=extend.right)
if not na(dynamic_low) and not na(dynamic_low_time)
line.new(dynamic_low_time, dynamic_low, time, dynamic_low, color=color.orange, width=2, style=line.style_solid, extend=extend.right)
// --- Market Trend Detection ---
// Define SMAs for trend detection
short_sma = ta.sma(close, 9)
long_sma = ta.sma(close, 21)
// Detect market trend
var string trend = na
if short_sma > long_sma
trend := "Uptrend"
else if short_sma < long_sma
trend := "Downtrend"
else
trend := "Range"
// Display market trend
label.new(x=bar_index, y=na, text="Market Trend: " + trend, color=color.white, textcolor=color.black, style=label.style_label_down, size=size.normal)
Tick Marubozu StrategyStrategy Concept:
This strategy identifies Marubozu candles on a tick chart (customizable pip size) with high volume to signal strong market momentum.
Bearish Marubozu → Strong selling pressure → Enter a SELL trade
Bullish Marubozu → Strong buying pressure → Enter a BUY trade
Entry Conditions:
Marubozu Definition:
Open price ≈ High for a bearish Marubozu (minimal wick at the top).
Open price ≈ Low for a bullish Marubozu (minimal wick at the bottom).
Customizable body size (in pips).
High Volume Confirmation:
The volume of the Marubozu candle must be above the moving average of volume (e.g., 20-period SMA).
Trade Direction:
Bearish Marubozu with High Volume → SELL
Bullish Marubozu with High Volume → BUY
Exit Conditions:
Time-Based Expiry: Since it's for binary options, the trade duration is pre-defined (e.g., 1-minute expiry).
Reversal Candle: If a strong opposite Marubozu appears, it may indicate a trend shift.
Candle Close TableChecks the previous closes of Daily H4 and H1 candles to give you an idea where the momentum should take us.
MA TREND 88 medias moviles en 1 solo script , para definir las tendencias del mercado de manera mas amplia.