ICT SMC Comprehensive Indicator with Signal Strength cet indicateur vous donne des signaux dachat et de vente en fonction du mouvement du marche
المؤشرات والاستراتيجيات
SIOVERSE EMA 15 with Buy/Sell Signals, Support & ResistanceThis Pine Script indicator is designed for TradingView and combines Exponential Moving Averages (EMAs), support and resistance levels, buy/sell signals, and volume percentage labels filtered by buy/sell conditions. It is a comprehensive tool for traders who want to analyze price trends, identify key levels, and make informed decisions based on volume and EMA crossovers.
Key Features of the Indicator
EMA 15 (Purple Dashed Line):
A 15-period Exponential Moving Average (EMA) is plotted on the chart as a dashed purple line.
This EMA helps traders identify short-term trends and potential entry/exit points.
Hidden EMA 21 and EMA 34:
The 21-period and 34-period EMAs are calculated but not displayed on the chart.
These EMAs are used to generate buy and sell signals based on crossovers.
Buy/Sell Signals:
Buy Signal: Occurs when the EMA 21 crosses above the EMA 34. A green "BUY" label is displayed below the candle.
Sell Signal: Occurs when the EMA 21 crosses below the EMA 34. A red "SELL" label is displayed above the candle.
These signals help traders identify potential trend reversals or continuations.
Support and Resistance Levels:
Support: The lowest price level over the last lookback_period candles, plotted as a green dashed horizontal line.
Resistance: The highest price level over the last lookback_period candles, plotted as a red dashed horizontal line.
These levels help traders identify key price zones for potential breakouts or reversals.
Volume Percentage Labels (Filtered by Buy/Sell Signals):
The volume percentage is calculated relative to the average volume over the last volume_lookback candles.
Buy Volume Label: When a buy signal occurs, a green label is displayed above the candle with the text "Buy Vol: X.XX%", where X.XX is the volume percentage.
Sell Volume Label: When a sell signal occurs, a red label is displayed below the candle with the text "Sell Vol: X.XX%", where X.XX is the volume percentage.
These labels help traders assess the strength of the buy/sell signals based on volume.
Alerts:
Alerts are triggered when buy or sell signals occur, notifying traders of potential trading opportunities.
Adaptive 12/48 EMAThe Adaptive 12/48 EMA is a trend-following indicator that dynamically changes color based on price positioning relative to key exponential moving averages (EMAs).
EMA Calculation:
The script calculates three EMAs—9 EMA (white), 12 EMA (adaptive color), and 48 EMA (adaptive color).
Trend Confirmation:
The 12 EMA turns green when the price (open, close, and low) is fully above it, indicating bullish momentum. The 12 EMA turns red when the price is fully below it, signaling bearish conditions.
Long-Term Trend (48 EMA):
The 48 EMA turns purple when the 12 EMA is above it, confirming an uptrend. The 48 EMA turns pink when the 12 EMA is below it, confirming a downtrend. Both EMAs turn gray when there's no clear trend.
How to Benefit from It:
Trend Trading: Use green/red shifts in the 12 EMA to time entries in the direction of momentum.
Trend Strength Confirmation: The 48 EMA color change helps determine the longer-term trend direction.
Confluence with Other Indicators: Works well with volume indicators or RSI for confirmation before entering trades.
This indicator provides a clear visual representation of trend strength and direction, helping traders make informed decisions based on price structure.
WSGTA IndicatorsThis script was built for the Wall Street Global Trading Academy system. The script contains the ema's used in the system... the 9, 15, 30, 65, and 200. They are color coded to match the default's in the WSGTA system. In hopes that an explanation keeps this publication from getting removed, an ema is an exponential moving average. It is an average of a prior time period that has the values weighted towards the current time. This indicator also includes pivot points, vwap (volume weighted average price) and prior day high, low, and close.... Please stop taking the script down, those that know what it is will use it and appreciate it, those that don't, won't care what it is.
ATT method by will(1m)ATT method by will , plots the circles above and below the candle stick close. AI cant plot it based on significant high or low from the bar before and after so it'll plot above both exact candles and i use those circles as area of multiple support and resistances combined with actual support and resistance found in lux algos liquidity swings indicator . i also use trendlines in congruence . i use my own personal indicator the hourly vertical lines so i can also distinguish the times those numbers are plotted . only works on the one minute but if people like this one . ill make the multi time frame indicator for att.
Relative Performance SuiteOverview
The Relative Performance Suite (RPS) is a versatile and comprehensive indicator designed to evaluate an asset's performance relative to a benchmark. By offering multiple methods to measure performance, including Relative Performance, Alpha, and Price Ratio, this tool helps traders and investors assess asset strength, resilience, and overall behavior in different market conditions.
Key Features:
✅ Multiple Performance Measures:
Choose from various relative performance calculations, including:
Relative Performance:
Measures how much an asset has outperformed or underperformed its benchmark over a given period.
Relative Performance (Proportional):
A proportional version of relative performance,
factoring in scaling effects.
Relative Performance (MA Based):
Uses moving averages to smooth performance fluctuations.
Alpha:
A measure of an asset’s performance relative to what would be expected based on its beta and the benchmark’s return. It represents the excess return above the risk-free rate after adjusting for market risk.
Price Ratio:
Compares asset prices directly to determine relative value over time.
✅ Customizable Moving Averages:
Apply different moving average types (SMA, EMA, SMMA, WMA, VWMA) to smooth price inputs and refine calculations.
✅ Beta Calculation:
Includes a Beta measure used in Alpha calculation, which users can toggle the visibility of helping users understand an asset's sensitivity to market movements.
✅ Risk-Free Rate Adjustment:
Incorporate risk-free rates (e.g., US Treasury yields, Fed Funds Rate) for a more accurate calculation of Alpha.
✅ Logarithmic Returns Option:
Users can switch between standard returns and log returns for more refined performance analysis.
✅ Dynamic Color Coding:
Identify outperformance or underperformance with intuitive color coding.
Option to color bars based on relative strength, making chart analysis easier.
✅ Customizable Tables for Data Display:
Overview table summarizing key metrics.
Explanation table offering insights into how values are derived.
How to Use:
Select a Benchmark: Choose a comparison symbol (e.g., TOTAL or SPX ).
Pick a Performance Metric: Use different modes to analyze relative performance.
Customize Calculation Methods: Adjust moving averages, timeframes, and log returns based on preference.
Interpret the Colors & Tables: Utilize the dynamic coloring and tables to quickly assess market conditions.
Ideal For:
Traders looking to compare individual asset performance against an index or benchmark.
Investors analyzing Alpha & Beta to understand risk-adjusted returns.
Market analysts who want a visually intuitive and data-rich performance tracking tool.
This indicator provides a powerful and flexible way to track relative asset strength, helping users make more informed trading decisions.
Simple Base Screener with PowerTrend & AlertsTo integrate the PowerTrend indicator with your existing Simple Base Screener script, we can add the conditions from the IBD PowerTrend strategy, which relies on moving averages and price action to confirm a strong uptrend.
Here’s how to combine both the Simple Base Screener and the PowerTrend conditions:
Steps:
Add PowerTrend conditions to the script.
Combine the PowerTrend conditions with the existing Simple Base conditions.
Plot the buy signal when both conditions are met.
Updated Script:
pinescript
Copy
Edit
//@version=5
indicator("Simple Base Screener with PowerTrend & Alerts", overlay=true)
// --- Simple Base Screener Conditions ---
// Moving Averages
ema21 = ta.ema(close, 21)
sma50 = ta.sma(close, 50)
sma200 = ta.sma(close, 200)
// Tight Price Action (Low Volatility)
range10 = ta.highest(high, 10) - ta.lowest(low, 10)
tightBase = (range10 / close) < 0.07
// Volume Dry-Up
volAvg50 = ta.sma(volume, 50)
lowVolume = volume < (volAvg50 * 0.75)
// Strong Uptrend (Already in the script)
uptrend = ema21 > sma50 and sma50 > sma200
// Near 52-Week High
high52 = ta.highest(high, 252)
nearHigh = close > (0.85 * high52)
// Simple Base Confirmation
simpleBase = tightBase and lowVolume and uptrend and nearHigh
// --- PowerTrend Indicator Conditions ---
// PowerTrend Condition 1: The low is above the 21-day EMA for at least 10 days
condition1 = ta.lowest(low, 10) >= ta.lowest(ema21, 10)
// PowerTrend Condition 2: The 21-day EMA is above the 50-day SMA for at least five days
condition2 = ta.barssince(ema21 < sma50) >= 5
// PowerTrend Condition 3: The 50-day SMA is in an uptrend (one day is sufficient)
condition3 = sma50 > sma50
// PowerTrend Condition 4: The market closes up for the day
condition4 = close > close
// Combine all PowerTrend conditions
start_trend = condition1 and condition2 and condition3 and condition4
// --- Final Combined Condition ---
// Buy Signal when both Simple Base and PowerTrend conditions are met
finalCondition = simpleBase and start_trend
// --- Plotting ---
// Plot Simple Base Signal (Blue Label)
plotshape(series=simpleBase, location=location.belowbar, color=color.blue, style=shape.labelup, title="Simple Base Signal")
// Plot Buy Signal (Green Triangle) when both conditions are met
plotshape(series=finalCondition, location=location.belowbar, color=color.green, style=shape.triangleup, title="Buy Signal")
// Highlight Bars with Simple Base Condition
barcolor(simpleBase ? color.blue : na)
// Background Highlight for Simple Base Condition
bgcolor(simpleBase ? color.blue : na, transp=90)
// Alerts for Buy Signal
alertcondition(finalCondition, title="Buy Signal", message="Buy signal based on Simple Base and PowerTrend confirmation.")
Key Changes:
PowerTrend Conditions:
Condition 1: The low price must be above the 21-day EMA for at least 10 days.
Condition 2: The 21-day EMA must be above the 50-day SMA for at least 5 days.
Condition 3: The 50-day SMA must be in an uptrend (compared to the previous day).
Condition 4: The market must close higher than the previous day.
Combining Simple Base and PowerTrend:
A final buy signal is generated when both the Simple Base and PowerTrend conditions are true.
Plotting:
Blue label below bars to indicate a Simple Base.
Green triangle below bars when the buy signal (both Simple Base and PowerTrend) occurs.
Alerts:
An alert condition is added to notify when the buy signal is triggered based on both the Simple Base and PowerTrend conditions.
Summary:
This combined script will:
Identify Simple Base conditions such as low volatility, low volume, and a strong uptrend.
Confirm the PowerTrend conditions indicating a solid market trend.
Mark buy signals with a green triangle when both conditions are met, helping you spot strong breakout opportunities in uptrending stocks.
Let me know if you need further adjustments or additional features!
Simple Base Screener with PowerTrend & AlertsSimple Base Screener with PowerTrend & Alerts
To integrate the PowerTrend indicator with your existing Simple Base Screener script, we can add the conditions from the IBD PowerTrend strategy, which relies on moving averages and price action to confirm a strong uptrend.
Here’s how to combine both the Simple Base Screener and the PowerTrend conditions:
Steps:
Add PowerTrend conditions to the script.
Combine the PowerTrend conditions with the existing Simple Base conditions.
Plot the buy signal when both conditions are met.
Updated Script:
pinescript
Copy
Edit
//@version=5
indicator("Simple Base Screener with PowerTrend & Alerts", overlay=true)
// --- Simple Base Screener Conditions ---
// Moving Averages
ema21 = ta.ema(close, 21)
sma50 = ta.sma(close, 50)
sma200 = ta.sma(close, 200)
// Tight Price Action (Low Volatility)
range10 = ta.highest(high, 10) - ta.lowest(low, 10)
tightBase = (range10 / close) < 0.07
// Volume Dry-Up
volAvg50 = ta.sma(volume, 50)
lowVolume = volume < (volAvg50 * 0.75)
// Strong Uptrend (Already in the script)
uptrend = ema21 > sma50 and sma50 > sma200
// Near 52-Week High
high52 = ta.highest(high, 252)
nearHigh = close > (0.85 * high52)
// Simple Base Confirmation
simpleBase = tightBase and lowVolume and uptrend and nearHigh
// --- PowerTrend Indicator Conditions ---
// PowerTrend Condition 1: The low is above the 21-day EMA for at least 10 days
condition1 = ta.lowest(low, 10) >= ta.lowest(ema21, 10)
// PowerTrend Condition 2: The 21-day EMA is above the 50-day SMA for at least five days
condition2 = ta.barssince(ema21 < sma50) >= 5
// PowerTrend Condition 3: The 50-day SMA is in an uptrend (one day is sufficient)
condition3 = sma50 > sma50
// PowerTrend Condition 4: The market closes up for the day
condition4 = close > close
// Combine all PowerTrend conditions
start_trend = condition1 and condition2 and condition3 and condition4
// --- Final Combined Condition ---
// Buy Signal when both Simple Base and PowerTrend conditions are met
finalCondition = simpleBase and start_trend
// --- Plotting ---
// Plot Simple Base Signal (Blue Label)
plotshape(series=simpleBase, location=location.belowbar, color=color.blue, style=shape.labelup, title="Simple Base Signal")
// Plot Buy Signal (Green Triangle) when both conditions are met
plotshape(series=finalCondition, location=location.belowbar, color=color.green, style=shape.triangleup, title="Buy Signal")
// Highlight Bars with Simple Base Condition
barcolor(simpleBase ? color.blue : na)
// Background Highlight for Simple Base Condition
bgcolor(simpleBase ? color.blue : na, transp=90)
// Alerts for Buy Signal
alertcondition(finalCondition, title="Buy Signal", message="Buy signal based on Simple Base and PowerTrend confirmation.")
Key Changes:
PowerTrend Conditions:
Condition 1: The low price must be above the 21-day EMA for at least 10 days.
Condition 2: The 21-day EMA must be above the 50-day SMA for at least 5 days.
Condition 3: The 50-day SMA must be in an uptrend (compared to the previous day).
Condition 4: The market must close higher than the previous day.
Combining Simple Base and PowerTrend:
A final buy signal is generated when both the Simple Base and PowerTrend conditions are true.
Plotting:
Blue label below bars to indicate a Simple Base.
Green triangle below bars when the buy signal (both Simple Base and PowerTrend) occurs.
Alerts:
An alert condition is added to notify when the buy signal is triggered based on both the Simple Base and PowerTrend conditions.
Summary:
This combined script will:
Identify Simple Base conditions such as low volatility, low volume, and a strong uptrend.
Confirm the PowerTrend conditions indicating a solid market trend.
Mark buy signals with a green triangle when both conditions are met, helping you spot strong breakout opportunities in uptrending stocks.
Let me know if you need further adjustments or additional features!
Responsive Moving Average with Trend Detection - MissouriTimThis indicator calculates a responsive moving average (RMA) that dynamically adjusts its sensitivity based on market volatility. This indicator is more responsive that SMAs, EMAs, WMAs, and HMAs. Here's how it functions:
Dynamic Length Adjustment: Utilizes the Average True Range (ATR) to adjust the length of the moving average. In times of increased volatility, the length decreases to make the average more responsive to price changes, and in quieter markets, it increases to reduce noise.
Responsive and Smoothed Moving Averages:
Responsive EMA: An initial Exponential Moving Average (EMA) is calculated with a dynamically adjusted length for responsiveness.
Smoothing: A secondary layer of smoothing is applied to this responsive EMA to further smooth out price fluctuations.
Trend Detection:
Detects trends by comparing the current smoothed EMA with its previous values:
Uptrend is identified when the current smoothed EMA is higher than the last two periods.
Downtrend is recognized when the current smoothed EMA is lower than the last two periods.
Consolidation occurs when neither an uptrend nor a downtrend is present.
Visual Representation:
The moving average line changes color:
Green for an uptrend.
Red for a downtrend.
Orange for consolidation.
Significant Trend Labels:
Labels are displayed when there's a significant change in the moving average:
Uptrend Labels appear when the EMA increases by more than the user-defined "Uptrend Label on % Change" threshold, placed at the high of the bar with green background.
Downtrend Labels are shown when the EMA decreases by more than the "Downtrend Label on % Change" threshold, positioned at the low of the bar with a red background.
Users can enable or disable these labels, and the thresholds for labeling uptrends and downtrends can be adjusted separately to match market conditions or user preferences.
This indicator is tailored for traders needing a moving average that adapts to market dynamics while providing clear visual feedback on significant trend changes via color-coded lines and labels.
Dynamic Currency Strength IndexDescription:
This indicator calculates the relative strength of the base currency and quote currency of the currently selected forex pair. Instead of just using a single pair comparison (e.g., GBPUSD - AUDUSD), it determines currency strength using a basket of related pairs, making it more accurate and useful for trading decisions.
How It Works:
Extracts the base and quote currencies from the selected forex pair.
Calculates their individual strengths using multiple related forex pairs.
Displays the strength difference between the base and quote currencies.
How to Use:
✔️ If the strength difference is positive, the base currency is stronger → Bullish signal.
✔️ If the strength difference is negative, the quote currency is stronger → Bearish signal.
✔️ Use it to confirm trends, filter trades, and improve entry timing in forex trading.
💡 Ideal for traders using trend-based strategies (Dow Theory, HH-HL patterns, breakouts, etc.).
ai//@version=5
indicator("Scalping Master", overlay=true, shorttitle="SCALP_PRO")
// Input Parameters
input fastLength = 9
input slowLength = 21
input rsiLength = 14
input rsiOverbought = 70
input rsiOversold = 30
input volumeThreshold = 1.5
// Calculate Indicators
fastMA = ta.sma(close, fastLength)
slowMA = ta.sma(close, slowLength)
rsi = ta.rsi(close, rsiLength)
= ta.macd(close, 12, 26, 9)
volumeAvg = ta.sma(volume, 20)
volumeSpike = volume > volumeAvg * volumeThreshold
// Trend Direction Conditions
bullishTrend = fastMA > slowMA and fastMA > fastMA
bearishTrend = fastMA < slowMA and fastMA < fastMA
// Entry Signals
longCondition =
ta.crossover(fastMA, slowMA) and
rsi < rsiOversold and
macdLine > signalLine and
volumeSpike
shortCondition =
ta.crossunder(fastMA, slowMA) and
rsi > rsiOverbought and
macdLine < signalLine and
volumeSpike
// Exit Signals
exitLong = ta.crossunder(fastMA, slowMA) or rsi >= rsiOverbought
exitShort = ta.crossover(fastMA, slowMA) or rsi <= rsiOversold
// Visual Alerts
plotshape(series=longCondition, style=shape.triangleup, color=color.new(color.green, 0), location=location.belowbar, size=size.small)
plotshape(series=shortCondition, style=shape.triangledown, color=color.new(color.red, 0), location=location.abovebar, size=size.small)
// Plot Moving Averages
plot(fastMA, color=color.blue, linewidth=2)
plot(slowMA, color=color.orange, linewidth=2)
// Alert Conditions
alertcondition(longCondition, title="Long Entry", message="Bullish Entry Signal")
alertcondition(shortCondition, title="Short Entry", message="Bearish Entry Signal")
// Strategy Configuration (for backtesting)
if (longCondition)
strategy.entry("Long", strategy.long)
if (shortCondition)
strategy.entry("Short", strategy.short)
if (exitLong)
strategy.close("Long")
if (exitShort)
strategy.close("Short")
EMA & SMMA Pro Trend Indicator EMA & SMMA Combo is a powerful TradingView indicator that combines the Exponential Moving Average (EMA) and Smoothed Moving Average (SMMA) for enhanced trend analysis.
Features:
✅ EMA Calculation – Tracks price trends with a customizable length and offset.
✅ Smoothing Options – Choose between different moving average types, including SMA, EMA, SMMA (RMA), WMA, and VWMA.
✅ Bollinger Bands Integration – Add upper and lower bands for volatility analysis.
✅ SMMA Calculation – Provides a smooth trend-following average for better signal clarity.
This indicator helps traders identify trends, spot reversals, and optimize entry/exit points efficiently. 🚀
Clean Overlay: VWMA /ADX Trend + VWAP Separation + ATRIf you find this indicator useful to your setup, please consider donating! It took me a lot of time and coding work to create this and any support would be AMAZING! Venmo: @TimInColor Thanks so much!
Clean Overlay: VWMA/ADX Trend + VWAP Separation + ATR
This indicator provides a clean and efficient way to monitor key market metrics directly on your chart without cluttering it with unnecessary lines or plots. It combines VWMA/ADX-based true trend, VWAP separation, and ATR into a single, customizable table overlay. By replacing traditional lines and plots with numerical values, this indicator helps you focus on the most important information while keeping your chart clean and easy to read.
Key Features:
VWMA Trend Direction:
Determines the overall trend using VWMA and VWAP.
Uses ADX to confirm trend strength.
Displays Bullish, Bearish, or Caution based on price position and ADX value.
Trend direction updates only on candle close to avoid false signals.
VWAP Separation:
Shows the distance between the real-time price and VWAP in points above or below.
Helps identify overextended price levels relative to the volume-weighted average price.
ATR (Average True Range): [/b
Displays the current ATR numerical value, which measures market volatility.
Useful for setting stop-loss levels, position sizing, and identifying periods of high or low volatility.
Customizable Table:
The table is fully customizable, including:
Position: Top-right, bottom-right, or bottom-left.
Colors: Customize text and background colors for each metric.
Opacity: Adjust the table’s transparency.
Border: Customize border width and color.
Alerts:
Set alerts for:
VWAP Separation: When the separation crosses a user-defined threshold.
ATR: When the ATR crosses a user-defined threshold.
Trend Direction: When the trend changes (e.g., from Bullish to Bearish or Caution).
How It Helps Clean Up Your Charts:
Replaces Lines with Numerical Values:
Instead of cluttering your chart with multiple lines (e.g., VWMA, VWAP, ATR bands, etc), this indicator consolidates the information into a single table with numerical values.
This makes your chart cleaner and easier to interpret, especially when using multiple timeframes or instruments.
Focus on Key Metrics:
By displaying only the most important metrics (trend direction, VWAP separation, and ATR), this indicator helps you focus on what matters most for your trading decisions.
Customizable and Non-Intrusive:
The table overlay is fully customizable and can be positioned in multiple places on the chart, ensuring it doesn’t interfere with your analysis or trading setup.
How to Use:
Add the Indicator:
Apply the script to your chart in TradingView.
Customize the settings in the Inputs tab to match your preferences.
Interpret the Table:
Top Row (Trend Direction):
Bullish: Price is above both the VWMA and VWAP, and ADX is above the threshold.
Bearish: Price is below both the VWMA and VWAP, and ADX is above the threshold.
Caution: ADX is below or equal to the threshold, OR price is between the VWMA and VWAP.
Middle Row (ATR):
Displays the current timeframe's ATR value, which indicates market volatility.
Bottom Row (VWAP Separation):
Shows the distance between the real-time price and VWAP. Positive values indicate price is above VWAP, while negative values indicate price is below VWAP.
Set Alerts:
Go to the Alerts tab in TradingView and create alerts for:
VWAP Separation: Triggered when the separation crosses a user-defined threshold.
ATR: Triggered when the ATR crosses a user-defined threshold.
Trend Direction: Triggered when the trend changes (e.g., from Bullish to Bearish or Caution).
Customize the Table:
Adjust the table’s position, colors, opacity, and borders to fit your chart’s style.
Example Use Cases:
Trend Following:
Use the Trend Direction to identify the overall market trend and align your trades accordingly.
For example, go long in a Bullish trend and short in a Bearish trend.
Volatility-Based Strategies:
Use the ATR value to adjust your position sizing or set stop-loss levels based on current market volatility.
Mean Reversion:
Use the VWAP Separation to identify overextended price levels and look for mean reversion opportunities.
Custom Interpretations and Uses
This information can be used for a bevy of different uses, and can fit into virtually every strategy as additional confluences and information.
Customization Options:
ADX Threshold: Set the threshold for determining trend strength (default is 23).
Table Position: Choose between Top Right, Bottom Right, or Bottom Left.
Text Colors: Customize the text colors for VWAP Separation, ATR, and Trend Direction.
Borders: Adjust borders width and color.
Example Output:
The table will look something like this:
Bullish
ATR: 1.45
VWAP Separation: 48
Final Notes:
This indicator is designed to simplify your chart analysis by consolidating key metrics into a single, customizable table that provides clear values for trend direction, VWAP separation, and ATR, helping you make informed trading decisions. By replacing unnecessary lines with numerical values, it helps you focus on what matters most while keeping your chart clean and easy to interpret. Whether you’re a trend follower, volatility trader, or mean reversion enthusiast, this indicator provides the tools you need to make informed trading decisions, and in a super clean and simple overlay.
If you find this indicator useful to your setup, please consider donating! It took me a lot of time and coding work to create this and any support would be AMAZING! Venmo: @TimInColor Thanks so much!
Simple Base Screener with Alerts & Highlighted Candles_by okysilUpdated Pine Script: Simple Base Screener (No TTM Squeeze)
pinescript
Copy
Edit
//@version=5
indicator("Simple Base Screener with Alerts & Highlighted Candles", overlay=true)
// Moving Averages
ema21 = ta.ema(close, 21)
sma50 = ta.sma(close, 50)
sma200 = ta.sma(close, 200)
// Tight Price Action (Low Volatility)
range10 = ta.highest(high, 10) - ta.lowest(low, 10)
tightBase = (range10 / close) < 0.07
// Volume Dry-Up
volAvg50 = ta.sma(volume, 50)
lowVolume = volume < (volAvg50 * 0.75)
// Strong Uptrend
uptrend = ema21 > sma50 and sma50 > sma200
// Near 52-Week High
high52 = ta.highest(high, 252)
nearHigh = close > (0.85 * high52)
// Simple Base Confirmation
simpleBase = tightBase and lowVolume and uptrend and nearHigh
// Plot Buy Signal
plotshape(series=simpleBase, location=location.belowbar, color=color.blue, style=shape.labelup, title="Simple Base Signal")
// Highlight Candlesticks
barcolor(simpleBase ? color.blue : na)
// Background Highlight
bgcolor(simpleBase ? color.blue : na, transp=90)
// 🔔 Alert for Simple Base
alertcondition(simpleBase, title="Simple Base Alert", message="A stock has formed a Simple Base!")
📌 Changes & Features:
✅ Removed TTM Squeeze condition
✅ Simple Base detection remains unchanged
✅ Blue highlighted candles when a Simple Base forms
✅ Background color changes for extra visibility
✅ Alerts notify you instantly when a Simple Base is detected
📌 How to Use:
Copy & Paste into TradingView’s Pine Script Editor
Click Add to Chart
Set an Alert:
Right-click on the chart → Add Alert
Choose Simple Base Alert
Set to Once Per Bar Close
🚀 Now You’ll See:
🔹 Blue candles = Stocks forming a Simple Base
🔹 Blue background = Extra confirmation
🔹 Alerts = Never miss a setup!
Sessions, range deviations & statsThis indicator builds on the excellent range projections indicator by @tradeforopp. Simple logic to calculate statistics based on a time based range are calculated per the original script. However, this version builds on that by providing users with the ability to apply conditional filters and add some context to the current trading day. Hopefully, this provides users with the ability to backtest potential scenarios based on key sessions and levels, as well as aide in generating a daily bias for trading
Columns in the stats table have been generated to show whether price retraces fully back through the range to hit the first deviation if any level to the opposite side has been hit
For example, if price hit deviation 4 to the upside, additional stats have been generated to show the % of times that price then went to hit deviation 1 to the downside
The range used for generating stats is fully customisable per the original indicator
The indicator will additionally plot the following:
1. Trading sessions (Asia, London & New York): Fully customisable times and display
2. Weekly initial balance high/low/50%: Monday or Monday & Tuesday can be used to determine the weekly balance
3. Previous day and week high/low/50%
4. Midnight and 8am open levels: The times can be changed if required and the statistics will reflect the new time, though the name on the chart and in the stats table will remain the same
Users can then generate additional stats for deviations being hit if certain levels are above other levels
For instance, if the Asia low is higher than the 8am open, it could indicate a bearish day and as such the stats table will show whether levels to the upside of the range or the downside are more likely to be hit
Simple Base ScreenerPatrick Walker (Mission Winners) looks for simple bases as part of his "clean and tight" setups, favoring shallow consolidations in strong stocks.
Key Criteria for Simple Bases:
Price is Near 50 SMA or 21 EMA → The stock should be consolidating near key moving averages.
Close > EMA(21) or Close > SMA(50)
Tight Price Action → The recent range should be narrow (small daily price bars, low volatility).
(Highest(High, 10) - Lowest(Low, 10)) / Close < 0.07 (Less than 7% range over 10 days)
Volume Dry-Up → Volume should be declining, showing sellers are exhausted.
Volume < SMA(Volume, 50) * 0.75
Above Key Moving Averages → The stock must be in an uptrend.
EMA(21) > SMA(50) and SMA(50) > SMA(200)
Near 52-Week High → Strong relative performance.
Close > 0.85 * Highest(High, 252) (Within 15% of 52-week high)
TradingView Pine Script for Simple Bases
pinescript
Copy
Edit
//@version=5
indicator("Simple Base Screener", overlay=true)
// Moving Averages
ema21 = ta.ema(close, 21)
sma50 = ta.sma(close, 50)
sma200 = ta.sma(close, 200)
// Tight Price Action (Low Volatility)
range10 = ta.highest(high, 10) - ta.lowest(low, 10)
tightBase = (range10 / close) < 0.07
// Volume Dry-Up
volAvg50 = ta.sma(volume, 50)
lowVolume = volume < (volAvg50 * 0.75)
// Strong Uptrend
uptrend = ema21 > sma50 and sma50 > sma200
// Near 52-Week High
high52 = ta.highest(high, 252)
nearHigh = close > (0.85 * high52)
// Simple Base Criteria
simpleBase = tightBase and lowVolume and uptrend and nearHigh
// Plot Buy Signal
plotshape(series=simpleBase, location=location.belowbar, color=color.blue, style=shape.labelup, title="Simple Base Signal")
// Background Highlight
bgcolor(simpleBase ? color.blue : na, transp=90)
How to Use This:
Copy & Paste the script into TradingView’s Pine Script Editor
Click Add to Chart
Filter Stocks in your watchlist when a blue label appears
This script finds low-volatility consolidations near highs—perfect for breakout setups!
EMA/MA i Year Open Price (4h/1D/1W)This script calculates and plots various Exponential Moving Averages (EMAs) and Simple Moving Averages (MAs) for different timeframes on a TradingView chart. It also calculates the MACD (Moving Average Convergence Divergence) and highlights significant crossovers as buy or sell signals. Additionally, the script marks the first opening price of the year and differentiates between periods when the closing price is above or below certain moving averages.
Soso Supply & Demand A simple indicator that points out demand and supply, combined with confirmations like choch on lower time frames works well. I will try to improve it and test it more.