Wick Sweep EntriesWick Sweep Entry designed by Finweal Finance (Indicator Originator : Prajyot Mahajan) :
This Indicator is specially designed for Nifty, Sensex and Banknifty Options Buying. This works well on Expiry Days.
Setup Timeframe : 5m and 1m.
Entry Criteria :
For Long/CE :
Wait for Sweep of 5m Candle Low with next 5m Candle but you do not wait for the next 5 minute candle to close, you enter directly whenever any 1 minute candle of next 5minute candle to close above the low of previous 5m Candle.
For Short/PE :
Wait for Sweep of 5m Candle High with next 5m Candle but you do not wait for the next 5 minute candle to close, you enter directly whenever any 1 minute candle of next 5minute candle to close below the High of previous 5m Candle.
Key notes :
1. As this is the Scalping High Frequency Strategy, it is to be used for scalping purpose only. You might have losses too so to avoid the noise in the market, i suggest you to use this strategy in the first 45 minutes to 1 hour of Indian Markets as this is a volatility Strategy.
2. Although Nifty and Banknifty are independent indices, they still show some reactions with each other, so if you spot a long entry on BNF and Short Entry on nifty then you will avoid taking the trade, you will take the trade only if there is a tandem activity or At least the other index is not showing opposite signal.
3. If target is not hit and you spot another entry, you will avoid taking the new entry.
The Indicator will automatically spot/plot the entry signal, all you need to do is enter as soon as 1minute candle closes either below prior 5 minute candle High for Short/PE or closes above 5minute low for Long/CE.
For Targets :
You Can Target recent minor pull back, FVG, or Order blocks.
Remember : This is a scalping strategy so don't hold trade for more than 4/5 1minute Candles
Candlestick analysis
Predictive Momentum StrategyPredictive Momentum Strategy with Future Projection
This advanced Pine Script indicator aims to forecast price movements up to five minutes into the future, visualizing predictions as a dynamic line extending beyond the current price bar. Unlike standard technical indicators that only analyze past data, this strategy projects future price targets to give traders a potential edge.
The prediction system combines multiple technical factors:
- Multi-timeframe momentum analysis using weighted RSI readings from different periods
- Volume profile analysis with logarithmic scaling to detect significant buying/selling pressure
- Adaptive volatility measurement to adjust predictions based on current market conditions
- Price fractal pattern detection to identify potential reversal points
- Statistical deviation bands to capture mean-reversion opportunities
What makes this strategy unique is its self-adjusting accuracy system. The script tracks its prediction success over time and automatically adjusts signal strength based on recent performance. This creates an adaptive learning mechanism that improves with use.
The visual components include:
- A prediction line extending from the current price into future time space
- Color-coded signals (green for bullish, red for bearish)
- An information panel displaying prediction direction, target price, and current accuracy percentage
- Entry signals marked with triangles at potential trade points
Customize the strategy with adjustable parameters for lookback period, prediction timeframe, indicator weights, and visual preferences.
Perfect for day traders looking for an edge in short-term price prediction with a clean, visual representation of anticipated market moves.
Dual EMA (9 & 21) w/ Entry SignalsDual EMA Crossover with RSI Filter
This Pine Script indicator combines two popular technical analysis tools - Exponential Moving Averages (EMAs) and Relative Strength Index (RSI) - to identify potential trading opportunities.
Key Features
Plots two EMAs (default: 9 & 21 periods) directly on your chart
Generates entry signals based on EMA crossovers with additional confirmation filters
Uses RSI as a trend filter to reduce false signals
Visual arrows indicate potential entry points for both long and short positions
All parameters are fully customizable
How It Works
The indicator identifies trading opportunities through a multi-factor approach:
EMA Crossover: Fast EMA (9) crosses above/below Slow EMA (21)
Price Confirmation: Close price confirms the direction by being above/below the Slow EMA
RSI Filter: RSI value confirms the trend direction by being above/below the RSI filter level
Visual Feedback
Green up arrows indicate long entry signals (bullish)
Red down arrows indicate short entry signals (bearish)
Fast EMA displayed as a green line
Slow EMA displayed as a red line
Settings
Fast EMA Length: Period for the faster-moving EMA (default: 9)
Slow EMA Length: Period for the slower-moving EMA (default: 21)
Source: Price data to use for calculations (default: close)
RSI Length: Period for RSI calculation (default: 14)
RSI Filter Level: Threshold for RSI trend filter (default: 50.0)
Ideal for swing traders and position traders looking for high-probability entry points with trend confirmation.
Next Candle PredictorNext Candle Predictor for TradingView
This Pine Script indicator helps predict potential price movements for the next candle based on historical price action patterns. It analyzes recent candles' characteristics including body size, wick length, and volume to calculate a directional bias.
Key Features
Analyzes recent price action to predict next candle direction (Bullish, Bearish, or Neutral)
Visual indicators include small directional arrows and a prediction line
Customizable sensitivity and lookback period
Works best on lower timeframes for short-term price action trading
Displays clear prediction labels that extend into future bars
How It Works
The script analyzes recent candles by examining:
Candle body size (weighted by your preference)
Wick length (weighted by your preference)
Volume activity (weighted by your preference)
These factors combine to create a directional strength indicator that determines if the next candle is likely to be bullish, bearish, or neutral.
Visual Feedback
Green up arrows indicate bullish predictions
Red down arrows indicate bearish predictions
A directional line extends from the last candle showing predicted price movement
A label displays the prediction text at the end of the line
Information table in the top right displays the current prediction
Settings
Lookback Candle Count: Number of historical candles to analyze (2-20)
Wick/Body/Volume Weight Factors: Adjust importance of each component
Prediction Sensitivity: Threshold for triggering directional bias
Prediction Line Length: How far the prediction line extends
Perfect for day traders and scalpers looking for an edge in short-term directional bias.
Multi-TF Fibonacci Divergence StrategyChart Beast 3
The 1 hour and 4 hour time frame must be above the 200 Exponential Moving average for buy trades, and below the 200 Exponential Moving Average for sell trades.
Price on the previous day's daily candle must have closed above the candle before its body and wick for buys and below it for sells. (Example: Today is Monday and price has not yet closed, fridays daily candle closed above the thursday candles body and wick for buys and below it for sells)
Price on The 15 minute time frame must retrace past the 50% level on the fibonacci indicator. Price must not close beyond the 78.6% level on the fibonacci indicator. (on the 5 minute time frame, 15 minute time frame, 1 hour time frame, 4 hour time frame.)
Price on the 15 minute time frame must have retraced to the -27% or -61.8 levels on the fibonacci indicator. (Price must not close beyond the 78.6% fibonacci level on the hourly time frame)
Price on the 15 minute time frame or the 5 minute time frame must show bullish divergence once price has touched the -27% or -61.8% fibonacci level for buys and bearish divergence for sells.
Provide alerts when these conditions have been met. (ONLY in the session of the asset that's being traded)
Do not add lines to the chart, provide an option to turn on and off the past alerts that meet these conditions.
Make it visually appealing on the charts and easy to understand.
Ross Cameron-Inspired Day Trading StrategyExplanation for Community Members:
Title: Ross Cameron-Inspired Day Trading Strategy
Description:
This script is designed to help you identify potential buy and sell opportunities during the trading day. It combines several popular trading strategies to provide clear signals.
Key Features:
Gap and Go: Identifies stocks that have gapped up or down at the open.
Momentum Trading: Uses RSI and EMA to identify momentum-based entry points.
Mean Reversion: Uses RSI and SMA to identify potential reversals.
How to Use:
Apply to Chart: Add this script to your TradingView chart.
Set Timeframe: Works best on 5-minute and 10-minute timeframes.
Watch for Signals: Look for green "BUY" labels for entry points and red "SELL" labels for exit points.
Parameters:
Gap Percentage: Adjust to identify larger or smaller gaps.
RSI Settings: Customize the RSI length and overbought/oversold levels.
EMA and SMA Lengths: Adjust the lengths of the moving averages.
Confirmation Period: Set how many bars to wait for confirmation.
Visual Elements:
BUY Signals: Green labels below the price bars.
SELL Signals: Red labels above the price bars.
Indicators: Displays EMA (blue) and SMA (orange) for additional context.
This script is a powerful tool for day trading on NSE and BSE indices, combining multiple strategies to provide robust trading signals. Adjust the parameters to suit your trading style and always combine with your own analysis for best results.
Gold Opening 15-Min ORB INDICATOR by AdéThis indicator is designed for trading Gold (XAUUSD) during the first 15 minutes of major market openings: Asian, European, and US sessions. It highlights these key time windows, plots the high and low ranges of each session, and generates breakout-based buy/sell signals. Ideal for traders focusing on volatility at market opens.
Features:Session Windows:
Asian: 1:00–1:15 AM Barcelona time (23:00–23:15 UTC, CEST-adjusted).
European: 9:00–9:15 AM Barcelona time (07:00–07:15 UTC).
US: 3:30–3:45 PM Barcelona time (13:30–13:45 UTC).
Marked with yellow (Asian), green (Europe), and blue (US) triangles below bars.
High/Low Ranges:Plots horizontal lines showing the highest high and lowest low of each session’s first 15 minutes.Lines appear after each session ends and persist until the next day, color-coded to match the sessions.Breakout Signals:Buy (Long): Triggers when the closing price breaks above the highest high of the previous 5 bars during a session window (lime triangle above bar).Sell (Short): Triggers when the closing price breaks below the lowest low of the previous 5 bars during a session window (red triangle below bar).
Signals are restricted to the 15-minute session periods for focused trading.Usage:Timeframe: Optimized for 1-minute XAUUSD charts.Timezone: Set your chart to UTC for accurate session timing (script uses UTC internally, based on Barcelona CEST, UTC+2 in April).Strategy:
Use buy/sell signals for breakout trades during volatile market opens, with session ranges as support/resistance levels.Customization: Adjust the lookback variable (default: 5) to tweak signal sensitivity.Notes:Tested for April 2025 (CEST, UTC+2).
Adjust timestamp values if using outside daylight saving time (CET, UTC+1) or for different broker timezones.Best for scalping or short-term trades during high-volatility periods. Combine with other indicators for confirmation if desired.How to Use:Apply to a 1-minute XAUUSD chart.Watch for session markers (triangles) and breakout signals during the 15-minute windows.Use the high/low lines to gauge potential breakout targets or reversals.
RsiVirgilSignalsThrough this MVRV indicator we will know when to sell, when to buy coins, we are guided by RSI, when it is down, buy, when it is up, we sell.
Volume Delta Imbalance IndicatorIndicator Introduction
The Volume Delta Imbalance Indicator is a technical tool specifically designed to analyze the balance between buying and selling forces in the market. It is based on a simple yet effective assumption: volume during price increases primarily reflects buying pressure, while volume during price decreases primarily reflects selling pressure. Through this method, the indicator quantifies the degree of buying and selling imbalance within each period, helping traders identify market trends and potential reversal points.
Core Principles
Buying and Selling Force Estimation: Allocating volume based on the relationship between closing and opening prices
Bullish candles: Volume is attributed to buying pressure
Bearish candles: Volume is attributed to selling pressure
Neutral candles: Volume is evenly distributed between buyers and sellers
Imbalance Calculation: Calculating the degree of imbalance through the ratio of buy-sell volume difference to total volume
Positive values indicate buying pressure dominance
Negative values indicate selling pressure dominance
Higher absolute values represent greater imbalance
Main Features
Multi-Period Analysis:
Single candle imbalance ratio: Shows the buying and selling force comparison for the current candle
Smoothed imbalance ratio: Imbalance trend smoothed using moving average
20-period imbalance ratio: Shows medium-term buying and selling force trend changes
Visual Display:
Histogram: Shows imbalance ratio for each period
Threshold lines: Mark significant imbalance levels
Zero line: Distinguishes between buyer-dominated and seller-dominated areas
Data Statistics:
Information table: Displays current buy/sell volumes and their comparison with averages
Imbalance ratio data: Shows current and medium-term imbalance ratios
Parameter Settings
Smoothing Period: Adjusts the smoothness of the imbalance ratio; lower values are more sensitive to recent data
Imbalance Threshold Percentage: Sets the threshold for identifying significant buying/selling imbalances
Show Area Boxes: Controls whether visual markers for imbalance areas are displayed
Show Information Table: Controls whether detailed data tables are displayed on the chart
Practical Trading Strategies
Trend Confirmation:
When the imbalance ratio consistently remains above the zero line, confirming an uptrend
When the imbalance ratio consistently remains below the zero line, confirming a downtrend
Reversal Identification:
When the imbalance ratio begins to retreat from extreme values, potentially indicating an impending trend reversal
When the imbalance ratio crosses the zero line, potentially indicating a shift in market forces
Divergence Identification:
When price creates new highs but the imbalance ratio fails to create new highs, potentially forming a bearish divergence
When price creates new lows but the imbalance ratio fails to create new lows, potentially forming a bullish divergence
Applicable Scenarios
This indicator is suitable for analysis across various time periods, with particularly high reference value for intraday and swing trading. It can be combined with price action, trend lines, and other technical indicators to improve trading decision accuracy. Its best application is in highly liquid markets, such as major stock indices, large-cap stocks, and actively traded cryptocurrencies.
By observing changes in the Volume Delta Imbalance Indicator, traders can more clearly understand the dynamic changes in internal market forces, enabling more informed trading decisions.
BFG.dzDescription:
This script is a trading strategy built on multiple technical indicators:
1. Exponential Moving Averages (EMA): It uses two EMAs, a fast EMA (9-period) and a slow EMA (21-period), to identify trends and generate buy or sell signals based on their crossovers.
2. Relative Strength Index (RSI): The RSI is used to assess whether the market is overbought (RSI > 70) or oversold (RSI < 30), providing additional confirmation for entry and exit signals.
3. MACD (Moving Average Convergence Divergence): The MACD line crossing over the signal line indicates a potential buy, while crossing under signals a potential sell.
4. Volume: A high volume condition is added, where a volume higher than 150% of the average volume over the last 20 bars is considered a confirmation of the signal.
TuxTune - Dynamic Vertical LineDynamic vertical line. Can be used to help gauge the size of the candles/price range.
Failed Breakout DetectionThis indicator is a reverse-engineered copy of the FBD Detection indicator published by xfuturesgod. The original indicator aimed at detecting "Failed Breakdowns". This version tracks the opposite signals, "Failed Breakouts". It was coded with the ES Futures 15 minute chart in mind but may be useful on other instruments and time frames.
The original description, with terminology reversed to explain this version:
'Failed Breakouts' are a popular set up for short entries.
In short, the set up requires:
1) A significant high is made ('initial high')
2) Initial high is undercut with a new high
3) Price action then 'reclaims' the initial high by moving +8-10 points from the initial high
This script aims at detecting such set ups. It was coded with the ES Futures 15 minute chart in mind but may be useful on other instruments and time frames.
Business Logic:
1) Uses pivot highs to detect 'significant' initial highs
2) Uses amplitude threshold to detect a new high above the initial high; used /u/ben_zen script for this
3) Looks for a valid reclaim - a red candle that occurs within 10 bars of the new high
4) Price must reclaim at least 8 points for the set up to be valid
5) If a signal is detected, the initial high value (pivot high) is stored in array that prevents duplicate signals from being generated.
6) FBO Signal is plotted on the chart with "X"
7) Pivot high detection is plotted on the chart with "P" and a label
8) New highs are plotted on the chart with a red triangle
Notes:
User input
- My preference is to use the defaults as is, but as always feel free to experiment
- Can modify pivot length but in my experience 10/10 work best for pivot highs
- New high detection - 55 bars and 0.05 amplitude work well based on visual checks of signals
- Can modify the number of points needed to reclaim a high, and the # of bars limit over which this must occur.
Alerts:
- Alerts are available for detection of new highs and detection of failed breakouts
- Alerts are also available for these signals but only during 7:30PM-4PM EST - 'prime time' US trading hours
Limitations:
- Current version of the script only compares new highs to the most recent pivot high, does not look at anything prior to that
- Best used as a discretionary signal
IMACD + OBV Oscillator StrategyLazy bear IMACD + OBV OSC Strategy
Combining the IMACD indicator and OBVOSC indicator of Lazy Bear, the macd golden cross + obvosc is positive as the basis for entry, and the macd dead cross is the basis for selling.
EMA 5 Candle Break SignalsThis indicator combines several technical analysis tools to provide trading signals:
Features
EMA 5 Analysis
Plots a 5-period EMA (blue line)
Identifies reference candles:
Green candles completely above EMA
Red candles completely below EMA
Breakout Signals
Buy signals when price breaks above a red reference candle's high
Sell signals when price breaks below a green reference candle's low
Signals only trigger when RSI > 50
RSI Filter
Uses 14-period RSI
Only allows signals when momentum is confirmed (RSI > 50)
Dual Volatility Stops
Two different volatility-based trailing stops:
Short-term (5-period length, 1.3x multiplier) - shown as crosses
Medium-term (6-period length, 1.3x multiplier) - shown as circles
Stops change color based on trend direction (green=uptrend, red=downtrend)
Usage
Buy Signals: Green "BUY" labels appear below bars when conditions are met
Sell Signals: Red "SELL" labels appear above bars when conditions are met
Volatility Stops: Use as dynamic support/resistance levels or exit points
Donchian Channel Trend Meter [Custom TF]DC TREND METER WITH CUSTOM TF
Check trend patterns in combi with other confleunces w/m formation above 50 ma 1 hr
BUY trend breaks and pay attention to 50 line
1 minute works good already
Break to the Right (Internal)Break to the right indicator. Alert alerts when price action creates internal breaks, possibly indicating a shift in direction.
15 Minute Volume Reversal PointsVolume marks reversal points on 15-Minute chart. Tells Support and Resistance Levels.
Advanced Trading Dashboard🚀 Powerful Multi-Indicator Tool for TradingView
The Advanced Trading Dashboard (ATD) combines essential technical indicators into one clean, customizable script for TradingView. Designed for traders who need quick market insights, this tool integrates:
🔥 Key Features:
✅ EMA Crossovers – Track short-term trends with 7 & 20 EMA (plotted in blue & red)
✅ VWAP – Identify fair value and intraday trends (purple line)
✅ CPR (Central Pivot Range) – Key levels for day traders:
Pivot (Yellow)
BC (Bottom Central, Green Circles)
TC (Top Central, Red Circles)
Shaded CPR Range (Gray) for visual support/resistance zones
✅ Advanced RSI – With adjustable levels & signals:
Overbought/Oversold (70/30, dotted lines)
Mid-Level (50) for trend confirmation
Buy/Sell Arrows when RSI crosses key levels
Optional RSI Pane (toggle on/off)
✅ Built-in Alerts – Get notified for:
EMA 7/20 Crossovers
RSI Overbought/Oversold Exits
🌟 Why Use This Script?
✔ All-in-One Dashboard – No need for multiple indicators cluttering your chart
✔ Clean & Customizable – Adjust colors, levels, and visibility
✔ Works on All Timeframes – Scalping, day trading, or swing trading
✔ Pine Script v6 Optimized – Smooth performance with TradingView’s latest features
📌 Perfect For:
Day Traders (CPR + VWAP for intraday levels)
Swing Traders (EMA crossovers + RSI for trend confirmation)
Algorithmic Traders (Built-in alerts for strategy automation)
📢 Try it now and enhance your trading decisions with a professional-grade multi-indicator tool! 🚀
Bull Bear Pivot by RawstocksThe "Bull Bear Pivot" indicator is a custom Pine Script (v5) tool designed for TradingView to assist traders in identifying key price levels and pivot points on intraday charts (up to 1-hour timeframes). It combines time-based open price markers, pivot high/low detection, and candlestick visualization to provide a comprehensive view of potential support, resistance, and trend reversal levels. Below is a detailed description of the indicator’s functionality, features, and intended use.
Indicator Overview:
The "Bull Bear Pivot" indicator is tailored for intraday trading, focusing on specific times of the day to mark significant price levels (open prices) and detect pivot points. It plots horizontal lines at the open prices of user-defined sessions, identifies pivot highs and lows on the current chart timeframe, and overlays custom candlesticks to highlight price action. The indicator is designed to work on timeframes of 1 hour or less (e.g., 1-minute, 3-minute, 5-minute, 15-minute, 30-minute, 60-minute) and includes a warning mechanism for invalid timeframes.
Key Features:
Time-Based Open Price Markers:
The indicator allows users to define up to five time-based sessions (e.g., 4:00 AM, 8:30 AM, 9:30 AM, 10:00 AM, and a custom time) to capture the open price at the start of each session.
For each session, it plots a horizontal line at the 1-minute open price, extending from the session start to the market close at 4:00 PM EST.
Each line is accompanied by a label positioned 5 bars to the right of the market close (4:00 PM EST), with the text right-aligned and vertically centered on the line.
Users can enable/disable each marker, customize the session time, label text, line color, and text color via the indicator’s settings.
Pivot Highs and Lows:
The indicator calculates pivot highs and lows on the current chart timeframe using the ta.pivothigh and ta.pivotlow functions.
Pivot highs are marked with green triangles above the bars, and pivot lows are marked with red triangles below the bars.
The pivot period (lookback/lookforward) is user-configurable, allowing flexibility in detecting short-term or longer-term reversals.
Custom Candlesticks:
The indicator overlays custom candlesticks on the chart, colored green for bullish candles (close > open) and red for bearish candles (close < open).
This feature helps visualize price action alongside the open price markers and pivot points.
Timeframe Restriction:
The indicator is designed to work on timeframes of 1 hour or less. If the chart timeframe exceeds 1 hour (e.g., 4-hour, daily), a warning label ("Timeframe > 1H Indicator Disabled") is displayed, and no elements are plotted.
Customizable Appearance:
Users can customize the appearance of the open price marker lines, including the line style (solid, dashed, dotted) and line width.
Labels for the open price markers have no background (transparent) and use customizable text colors.
Up/Down Volume Delta USDT/COIN NachomixCryptoFeatures:
Custom Timeframe Option: The user can select whether to use a custom timeframe for the analysis or stick with the default.
If enabled, the user can choose a custom timeframe.
The script defaults to using a 1-minute chart when no custom timeframe is specified.
Volume Data (Up and Down Volume): The script calculates buy (up) and sell (down) volume using the requestUpAndDownVolume() function for the selected timeframe.
Up Volume: The volume of buying activity.
Down Volume: The volume of selling activity.
Delta: The difference between up and down volume.
Plotting the Volume Data:
Up Volume: Plots the buy volume as green columns.
Down Volume: Plots the sell volume as red columns.
Delta: Displays the delta value (the difference between up and down volume) as a character on the chart, colored green for positive and red for negative values.
Label Positioning:
Users can choose the position of the buy and sell labels (e.g., above or below the bar, at the price level, high, or low of the candle).
There are inputs for adjusting the horizontal offset (how far the labels are placed in bars) and the vertical position for both buy and sell labels.
Label Creation:
Buy Label: Displays the buy volume in USDT at the chosen position.
Sell Label: Displays the sell volume in USDT at the chosen position.
Both labels are created dynamically and are adjusted based on the specified horizontal and vertical offsets.
Volume Data in Table:
A table is created on the chart to display the following information:
Buy Volume: Displays the total buy volume in both USDT and base currency (e.g., BTC).
Sell Volume: Displays the total sell volume in both USDT and base currency.
Total Volume: The difference between the buy and sell volumes in both USDT and the base currency.
Percentage: The percentage of buy and sell volume relative to the total volume.
The table is displayed in the top right corner of the chart.
Error Handling:
If no volume data is available for the selected symbol, an error is triggered to notify the user.
Inputs:
useCustomTimeframeInput: Boolean input to toggle custom timeframes.
lowerTimeframeInput: Timeframe input for custom timeframe selection.
labelBuyPositionOption: Input to select the position of the buy label (e.g., price, high, low, above, or below the bar).
labelSellPositionOption: Input to select the position of the sell label (e.g., price, high, low, above, or below the bar).
buyLabelOffset: Horizontal offset for the buy label (in bars).
sellLabelOffset: Horizontal offset for the sell label (in bars).
Calculation:
Buy and Sell Amount in USDT: The buy and sell volume is multiplied by the current price (close) to calculate the total amount in USDT.
Buy and Sell Amount in Base Currency: The up and down volume is used directly to represent the amount in the base currency (e.g., BTC).
Total Volume: The total volume is the difference between the buy and sell volumes in USDT.
Labels and Table:
The buy and sell labels are dynamically created and positioned based on user input. The labels display the total buy and sell volumes in USDT.
A table in the top right corner displays the volume data, including both the absolute amount and the percentage of each volume type.
Advanced Algorithmic StrategyA AID for Traders!
PineScript is designed for technical analysis calculations and algorithmic trading based on defined rules. Instead of AI, this script uses an algorithmic approach to generate signals. Here’s how it works:
Calculates Standard Indicators
It computes well-known technical indicators: EMA, RSI, and MACD.
Defines Simple Rules
It checks basic conditions for each indicator (e.g., Is price above the MA? Did RSI cross below the oversold level? Did the MACD line cross its signal line?).
Combines Signals
It counts how many of these simple bullish or bearish conditions are true at the same time.
Applies a Threshold
It generates a final Buy or Sell signal only if the count of agreeing signals meets the confirmationThreshold you set in the inputs.
So, it’s not learning or adapting like an AI model. It’s executing a predefined set of rules based on multiple indicator conditions to create what aims to be a more robust trading signal than relying on just one indicator. People sometimes refer to complex rule-based systems like this as “AI-inclusive” in a broader sense, but it’s more accurately described as an algorithmic strategy.
Explanation of the Code:
//version=6
Specifies that the script uses PineScript version 6.
indicator(…)
Declares the script as an indicator, gives it a name (“Advanced Algorithmic Strategy”), a short title (“AAS”) for the chart legend, and sets overlay=true to draw directly on the main price chart.
User Inputs (input.*)
Allows you to customize the lengths for the EMA, RSI, and MACD indicators without modifying the code directly.
Sets the RSI overbought and oversold levels.
confirmationThreshold: This is a key input. It determines how many of the individual signals (MA crossover, RSI crossover, MACD crossover) must agree before a buy or sell signal is generated. A value of 1 makes it very sensitive (any signal triggers), while 3 makes it very conservative (all three must agree).
Calculations
ta.ema(): Calculates the Exponential Moving Average.
ta.rsi(): Calculates the Relative Strength Index.
ta.macd(): Calculates the MACD line, signal line, and histogram.
Signal Conditions
Checks simple conditions: Is the price above or below the MA?
ta.crossunder()/ta.crossover(): Detects when one value crosses over or under another. We use these for RSI crossing its thresholds and the MACD line crossing its signal line.
Combine Signals
longConfirmationCount and shortConfirmationCount: These variables count how many individual buy or sell conditions are met on the current bar.
enterLong / enterShort: These boolean variables become true only if the number of confirmed signals (longConfirmationCount or shortConfirmationCount) meets or exceeds the confirmationThreshold set by the user.
Plotting
plot(): Draws the EMA line on the chart.
plotshape(): Draws shapes on the chart when entry/exit conditions are met. enterLong draws a green triangle below the bar, and enterShort draws a red triangle above the bar. location.belowbar and location.abovebar place the shapes relative to the price bars.
Alerts (alertcondition)
Allows you to create alerts based on the enterLong and enterShort conditions directly from the TradingView alert creation menu.
How it Works for Entry/Exit
Entry (Buy): A buy signal (green triangle) appears when the required number of bullish conditions (confirmationThreshold) are met simultaneously. For example, if the threshold is 2, a signal might appear if the price closes above the MA and the MACD line crosses above its signal line.
Exit (Sell): A sell signal (red triangle) appears when the required number of bearish conditions (confirmationThreshold) are met simultaneously. This could indicate a potential exit for a long position or an entry for a short position. For example, if the threshold is 2, a signal might appear if the price closes below the MA and the RSI crosses down through the overbought level.
Pullback Long Screener - Bougie Verte 4h
This script is designed to be used within a Pullback Long Screener on TradingView.
It identifies cryptocurrencies currently displaying a green 4-hour candle (i.e., when the close is higher than the open).
The goal is to quickly detect assets in a potential bullish move, which is particularly useful for scalping.
This script is configured to work exclusively on cryptocurrencies listed on Binance as perpetual futures contracts.
The green circles displayed below the candles indicate a valid green 4-hour candle condition.
Price Up and Down Percentage NACHOMIXCRYPTOThis Pine Script indicator, titled "Price Up and Down Percentage NACHOMIXCRYPTO", is designed to calculate and display the percentage increase and decrease of the price for a given day. Here’s how it works:
1. Indicator Purpose
The indicator tracks the highest and lowest price points of the day.
It calculates the percentage price increase from the lowest price to the current closing price.
It also calculates the percentage price decrease from the highest price to the current closing price.
Additionally, it shows the average change and the combined percentage of both movements.
2. Key Features
Customizable Visuals:
You can adjust the line colors, widths, label colors, and text alignment.
Labels for percentage changes are displayed near the current price.
Daily Highs and Lows:
The indicator resets the lowest and highest price at the start of a new day.
Percentage Calculations:
PriceRise: The percentage change from the day’s lowest price to the current close.
PriceDrop: The percentage change from the day’s highest price to the current close.
AvgChange: The average of the rise and drop percentages.
Total+-: The sum of the price rise and drop, providing a combined market movement view.
3. Visual Representation
Lines:
A green line represents the upward movement (from the lowest price to the current price).
A red line represents the downward movement (from the highest price to the current price).
Labels:
The percentage increase is labeled in green, and the percentage decrease is labeled in red.
The labels are positioned with an adjustable offset for clarity.
Table Display:
A table in the bottom-right corner displays all the calculated values for quick reference.
4. Practical Use
Trend Analysis: Helps identify if the market has shown significant upward or downward movement during the day.
Volatility Assessment: Traders can evaluate the volatility based on the total percentage movement.
Decision Support: Provides a clear indication of how much the price has moved relative to its daily high and low.
Overall, this indicator is useful for intraday traders to monitor price movements and make informed trading decisions.