Indicadores y estrategias
5 EMA/1 SMA Adjustable Timeframe5 EMAs
1 SMA
Adjustable TImeframe
This custom TradingView script plots five Exponential Moving Averages (EMAs) and one Simple Moving Average (SMA) with full customization. Each EMA and the SMA can be adjusted for length and color, allowing traders to tailor the indicator to their strategy. The key feature of this tool is the ability to source all moving averages from any selectable timeframe—including chart, intraday, daily, weekly, or monthly views. This makes it highly versatile for multi-timeframe analysis, enabling traders to overlay higher-timeframe trend signals on lower-timeframe charts for precision entries and exits. Ideal for swing and intraday traders seeking directional clarity.
Priority Flags + RS/EMA + RSI/ADX + Donchian + Table + AlertsRS vs EMA(20)
Real-time table showing RS, RS EMA, RSI(14), and ADX
Chart background turns green or red based on RS > or < RS EMA
A/B/C flags based on number of conditions met:
A: 1 of 3 true (RS, RSI > 50, ADX > 25)
B: 2 of 3 true
C: all 3 true
Only the highest-priority flag per candle shown
Donchian Channel breakout (high) marked with yellow dot
Alerts for A, B, C, and Donchian breakout
Priority Flags + RS/RSI/ADX Table + Donchian Alerts✅ Updated Conditions
📌 Background Color:
Green if RS > RS_MA(21) (stronger than benchmark)
Red if RS < RS_MA(21) (weaker than benchmark)
📌 Flags:
We build progressively:
Flag A if any of these 3 are true:
RS > RS MA(21)
RSI(14) > 50
ADX(14) > 25
Flag B if two of the three are true
Flag C if all three are true
Stage 2 Mark-Up Screener (Full Version)2 Mark-Up Screener with:
✅ Breakout from swing high
✅ Manual ADX calculation (no errors)
✅ Bollinger Band width contraction (volatility squeeze)
✅ Volume and momentum confirmation
Inside Bar FinderAn Inside Bar is a candlestick pattern where the entire price range (high to low) of the current candle is completely contained within the range of the previous candle.
Key Criteria:
High of current candle is lower than the previous candle’s high.
Low of current candle is higher than the previous candle’s low.
Usage:
Breakout traders watch for the next candle to break above or below the inside bar.
It’s often used in trending markets as a signal to join the trend after the consolidation.
Can be combined with support/resistance, volume, or trend filters for higher probability.
Parabolic SAR Distance to CloseParabolic SAR Distance to Close + Editable MA + Editable Borders + Editable PSAR
HA EMA Cross MTF Strategy + ATR SL/TP + Visuals📜 Strategy Description: HA EMA Cross MTF Strategy + ATR SL/TP + Visuals
Hello Traders,
This is a multi-timeframe, Heikin Ashi-based trend-following strategy that integrates EMA crossovers and ATR-driven exits. The goal is to filter out noise, confirm directional bias using higher timeframe structure, and manage risk through volatility-adaptive exits.
🔍 How the Strategy Works
* Heikin Ashi candles help smooth out minor price fluctuations, allowing for clearer trend detection.
* A Fast EMA crossing above or below a Slow EMA determines the local trend bias.
* A Higher Timeframe Heikin Ashi confirmation is used to validate entries only when both timeframes agree in direction.
* Session filters can restrict trading to custom hours (e.g., U.S. market open).
⚙️ Risk Management Features
This strategy includes optional ATR-based Stop-Loss and Take-Profit logic, designed to adapt dynamically to market volatility:
* ATR Stop-Loss: Based on a user-defined multiplier (default: 1.5×ATR)
* ATR Take-Profit: Based on a separate multiplier (default: 2.5×ATR)
* Users can toggle this logic on/off and customize ATR length and multipliers in the settings.
📊 Visual Aids Included
To help understand market behavior and trade execution visually, the script includes:
* Entry arrows (long and short)
* Real-time Fast EMA / Slow EMA overlays
* Stop-Loss / Take-Profit level plots
* Optional Heikin Ashi Close line for trend visualization
🔧 Customization Parameters
Users can adjust:
* EMA periods (fast and slow)
* ATR period and multipliers for SL/TP
* Session time filters
* Higher timeframe input
* Toggle ATR logic and visual overlays
🧪 Backtest Defaults (for reference only)
* Initial Capital: $10,000
* Order Size: 100% of equity
* Slippage: 1 tick
* Commission: 0.075%
* Recommended Timeframe: 1H or 15min
* Minimum Trades Suggested: 100+
* All these values can be adjusted in the strategy settings panel.
⚠️ Disclaimer
This strategy is provided for educational and research purposes only. It does not constitute financial advice, nor does it guarantee future performance. Please forward-test and adapt to your own risk tolerance before using in live trading.
This strategy is fully open-source and editable. Feel free to customize it for your use case and timeframes.
20/200 Simple Moving AverageMATI Trader Indicator 20/200 SMA Crossover and Background changes
Description Updated:
The background is green when the closing price is above both the 20 SMA and the 200 SMA.
The background is red when the closing price is below both the 20 SMA and the 200 SMA.
The background is white when the price is in between the 20 SMA and the 200 SMA
Multi-Timeframe MA60 Signal Alerts1This indicator provides a buy or sell signal when touching the 15-minute and 60-minute liquidity levels.
MohdTZ - XO Trend Scanner/EMA/ATR Bands/WatermarkATR Bands: Plots a 36-period EMA with upper and lower bands based on a 14-period ATR (Average True Range) multiplied by 0.5, creating a dynamic channel around the EMA to highlight volatility.
Trend Scanner: Uses Fast (12-period) and Slow (25-period) EMAs to identify bullish (green) or bearish (red) trends, with buy/sell signals marked by triangles and bar coloring.
Stochastic RSI: Calculates Stochastic RSI with customizable K, D, and band levels (80/50/20) for overbought/oversold conditions, with crossover alerts and optional background coloring.
200 EMA: Displays a 200-period EMA for long-term trend reference.
Watermark: Adds a customizable text watermark (title, subtitle, symbol info, date) with adjustable position, size, and color.
SMC Structure Indicator## SMC Structure Indicator by IMSHAHROKH
This indicator is a comprehensive tool for traders who use **Smart Money Concepts (SMC)** or **ICT** methodologies. It is designed to automatically identify and visualize key market structure elements, helping traders to make more informed decisions by cleaning up the chart and highlighting only what matters.
---
### **Key Features**
* **Major Pivots:** Automatically plots major swing highs and lows (pivots) based on a user-defined lookback period. This helps in identifying the current market trend and structure.
* **Change of Character (CHOCH):** Identifies and labels a "Change of Character" when a confirmed pivot is broken, signaling a potential shift in market direction.
* **Order Blocks (OB):** Automatically draws the corresponding Order Block (the last candle before the break) after a CHOCH occurs. These zones are potential high-probability areas of interest for future entries.
* **Highly Customizable:** The indicator comes with a clean settings panel that allows you to:
* Toggle the visibility of Pivots, CHOCH labels, and Order Blocks.
* Fully customize the colors for bullish and bearish Order Blocks.
* Adjust the sensitivity of pivot detection.
---
### **How to Use / Strategy Suggestion**
This indicator is a purely analytical tool and does not provide direct buy/sell signals. A common way to use it based on SMC/ICT principles is as follows:
1. **Identify Trend:** Use the series of pivots to determine the primary market trend (e.g., higher highs and higher lows indicate an uptrend).
2. **Wait for CHOCH:** Wait for a Change of Character *against* the primary trend. For example, in an uptrend, wait for a recent Pivot Low to be broken. The indicator will mark this with a **CHOCH ▼** label.
3. **Identify the Zone:** The indicator will then draw the corresponding Order Block (in this case, the last up-candle before the price dropped). This is now a high-probability **supply zone**.
4. **Anticipate Entry:** Wait for the price to return (mitigate) to this Order Block zone in the future.
5. **Confirm Entry:** Look for your own entry confirmation (e.g., a reversal pattern on a lower timeframe) within or near this zone to execute a trade.
6. **Manage Risk:** A logical Stop Loss would typically be placed just above the high of the supply zone (or below the low of a demand zone).
---
This tool is intended to assist with your market analysis and should be used in conjunction with your own trading plan and risk management. Hope it helps you in your trading journey!
Seasonality Monthly v2.0//@version=5
indicator("dvp Seasonality Monthly v2.0", "Seasonality Monthly v2.0", format = format.volume)
if not timeframe.ismonthly and not timeframe.isdaily
runtime.error("Please switch timeframe to either Daily or Monthly")
i_year_start = input(2000, "Start Year")
// i_method = input.string("time", "Method", options= )
i_method = "time_close"
i_text_size = input.string(size.auto, "Text Size", )
//--------------------------------------------------------Functions----------------------------------------------------
f_array_stats(array_) =>
count_pos_ = 0
count_neg_= 0
count_ = 0
sum_ = 0.0
if not na(array_) and array.size(array_) > 0
for i_ = 0 to array.size(array_) - 1
elem_ = array.get(array_, i_)
if not na(elem_)
sum_ += elem_
count_ += 1
switch
elem_ > 0 => count_pos_ += 1
elem_ < 0 => count_neg_ += 1
avg_ = count_ > 0 ? sum_ / count_ : 0.0
//-------------------------------------------------------------------------------------------------------------------
= request.security(syminfo.tickerid, "M", [year(time_close), month(time_close), nz(close/close -1)], gaps = barmerge.gaps_on, lookahead = barmerge.lookahead_on )
// month_ = switch i_method
// "time" => month(time)
// "time_close" => month(time_close)
// year_ = switch i_method
// "time" => year(time)
// "time_close" => year(time_close)
var year_start_ = math.max(year_, i_year_start)
var no_years_ = year(timenow) - year_start_ + 1
var matrix data_ = matrix.new(no_years_,13,na)
var table table_ = na
var text_color_ = color.white
var bg_color_ = color.gray
// chg_pct_ = nz(close/close -1)
if year_ >= year_start_
// log.info(str.format("Time {0} Year {1} Month {2} ChgPct {3,number,#.##%}", str.format_time(time_close), year_, month_, chg_pct_))
cur_val_ = nz(matrix.get(data_, year_-year_start_, month_-1))
matrix.set(data_, year_-year_start_, month_-1, cur_val_ + chg_pct_)
// if barstate.islast
// log.info("ROWS {0}", no_years_ + 7 )
if barstate.islast
table_ := table.new(position.middle_center, 13, no_years_ + 7, border_width = 1)
// log.info("ROWS {0}", year_ - year_start_ + 7 )
table.cell(table_, 0, 0, str.format("Seasonality Monthly Performance - {0}:{1}", syminfo.prefix, syminfo.ticker), text_color = text_color_, bgcolor = color.blue, text_size = i_text_size)
table.merge_cells(table_, 0,0,12,0)
row = 1
table.cell(table_, 0, row, "Year", text_color = text_color_, bgcolor = bg_color_, text_size = i_text_size)
table.cell(table_, 1, row, "Jan", text_color = text_color_, bgcolor = bg_color_, text_size = i_text_size)
table.cell(table_, 2, row, "Feb", text_color = text_color_, bgcolor = bg_color_, text_size = i_text_size)
table.cell(table_, 3, row, "Mar", text_color = text_color_, bgcolor = bg_color_, text_size = i_text_size)
table.cell(table_, 4, row, "Apr", text_color = text_color_, bgcolor = bg_color_, text_size = i_text_size)
table.cell(table_, 5, row, "May", text_color = text_color_, bgcolor = bg_color_, text_size = i_text_size)
table.cell(table_, 6, row, "Jun", text_color = text_color_, bgcolor = bg_color_, text_size = i_text_size)
table.cell(table_, 7, row, "Jul", text_color = text_color_, bgcolor = bg_color_, text_size = i_text_size)
table.cell(table_, 8, row, "Aug", text_color = text_color_, bgcolor = bg_color_, text_size = i_text_size)
table.cell(table_, 9, row, "Sep", text_color = text_color_, bgcolor = bg_color_, text_size = i_text_size)
table.cell(table_, 10, row, "Oct", text_color = text_color_, bgcolor = bg_color_, text_size = i_text_size)
table.cell(table_, 11, row, "Nov", text_color = text_color_, bgcolor = bg_color_, text_size = i_text_size)
table.cell(table_, 12, row, "Dec", text_color = text_color_, bgcolor = bg_color_, text_size = i_text_size)
for row_ = 0 to no_years_ - 1
table.cell(table_, 0, 2+row_, str.tostring(row_ + year_start_), text_color = text_color_, bgcolor = bg_color_, text_size = i_text_size)
for col_ = 0 to 11
val_ = nz(matrix.get(data_, row_, col_),0.0)
val_color_ = val_ > 0.0 ? color.green : val_ < 0.0 ? color.red : color.gray
table.cell(table_, 1+col_, 2+row_, str.format("{0,number,###.##%}", val_), bgcolor = color.new(val_color_,80), text_color = val_color_, text_size = i_text_size)
true
//Aggregates
row_ = no_years_ + 2
table.cell(table_, 0, row_, "AVG", text_color = text_color_, bgcolor = bg_color_, text_size = i_text_size)
table.cell(table_, 0, row_+1, "SUM", text_color = text_color_, bgcolor = bg_color_, text_size = i_text_size)
table.cell(table_, 0, row_+2, "+ive", text_color = text_color_, bgcolor = bg_color_, text_size = i_text_size)
table.cell(table_, 0, row_+3, "WR", text_color = text_color_, bgcolor = bg_color_, text_size = i_text_size)
for col_ = 0 to 11
arr_ = matrix.col(data_, col_)
// val_ = array.sum(arr_)
= f_array_stats(arr_)
val_color_ = sum_ > 0 ? color.green : sum_ < 0 ? color.red : color.gray
table.cell(table_, 1+col_, row_, str.format("{0,number,###.##%}", avg_), bgcolor = color.new(val_color_,50), text_color = val_color_, text_size = i_text_size)
table.cell(table_, 1+col_, row_+1, str.format("{0,number,###.##%}", sum_), bgcolor = color.new(val_color_,50), text_color = val_color_, text_size = i_text_size)
table.cell(table_, 1+col_, row_+2, str.format("{0}/{1}", count_pos_, count_), bgcolor = color.new(val_color_,50), text_color = color.new(color.white, 50), text_size = i_text_size)
table.cell(table_, 1+col_, row_+3, str.format("{0,number,#.##%}", count_pos_/count_), bgcolor = color.new(val_color_,50), text_color = color.new(color.white, 50), text_size = i_text_size)
true
Multi-Timeframe Price Action AnalysisMulti-Timeframe Price Action Analysis
This indicator analyzes price action across multiple timeframes to determine bullish and bearish signals. It creates a dashboard showing how price interacts with previous candles' highs and lows.
Features
- Analyzes 4 customizable timeframes simultaneously
- Detects when price:
-- Grabs lows and comes back inside (bullish)
-- Grabs highs and comes back inside (bearish)
-- Grabs both highs and lows
-- Moves above previous high
-- Moves below previous low
-- Calculates bullish/bearish percentages for each timeframe
-- Visual dashboard with color-coded signals
Adjustable confirmation settings
-- Settings
-- Customize timeframes (default: 15min, 1H, 4H, D)
-- Toggle confirmation waiting
-- Set number of confirmation candles
This is a very rudimentary version.. I will make a more robust version soon
For it to be considered a "grab" the current price must be within the previous candle's range..
This also does not focus on candle closures just highs and lows
Also note that this is a little aggressive in that it does not require a bullish close for example to be considered bullish, a bearish close inside the previous candle is considered valid, this is to handle the morning stars that have a slightly bearish close in middle candle etc.. obviously do not rely on this indicator.. look at the price action and determine if you think its worth taking..
Same goes for bullish closes inside previous candle after grabbing highs..
Death Cross & Golden CrossDeath Cross & Golden Cross
When Short term (Red) EMA crosses Long term EMA singals a Buy/Sell. When the reverses sqaure off the trade.
時間足固定ATRライン - 任意時間足This indicator displays the ATR value as a line. Please display the ATR of any time.
Ruptura + EMAs + VWAP + Vela Impulsiva + TP/SL🧭 Indicator: Breakout + EMAs + VWAP + Impulsive Candle + TP/SL
This indicator is designed to identify breakout trading opportunities by combining price action, moving averages, volume-weighted price, and impulsive candles, with clearly defined Take Profit (TP) and Stop Loss (SL) levels.
⏱️ Timeframe Logic:
The 15-minute chart is used to define the price range.
Entries are made on the 2-minute chart when breakout conditions align with momentum confirmation.
📌 Key Components:
Range Definition:
Calculates a price range based on a customizable number of candles (rangeBars), typically from the 15-minute timeframe.
Displays a shaded box highlighting this range.
Trend Filters:
Uses a fast EMA (9) and a slow EMA (21) to determine short-term and medium-term trends.
Includes VWAP as a dynamic support/resistance and directional filter.
Only allows trades when both EMAs and price confirm alignment above (for long) or below (for short) the VWAP.
Impulsive Candle Detection:
Confirms breakouts using large-bodied candles that engulf the previous candle's range.
The candle must exceed a certain multiple of the average range (minRangeMult) to qualify.
Breakout Entry Conditions:
Long Setup: Price breaks above the range high, with EMAs and VWAP confirming bullish alignment, and confirmed by an impulsive candle.
Short Setup: Price breaks below the range low, with EMAs and VWAP aligned bearishly, confirmed by an impulsive candle.
Trade Management:
Automatically plots Take Profit and Stop Loss levels based on the size of the entry candle and a customizable TP multiplier.
Visual dashed lines indicate TP (green) and SL (red) zones.
Session Filter:
Entry signals are limited to a specific time window (e.g., 9:00 to 10:00 AM New York time), typically during the NY session open.
Visual Aids:
Background color highlights potential entry zones (green for long, red for short).
Icons mark confirmed impulsive candles and entry signals.
Range box is updated periodically to reflect the active breakout zone.
Global M2 Money Supply // Days Offset =The script still runs on any chart.
The line only appears on BTC charts.
It avoids all errors with the display argument.
ES High-Probability EntriesKey Features:
1. Triple Confirmation System:
- Trend: Price relative to 200 EMA (optional)
- Momentum: EMA crossover (9/21)
- Volatility: Breakout beyond previous close ± ATR
2. Customizable Filters:
- Toggle 200EMA trend filter on/off
- Enable/disable RSI momentum filter
- Adjustable period lengths for all indicators
3. Signal Logic:
Long Entries:
- Fast EMA crosses above Slow EMA
- RSI > 50 (if enabled)
- Price above 200 EMA (if enabled)
- Close > Previous Close + ATR
Short Entries:
- Fast EMA crosses below Slow EMA
- RSI < 50 (if enabled)
- Price below 200 EMA (if enabled)
- Close < Previous Close - ATR
4. Visual Indicators:
- Green triangles below bars for long entries
- Red triangles above bars for short entries
- EMA lines plotted for visual confirmation
### Usage Instructions:
1. Apply to 1-minute ES chart
2. Adjust parameters in settings:
- Disable 200EMA filter for range-bound markets
- Modify ATR length for volatility sensitivity
- Adjust EMA lengths for trend sensitivity
3. Combine with price action confirmation:
- Enter on next candle after signal
- Look for supporting volume/patterns
This system filters out low-probability trades by requiring confirmation from three technical dimensions. The ATR requirement ensures moves have sufficient momentum to overcome typical noise, while the trend filter keeps you aligned with larger timeframes.
Algorithmic Candle Finder {Darkoexe}Algorithmic Candle Finder Indicator
Algorithmic candles are candles whose size and direction are significantly influenced by institutions or large players using market algorithms. These entities can move large amounts of capital in or out of the market, creating price moves that are often difficult for retail traders to predict or react to.
This can make short-term retail trading risky and inconsistent, especially when unaware of such institutional activity. The goal of this indicator is to help identify such candles, allowing traders to avoid trading during times of potential algorithmic influence.
Detection Criteria:
A candle is marked as algorithmic if either of the following conditions are met:
Size-Based Detection: If the current candle’s size exceeds the Average True Range (ATR) of the previous candle multiplied by the ATR factor input.
Volume-Based Detection: If the current candle’s volume exceeds the average volume of recent candles (e.g., last N candles) multiplied by the volume factor input.
When a candle is deemed algorithmic, a label saying "Algo!!!!!" will appear on the chart above the candle where the condition occurred.
Usage:
Use this indicator to study which times of day algorithmic candles frequently appear. This can help you adjust your strategy to avoid trading during these unpredictable moments.
Analogy:
Think of the market like the game Agar.io: small players (retail traders) collect small pellets to grow, while larger players (institutions) devour smaller ones. The small players must avoid the big ones to survive. Likewise, in trading, retail traders should aim to avoid high-impact algorithmic activity that could “consume” their trades.
Institutional Key Levels + VWAP Alerts (Labeled)🧠 Description:
This free version of the Institutional Key Levels + VWAP script gives you instant, auto-updating visibility on the most important price zones for intraday and swing trading.
✅ Designed for traders who want clean, data-driven levels without daily redrawing.
🧱 What It Shows:
Prior Day High (PDH)
Prior Day Low (PDL)
Prior Day Close (PDC)
Live VWAP
Color-coded horizontal lines + optional chart labels
Built-in alert conditions for:
Breakout above PDH
Breakdown below PDL
VWAP Reclaim or Rejection
📊 Ideal for:
Futures traders (MNQ, ES, MGC, etc.)
Equity scalpers
Options traders using directional bias
Traders who use VWAP as a dynamic S/R guide
🔧 No need to draw lines manually. This script updates daily with zero maintenance and lets you stay focused on execution.