SHUBHAM DHINGRAIts the best . its just the usual one but what makes it is the best is that there are both same wavelength of 15 measure . the one is ma and other is ema and its crossover is giving best results at time.
Candlestick analysis
Rishabh's Price & Volume Change IndicatorRishabh's Price & Volume Change Indicator
If price is up and volume is down for current and prev close then green
else
yellow
Heiken Ashi Smoothed (Fractional EMA)Classical Heiken Ashi smoothed by one single exponential mooving average - you can adjust the length in an easier way - it is set by default on 6.8 for currencies (5 mn time frame)
[TehThomas] - Displacement CandlesOverview:
This PineScript is designed to detect and visualize significant price movements, called displacements, on a trading chart. It's particularly useful for traders who want to identify potential trend changes or strong market sentiment quickly.
How the Script Works
User Input:
The script allows users to set a custom threshold for displacement detection and choose colors for bullish and bearish movements.
Displacement Detection Function:
isDisplacement(series, threshold) =>
percentage_change = math.abs(series - series ) / series * 100
percentage_change > threshold
This function calculates the percentage change between the current and previous price.
If the change exceeds the set threshold, it's considered a displacement.
Bullish and Bearish Detection:
bullish_displacement = isDisplacement(close, threshold) and close > close
bearish_displacement = isDisplacement(close, threshold) and close < close
Identifies whether the displacement is bullish (price increase) or bearish (price decrease).
Candle Coloring:
barcolor(bullish_displacement ? bullish_color : bearish_displacement ? bearish_color : na)
Changes the color of candles based on the detected displacement type.
Usefulness and Applications:
Trend Identification: Helps in quickly spotting potential trend changes or continuations.
Volatility Analysis: Provides a visual representation of market volatility.
Entry and Exit Signals: Can be used to identify potential entry or exit points for trades.
Market Sentiment: Offers insights into the strength of bullish or bearish sentiment.
Customizable Sensitivity: The adjustable threshold allows traders to fine-tune the indicator based on the asset's typical volatility.
Visual Clarity: By changing candle colors, it provides a clear, at-a-glance view of significant price movements.
Complementary Tool: Can be used alongside other technical indicators for confirmation of signals.
Multiple Timeframe Analysis: Applicable across different timeframes to suit various trading styles (day trading, swing trading, etc.).
Educational Purpose: Helps new traders understand and visualize significant price movements in the market.
Backtesting: Can be incorporated into strategy backtests to assess its effectiveness in different market conditions.
This script is particularly handy for traders who want to cut through market noise and focus on significant price movements. It's versatile enough to be used across different trading strategies and can be a valuable addition to a trader's technical analysis toolkit.
It's a very easy script and not alot to mention. If you see any improvements please let me know.
SMA Crossover 150/20SMA Crossover 150/20
It shows when is the entry point.
When SMA 150 sticks cross by the SMA 20 sticks.
By Eli Elezra
ML-Based BankNifty Strategy//@version=5
strategy("ML-Based BankNifty Strategy", overlay=true)
// Simulated ML Signal (Replace with Webhook Integration)
ml_signal = input.bool(true, "ML Buy Signal")
// Trade Execution Based on ML Prediction
if (ml_signal)
strategy.entry("Long", strategy.long)
strategy.exit("Take Profit", from_entry="Long", limit=close * 1.02, stop=close * 0.98)
Highest Price MarkerHighest Price Marker – Smart Label & Line Indicator
This Pine Script v5 indicator highlights the highest price reached within the last 100 bars on your chart. It visually enhances key price levels by:
✅ Placing a label at the highest price, positioned 3 candles to the left for clarity.
✅ Drawing a line connecting the label to the actual high for better visibility.
✅ Auto-updating dynamically whenever a new highest price is detected.
This is useful for traders who want to quickly identify resistance levels or analyze historical price peaks without cluttering the chart.
🔹 How to Use:
Add the indicator to your chart.
Look for the red label marking the highest price within the last 100 bars.
The horizontal line helps track the exact price level.
💡 Customization Ideas:
Adjust the lookback period (length = 100) to detect longer or shorter trends.
Modify colors or label positioning to suit your preferences.
🚀 Perfect for:
🔸 Price Action Traders
🔸 Swing & Breakout Traders
🔸 Support & Resistance Analysis
Gavas 9 EMA, 18 EMA & 27 EMA Crossover//@version=5
indicator("9 EMA, 18 EMA & 27 EMA Crossover", overlay=true)
// Define EMAs
ema9 = ta.ema(close, 9)
ema18 = ta.ema(close, 18)
ema27 = ta.ema(close, 27)
// Crossover Conditions
bullish_crossover = ta.crossover(ema9, ema18) and ta.crossover(ema9, ema27)
bearish_crossover = ta.crossunder(ema9, ema18) and ta.crossunder(ema9, ema27)
// Plot EMAs
plot(ema9, title="9 EMA", color=color.blue, linewidth=2)
plot(ema18, title="18 EMA", color=color.orange, linewidth=2)
plot(ema27, title="27 EMA", color=color.red, linewidth=2)
// Signals & Alerts
plotshape(series=bullish_crossover, location=location.belowbar, color=color.green, style=shape.labelup, title="Buy Signal", size=size.small)
plotshape(series=bearish_crossover, location=location.abovebar, color=color.red, style=shape.labeldown, title="Sell Signal", size=size.small)
// Alert Conditions
alertcondition(bullish_crossover, title="Buy Alert", message="Bullish Crossover: 9 EMA crossed above 18 EMA & 27 EMA")
alertcondition(bearish_crossover, title="Sell Alert", message="Bearish Crossover: 9 EMA crossed below 18 EMA & 27 EMA")
50-Point Market Move LevelsHelp me graph charts the information for the line information line for every 50 pts the market move for the last 300 days
Sequential 15min ORB for SessionsThis indicator adds highlights the hi and lo of the first 15m candle for each market (Asia, UK, US). I have also added a 25%, 50%, and 75% increments.
Coding built by Grok. Feel free to reuse and modify.
SuperTrend ULTIMATE RamiIndicators & Setup:
EMA (Exponential Moving Averages): Use 9 EMA & 21 EMA for trend direction.
VWAP (Volume Weighted Average Price): For price positioning relative to market strength.
RSI (Relative Strength Index - 14 period): Use for overbought/oversold conditions (above 70 = sell, below 30 = buy).
MACD (Moving Average Convergence Divergence): For momentum confirmation.
Divergence Detector (Two Correlated Markets)This script is supposed to be an SMT divergence indicator for the S&P and NASDAQ markets. This script was made by chatgpt and was the second script formed
Parabolic Move ScannerParabolic Move Scanner:
The Parabolic Move Scanner is a technical indicator that scans for stocks showing strong price momentum, which are likely to experience significant upward movement. This is based on four key criteria:
Relative Volume: The indicator checks if the stock's current trading volume is significantly higher than its average volume over a set period. This indicates heightened interest and increased market activity.
Bullish Candlestick: The stock's current price must be higher than its opening price, indicating a bullish candle. This suggests positive market sentiment and upward price movement.
RSI Change: The Relative Strength Index (RSI) is calculated to track price momentum. The indicator looks for a significant increase in RSI from the previous bar, which indicates strong buying pressure and a surge in momentum.
Price Breakout: The stock's price must be breaking above the highest high over the past set number of bars, signaling a breakout and a potential continuation of the uptrend.
The Parabolic Move Scanner combines these four factors to detect stocks that exhibit parabolic-like behavior, showing signs of a strong move ahead.
Features:
Volume: Ensures the stock is trading with higher-than-average volume, signaling increased interest.
Candlestick: Only bullish candlesticks are considered, confirming positive sentiment.
RSI: Identifies sharp increases in the RSI, indicating a surge in buying pressure.
Breakout: Tracks price breakouts, confirming that the stock is pushing to new highs.
Visuals:
The background color is highlighted in green when all conditions are met, indicating a parabolic move is likely.
A horizontal line is drawn at the breakout level when the conditions are triggered, extending for a specified number of bars to highlight the breakout level
MA Crossover StrategyMA Crossover Strategy
This script implements a Simple Moving Average (SMA) crossover strategy, a widely used technique in trend-following trading systems. It helps traders identify potential buy and sell opportunities based on the relationship between two moving averages:
A fast-moving average (default: 9-period SMA)
A slow-moving average (default: 21-period SMA)
How It Works
Buy Signal (Long Entry): A long position is opened when the fast-moving average crosses above the slow-moving average. This suggests an uptrend is forming.
Exit Signal: The position is closed when the fast-moving average crosses below the slow-moving average, indicating a possible trend reversal.
Why This Script is Useful
Simple Yet Effective: Moving average crossovers are a core concept in technical analysis, providing a structured approach to identifying trends.
Customizable: Traders can modify the fast and slow MA lengths to suit different market conditions.
Visualization: The script plots the fast MA in blue and the slow MA in red, making crossovers easy to spot.
Automated Execution: It can be used as a strategy to backtest performance or automate trades in TradingView.
This script is ideal for traders looking for a straightforward trend-following strategy, whether they trade stocks, forex, or crypto.
Momentum-Based Bitcoin StrategyMomentum-Based Bitcoin Strategy with Multi-Timeframe Confirmation
This Pine Script strategy is designed for Bitcoin traders looking to capture momentum-driven breakout moves and potential reversals. The script leverages key technical indicators such as moving average crossovers (EMA-20 and EMA-50), MACD crossovers, and RSI oversold conditions to generate buy signals. It integrates multi-timeframe analysis by confirming trends on higher timeframes (e.g., daily) while executing entries on lower timeframes (e.g., hourly).
Key Features:
Multi-Timeframe Analysis: Confirms higher timeframe trends before entering trades.
Momentum Signals: Moving average and MACD crossovers for breakout detection.
Dynamic Risk Management: ATR-based stop losses for position sizing and volatility control.
Alerts: Push notifications for both entries and exits to stay updated in real time.
Use Case: Ideal for momentum traders who want to combine technical confluence and dynamic risk management to capture breakout movements and limit downside risk effectively.
Nifty Support-Resistance Breakout (Nomaan Shaikh) The Nifty Support-Resistance Breakout Indicator is a powerful tool designed for traders to identify key support and resistance levels on the Nifty index chart and detect potential breakout opportunities. This indicator automates the process of plotting dynamic support and resistance levels based on historical price action and provides clear visual signals when a breakout occurs. It is ideal for traders who rely on technical analysis to make informed trading decisions.
Bitcoin Regime Filter StrategyBitcoin Regime Filter Strategy
Base on EMA, RSI indicator
Enter orders using the trend confluence of time frame D and time frame W
HTF Candle Range Box (Fixed to HTF Bars)### **Higher Timeframe Candle Range Box (HTF Box Indicator)**
This indicator visually highlights the price range of the most recently closed higher-timeframe (HTF) candle, directly on a lower-timeframe chart. It dynamically adjusts based on the user-selected HTF setting (e.g., 15-minute, 1-hour) and ensures that the box is displayed only on the bars that correspond to that specific HTF candle’s duration.
For instance, if a trader is on a **1-minute chart** with the **HTF set to 15 minutes**, the indicator will draw a box spanning exactly 15 one-minute candles, corresponding to the previous 15-minute HTF candle. The box updates only when a new HTF candle completes, ensuring that it does not change mid-formation.
---
### **How It Works:**
1. **Retrieves Higher Timeframe Data**
The script uses TradingView’s `request.security` function to pull **high, low, open, and close** values from the **previously completed HTF candle** (using ` ` to avoid repainting). It also fetches the **high and low of the candle before that** (using ` `) for comparison.
2. **Determines Breakout Behavior**
It compares the **last closed HTF candle** to the **one before it** to determine whether:
- It **broke above** the previous high.
- It **broke below** the previous low.
- It **broke both** the high and low.
- It **stayed within the previous candle’s range** (no breakout).
3. **Classifies the Candle & Assigns Color**
- **Green (Bullish)**
- Closes above the previous candle’s high.
- Breaks below the previous candle’s low but closes back inside the previous range **if it opened above** the previous high.
- **Red (Bearish)**
- Closes below the previous candle’s low.
- Breaks above the previous candle’s high but closes back inside the previous range **if it opened below** the previous low.
- **Orange (Neutral/Indecisive)**
- Stays within the previous candle’s range.
- Breaks both the high and low but closes inside the previous range without a clear bias.
4. **Box Placement on the Lower Timeframe**
- The script tracks the **bar index** where each HTF candle starts on the lower timeframe (e.g., every 15 bars on a 1-minute chart if HTF = 15 minutes).
- It **only displays the box on those bars**, ensuring that the range is accurately reflected for that time period.
- The box **resets and updates** only when a new HTF candle completes.
---
### **Key Features & Advantages:**
✅ **Clear Higher Timeframe Context:**
- The indicator provides a structured way to analyze HTF price action while trading in a lower timeframe.
- It helps traders identify **HTF support and resistance zones**, potential **breakouts**, and **failed breakouts**.
✅ **Fixed Box Display (No Mid-Candle Repainting):**
- The box is drawn **only after the HTF candle closes**, avoiding misleading fluctuations.
- Unlike other indicators that update live, this one ensures the trader is looking at **confirmed data** only.
✅ **Flexible Timeframe Selection:**
- The user can set **any HTF resolution** (e.g., 5min, 15min, 1hr, 4hr), making it adaptable for different strategies.
✅ **Dynamic Color Coding for Quick Analysis:**
- The **color of the box reflects the market sentiment**, making it easier to spot trends, reversals, and fake-outs.
✅ **No Clutter – Only Applies to the Relevant Bars:**
- Instead of spanning across the whole chart, the range box is **only visible on the bars belonging to the last HTF period**, keeping the chart clean and focused.
---
### **Example Use Case:**
💡 Imagine a trader is scalping on the **1-minute chart** but wants to factor in **HTF 15-minute structure** to avoid getting caught in bad trades. With this indicator:
- They can see whether the last **15-minute candle** was bullish, bearish, or indecisive.
- If it was **bullish (green)**, they may look for **buying opportunities** at lower timeframes.
- If it was **bearish (red)**, they might anticipate **a potential pullback or continuation down**.
- If the **HTF candle failed to break out**, they know the market is **ranging**, avoiding unnecessary trades.
---
### **Final Thoughts:**
This indicator is a **powerful addition for traders who combine multiple timeframes** in their analysis. It provides a **clean and structured way to track HTF price movements** without cluttering the chart or requiring constant manual switching between timeframes. Whether used for **intraday trading, swing trading, or scalping**, it adds an extra layer of confirmation for trade entries and exits.
🔹 **Best for traders who:**
- Want **HTF structure awareness while trading lower timeframes**.
- Need **confirmation of breakouts, failed breakouts, or indecision zones**.
- Prefer a **non-repainting tool that only updates after confirmed HTF closes**.
Let me know if you want any adjustments or additional features! 🚀