2-Minute Trend and Power Scanner# 2-Minute Trend and Power Scanner: Functionality and Entry Signals
i.postimg.cc
The TradingView script "2-Minute Trend and Power Scanner" is based on the concept of PowerBar signals on 2-minute charts with 20 and 200 period SMAs, as explained in the video on Youtube ("How To Master the 2-min Chart" from
Oliver Velez Trading).
Here is a detailed description of how it works:
## Basics of the Script
The script uses two essential moving averages:
- 20-period simple moving average (SMA)
- 200-period simple moving average (SMA)
These two SMAs form the basis for trend identification, exactly as described in the video. The 20 SMA is considered the "child," while the 200 SMA functions as the "parent."
## Market Phase Detection
The script identifies three essential market phases:
- **Narrow**: When the distance between the 20 and 200 SMA is small
- **Trending**: When the 20 SMA separates from the 200 SMA and forms a trend
- **Wide**: When the distance between the two SMAs is particularly large
This phase detection corresponds exactly to the concept of three states (flat/narrow, trending, and wide) described in the video.
## PowerBar Definition
A key element for signals are "PowerBars":
- **Bullish PowerBar**: A green candle bar with above-average size (factor definable via powerFactor) that forms near the 20 SMA
- **Bearish PowerBar**: A red candle bar with above-average size that forms near the 20 SMA
The proximity to the 20 SMA is defined by the parameter "nearPerc," which sets the maximum percentage distance.
## Trend Determination
The trend is defined as follows:
- **Bull Trend**: When price > SMA20 > SMA200, and both SMAs have the correct angle which you can set in the input field
- **Bear Trend**: When price SMA20 > SMA200)
- The 20 SMA has the right angle (default: 45-90 degrees)
- The 200 SMA has the right angle (default: 2-90 degrees)
- A bullish PowerBar occurs near the 20 SMA
**Short Signal (Sell signal)**:
- A bear trend exists (price < SMA20 < SMA200), and both SMAs have the correct angle which you can set in the input field
- The 20 SMA has the right angle (default: -90 to -45 degrees)
- The 200 SMA has the right angle (default: -90 to -2 degrees)
- A bearish PowerBar occurs near the 20 SMA
## Trade Management
After a signal:
- Stop-Loss is automatically set based on a percentage
- Take-Profit is also set as a percentage
- Trades are automatically closed before US market close (15:55-16:00 ET)
## Visual Representation
The script offers extensive visual elements:
- Arrow symbols for long and short signals
- Color-coded marking of market phases in the background
- Display of stop-loss and take-profit levels
- Statistics tables for trading results
- Overview of the last 10 trades
## Conceptual Alignment with the Video
The implementation in the script exactly matches the concept presented in the video:
- Using the 2-minute chart as the ideal timeframe for trading experience
- Focus on the "Pictures of Power" when the 20 SMA begins to separate from the 200 SMA
- Buying strength bars (PowerBars) near the 20 SMA
- Trading in alignment with institutional money flow
The script automates the manual process described in the video through precise parameters and mathematical calculations for angles, proximity to SMA, and candle body size.
Options
Open & Close PriceShows open and closing price; controls for extensions. Toggles for visibility.
Shades opening day gap, controls for extensions. Toggles for visibility.
Does not work for hourly or above as opening price is set to 9:30 am eastern which does not appear on the axis for hourly or above. And I'm not a coder.
But for sub hourly charts - it's an easy tool I've been looking for for a while just for myself.
It's imperfect; but sharing for anyone that was looking for something similar.
Open Intrest Lines This is a Pine Script (version 5) indicator designed for TradingView that overlays horizontal lines and labels on a chart to represent strike prices for call and put options, along with their corresponding open interest (OI) values. The script takes user inputs as comma-separated strings, processes them into arrays, and dynamically plots lines and labels for each strike price.
User Inputs
The script collects four inputs from the user as strings:
call_strikes, call_oi , put_strikes, put_oi
These inputs allow the user to manually specify the strike prices and their associated open interest, which the script will then visualize.
This script intended for options traders to:
Mark significant strike prices with high open interest on a chart.
Visually distinguish between call (green) and put (red) levels.
Use these levels as potential support/resistance zones or areas of market interest.
ADX + RSI with Buy/Sell SignalsADX Calculation:
Measures trend strength.
If ADX > 25, it indicates a strong trend.
RSI Calculation:
Determines overbought/oversold conditions.
Buy signal: RSI crosses above 30 (exiting oversold) & ADX > 25.
Sell signal: RSI crosses below 70 (exiting overbought) & ADX > 25.
Visualization:
ADX (red line) and RSI (blue line) are plotted.
Thresholds at 25 (ADX), 30 (RSI oversold), and 70 (RSI overbought).
Background colors indicate overbought (red) and oversold (green) RSI zones.
Alerts & Buy/Sell Markers:
"B" appears when a buy condition is met.
"S" appears when a sell condition is met.
Alerts notify users of potential trade opportunities.
SPY Scalping AlertsSPY Scalping Strategy – Description for Invite-Only Script
🔹 Strategy Overview
This SPY Scalping Indicator is designed for high-probability intraday trades, using a combination of:
✅ VWAP Bounce & Rejection – Identifies reversals at key volume-weighted levels
✅ EMA 9/21 Crossovers – Confirms short-term trend shifts
✅ Premarket High/Low Breakouts – Captures momentum-based entries
✅ Real-Time Alerts – Notifies traders instantly for quick execution
HFT Algo ScannerInspired by high-frequency and hedge fund trading insights, this script acts as an options flow sentiment scanner, uncovering the positions of major players in India’s options market across Indian indices (NIFTY, BANKNIFTY, FINNIFTY, MIDCAP, SENSEX) and a wide range of F&O stocks (e.g., RELIANCE, TCS, etc). It performs sentiment analysis on spot price data and employs options flow analysis across multiple strikes to estimate the capital deployed by “big money” using a proprietary activity metric unique to this tool. The cumulative output is visualized as stacked columns in a pane—Call Short (light red), Put Buy (deep red), Put Write (light green), and Call Buy (deep green)—highlighting potential reversals and the presence of significant buyers or writers. Traders can assess the build-up of positions (e.g., call or put buying/writing) to gauge which side holds more weight and where big money is involved, aiding in informed trading decisions across multiple timeframes. Fully customizable with symbol, ATM Strike Price, strike difference, number of strikes to analyze and expiry settings, it’s crafted for day traders, scalpers, and swing traders seeking an edge in India’s equity and options markets.
SMA of a specific time period특정 기간의 이동평균을 설정하여 포지션을 확인할 수 있는 SMA 지표
SMA indicator to check the position by setting the moving average of a specific time period without selecting the time
Range%This indicator displays the range of each candle i.e. High minus Low as a percentage of the previous closing price. It does not account for gaps, making it particularly useful for intraday trading. By tracking the volatility cycle of candles, this indicator helps identify periods of increased or decreased market volatility, allowing traders to pinpoint the best days to execute trades.
If the Range% is below low line candles will turn White and If Range% is above the High Line Candles will turn Red.
Scalpe Trade SetupThis indicator identifies reversal trade setups based on a three-candle pattern, highlighting potential short and long entries. It marks signals on the previous candle, sets stop-loss and take-profit levels with a 1:10 risk-reward ratio, and visually plots trade zones.
Option Buying ToolPRICE ACTION BASED TOOL:
Key Components:
Session Time and First Hour Price Action:
The script defines the session start (09:15) and session end (10:15), and it tracks the high and low prices during the first hour of trading.
At the end of the first hour, labels are placed at the high and low of the first hour, with a small offset for visual clarity.
Buy and Sell Signals:
Buy Signal: Triggered when the price closes above the first-hour high, and the candle wick is less than 20% of the total candle range.
Sell Signal: Triggered when the price closes below the first-hour low, and the candle wick is less than 20% of the total candle range.
Buy and sell signals are visualized with green and red arrows, respectively.
Additional Indicators:
DEMA (Double Exponential Moving Averages): Plots a 20-period and a 50-period DEMA on the chart, which is often used to smooth out price action.
VWAP (Volume Weighted Average Price): The VWAP line is added to give you an idea of the average price weighted by volume throughout the day.
Alerts:
Alerts are set for when a buy or sell signal is triggered, notifying you with a custom message like "🔔 Buy Signal Triggered! Price crossed above first-hour high."
Enhancements & Considerations:
First Hour High/Low: This is important for recognizing breakout opportunities in the first hour of trading. The strategy is focused on taking advantage of volatility in the early market hours.
Candle Wicks: The use of candle wick percentages to filter out signals where the candle body is small (less than 20% of the total candle range) helps avoid false signals from indecisive price action.
DEMA & VWAP: These help smooth out the price action and provide more context to the buy/sell signals. The DEMA is often faster than a regular EMA, while the VWAP gives an average price weighted by volume.
Potential Improvement Areas:
Session Flexibility: You may want to adjust session times (for example, if you're trading in a different market or a different time zone).
Risk Management: Add features like stop-loss and take-profit levels, or risk-to-reward ratio calculations to further refine the strategy.
Additional Filters: You could incorporate other indicators or candlestick patterns to further confirm buy/sell signals.
Volume Breakout Detector (Daily Optimized)Description
Volume Breakout Detector (Daily Optimized) calculates a dynamic resistance level and compares the current volume against a moving average that can be adjusted by the user. The indicator also supports multi-timeframe confirmation by using a primary daily timeframe along with an optional secondary weekly timeframe to increase the reliability of breakout signals. Visual elements like breakout shapes, background highlights near resistance, and a customizable volume histogram help traders quickly assess market conditions.
Appropriation
This script is released under the Mozilla Public License 2.0. When sharing, modifying, or redistributing the code, you must keep the MPL license header and any required notices in your version. It is important to give proper credit to the original author, Crypto_Moses, and to note any modifications you make. All changes or derivative works must comply with the terms of the MPL to ensure the same freedoms are preserved.
Set
I've made this indicator to work with my other published indicators for a full view of technical tools. This one here with volume breaks, and with many user settings the user can adjust as they like, I continue to provide a nice suite of options for analysis. Enjoy!
Bebo SPXFor inside options. This will allow you to see the max profit for a short iron condor, the yellow is partial and everything outside the range will be a max loss. All depending on the premium.
Dhokiya's Research Analyst - Chetan DhokiyaThe 0.09 strategy indicator developed by Dhokiyas Research Analyst is unique due to its plotting of support and resistance based on 1st 5min candle of closing Indian Markets. The indicator plots an Opening Range Breakout zone for entry.
Description of Indicator
Based on the above opening range breakout zone. A person can enter a Buy entry trade when price of 5mins chart close above the green line known to be Resistance line. A cross out above will indicate a buying trade. On the other hand A person can enter a Sell entry trade when price of 5mins chart close below the red line known to be Support line. A cross out below will indicate a selling trade.
The script is build by Dhokiyas Research Analyst to enable traders working in Indian Market to have some rough idea about Support and Resistance based on the 1st min candle closing. To help them trade in Intraday basis.
0.09 Version Strategy Indicator by Dhokiya's Research Analyst
Mobile - 7575065656
Website - dhokiyas.com/
Email - care@dhokiyas.com
SCALPER 1 MINThe indicator is based on crossing EMAs. It provides buy and sell signals. You can also set your own TP and SL depending on your requirements. Tested with high leverage on XAU/USD, using TP settings for a $2 increase and SL at $2, it generates decent profits when the filter in the settings is enabled, which reduces false signals.
ADR%-8 EMA Extension-ADR% Lines This indicator shows the following:
1. ADR%
2. Is the price of the stock extended too far from the 8 EMA
3. What is the daily ADR range
ADR%-8 EMA Extension-ADR% Lines This indicator shows the following:
What is the ADR%
How far is the ADR% from the 8 EMA
What is the range of the ADR% for the day.
Option Value/Time Value DifferenceThis indicator calculates and visualizes the difference between two option contracts (either their time value or option value) based on a user-selected underlying instrument (e.g., NIFTY 50). It fetches real-time data for the underlying and the two specified options, computes their intrinsic and time values, and plots either the time value or option value (ask price) along with their difference. A customizable table displays key details, including strike prices, option types (Call/Put), and the selected values, with a dark mode option for better visibility.
Key Features:
Flexible Plotting: Choose to plot and display either the Time Value (option price minus intrinsic value) or the Option Value (ask price) for two option strikes.
Difference Calculation: Plots the difference between the two options’ selected values (time value or option value) as a distinct line.
Dynamic Table: Shows strike prices, option types (CE/PE), and the selected values (time value or option value) for both options, plus their difference.
Dark Mode Support: Toggle between light and dark themes for the table display.
Real-Time Data: Uses TradingView’s request.security to fetch live prices for the underlying and options.
Use Case:
This script is ideal for options traders who want to compare two strikes (e.g., a Call and a Put, or two Calls/Puts at different strikes) and analyze their time value or option value differences in real-time. It’s particularly useful for strategies like spreads, straddles, or strangles.
How to Use
Add to Chart:
Open TradingView, go to the Pine Editor, paste this script, and click “Add to Chart.”
Configure Inputs:
Underlying Instrument: Enter the symbol of the underlying asset (e.g., NSE:NIFTY for NIFTY 50).
Option Instrument 1: Enter the symbol of the first option (e.g., NSE:NIFTY250327C24000 for a Call expiring March 27, 2025, at strike 24000).
Option Instrument 2: Enter the symbol of the second option (e.g., NSE:NIFTY250327C24500 for a Call at strike 24500).
Plot Type: Select either Time Value (default) or Option Value to determine what is plotted and displayed.
Dark Mode: Check this box to switch the table to a dark theme (default is light).
Interpret Outputs:
Chart Lines:
Blue Line: Value of the first option (time value or option value, based on selection).
Red Line: Value of the second option.
Purple Line: Difference between the two options’ values.
Table (Middle-Left Position):
Row 1: Strike price and type (CE/PE) of the first option.
Row 2: Strike price and type of the second option.
Row 3: Selected value (time value or option value) of the first option.
Row 4: Selected value of the second option.
Row 5: Difference between the two options’ values.
Adjust Settings:
Modify the input symbols or plot type via the indicator’s settings to suit your analysis needs.
Inputs
Underlying Instrument (Symbol, Default: NSE:NIFTY):
The ticker symbol of the underlying asset (e.g., NIFTY 50 index).
Option Instrument 1 (Symbol, Default: NSE:NIFTY250327C24000):
The ticker symbol of the first option contract. Must follow a format like NSE:NIFTY (e.g., Call at 24000).
Option Instrument 2 (Symbol, Default: NSE:NIFTY250327C24500):
The ticker symbol of the second option contract (e.g., Call at 24500).
Plot Type (String, Options: Time Value, Option Value, Default: Time Value):
Choose whether to plot and display the Time Value (option price minus intrinsic value) or the Option Value (ask price).
Dark Mode (Boolean, Default: false):
Enable for a dark-themed table; disable for a light theme.
Outputs
Plotted Lines:
Value 1 (Blue): Time value or option value of the first option, depending on the Plot Type.
Value 2 (Red): Time value or option value of the second option.
Difference (Purple): The difference between Value 1 and Value 2 (e.g., Time Value 1 - Time Value 2).
Table Display:
Strike prices and option types (Call/Put) for both options.
Selected values (time value or option value) for each option.
The difference between the two options’ selected values.
Ivan Gomes StrategyIG Signals+ - Ivan Gomes Strategy
This script is designed for scalping and binary options trading, generating buy and sell signals at the beginning of each candle. Although it is mainly optimized for short-term operations, it can also be used for medium and long-term strategies with appropriate adjustments.
How It Works
• The indicator provides buy or sell signals at the start of the candle, based on a statistical probability of candle patterns, depending on the timeframe.
• It is essential to enter the trade immediately after the signal appears and exit at the end of the same candle.
• If the first operation results in a loss (Loss), the script will send another trade signal at the start of the next candle. However, if the first trade results in a win (Gain), no new signal will be generated.
• The signals follow cycles of 3 candles, regardless of the timeframe. However, if a Doji candle appears, the cycle is interrupted, and no signals will be generated until the next valid cycle starts.
• The strategy consists of up to two trades per cycle: if the first trade is not successful, the second trade serves as an additional attempt to recover.
Key Points to Consider
1. Avoid trading in sideways markets – If price levels do not fluctuate significantly, the accuracy of the signals may decrease.
2. Trade in the direction of the trend – Using Ichimoku clouds or other trend indicators can help confirm trend direction and improve signal reliability. If the market is in an uptrend (bullish trend) and the indicator generates a sell signal, the most prudent decision would be to wait for a buy signal that aligns with the main trend. The same applies to downtrends, where buy signals may be riskier.
These decisions should be based on chart reading and supported by other technical analysis tools, such as support and resistance levels, which indicate zones where price might face obstacles or reverse direction. Additionally, Fibonacci retracement levels can help identify possible pullback points within a trend. Moving averages are also useful for visualizing the general market direction and confirming whether an indicator signal aligns with the overall price structure. Combining these tools can increase trade accuracy and prevent unnecessary trades against the main trend, reducing risks.
3. Works based on probability statistics – The algorithm analyzes candle formations and their statistical probabilities depending on the timeframe to optimize trade entries.
4. Best suited for scalping and binary options – This strategy performs best in 1-minute and 5-minute timeframes, allowing for multiple trades throughout the day.
Technical Details
• The script detects the candle cycle and assigns an index to each candle to identify patterns and possible reversals.
• It recognizes reference candles, stores their colors, and compares them with subsequent candles to determine if a signal should be triggered.
• Doji candle rules are implemented to avoid false signals in indecisive market conditions. When a Doji appears, the script does not generate signals for that cycle.
• The indicator displays visual alerts and notifications, ensuring fast execution of trades.
Disclaimer
The IG Signals+ indicator was created to assist traders who struggle to analyze the market by providing objective trade signals. However, no strategy is foolproof, and this script does not guarantee profits.
Trading involves significant financial risk, and users should test it in a demo account before trading with real money. Proper risk management is crucial for long-term success.
Trend Vanguard StrategyHow to Use:
Trend Vanguard Strategy is a multi-feature Pine Script strategy designed to identify market pivots, draw dynamic support/resistance, and generate trade signals via ZigZag breakouts. Here’s how it works and how to use it:
ZigZag Detection & Pivot Points
The script locates significant swing highs and lows using configurable Depth, Deviation, and Backstep values.
It then connects these pivots with lines (ZigZag) to highlight directional changes and prints labels (“Buy,” “Sell,” etc.) at key turning points.
Support & Resistance Trendlines
Pivot highs and lows are used to draw dashed S/R lines in real-time.
When price crosses these lines, the script triggers a breakout signal (long or short).
EMA Overlays
Up to four EMAs (with customizable lengths and colors) can be overlaid on the chart for added trend confirmation.
Enable/disable each EMA independently via the settings.
Repaint Option
Turning on “Smooth Indicator Lines” (repaint) uses future data to refine past pivots.
This can make historical signals look cleaner but does not reflect true historical conditions.
Turning it off ensures signals remain fixed once they appear.
Strategy Entries & Exits
On each new ZigZag “Buy” or “Sell” signal, the script closes any open position and flips to the opposite side (if desired).
Works with the built-in TradingView Strategy engine for backtesting.
Additional Inputs (Placeholders)
Volume Filter and RSI Filter settings exist but are not fully implemented in the current code. Future versions may incorporate these filters more directly.
How to Use
Add to Chart: Click “Indicators” → “Invite-Only Scripts” (or “My Scripts”) and select “Trend Vanguard Strategy.”
Configure Settings:
Adjust ZigZag Depth, Deviation, and Backstep to fine-tune pivot sensitivity.
Enable or disable each EMA to see how it aligns with market trends.
Toggle “Smooth Indicator Lines” on or off depending on whether you want repainting.
Backtest and Forward Test:
Use TradingView’s “Strategy Tester” tab to review hypothetical performance.
Remember that repainting can alter past signals if enabled.
Monitor Live:
Watch for breakout triangles or ZigZag labels to identify potential reversal or breakout trades in real time.
Disclaimer: This script is purely educational and not financial advice. Always combine it with sound risk management and thorough analysis. Enjoy exploring the script, and feel free to experiment with the different settings to match your trading style!
RSI and EMA crossover with big candlesThis TradingView indicator identifies big bullish and bearish candles using RSI, EMA crossovers, and wick analysis. It helps traders spot potential trend continuation or reversal points by labeling significant price movements and providing real-time alerts.
NOTE: THIS WORKS BEST ON 2 MINS TIME FRAME ONLY
Key Features:
✅ Big Candle Detection:
Detects large candles based on body size and recent price action.
Differentiates between bullish (green) and bearish (red) candles.
✅ Wick Analysis & RSI Filtering:
Ensures candles have relatively small wicks for stronger signals.
RSI confirmation:
Bullish signals require RSI above 59.
Bearish signals require RSI below 40.
✅ Candle Counting & Labeling:
Labels bullish and bearish candles with sequential numbers.
Adds PUTS and CALLS labels when an 8 EMA crosses the 21 EMA.
Adjusts label positioning for better visibility.
✅ Configurable Alerts for #2 Candle:
Alerts trigger when the second bullish or bearish candle is detected.
Users can enable/disable alerts from the script settings.
✅ EMA Crossover Signals:
Bullish crossover (8 EMA above 21 EMA): Displays a "CALLS" label below the candle.
Bearish crossover (8 EMA below 21 EMA): Displays a "PUTS" label above the candle.
Usage:
📊 Trend Confirmation: Use the big candle signals + EMA crossover for stronger trade setups.
🔔 Alerts: Get notified when the second big candle forms.
📉 Reversals & Continuation Patterns: Identify shifts in momentum early.
This script is perfect for traders looking for a clean and powerful price action-based indicator with automated alerts. 🚀
Combined Options IndicatorCombined Options Indicator
Indicator combines 2 option charts value with an operator.In the example, It combines 48600 strike call and put of banknifty, effectievely giving straddle price.
Features:
Combine any two option instruments (calls or puts) with customizable parameters
Support for different underlying instruments (NIFTY, BANKNIFTY, etc.)
Apply various operators: addition, subtraction, multiplication, division, or exponentiation
Visualize results as either candlesticks or a line chart
Customizable colors for bullish and bearish movements
Information panel displaying individual and combined values
Usage:
Input all components of each option symbol separately including instrument name, expiry details (year, month, day), option type (call/put), and strike price. The indicator automatically constructs the symbols, retrieves their data, and applies your selected operation to display the combined values.
Ideal for option traders looking to track custom spreads, analyze volatility, or create tailored trading indicators based on option price relationships.
Mon to Fri + LSE and NYSE📌 Highlight Custom Days & Market Hours Indicator 📌
🔹 Overview:
This script allows traders to visually highlight specific weekdays and market sessions directly on their TradingView charts. With customizable checkboxes, you can choose which days of the week to highlight, along with session times for the New York Stock Exchange (NYSE) and London Stock Exchange (LSE).
🔹 Features:
✅ Select individual weekdays (Monday–Friday) to highlight in blue
✅ Highlight NYSE open hours (2:30 PM – 9:30 PM UK time) in green
✅ Highlight LSE open hours (8:00 AM – 4:30 PM UK time) in orange
✅ Ensures NYSE & LSE sessions are only highlighted on weekdays (no weekends)
✅ Clean and simple visualization for enhanced market awareness
🔹 How to Use:
1️⃣ Add the indicator to your TradingView chart
2️⃣ Use the settings panel to enable/disable specific weekdays
3️⃣ Toggle NYSE or LSE session highlights based on your trading preference
🚀 Perfect for traders who follow institutional sessions and want better time-based confluence in their strategies!