9/21 EMA_DSWThe 9 and 21 EMA strategy involves using the 9-day and 21-day exponential moving averages to identify potential buy and sell signals. A buy signal is generated when the 9 EMA crosses above the 21 EMA, and a sell signal is generated when the 9 EMA crosses below the 21 EMA.
Grafik Paternleri
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!
MA Crossover with Demand/Supply Zones + Stop Loss/Take ProfitStop Loss and Take Profit Inputs:
Added stopLossPerc and takeProfitPerc as inputs to allow the user to define the stop loss and take profit levels as a percentage of the entry price.
Stop Loss and Take Profit Calculation:
For long positions, the stop loss is calculated as strategy.position_avg_price * (1 - stopLossPerc), and the take profit is calculated as strategy.position_avg_price * (1 + takeProfitPerc).
For short positions, the stop loss is calculated as strategy.position_avg_price * (1 + stopLossPerc), and the take profit is calculated as strategy.position_avg_price * (1 - takeProfitPerc).
Exit Strategy:
Added strategy.exit to define the stop loss and take profit levels for each trade. The from_entry parameter ensures that the exit is tied to the specific entry order.
Flexibility:
The stop loss and take profit levels are dynamic and adjust based on the entry price of the trade.
How It Works:
When a buy signal is generated (MA crossover near a demand zone), the strategy enters a long position and sets a stop loss and take profit level based on the input percentages.
When a sell signal is generated (MA crossunder near a supply zone), the strategy enters a short position and sets a stop loss and take profit level based on the input percentages.
The trade will exit automatically if either the stop loss or take profit level is hit.
Example:
If the entry price for a long position is $100, and the stop loss is set to 1% while the take profit is set to 2%:
Stop loss level =
100
∗
(
1
−
0.01
)
=
100∗(1−0.01)=99
Take profit level =
100
∗
(
1
+
0.02
)
=
100∗(1+0.02)=102
Notes:
You can adjust the stopLossPerc and takeProfitPerc inputs to suit your risk management preferences.
Always backtest the strategy to ensure the stop loss and take profit levels are appropriate for your trading instrument and timeframe.
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.
Star Pattern IdentifierThe Star Pattern Identifier is a custom TradingView indicator designed to detect and mark Morning Star (MS) and Evening Star (ES) candlestick patterns, which are powerful reversal signals. This indicator offers a flexible and customizable approach by incorporating adjustable parameters for both the size and volume of the third candle in the pattern.
Key Features:
Morning Star (MS) : A bullish reversal pattern that occurs after a downtrend.
Evening Star (ES) : A bearish reversal pattern that occurs after an uptrend.
Adjustable Parameters:
Third Candle Size Multiplier : Define how large the body of the third candle should be relative to the second candle (default is 2x).
Third Candle Volume Multiplier : Control the minimum volume of the third candle in relation to the second candle (default is 0.5x).
The script ensures that the third candle’s volume is at least 50% of the second candle's volume and that its body is at least twice the size of the second candle, to filter out weaker signals.
The patterns are marked directly on the chart with "MS" (Morning Star) or "ES" (Evening Star) labels for easy identification.
Practical Use:
Use this indicator to spot potential trend reversals with more confidence by ensuring strong candlestick body and volume conditions.
Customize the parameters to suit your trading strategy and preferences.
How it Works:
The indicator looks for a bearish first candle , followed by a bullish or indecisive second candle , and a bullish third candle for the Morning Star pattern.
For the Evening Star, the indicator looks for a bullish first candle , followed by a bearish or indecisive second candle , and a bearish third candle .
The size and volume of the third candle are checked to ensure it meets the set parameters, confirming the strength of the reversal signal.
This tool is perfect for traders seeking to spot reversal signals in the market.
SMA Crossover with VWAP Filter-Thiru YadavBuy/Sell Signals: Displayed as labels on the chart.
SMAs: Plotted as blue (9 SMA) and orange (21 SMA) lines.
VWAP: Plotted as a purple line.
VWMA with Buy/Sell Signalshe VWMA (Volume Weighted Moving Average) is a technical indicator that averages prices over a specified period while giving more weight to periods with higher trading volumes. This makes the VWMA more sensitive to price movements during high-volume trading compared to a simple moving average (SMA).
Adding Buy/Sell Signals to a VWMA-based script involves identifying trends or crossover points that indicate potential entry (Buy) or exit (Sell) opportunities.
Core Features of the Script:
VWMA Calculation:
Uses the typical price ((High + Low + Close) / 3) or closing price for computation.
Weighting is based on the volume traded in each period.
SMA Crossover with VWAP Filter ~Thiru Yadav, Hyd INAdd this script to your TradingView chart.
Adjust the SMA lengths, VWAP filter, and support/resistance lookback period as needed.
Look for buy and sell signals on the chart.
The support and resistance levels will automatically update based on the specified lookback period.
Buy/Sell Volume OscillatorBuy volume
Sell volume
will assist with market trend, showing the trend strength
ZigZag + Fractals + SAR / Owl of ProfitZigZag + Fractals + SAR Strategy
This strategy combines ZigZag, Fractals, and Parabolic SAR to provide robust trading signals, ideal for identifying trend reversals and trade entries
Features
ZigZag
Tracks trend changes using defined depth and deviation parameters
Identifies "High" and "Low" pivots for trend movements
Fractals
Captures local highs (Fractal Up) and lows (Fractal Down), serving as potential reversal points
Parabolic SAR
Generates entry and exit signals based on price and SAR crossovers
Strategy Conditions
Long
Price crosses above SAR (SAR shifts below price)
ZigZag indicates an uptrend
A fractal down appears
Short
Price crosses below SAR (SAR shifts above price)
ZigZag indicates a downtrend
A fractal up appears
Exit Logic
Exit Long
SAR crosses above price
Exit Short
SAR crosses below price
Customization
ZigZag Parameters
Depth: 5 candles
Deviation: 5%
Parabolic SAR
Start: 0.02, Max: 0.2, Increment: 0.02
Option to visualize Fractals and SAR on the chart
This strategy is suitable for both short-term and long-term trades, allowing flexible customization for different market conditions
Visit my website for more tools and strategies bybitindicators.com
Happy trading!
FVG Trading BotThe FVG Trading Bot for TradingView is a powerful indicator that automatically detects Fair Value Gaps (FVGs) on the chart, highlighting bullish and bearish zones with customizable colors and parameters. It supports dynamic trading logic, including stop-loss management and daily profit targets. The bot identifies FVGs based on precise conditions and allows users to configure thresholds, extend zones, and enable reversal strategies. Ideal for traders seeking efficient visual insights, this bot enhances decision-making by providing clear entry and exit signals. Designed for simplicity and adaptability, it’s perfect for various trading styles and timeframes. Automate alerts and optimize your strategy effortlessly!
🚀 Traderz h3lp3r - Combined Trend and ReversalThe "Traderz Helper" is a comprehensive trading indicator designed for the ETH/USDC pair, integrating several powerful analytical tools into one seamless overlay. This indicator combines H4 EMA trend analysis, Bollinger Bands for reversal detection, and precise candlestick pattern identification to provide traders with a robust tool for identifying potential market movements.
Features:
H4 EMA Trend Lines:
Displays the H4 EMA (Exponential Moving Average) to identify the overall market trend. It uses a 240-minute timeframe to reflect the H4 period across all charts.
The trend line is conditionally displayed based on the selected timeframe, ensuring relevance and clarity in trend analysis.
Bollinger Bands Reversal Signals:
Utilizes Bollinger Bands to spot potential bullish and bearish reversal points. The indicator highlights when the price wicks beyond the bands but closes within, signaling possible price rejections.
Includes both Bullish and Bearish reversal detections, marked with upward ("▲") and downward ("▼") arrows for quick visual cues.
Candlestick Pattern Detection:
Detects critical candlestick formations that indicate tops and bottoms in the market. This feature spots "Hammer" and "Shooting Star" patterns that can signify turning points.
Displays an orange "T" above bullish candles that form potential tops and a "B" below bearish candles indicating possible bottoms, providing traders with immediate visual insights into candlestick behavior.
Utility:
This indicator is tailored for traders who need a multi-faceted approach to technical analysis. Whether you are looking to confirm trend directions, anticipate market reversals, or identify key candlestick patterns, the "Traderz Helper" provides all necessary tools in a single, user-friendly format. Ideal for both novice and experienced traders, this indicator enhances decision-making by integrating essential trading metrics directly on your chart.
Usage Tips:
Monitor the H4 EMA for broader market trends. Use the trend lines to align your trades with the market direction.
Pay close attention to the reversal signals from Bollinger Bands. These can offer valuable entry and exit points.
Use the candlestick pattern detection to refine your trading strategy during key market movements. Look for "T" and "B" signals as confirmation of potential tops and bottoms.
Yash Zones Pro [Clean]Overview of the Precision Yash Zones Pro Indicator
The Precision Yash Zones Pro indicator is designed to assist traders in identifying key supply and demand zones, which are critical for making informed trading decisions. Here’s how this indicator can help traders improve their trading strategies:
3 buy FractionedDesigned to identify potential buying opportunities with high reliability, particularly on the daily timeframe. It combines multiple technical analysis tools to generate signals with enhanced accuracy and flexibility.
Key Features:
Multi-Condition Analysis:
RSI (<55) and Stochastic Oscillator (<55) to detect oversold conditions.
Bollinger Band proximity for price reversals.
Volume spikes to confirm market interest.
50-day Moving Average to ensure trend alignment.
Early Signal Detection:
Includes a 10-day and 20-day SMA crossover for additional confirmation.
Relaxed thresholds to capture trends earlier.
Customizable Parameters:
The thresholds for RSI, Stochastic, and volume are adjustable for different trading styles.
How to Use:
Use this indicator on daily timeframes for swing trading.
Look for the green 'BUY' label below the candles as the entry signal.
Combine with other tools (e.g., support/resistance levels, candlestick patterns) for additional confirmation.
Wyckoff Price Action Pattern with AlertWyckoff Price Action Pattern with Alert.
It is a spring setup. when spring starts to fail it's mean trend is changed. For more accurate setup you can contact me.
9/21 EMA DSWThe 9 and 21 EMA strategy involves using the 9-day and 21-day exponential moving averages to identify potential buy and sell signals. A buy signal is generated when the 9 EMA crosses above the 21 EMA, and a sell signal is generated when the 9 EMA crosses below the 21 EMA. Best for new learner
Yash Zones Strategy v6Modern strategy declaration syntax
Proper commission settings
barmerge.gaps_off for security calls
Color management with color.new()
Null-coalescing operator (?:) removed in favor of ternary
Cleaner position sizing calculation
Improved visual plotting syntax
Full TypeScript-style type safety
Enhanced error handling for edge cases
Strategy Features:
Complete backtesting capability
Real-time trading alerts
Automatic position sizing
Trailing stop functionality
Multi-timeframe confirmation
Volume liquidity filters
Professional risk management parameters
Clear visual signal markers
This version includes all the latest Pine Script v6 features while maintaining the original Yash logic with enhanced reliability and performance.
Monthly Start Lines//@version=5
indicator("Monthly Start Lines", overlay=true)
// Detect the first bar of a new month
is_new_month = (month != month )
// Draw vertical lines on the first bar of a new month
if is_new_month
line.new(x1=bar_index, y1=high + 100, x2=bar_index, y2=low - 100, color=color.new(color.white, 80), width=1, extend=extend.none)