Key LevelsI couldn't find an indicator that plotted previous day and intraday key levels like I wanted.
This indicator plots key levels on the chart:
Current session high (HOD) and low (LOD)
Previous day high (PDH), low (PDL), and close (PDC)
Overnight high (ONH) and low (ONL) based on a defined overnight window
At the start of a new session (day), the indicator resets its values and creates a new set of labels.
These labels are positioned in a fixed horizontal column (offset from the current bar) and are updated each bar so that they remain vertically aligned with their corresponding level (with a small vertical offset).
Inputs you can modify:
Futures Mode and session times for equities and futures.
Horizontal label offset (in bars) and vertical offset (price units) for label positioning.
Colors, line widths, and styles for each level (day high, day low, overnight high/low, previous day levels).
Adjust these inputs to match your market hours and desired appearance.
Zero background in coding, but worked with chatGPT to develop this, and it works for me. Would welcome any and all feedback.
Livelli e punti pivot
ProfitPivotProfitPivot dynamically shows the difference between unit cost and current market price of an asset, both in absolute term and in percentage. Traders can ascertain the profit level of a particular asset at a glance. Traders can input or change unit cost of the asset at any time directly through attribute settings. Previous bar close price will be used by default if the unit cost is not supplied.
ProfitPivot is developed by @isarab with the assistance of Copilot. It is licensed under Mozilla Public License Version 2.0.
CPR BEAST with Previous Day High/Low, SMA, EMA, VWAP by MRS*Indicator Name:
**CPR BEAST with EMAs, VWAP & Previous Day High/Low by Rajasekhar Muvvala**
Description:
This powerful indicator combines **Central Pivot Range (CPR)**, **Daily/Weekly/Monthly Pivot Points**, **Moving Averages (SMA, EMA, 200-Day EMA)**, **Volume Weighted Average Price (VWAP)**, and **Previous Day High/Low** into a single, easy-to-use tool for traders. It is designed to help traders identify key support and resistance levels, trends, and potential reversal zones across multiple timeframes.
Key Features:
1. Central Pivot Range (CPR):
- CPR is calculated based on daily pivot points and includes three lines: "Central Pivot (CP)", "Bottom Central Pivot (BC)", and "Top Central Pivot (TC)".
- Enabled by default but can be toggled off from the settings.
- Customizable colors for all three lines.
2. Daily Pivot Points:
- Includes **Support (S1, S2, S3)** and **Resistance (R1, R2, R3)** levels.
- Levels 1 and 2 (S1/R1, S2/R2) are enabled by default, while Level 3 (S3/R3) can be optionally displayed.
- Resistance lines are red, and Support lines are green by default (colors customizable).
3. Weekly and Monthly Pivot Points:
- Weekly and Monthly pivots include **Pivot**, **Support (S1, S2, S3)**, and **Resistance (R1, R2, R3)** levels.
- Weekly levels are displayed as crossed (`+`) lines, while Monthly levels are displayed as circled (`o`) lines for better visual distinction.
- All weekly and monthly levels are optional and can be toggled on/off.
4. Moving Averages:
- Includes **Simple Moving Average (SMA)**, **Exponential Moving Average (EMA)**, and **200-Day EMA**.
- Customizable lengths and colors for each moving average.
- Helps identify trends and potential entry/exit points.
5. Volume Weighted Average Price (VWAP):
- Displays VWAP for intraday trading.
- Can be toggled on/off and customized for color.
6. Previous Day High/Low:
- Highlights the "Previous Day High" and "Previous Day Low" on the chart.
- Useful for identifying breakout or reversal zones.
- Customizable colors for both high and low levels.
7. Visibility Settings:
- All pivot points, CPR, VWAP, and previous day high/low are "hidden on daily and above timeframes" by default.
- Ensures the indicator is optimized for intraday trading.
8. Customization Options:
- Toggle visibility of CPR, pivot points, moving averages, VWAP, and previous day high/low.
- Customize colors, lengths, and styles for all elements.
- Adjust input sources for calculations (e.g., close, open, etc.).
---
How to Use:
Intraday Trading: Use the CPR and daily pivot points to identify key support and resistance levels. Combine these with VWAP and moving averages to confirm trends and find potential entry/exit points.
Swing Trading: Use weekly and monthly pivot points to identify longer-term support and resistance zones.
Breakout Trading: Monitor the previous day's high and low for potential breakout opportunities.
Trend Analysis: Use the moving averages (SMA, EMA, 200-Day EMA) to identify the overall trend direction.
---
Default Settings:
- **CPR**: Enabled by default (Central Pivot line cannot be disabled).
- **Daily Pivot Points**: Levels 1 and 2 (S1/R1, S2/R2) are enabled by default.
- **Weekly/Monthly Pivot Points**: Disabled by default (can be enabled from settings).
- **Moving Averages**: SMA (20), EMA (21), and 200-Day EMA are enabled by default.
- **VWAP**: Enabled by default.
- **Previous Day High/Low**: Enabled by default.
---
Customization Options:
- **CPR**:
- Enable/Disable CPR lines.
- Customize colors for CP, BC, and TC lines.
- **Pivot Points**:
- Enable/Disable daily, weekly, and monthly pivot points.
- Customize colors for support and resistance levels.
- **Moving Averages**:
- Adjust lengths for SMA, EMA, and 200-Day EMA.
- Customize colors for each moving average.
- **VWAP**:
- Enable/Disable VWAP.
- Customize color.
- **Previous Day High/Low**:
- Enable/Disable previous day high/low.
- Customize colors for high and low levels.
---
Best Practices:
1. **Combine Indicators**: Use CPR and pivot points in conjunction with moving averages and VWAP to confirm trends and identify high-probability trading setups.
2. **Timeframe Optimization**: The indicator is designed for intraday trading, so it hides unnecessary elements on daily and above timeframes.
3. **Color Coding**: Customize colors to match your chart theme and improve readability.
4. **Backtesting**: Test the indicator on historical data to understand how it behaves in different market conditions.
---
Disclaimer:
This indicator is intended for educational and informational purposes only. It does not provide financial advice or guarantee profits. Always conduct your own research and consult with a professional before making trading decisions.
Psych Level ScreenerThis Script is intended for Pine Screener and is not designed as a indicator!!!
Pine Screener is something TradingView has recently added and is still only a Beta version.
Pine Screener itself is currently only available to members that are Premium and above.
What it does:
This screener will actively look for tickers that are close to Pysch level in your watchlist.
Psych level here refers to price levels that are round numbers such as 50,100,1000.
Users can specify the offset from a psych level (in %) and scanner will scan for tickers that are within the offset. For example if offset is set at 5% then it will scan for tickers that are within +/-5% of a ticker. (for $100 psych level it will scan for ticker in $95-105 range)
Once scan is completed you will be able to see:
- Current price of ticker
- Closest psych level for that ticker
- % and $ move required for it to hit that psych level
- Ticker's day range and Average range (with % of average range completed for the day)
- Ticker volume and average volume
Setting up:
www.tradingview.com
Above link will help you guide how to setup Pine screener.
Use steps below to guide you the setup for this specific screener:
1. Open Pine Screener (open new tab, select screener the "Pine")
2. At the top, click on "Choose Indicator" and select "Psych Level Screener"
3. At the top again, click "Indicator Psych Level Screener" and select settings.
4. Change setting to your needs. Hit Apply when done.
a)"% offset from Psych Level" will scan for any stocks in your watchlist which are +/- from the offset you chose for any given psych level. Default is 5. (e.g. If offset is 5%, it will scan for stocks that are between $95-$105 vs $100 psych level, $190-$210 for $200 psych level and so on)
b) ATR length is number of previous trading days you want to include in your calculation. Moving Average Type is calculation method.
c) Rvol length is number of previous trading days you want to include in your calculation.
5. On top left, click "Price within specified offset of Psych. Level" and select true. Then select "Scan" which is located at the top next to "Indicator Psych Level Screener". This will filter out all the stock that meets the condition.
6. At the end of the column on the right there is a "+" symbol. From there you can add/remove columns. 30min/1hr/4hr/1D Trend are disabled by default so if this is needed please enable them.
7. You can change the order of ticker by ascending and descending order of each column label if needed. Just click on the arrow that comes up when you move the cursor to any of the column items.
8. You can specify advanced filter settings based on the variables in the column. (e.g., set price range of stock to filter out further) To do so, click on the column variable name in interest, located above the screener table (or right below "scan") and select "manual setup".
How to read the column:
Current Price: Shows current price of the ticker when scan was done. Currently Pine Screener does NOT support pre/post-hours data so no PM and AH price.
Psych Level: Psych level the current price is near to.
% to Psych Level: Price movement in % necessary to get to the Psych level.
$ to Psych Level: Price movement in $ necessary to get to the Psych level.
DTR: Daily True Range of the stock. i.e. High - Low of the ticker on the day.
ATR: Average True Range of stock in the last x days, where x is a value selected in the setting. (See step 3 in Previous section)
DTR vs ATR: Amount of DTR a ticker has done in % with respect to ATR. (e.g., 90% means DTR is 90% of ATR)
Vol.: Volume of a ticker for the day. Currently Pine Screener does NOT support pre/post-hours data so no PM and AH volume.
Avg. Vol: Average volume of a ticker in the last x days, where x is a value selected in the setting. (See step 3 in Previous section)
Rvol: Relative volume in percentage, measured by the ratio of day's volume and average volume.
30min/1hr/4hr/1D Trend: Trend status to see if the chart is Bullish or Bearish on each of the time frame. Bullishness or Bearishness is defined by the price being over or under the 34/50 cloud on each of the time frame. Output of 1 is Bullish, -1 is Bearish. 0 means price is sitting inside the 34/50 cloud. Currently Pine Screener does NOT support pre/post-hours data so 34/50 cloud is based on regular trading hours data ONLY.
Some things user should be aware of:
- Pine Screener itself is currently only available to TradingView members with Premium Subscription and above. (I can't to anything about this as this is NOT set by me, I have no control) For more info: www.tradingview.com
- The Pine Screener itself is a Beta version and this screener can stop working anytime depending on changes made by TradingView themselves. (Again I cannot control this)
- Pine Screener can only run on Watchlists for now. (as of 03/31/2025) You will have to prepare your own watchlists. In a Watchlist no more than 1000 tickers may be added. (This is TradingView rules)
- Psych level included are currently 50 to 1500 in steps of 50. If you need a specific number please let me know. Will add accordingly.
- Unfortunately this screener does not update automatically, so please hit "scan" to get latest screener result.
- I cannot add 10min trend to the column as Pine Screener does NOT support 10min timeframe as of now. (03/31/2025)
- This code is only meant for Pine Screener. I do NOT recommend using this as an indicator.
- Currently Pine Screener does NOT support pre/post-hours data. So data such as Price, Volume and EMA values are based on market hours data ONLY! (If I'm wrong about this please correct me / let me know and will make look into and make changes to the code)
Other useful links about Pine Screener:
Quick overview of the Screener’s functionality: www.tradingview.com
what do you need to know before you start working? : www.tradingview.com
These links will go over the setting up with GIFs so is easier to understand.
-----------------------------------------------------------------------------------------------------------------
If there are other column variables that you think is worth adding please let me know! Will try add it to the screener!
If you have any questions let me know as well, will reply soon as I can!
Have a good trading day and hope it helps!
Prev days openLabels are offset to the right of Lines
You can adjust the number of opens back to display
If you want to change the format of the label please read the tool tip
Original FrizLabz
Prev days openLabels are offset to the right of Lines
You can adjust the number of opens back to display
If you want to change the format of the label please read the tool tip
Original FrizLabz
Price action plus//The system combines the divergence of A/D and OBV with identifying reversal points using Japanese candlestick patterns, creating an enhanced version of price action. This helps investors more easily and accurately recognize reversal patterns in technical analysis.
Divergence of A/D vs. OBV includes:
Positive divergence: Identifies smart money leaving the market.
Negative divergence: Identifies smart money entering the market.
Reversal candlestick patterns include:
Buy signals: Morning Star, Bullish Engulfing, Hammer.
Strong Buy signals: Buy signals + Negative divergence
Sell signals: Evening Star, Bearish Engulfing, Shooting Star.
Strong Sell signals : Sell signals + Positive divergence
//Hope this system will be helpful for you!
Support and Resistance Entry/ExitThis Pine Script strategy uses Support and Resistance levels for entry and exit:
Buy Signal: Enter a long position when the price breaks above the Resistance (pivotHigh).
Sell Signal: Enter a short position when the price breaks below the Support (pivotLow).
Exit Conditions:
Exit the long position when the price hits the Support.
Exit the short position when the price hits the Resistance.
levels and eqsGenerates Range & EQ levels and removes duplicates. Prioritizes by higher timeframe for duplicates. For example, on Monday's open, weekly open is displayed while daily open is hidden automatically.
Original rumpypumpydumpy
Daily Weekly Monthly Yearly Opens/Highs/LowsThe "Daily Weekly Monthly Yearly Opens" indicator is a versatile tool designed to enhance your trading analysis by plotting the opening prices of various timeframes directly onto your charts. By displaying the current daily, weekly, monthly, and yearly opening levels, this indicator helps traders identify key support and resistance zones, facilitating more informed trading decisions.
**Key Features:**
- **Comprehensive Timeframe Coverage:** The indicator plots opening prices for daily, weekly, monthly, and yearly periods, providing a clear view of significant market levels across multiple timeframes.
- **Dynamic Display:** To maintain chart clarity, the indicator intelligently displays:
- Daily opens on intraday timeframes.
- Weekly opens on timeframes less than weekly.
- Monthly opens on timeframes less than monthly.
- **Customizable Visuals:** Users can adjust the color and style of the plotted lines to match their chart preferences, ensuring a personalized and clear visual experience.
- **Historical Reference:** An option to display previous period opens allows traders to analyze how current price action interacts with past opening levels, offering insights into potential support and resistance areas.
- **Alert Functionality:** Set up alerts to be notified when the price crosses any of the plotted opening levels, enabling timely responses to market movements.
Quantum Price SignalQuantum Price Signal
This indicator combines square root price analysis with advanced technical filters to identify high-probability trading opportunities. Designed for practical use in real market conditions, it provides both visual signals and a comprehensive dashboard to enhance trading decisions.
Core Technology:
The Quantum Price Signal uses mathematical relationships based on square root price levels to identify key zones where price tends to react. These levels have proven to be powerful areas for reversals and continuations across multiple timeframes.
Detailed Usage Guide:
Signal Interpretation:
Green Triangle (Buy): Appears below candles at potential support levels. Look for these at market bottoms and pullbacks in uptrends
Red Triangle (Sell): Appears above candles at potential resistance levels. Most effective at market tops and rallies in downtrends
Dashboard Elements:
Buy/Sell Signal Quality: Shows relative strength of potential setups
Higher values indicate stronger signals with better probability
Use as comparative measure between different signals
Market Noise: Indicates market choppiness/volatility
Lower readings suggest cleaner price action and more reliable signals
Higher readings indicate choppy conditions requiring wider stops
Trend Direction: Overall market bias
Align trades with this direction for highest probability
Counter-trend trades require stronger signal quality
Near Square Root Level: Confirms price at significant mathematical level
"Yes" reading significantly strengthens any signal
These mathematical levels often act as strong support/resistance
Current Signal: Active trading recommendation
Shows most recent valid signal type
Use to quickly identify the indicator's bias
Practical Trading Applications:
Swing Trading Strategy:
Look for signals at key support/resistance levels
Confirm with trend direction on dashboard
Enter on close of signal candle
Place stops beyond recent swing points
Target next significant level or 1:2 risk-reward
Trend-Following Method:
Only take signals in direction of "Trend Direction"
Wait for pullbacks to Square Root levels
Require "Yes" for Near Square Root Level reading
Enter when signal appears at these levels
Trail stops using prior swing points
Reversal Detection:
Watch for signals against prevailing trend
Must have "Near Square Root Level" showing "Yes"
Confirm with pattern like engulfing or hammer
Look for divergence in momentum indicators
Use tighter stops as these are higher risk trades
Multiple Timeframe Approach:
Identify trend on higher timeframe
Look for signals on lower timeframe
Only take signals that align with higher timeframe trend
Add to position on additional signals in same direction
Exit when signal appears in opposite direction
Volume Confirmation Enhancement:
Check volume on signal candles
Stronger signals should have above-average volume
Low volume signals have higher failure rate
Volume increase on breakouts confirms strength
Volume decline near levels suggests potential failure
This indicator works best when combined with proper risk management and sound technical analysis principles. Use it as a decision support tool rather than an automated system, and always consider the broader market context when making trading decisions.RetryClaude can make mistakes. Please double-check responses.
Highlight Time of InterestEST Time Period Background Indicator
This TradingView indicator visually highlights up to four custom-defined time periods on your chart using distinct background colors.
Key Features:
Custom Time Periods: Define up to four separate time intervals with individual start and end times, perfect for emphasizing key trading sessions or events.
Automatic Time zone Conversion: Automatically calculates the offset between the broker’s time zone and New York time (EST) so that your periods are correctly aligned with the Eastern market hours.
Visual Clarity:*Each period can be assigned a unique background color, providing clear visual cues directly on your chart for easier analysis and decision-making.
This indicator is ideal for traders who need a clear, automated visual reference for specific trading sessions or periods, streamlining the analysis process by highlighting critical timeframes directly on the chart.
Higher Highs, Higher Lows, Lower Highs, Lower Lowsshows Higher Highs and Higher Lows, and Lower Highs and Lower Lows
Previous Week & Day High/LowPrevious Week & Day High/Low Indicator
The Previous Week & Day High/Low Indicator is designed to provide traders with key support and resistance levels based on historical price data. It automatically plots the previous day's and previous week's highs and lows as horizontal lines, offering a clear visual reference for potential breakout or reversal zones.
Features:
Clear Visual Levels: Displays previous day's highs and lows in green and red for easy identification.
Weekly Context: Plots previous week's highs and lows using distinct color-coded lines.
Real-Time Updates: Adjusts to new weekly and daily highs and lows as they are confirmed.
Labeled Lines: Each level is labeled directly on the chart, ensuring clarity without clutter.
SPY Enhanced Short Signals – Fixed1.54% profit per trade
SPY Enhanced Short Signals – Fixed is a 5-minute strategy for SPY that triggers short entries when price nears resistance under confirmed bearish conditions (RSI below 45, MACD momentum, and volume spikes). It uses ATR-based dynamic exits to manage risk with adaptive take profit and stop loss settings. Customize inputs for optimal performance.
「ᴋᴇʏ ʟᴇᴠᴇʟꜱ」Key Levels for DAX with Alerts function.
This shows potential reversal points designed to be used with the DAX index. Use additional indicators as confluence.
EMA vs SMA Crossover (Toggle 15/20) by AaronEscaThis custom indicator by AaronEsca lets you toggle between a 15-period or 20-period EMA/SMA crossover to spot trend shifts and momentum changes earlier.
Features:
Choose between 15 or 20 period moving averages using a simple dropdown.
Highlights when the EMA crosses above or below the SMA — a signal of trend momentum or exhaustion.
Includes visual fill between the two lines for instant trend direction insight.
Alerts included for bullish and bearish crossovers.
Designed for use on the 4H, 1H, and Daily timeframes, but flexible for any strategy.
This tool is perfect for swing traders, scalpers, or anyone wanting early confirmation of a potential reversal or momentum break.
IDX - 5UPThe UDX-5UP is a custom indicator designed to assist traders in identifying trends, entry and exit signals, and market reversal moments with greater accuracy. It combines price analysis, volume, and momentum (RSI) to provide clear buy ("Buy") and sell ("Sell") signals across any asset and timeframe, whether you're a scalper on the 5M chart or a swing trader on the 4H chart. Inspired by robust technical analysis strategies, the UDX-5UP is ideal for traders seeking a reliable tool to operate in volatile markets such as cryptocurrencies, forex, stocks, and futures.
Components of the UDX-5UP
The UDX-5UP consists of three main panels that work together to provide a comprehensive view of the market:
Main Panel (Price):
Pivot Supertrend: A dynamic line that changes color to indicate the trend. Green for an uptrend (look for buys), red for a downtrend (look for sells).
SMAs (Simple Moving Averages): Two SMAs (8 and 21 periods) to confirm the trend direction. When the SMA 8 crosses above the SMA 21, it’s a bullish signal; when it crosses below, it’s a bearish signal.
Entry/Exit Signals: "Buy" (green) and "Sell" (red) labels are plotted on the chart when entry or exit conditions are met.
Volume Panel:
Colored Volume Bars: Green bars indicate dominant buying volume, while red bars indicate dominant selling volume.
Volume Moving Average (MA 20): A blue line that helps identify whether the current volume is above or below the average, confirming the strength of the movement.
RSI Panel:
RSI (Relative Strength Index): Calculated with a period of 14, with overbought (70) and oversold (30) lines to identify momentum extremes.
Divergences: The indicator detects divergences between the RSI and price, plotting signals for potential reversals.
How the UDX-5UP Works
The UDX-5UP uses a combination of rules to generate buy and sell signals:
Buy Signal ("Buy"):
The Pivot Supertrend changes from red to green.
The SMA 8 crosses above the SMA 21.
The volume is above the MA 20, with green bars (indicating buying pressure).
The RSI is rising and, ideally, below 70 (not overbought).
Example: On the 4H chart, the price of Tether (USDT) is at 0.05515. The Pivot Supertrend turns green, the SMA 8 crosses above the SMA 21, the volume shows green bars above the MA 20, and the RSI is at 46. The UDX-5UP plots a "Buy".
Sell Signal ("Sell"):
The Pivot Supertrend changes from green to red.
The SMA 8 crosses below the SMA 21.
The volume is above the MA 20, with red bars (indicating selling pressure).
The RSI is falling and, ideally, above 70 (overbought).
Example: On the 4H chart, the price of Tether rises to 0.05817. The Pivot Supertrend turns red, the SMA 8 crosses below the SMA 21, the volume shows red bars, and the RSI is above 70. The UDX-5UP plots a "Sell".
RSI Divergences:
The indicator identifies bullish divergences (price makes a lower low, but RSI makes a higher low) and bearish divergences (price makes a higher high, but RSI makes a lower high), plotting alerts for potential reversals.
Adjustable Settings
The UDX-5UP is highly customizable to suit your trading style:
Pivot Supertrend Period: Default is 2. Increase to 3 or 4 for more conservative signals (fewer false positives, but more lag).
SMA Periods: Default is 8 and 21. Adjust to 5 and 13 for smaller timeframes (e.g., 5M) or 13 and 34 for larger timeframes (e.g., 1D).
RSI Period: Default is 14. Reduce to 10 for greater sensitivity or increase to 20 for smoother signals.
Overbought/Oversold Levels: Default is 70/30. Adjust to 80/20 in volatile markets.
Display Panels: You can enable/disable the volume and RSI panels to simplify the chart.
How to Use the UDX-5UP
Identify the Trend:
Use the Pivot Supertrend and SMAs to determine the market direction. Uptrend: look for buys. Downtrend: look for sells.
Confirm with Volume and RSI:
For buys: Volume above the MA 20 with green bars, RSI rising and below 70.
For sells: Volume above the MA 20 with red bars, RSI falling and above 70.
Enter the Trade:
Enter a buy when the UDX-5UP plots a "Buy" and all conditions are aligned.
Enter a sell when the UDX-5UP plots a "Sell" and all conditions are aligned.
Plan the Exit:
Use Fibonacci levels or support/resistance on the price chart to set targets.
Exit the trade when the UDX-5UP plots an opposite signal ("Sell" after a buy, "Buy" after a sell).
Tips for Beginners
Start with Larger Timeframes: Use the 4H or 1D chart for more reliable signals and less noise.
Combine with Other Indicators: Use the UDX-5UP with tools like Fibonacci or the Candles RSI (another powerful indicator) to confirm signals.
Practice in Demo Mode: Test the indicator in a demo account before using real money.
Manage Risk: Always use a stop-loss and don’t risk more than 1-2% of your capital per trade.
Why Use the UDX-5UP?
Simplicity: Clear "Buy" and "Sell" signals make trading accessible even for beginners.
Versatility: Works on any asset (crypto, forex, stocks) and timeframe.
Multiple Confirmations: Combines price, volume, and momentum to reduce false signals.
Customizable: Adjust the settings to match your trading style.
Author’s Notes
The UDX-5UP was developed based on years of trading and technical analysis experience. It is an evolution of tested strategies, designed to help traders navigate volatile markets with confidence. However, no indicator is infallible. Always combine the UDX-5UP with proper risk management and fundamental analysis, especially in unpredictable markets. Feedback is welcome – leave a comment or reach out with suggestions for improvements!
Ruben.Ramiro - Momentum Breakout StrategyThis strategy is designed to capture breakout movements aligned with the prevailing trend, using a combination of Exponential Moving Averages (EMAs), Relative Strength Index (RSI), and Average True Range (ATR) for entry signals and risk management. It includes clear long/short entry conditions, dynamic stop-losses.
1. Trend Identification
Uses two EMAs:
• Fast EMA (default 20 periods)
• Slow EMA (default 50 periods)
The trend is considered bullish if EMA Fast > EMA Slow, and bearish if EMA Fast < EMA Slow.
2. Momentum Filter (RSI)
Applies a 14-period RSI to avoid entries during overbought/oversold conditions:
• Avoids long entries when RSI > 70 (overbought)
• Avoids short entries when RSI < 30 (oversold)
3. Breakout Logic
Detects breakouts over a configurable period (default: 5 candles):
• Resistance: Highest high over the last N periods (excluding the current one)
• Support: Lowest low over the last N periods (excluding the current one)
4. Entry Conditions
Long Entry:
• Price breaks above recent resistance
• Uptrend confirmed (EMA Fast > EMA Slow)
• RSI not overbought
Short Entry:
• Price breaks below recent support
• Downtrend confirmed (EMA Fast < EMA Slow)
• RSI not oversold
5. Position Management
Stop-Loss and Trailing Stop based on ATR:
Stop-Loss:
• For long: entry price - (ATR * SL multiplier)
• For short: entry price + (ATR * SL multiplier)
Trailing Stop:
• Uses same ATR * trailing multiplier for both trail_points and trail_offset
• Defaults for both SL and trailing multiplier: 1.5x ATR
6. Alerts (Webhook)
JSON-formatted webhook alerts:
• Long entry: Market buy order
• Short entry: Market sell order
7. Visual Cues
• Green triangle below bar for Long entries
• Red triangle above bar for Short entries
Pivot Center LineHow is it calculated?
Finding Pivot Points:
The script looks for Pivot Highs (local peaks) and Pivot Lows (local bottoms) based on a user-defined period (prd).
A Pivot High is the highest point among the surrounding candles.
A Pivot Low is the lowest point among the surrounding candles.
Storing the Latest Pivot:
If a new pivot (high or low) is found, it is stored as lastpp (latest pivot point).
Weighted Averaging:
If it's the first detected pivot, the center line is set to that pivot price.
After detecting multiple pivots, the new pivot is averaged with the previous center value using the formula:
new center=(old center×2)+latest pivot3
new center=3(old center×2)+latest pivot
This gives more weight to past values, smoothing the center line.
Plotting the Line:
If the center line is below the mid-price (hl2), it is colored blue (bullish bias).
If it is above, it is colored red (bearish bias).
Summary in Simple Terms
The Pivot Center Line is a moving reference line that smoothly follows the trend based on recent price highs and lows. It updates itself over time, filtering out small fluctuations to help traders see the bigger trend picture.
zone trading stratThis only works for DOGEUSD , I made it for the 8cap chart so only use it for that.
If you want this for other symbols/charts you need to comment below or msg me.
# Price Zone Trading System: Technical Explanation
## Core Concept
The Price Zone Tracker is built on the concept that price tends to respect certain key levels or "zones" on the chart. These zones act as support and resistance areas where price may bounce or break through. The system combines zone analysis with multiple technical indicators to generate high-probability trading signals.
## Zone Analysis
The system tracks 9 predefined price zones. Each zone has both a high and low boundary, except for Zone 5 which is represented by a single line. When price enters a zone, the system monitors whether it stays within the zone, breaks above it (bullish), or breaks below it (bearish).
This zone behavior establishes the foundational bias of the system:
- When price closes above its previous zone: Zone State = Bullish
- When price closes below its previous zone: Zone State = Bearish
- When price remains within a zone: Zone State = Neutral
## Trend Analysis Components
The system performs multi-timeframe analysis using several technical components:
1. **Higher Timeframe Analysis** (±3 points in scoring)
- Uses 15-minute charts for sub-5-minute timeframes
- Uses 30-minute charts for 5-minute timeframes
- Uses 60-minute charts for timeframes above 5 minutes
- Evaluates candlestick patterns and EMA crossovers on the higher timeframe
2. **EMA Direction** (±1 point in scoring)
- Compares 12-period and 26-period EMAs
- Bullish when fast EMA > slow EMA
- Bearish when fast EMA < slow EMA
3. **MACD Analysis** (±1 point in scoring)
- Uses standard 12/26/9 MACD settings
- Bullish when MACD line crosses above signal line with positive histogram
- Bearish when MACD line crosses below signal line with negative histogram
4. **Price Action** (±2 points in scoring)
- Evaluates whether price is making higher highs/higher lows (uptrend)
- Or lower highs/lower lows (downtrend)
- Also considers ATR-based volatility and strength of movements
## Trend Score Calculation
All these components are weighted and combined into a trend score:
- Higher timeframe components have stronger weights (±2-3 points)
- Current timeframe components have moderate weights (±1 point)
- Price action components have varied weights (±0.5-2 points)
The final trend state is determined by thresholds:
- Score > +3: Trend Analysis State = Bullish
- Score < -3: Trend Analysis State = Bearish
- Score between -3 and +3: Trend Analysis State = Neutral
## Signal Generation Logic
The system combines the Zone State with the Trend Analysis State:
1. If Zone State and Trend Analysis State are both bullish:
- Combined State = Bullish
- Line Color = Green
2. If Zone State and Trend Analysis State are both bearish:
- Combined State = Bearish
- Line Color = Red
3. If Zone State and Trend Analysis State contradict each other:
- Combined State = Neutral
- Line Color = Black
This implements a safety mechanism requiring both zone analysis and technical indicators to agree before generating a directional signal.
## Trading Signals
Trading signals are generated based on changes in the Combined State:
- When Combined State changes from neutral/bearish to bullish:
- Trading Signal = LONG (green triangle appears on chart)
- When Combined State changes from neutral/bullish to bearish:
- Trading Signal = SHORT (red triangle appears on chart)
- When Combined State changes from bullish/bearish to neutral:
- Trading Signal = EXIT (yellow X appears on chart)
- When Combined State remains unchanged:
- Trading Signal = NONE (no new marker appears)
## Reversal Warning
The system also monitors for potential reversal conditions:
- When Combined State is bullish but both RSI and MFI are overbought (>70)
- When Combined State is bearish but both RSI and MFI are oversold (<30)
In these cases, a yellow diamond appears on the chart as a warning that a reversal might be imminent.
## Visual Elements
The indicator provides multiple visual elements:
1. Zone boundaries as translucent orange areas
2. A single colored line below price (green/red/black) showing the current signal
3. Trading signals as shapes on the chart
4. An information panel showing all relevant indicator values and signals
## Usage Limitations
The indicator is designed to work optimally on timeframes below 30 minutes. On higher timeframes, a warning appears and analysis is disabled.
Custom Gold Pivot LevelsThis indicator plots custom resistance and support levels based on a central Ziro Pivot Level. The levels are adjusted dynamically based on whether you're preparing for a Buy or Sell trade. The script allows you to set percentage-based levels for both resistance and support, making it a versatile tool for traders.
Features:
Pivot Level: Set the central pivot level (Ziro Pivot) around which resistance and support levels are calculated.
Dynamic Resistance & Support Levels: Input your preferred percentages for Resistance 1, Resistance 2, Support 1 , and Support 2 .
For Buy: Resistance levels are higher, and support levels are lower.
For Sell: Resistance levels are adjusted lower, and support levels are adjusted higher.
Label Display: The indicator will display a Buy label in green above the pivot level or a Sell label in red below the pivot level, depending on the trade type you select.
Adjustable Parameters:
Ziro Pivot Level: Set the central pivot level.
Resistance & Support Levels: Adjust resistance and support levels using percentages.
Trade Type: Choose between "Buy" and "Sell" to dynamically adjust resistance and support levels.
Inputs:
1- Trade Type: Select between Buy or Sell to set the relevant resistance and support levels.
Ziro Pivot Level: Set the main pivot level around which all other levels are calculated.
Resistance Level 1 & 2: Input percentages for Resistance 1 and Resistance 2.
Support Level 1 & 2: Input percentages for Support 1 and Support 2.
How to Use:
1- Select "Buy" or "Sell" from the input options.
For Buy: The indicator will plot higher resistance levels and lower support levels.
For Sell: The indicator will plot lower resistance levels and higher support levels.
2- Adjust the Pivot Level: Set the central pivot level for the levels to be calculated around.
3- Adjust the Resistance & Support Percentages: Modify the resistance and support levels to fit your trading strategy.
4- Visual Feedback: The indicator will show a Buy label in green above the pivot level or a Sell label in red below the pivot level, making it easy to identify the trade direction at a glance.
Use Cases:
Gold & Commodity Trading: This tool is particularly useful for traders working with commodities like gold, where pivot levels can help determine potential price action points.
Swing & Day Trading: The dynamic nature of this indicator makes it great for both swing and day traders who want to monitor short-term market movements.
Support and Resistance Strategy: Traders who rely on support and resistance levels to make buy/sell decisions can use this indicator to automate and visualize these levels more effectively.