candle close alarmA simple Alarm to each candle close, helpfull to keep your eye in the right moment to open a position.
Grafik Paternleri
VWAP Trading Signalsシグナルの動作イメージ
チャートに表示される内容:
VWAPライン(オレンジ)。
買いエントリー(緑ラベル)と売りエントリー(赤ラベル)。
利確または損切時のラベル。
シグナル例:
価格がVWAPを下回ると、BUYシグナル。
価格がVWAPを上回ると、SELLシグナル。
利確または損切条件を満たすと対応するシグナルを表示。
Blue & White 4 MA 3 SMA w/Buy & Sell at crossover IndicatorKeeping this simple. I have used this on the 1HR and 4HR, however lower time frames could be good. The indicator works on the premise of a fast 4MA crossing over a 3 SMA putting out buy and sell signals at those crossovers. I have a 15 and 50 ma to use as direction cutter lines. Wherein "buys" ONLY qualify when above said 15 and/or 50 ma, and "Sells" ONLY qualify when signal is below 15 and/or 50 ma. The buy and sell price is indicated by the "Dotted" Line whereas the flag is there merely to indicate the line itself. As usual and with anything and everything consolidation is a killer...
Engulfing and ATR-Imbalance [odnac]This Pine Script indicator combines two powerful concepts—Engulfing Candlestick Patterns and ATR Imbalance—to identify potential market reversal points with increased precision.
Engulfing Candlestick Patterns:
Bullish Engulfing: Identified when a candle closes higher than it opens, and it completely engulfs the previous candle (previous close is lower than the current open, and previous high is lower than the current close).
Bearish Engulfing: Identified when a candle closes lower than it opens, and it completely engulfs the previous candle (previous close is higher than the current open, and previous low is higher than the current close).
Bar Coloring: These patterns are highlighted with a customizable color (light gray by default) to make them easily identifiable.
ATR-Based Imbalance:
The Average True Range (ATR) is used to measure market volatility, and this script checks if the current candle’s range (difference between high and low) exceeds a defined multiple of the ATR, indicating a possible imbalance.
Imbalance Detection: If the current candle’s range is greater than ATR * imbalance multiplier (default multiplier: 1.5), it is marked as an ATR imbalance.
Bar Coloring: Candles with a significant imbalance (greater range than the ATR-based threshold) are highlighted in yellow, indicating an outlier or extreme price movement.
Engulfing + ATR Imbalance:
When both a Bullish Engulfing pattern and an ATR Imbalance are detected, a green triangle up is plotted below the bar, signaling a potential bullish reversal.
Conversely, when both a Bearish Engulfing pattern and an ATR Imbalance occur, a red triangle down is plotted above the bar, signaling a potential bearish reversal.
User Inputs:
Engulfing Plot: Enable or disable the plotting of Engulfing Candles.
ATR Length: Set the period used to calculate the ATR (default is 5).
Imbalance Multiplier: Adjust the multiplier to define the threshold for ATR imbalance detection (default is 1.5).
Bar Colors: Customizable color for both Engulfing candles and Imbalance candles.
Engulfing & Imbalance Plot: Enable or disable plotting of the combined conditions (Engulfing + ATR Imbalance) with arrows.
How This Indicator Helps:
By combining price action patterns with volatility analysis, this indicator highlights high-probability reversal points where significant price movement (imbalance) coincides with a clear Engulfing pattern. Traders can use these signals to time entries or exits based on both price action and market volatility.
PP High Low + SMAsHai,
Here i alter an indicator which have pivot point high low with alteration and additional SMA With different period
Improved Scalping Strategy with Alerts//@version=5
indicator("Improved Scalping Strategy with Alerts", overlay=true)
// EMA Settings for Scalping
emaLength = input.int(9, title="EMA Length")
emaValue = ta.ema(close, emaLength)
plot(emaValue, title="EMA", color=color.blue, linewidth=2)
// Volume Analysis for Scalping
volumeThreshold = input.float(2.0, title="Volume Threshold")
volumeSignal = volume > ta.sma(volume, 10) * volumeThreshold
bgcolor(volumeSignal ? color.new(color.blue, 90) : na, title="Volume Signal")
// RSI Settings for Scalping
rsiLength = input.int(9, title="RSI Length")
rsiValue = ta.rsi(close, rsiLength)
overbought = 70
oversold = 30
plot(rsiValue, title="RSI", color=color.purple, linewidth=2)
hline(overbought, "Overbought", color=color.red)
hline(oversold, "Oversold", color=color.green)
// MACD Settings for Scalping
fastLength = input.int(6, title="MACD Fast Length")
slowLength = input.int(13, title="MACD Slow Length")
signalSmoothing = input.int(5, title="MACD Signal Smoothing")
= ta.macd(close, fastLength, slowLength, signalSmoothing)
plot(macdLine, title="MACD Line", color=color.blue, linewidth=1)
plot(signalLine, title="Signal Line", color=color.red, linewidth=1)
// Strong Bullish and Bearish Conditions for Scalping
strongBullish = rsiValue > 70 and macdLine > signalLine and close > emaValue and volumeSignal
strongBearish = rsiValue < 30 and macdLine < signalLine and close < emaValue and volumeSignal
// Buy/Sell Signals for Scalping
buySignal = strongBullish
sellSignal = strongBearish
// Plot Buy/Sell Signals on Chart
plotshape(series=buySignal, title="Buy Signal", location=location.belowbar, color=color.green, style=shape.labelup, text="LONG")
plotshape(series=sellSignal, title="Sell Signal", location=location.abovebar, color=color.red, style=shape.labeldown, text="SHORT")
// Alerts for Scalping
alertcondition(buySignal, title="Long Trade Alert", message="Strong Bullish Signal: Consider LONG Trade")
alertcondition(sellSignal, title="Short Trade Alert", message="Strong Bearish Signal: Consider SHORT Trade")
// Additional Alerts for Confirmation
confirmationBullish = ta.crossover(macdLine, signalLine) and rsiValue > 50 and close > emaValue and volumeSignal
confirmationBearish = ta.crossunder(macdLine, signalLine) and rsiValue < 50 and close < emaValue and volumeSignal
alertcondition(confirmationBullish, title="Confirmation Bullish Alert", message="Confirmation Bullish Signal: Consider LONG Trade")
alertcondition(confirmationBearish, title="Confirmation Bearish Alert", message="Confirmation Bearish Signal: Consider SHORT Trade")
Indecisive Candle Buy/Sell Signals by VIKKAS VERMAUsing Hieken Ashi candle sticks @ 15 mins timeframe
9-20 EMA Crossover with TP and SL9-20 EMA Crossover: This script tracks the crossover of the 9-period EMA and the 20-period EMA.
When the 9 EMA crosses above the 20 EMA, a buy signal is triggered.
When the 9 EMA crosses below the 20 EMA, a sell signal is triggered.
Take Profit and Stop Loss Levels:
The take profit for a long position is set at 3% above the entry price (close * 1.03).
The stop loss for a long position is set at 1% below the entry price (close * 0.99).
The take profit for a short position is set at 3% below the entry price (close * 0.97).
The stop loss for a short position is set at 1% above the entry price (close * 1.01).
Leverage: The strategy uses 20x leverage for both long and short positions (leverage=20).
Alerts: Alerts are set up for the buy signal when the 9 EMA crosses above the 20 EMA and the sell signal when the 9 EMA crosses below the 20 EMA. These alerts can be used with a webhook to trigger trades on Binance Futures.
Strategy:
For long trades: The strategy enters a long position and sets a take profit at 3% above the entry price and a stop loss at 1% below the entry price.
For short trades: The strategy enters a short position and sets a take profit at 3% below the entry price and a stop loss at 1% above the entry price.
Institutional Momentum IndicatorThe Institutional Momentum Indicator is a simple yet powerful tool designed for traders seeking clarity and precision in their trading decisions. This indicator combines key technical analysis elements to deliver actionable buy and sell signals:
Buy and Sell Signals: Clearly marked on the chart when the price crosses above or below the Exponential Moving Average (EMA), signaling potential upward or downward momentum.
Volume Spike Detection: Enhances reliability by considering high-volume activity, often indicative of institutional participation.
EMA Trend Analysis: Tracks price momentum with a customizable EMA length.
Visual Highlights: Background colors (green for buy and red for sell) make it easy to identify trading opportunities at a glance.
Alerts Ready: Stay informed with built-in alerts for both buy and sell signals.
This indicator is optimized for traders looking to capitalize on momentum-based strategies while simplifying decision-making. Perfect for intraday and swing trading across various markets.
New Higher High - Dynamic TimeframeThis indicator allows you to see when the chart is making higher highs. Hope you enjoy and find some value from this indicator.
APE1 - Smart Money Concepts and EMAs This indicator is based on the SMC of Lux ALGO but I have added the exponential emas 9, 20, 50, 100 and 200, you can configure it as you like, including labels, prices and discount zones, balance and premium. IT WORKS IN ALL TIMEFRAMES.
9/21 EMA Support & Resistance By DSWIf you're looking to plot two lines on an EMA crossover strategy, you can do that by using two EMAs and then plotting them on the chart. You can also highlight the crossover signals where one EMA crosses over or under the other
[COG] Advanced School Run StrategyAdvanced School Run Strategy (ASRS) – Explanation
Overview: The Advanced School Run Strategy (ASRS) is an intraday trading approach designed to identify breakout opportunities based on specific time and price patterns. This script applies the concepts of the Advanced School Run Strategy as outlined in Tom Hougaard's research, adapted to work seamlessly on TradingView charts. It leverages 5-minute candlestick data to set actionable breakout levels and provides traders with visual cues and alerts to make informed decisions.
Features:
Dynamic Breakout Levels: Automatically calculates high and low levels based on the market's behavior during the initial trading minutes.
Custom Visualization: Highlights breakout zones with customizable colors and transparency, providing clear visual feedback for bullish and bearish breakouts.
Configurable Alerts: Includes alert conditions for both bullish and bearish breakouts, ensuring traders never miss a trading opportunity.
Reset Logic: Resets breakout levels daily at the market open to ensure accurate signal generation for each session.
How It Works:
The script identifies key levels (high and low) after a configurable number of minutes from the market open (default: 25 minutes).
If the price breaks above the high level or below the low level, a corresponding breakout is detected.
The script draws breakout zones on the chart and triggers alerts based on the breakout direction.
All levels and signals reset at the start of each new trading session, maintaining relevance to current market conditions.
Customization Options:
Line and box colors for bullish and bearish breakouts.
Transparency levels for breakout visualizations.
Alert settings to receive notifications for detected breakouts.
Acknowledgment: This script is inspired by Tom Hougaard's Advanced School Run Strategy. The methodology has been translated into Pine Script for TradingView users, adhering to TradingView’s policies and community guidelines. This script does not redistribute proprietary content from the original research but implements the principles for educational and analytical purposes.
Simple Swing Trader by CryptoMitchX How to Use the Simple Swing Trader by CryptoMitchX
How to Use:
The Simple Swing Trader indicator combines multiple tools to help you identify potential trading opportunities:
Moving Averages (MA 50 & MA 100): These are plotted as yellow and purple lines on the chart. Use these to determine trend direction and crossovers for potential trend changes.
Heiken Ashi Bars: Displayed with volume-based coloring for smoother visualization of trends. Look for changes in bar colors to identify potential shifts in momentum.
SuperTrend Buy/Sell Signals: Labels are placed on the chart to indicate "BUY" or "SELL" opportunities based on the SuperTrend calculation. Green labels signify potential buy zones, and red labels signify potential sell zones.
Volume Histogram: Shown in a separate pane, this provides an adjustable view of market activity. Use the "Volume Histogram Base Multiplier" input to customize its display.
Customization: All elements are editable for your trading preferences. Adjust colors, timeframes, and parameters as needed.
Features:
Multi-Tool Integration:
Combines trend-following, momentum-based, and volume-focused tools in one indicator.
SuperTrend Signals: Generates clear "BUY" and "SELL" labels to assist decision-making.
Heiken Ashi Visualization: Reduces noise and smoothens price data for better clarity.
Customizable Settings: Fully adjustable parameters to suit different trading styles and assets.
Volume Insights: An adaptable histogram that reflects market participation and activity.
Suggested Modifications
Alert Integration: Add alert conditions for BUY and SELL signals to receive real-time notifications.
Dynamic Color Customization: Enable dynamic coloring based on additional indicators, like RSI or MACD.
Optimization for Specific Assets: Fine-tune ATR and factor settings to align with the behavior of specific markets (e.g., crypto, forex, stocks).
Additional Indicators: Consider incorporating a momentum oscillator to enhance confirmation of trade setups.
This indicator is designed to work on any timeframe and asset. Experiment with different settings to optimize it for your trading strategy.
The Code
//@version=6
indicator("Simple Swing Trader by CryptoMitchX", overlay=true)
// Define moving averages
length50 = 50
length100 = 100
ma50 = ta.sma(close, length50)
ma100 = ta.sma(close, length100)
// Plot moving averages with specified colors and thickness
plot(ma50, title="MA 50", color=color.new(color.yellow, 0), linewidth=2)
plot(ma100, title="MA 100", color=color.new(color.purple, 0), linewidth=8)
// Moving Average Crosses
var float last_ma50 = na
var float last_ma100 = na
if (not na(ma50) and not na(ma100))
last_ma50 := ma50
last_ma100 := ma100
// Heiken Ashi style bars with volume-based coloring
ha_open = request.security(syminfo.tickerid, timeframe.period, math.avg(close , open ))
ha_close = math.avg(close, open, high, low)
ha_high = math.max(high, ha_open, ha_close)
ha_low = math.min(low, ha_open, ha_close)
var float last_volume = na
current_volume = volume
// Using plot for bar color indication without specifying color
plot(ha_close, title="HA Close", color=color.new(color.blue, 0), display=display.all, editable=true)
last_volume := current_volume
// Super Trend calculations for labels (but not plotting the line)
atrPeriod = 10
factor = 3.0
src = close
atr = ta.atr(atrPeriod)
upperband = src - (factor * atr)
lowerband = src + (factor * atr)
supertrend = na(upperband) ? na : upperband
supertrend := close > nz(supertrend ) ? math.max(upperband, nz(supertrend )) : math.min(lowerband, nz(supertrend ))
// Buy/Sell signals for SuperTrend with color (labels without plotting the line)
if (supertrend < nz(supertrend ))
label.new(bar_index, low, "BUY", color=color.new(color.green, 0), textcolor=color.new(color.black, 0), size=size.small)
if (supertrend > nz(supertrend ))
label.new(bar_index, high, "SELL", color=color.new(color.red, 0), textcolor=color.new(color.black, 0), size=size.small)
// Define histbase as an input
histbase_value = input.float(0.1, title="Volume Histogram Base Multiplier", minval=0.01, maxval=1, step=0.01)
// Display volume in a separate pane with modifications
plot(volume * histbase_value, title="Volume", color=color.new(color.white, 0), style=plot.style_histogram, linewidth=3, histbase=0, display=display.all)
Pivot Powerup indy for tradingviewThis script calculates and plots Pivot Points (P, R1, R2, R3, S1, S2, S3) on the price chart. Pivot Points are key levels used in technical analysis to identify potential support and resistance areas.
Features :
- Calculates daily Pivot Points using the standard formula.
- Plots Pivot Point (P), Resistance levels (R1, R2, R3), and Support levels (S1, S2, S3).
- Overlays the levels on the price chart for easy visualization.
- No user-configurable parameters in this version.
- This indicator is based on the previous day's data. It may not be accurate in highly volatile markets.
- Always use Pivot Points in conjunction with other technical analysis tools for better accuracy.
- To customize the indicator, modify the formula in the `calculate_pivot_points` function.
- You can also change the colors or line widths of the plotted levels by editing the `plot()` functions.
Created by chakrint. Feel free to use and modify this script.
Price Action + Support/Resistance with LabelsEntry Conditions:
Long Entry (BUY): Based on the bullish engulfing pattern and price being above the resistance level.
Short Entry (SELL): For demonstration, the short entry condition is set as price being below the support level and a bullish candle in the previous bar. You can modify this logic for your own use case.
Stop Loss and Take Profit:
Stoploss is plotted at the calculated stop loss level.
Target is plotted at the calculated take profit level.
Labels:
For long trades, labels are added with "BUY", "STOPLOSS", and "TARGET".
For short trades (if enabled), labels are added with "SELL", "STOPLOSS", and "TARGET".
Labels are placed using label.new at specific locations on the chart (above or below bars).
Alert Conditions:
Alerts are created for both long and short entry signals so you can get notified when the entry conditions are met.
How it works:
BUY label will appear below the bar when a long entry condition is met.
SELL label will appear above the bar when a short entry condition is met.
STOPLOSS and TARGET labels will appear at their respective levels when an entry signal is triggered.
The labels will appear on the chart to give you a clear visual cue of the entry, stop loss, and take profit levels.
How to Use:
Copy the script into your Pine Editor on TradingView and apply it to your chart.
Observe the labels that show up on the chart:
"BUY" will appear below the bar when long conditions are met.
"SELL" will appear above the bar when short conditions are met (if using short logic).
"STOPLOSS" will be plotted at the stop loss level.
"TARGET" will be plotted at the take profit level.
Optional Customization:
You can modify the short entry condition based on your preferred method.
You can adjust the length for the support/resistance calculation, the stopLossRR, and other parameters to fine-tune the strategy for Nifty 50 or any other asset.
Let me know if you have any further questions or need additional modifications!
Pivot Powerup (Indy)Pivot powerup(indy) Indicator for TradingView
This script calculates and plots daily Pivot Points (P, R1, R2, R3, S1, S2, S3) on the price chart. Pivot Points are key levels used in technical analysis to identify potential support and resistance areas.
Key Features
Calculates daily Pivot Points using the standard formula.
Plots Pivot Point (P), Resistance levels (R1, R2, R3), and Support levels (S1, S2, S3).
Overlays the levels on the price chart for easy visualization.
How to Use
Copy and paste the script into the Pine Script editor on TradingView.
Add the indicator to your chart.
The Pivot Points will be automatically calculated and plotted based on the previous day's high, low, and close prices.
Cautions
This indicator is based on the previous day's data. It may not be accurate in highly volatile markets.
Always use Pivot Points in conjunction with other technical analysis tools for better accuracy.
Customization
To customize the indicator, modify the formula in the calculate_pivot_points function.
You can also change the colors or line widths of the plotted levels by editing the plot() functions.
Credits
Created by Zhongli2566. Feel free to use and modify this script.
Trend Retest Strategy1. The Two Lines: Support & Resistance Levels
Red Line (recentHigh):
Plots the highest price level over the last 7 days (42 bars on the 4-hour timeframe). This acts as a dynamic resistance level.
Example: If price approaches this line and reverses, it signals a potential resistance retest.
Green Line (recentLow):
Plots the lowest price level over the last 7 days (42 bars on 4H). This acts as a dynamic support level.
Example: If price bounces off this line, it signals a support retest.
These lines update automatically as new price data forms.
Why 42 bars?
4-hour chart = 6 bars per day (24 hours / 4 = 6).
6 bars/day × 7 days = 42 bars.
2. Entry Signals (Arrows)
The arrows appear when all your strategy’s conditions align:
For Long Entries (▲ Green Triangle Below Bar):
Daily Trend: Daily RSI ≥ 50 (bullish).
MA Crossover: 20-period SMA crosses above 50-period SMA on the 4H chart.
RSI Confirmation: 4H RSI is ≥ 50 and rising (bullish momentum).
Retest: Price is within 0.5% of either the recentHigh (resistance) or recentLow (support).
Volume: Current volume > 20-period average volume.
Candle Confirmation: A bullish candle closes above the open.
For Short Entries (▼ Red Triangle Above Bar):
Daily Trend: Daily RSI < 50 (bearish).
MA Crossover: 20-period SMA crosses below 50-period SMA on the 4H chart.
RSI Confirmation: 4H RSI is ≤ 50 and falling (bearish momentum).
Retest: Price is near recentHigh or recentLow (same 0.5% threshold).
Volume: Volume exceeds its 20-period average.
Candle Confirmation: A bearish candle closes below the open.
3. How It All Fits Together
Step 1: The indicator checks the daily RSI to confirm the broader trend.
Step 2: On the 4H chart, it tracks the moving averages (MA20 and MA50) and RSI for momentum.
Step 3: When price retests the dynamic support/resistance lines (red/green), it waits for volume and candle confirmation to validate the retest.
Step 4: If all rules align, an arrow appears (long or short).
Example Scenario (Long Entry):
Daily Chart: RSI = 60 (bullish).
4H Chart:
MA20 crosses above MA50.
RSI = 55 and rising.
Price dips to the green support line (within 0.5%).
Volume spikes above average.
A bullish candle closes higher.
Result: A green ▲ appears below the bar.