Manual Trade Ledger# Manual Options Trade Journal – Pine Script
This project is a Pine Script implementation for TradingView that allows users to manually log options trades into a live table overlay on a chart.
## ✨ Features
- 📥 Manual entry of ticker, premium, contracts, strike, expiry, notes
- 📈 Auto-filled live data: timestamp, price, and % change since first log
- 🧾 Tabular logging for trade journaling and exporting to Google Sheets
- 🔧 Fully customizable and designed to support product experimentation
## 🎯 Use Case
This project was built to support a real-world trading workflow for options traders who:
- Prefer to manually log trades while watching charts
- Want a visual, copyable ledger that evolves in real-time
- Want to later analyze entries/exits in spreadsheets or dashboards
## 🛠 How It Works
1. Toggle the `Log Trade` switch inside TradingView’s indicator settings
2. Fill in your trade metadata (ticker, premium, etc.)
3. The script captures timestamp, price, and calculates % change
4. Each new trade adds a row to the table (up to 50 max)
Indikatoren und Strategien
My Bar IndexA simple script to display bar index at the bottom of the chart. It will be a handy tool for those who like to do bar counts.
Dynamic Breakout Breakdown Trackerbreak out and break down calculator
you can calculate break out and break down from this indicator and this will calculate the levels dynamically
Dynamic Support and Resistance"Dynamic Support & Resistance" Indicator: Find Key Price Levels Easily
This indicator helps you quickly spot potential support and resistance levels on your chart. Think of these levels as price "floors" (support) and "ceilings" (resistance) where the price might bounce or change direction.
How to Use It:
Add it to your chart: Search for "Support and Resistance Zones" in TradingView's indicator library and add it to your chart.
See the lines: You'll see green dashed lines for support and red dashed lines for resistance.
Understand the levels:
Green lines (Support): These show price levels where buyers might step in and push the price back up.
Red lines (Resistance): These show price levels where sellers might step in and push the price back down.
Adjust the settings (optional):
You can change how sensitive the indicator is by adjusting the "Support Window" and "Resistance Window" settings. A smaller number finds more levels, a larger number finds fewer, but potentially stronger levels.
Use it for your trading:
Look for price bounces at support levels to consider buying.
Look for price reversals at resistance levels to consider selling.
These levels can also help you decide where to place stop-loss orders.
Why it's useful:
Saves time: It automatically finds these important price levels, so you don't have to draw them manually.
Easy to see: The colored lines make the levels clear and easy to understand.
Helps with decisions: It gives you potential entry and exit points for your trades.
In simple terms, this indicator makes it easier to see where the price might change direction, helping you make smarter trading choices.
MA Cross with Monthly LinesA dual-purpose trading indicator combining Moving Average (MA) crossovers with a Monthly Line Separator. It visually tracks trend shifts using MA crosses while marking monthly boundaries for clear historical reference. Ideal for traders seeking both momentum signals and structured timeframes, enhancing decision-making with a streamlined, all-in-one charting tool.
Range Filter Buy and Sell 5min## **Enhanced Range Filter Strategy: A Comprehensive Overview**
### **1. Introduction**
The **Enhanced Range Filter Strategy** is a powerful technical trading system designed to identify high-probability trading opportunities while filtering out market noise. It utilizes **range-based trend filtering**, **momentum confirmation**, and **volatility-based risk management** to generate precise entry and exit signals. This strategy is particularly useful for traders who aim to capitalize on trend-following setups while avoiding choppy, ranging market conditions.
---
### **2. Key Components of the Strategy**
#### **A. Range Filter (Trend Determination)**
- The **Range Filter** smooths price fluctuations and helps identify clear trends.
- It calculates an **adjusted price range** based on a **sampling period** and a **multiplier**, ensuring a dynamic trend-following approach.
- **Uptrends:** When the current price is above the range filter and the trend is strengthening.
- **Downtrends:** When the price falls below the range filter and momentum confirms the move.
#### **B. RSI (Relative Strength Index) as Momentum Confirmation**
- RSI is used to **filter out weak trades** and prevent entries during overbought/oversold conditions.
- **Buy Signals:** RSI is above a certain threshold (e.g., 50) in an uptrend.
- **Sell Signals:** RSI is below a certain threshold (e.g., 50) in a downtrend.
#### **C. ADX (Average Directional Index) for Trend Strength Confirmation**
- ADX ensures that trades are only taken when the trend has **sufficient strength**.
- Avoids trading in low-volatility, ranging markets.
- **Threshold (e.g., 25):** Only trade when ADX is above this value, indicating a strong trend.
#### **D. ATR (Average True Range) for Risk Management**
- **Stop Loss (SL):** Placed **one ATR below** (for long trades) or **one ATR above** (for short trades).
- **Take Profit (TP):** Set at a **3:1 reward-to-risk ratio**, using ATR to determine realistic price targets.
- Ensures volatility-adjusted risk management.
---
### **3. Entry and Exit Conditions**
#### **📈 Buy (Long) Entry Conditions:**
1. **Price is above the Range Filter** → Indicates an uptrend.
2. **Upward trend strength is positive** (confirmed via trend counter).
3. **RSI is above the buy threshold** (e.g., 50, to confirm momentum).
4. **ADX confirms trend strength** (e.g., above 25).
5. **Volatility is supportive** (using ATR analysis).
#### **📉 Sell (Short) Entry Conditions:**
1. **Price is below the Range Filter** → Indicates a downtrend.
2. **Downward trend strength is positive** (confirmed via trend counter).
3. **RSI is below the sell threshold** (e.g., 50, to confirm momentum).
4. **ADX confirms trend strength** (e.g., above 25).
5. **Volatility is supportive** (using ATR analysis).
#### **🚪 Exit Conditions:**
- **Stop Loss (SL):**
- **Long Trades:** 1 ATR below entry price.
- **Short Trades:** 1 ATR above entry price.
- **Take Profit (TP):**
- Set at **3x the risk distance** to achieve a favorable risk-reward ratio.
- **Ranging Market Exit:**
- If ADX falls below the threshold, indicating a weakening trend.
---
### **4. Visualization & Alerts**
- **Colored range filter line** changes based on trend direction.
- **Buy and Sell signals** appear as labels on the chart.
- **Stop Loss and Take Profit levels** are plotted as dashed lines.
- **Gray background highlights ranging markets** where trading is avoided.
- **Alerts trigger on Buy, Sell, and Ranging Market conditions** for automation.
---
### **5. Advantages of the Enhanced Range Filter Strategy**
✅ **Trend-Following with Noise Reduction** → Helps avoid false signals by filtering out weak trends.
✅ **Momentum Confirmation with RSI & ADX** → Ensures that only strong, valid trades are executed.
✅ **Volatility-Based Risk Management** → ATR ensures adaptive stop loss and take profit placements.
✅ **Works on Multiple Timeframes** → Effective for day trading, swing trading, and scalping.
✅ **Visually Intuitive** → Clearly displays trade signals, SL/TP levels, and trend conditions.
---
### **6. Who Should Use This Strategy?**
✔ **Trend Traders** who want to enter trades with momentum confirmation.
✔ **Swing Traders** looking for medium-term opportunities with a solid risk-reward ratio.
✔ **Scalpers** who need precise entries and exits to minimize false signals.
✔ **Algorithmic Traders** using alerts for automated execution.
---
### **7. Conclusion**
The **Enhanced Range Filter Strategy** is a powerful trading tool that combines **trend-following techniques, momentum indicators, and risk management** into a structured, rule-based system. By leveraging **Range Filters, RSI, ADX, and ATR**, traders can improve trade accuracy, manage risk effectively, and filter out unfavorable market conditions.
This strategy is **ideal for traders looking for a systematic, disciplined approach** to capturing trends while **avoiding market noise and false breakouts**. 🚀
Double MACD Overlay [NLR]This indicator plots two MACD signals directly on your price chart to help you spot trends and shifts in momentum more clearly:
🔹 Main MACD - The classic MACD with customizable Fast, Slow, and Signal lengths. Great for confirming broader trend direction.
🔹 Short MACD - A faster MACD with an option to smooth the input, helping you catch early signals or identify short-term momentum changes.
Each MACD is visualized as:
A line showing the moving average
A colored histogram showing the MACD minus the signal
A zero line for reference
Why use this?
By comparing a short-term MACD with a longer-term one, you get early signals without losing the big picture. Use it for confirmation, divergence spotting, or just cleaner trend visualization.
Best For:
✅ Trend-followers
✅ Momentum traders
✅ Anyone who wants more context from their MACD signals
Recommended Settings:
Here are some ideal settings to get the most out of this indicator:
On a 5-Minute Chart:
Compare your current MACD with the 15-minute MACD.
- MACD Multiplier: 3
On a 1-Minute Chart:
Spot short-term moves while comparing them to the 5-minute MACD.
- MACD Multiplier: 5
- Use Smoothed Source (Short MACD): ON (for a cleaner short MACD signal)
Happy trading! 💹
CISD with Alerts [neo|]█ OVERVIEW
CISD (or Change in State of Delivery) is an ICT concept and reversal pattern which may allow traders to identify reversals or changes in market structure early, compared to using traditional market structure. This script aims to correctly identify, and update these levels and provide alerts, so that traders can take advantage of this concept with ease.
█ CONCEPTS
Simply put, CISD may be identified when price closes above the open of the candle which started the most recent downtrend or liquidity sweep. Generally, it is most powerful when applied to key points in the market as a confirmation from where you may want price to reverse.
For example, when price is in a downtrend, we take the open of the last consecutive downwards candle and observe the CISD once price closes above it, beginning an uptrend.
Examples:
COMEX:GC1!
CME_MINI:NQ1!
█ How to use
To use the indicator, simply apply it to your chart and modify any of your desired inputs.
• Bullish CISD color allows you to change the color of +CISD levels.
• Bearish CISD color allows you to change the color of -CISD levels.
• Line width allows you to modify the width of +-CISD lines.
• Line extension bars allows you to change how far ahead CISD levels are drawn (by default it is 5).
• Keep old CISD levels will allow you to preserve all past CISD levels if you would like to observe the logic.
• Enable stat table will let you add a table on your chart which will tell you the current CISD trend, as well as your ticker and timeframe.
• Table position allows you to customize where the table will appear on your chart.
EMA Price Range by tuanduongEMA Price Range Indicator – Dynamic Range Analysis with Custom EMA (tuanduong2511)
Overview
The EMA Price Range Indicator is designed to help traders visualize the distance between price action and a key Exponential Moving Average (EMA). This indicator dynamically calculates the range from each candle to a user-defined EMA and displays it in a real-time table. By understanding the relationship between price and the EMA, traders can better gauge potential support, resistance, and overextension in the market.
Key Features
✅ Customizable EMA – Allows users to choose the EMA period that best suits their strategy (default: 144).
✅ Real-Time Range Calculation – Computes the absolute difference between the EMA and the price (using the high or low, depending on whether the candle is above or below the EMA).
✅ Minimalist UI – The EMA is plotted directly on the chart, while a small table in the bottom-right corner provides numerical insights, reducing chart clutter.
✅ Versatile Use Cases – Suitable for trend-following traders (identifying pullbacks to EMA) and mean-reversion traders (spotting extended price movements).
How It Works
User-Defined EMA:
The script calculates an Exponential Moving Average (EMA) based on the selected period.
EMA adapts dynamically, giving more weight to recent price movements.
Range Calculation:
If the price is above the EMA, the range is measured from the high point of the candle to the EMA.
If the price is below the EMA, the range is measured from the low point of the candle to the EMA.
This approach ensures that we’re measuring the most relevant distance for price interaction.
Live Table Display:
The current EMA value and the distance (range) from the price are displayed in a small table in the bottom-right corner of the chart.
How to Use It
📌 Trend Traders: Use the indicator to track pullbacks to key EMAs (e.g., EMA 50, 144, or 200). When the price is far from the EMA, it may indicate an overextended trend or potential retracement zone.
📌 Mean Reversion Traders: Look for extreme deviations between price and the EMA. Large distances can signal potential price snapbacks to the mean.
📌 Scalping & Day Trading: Short-term traders can use it with fast EMAs (e.g., EMA 21 or 34) to measure quick price movements relative to short-term momentum.
Why This Indicator?
Unlike traditional EMA indicators, which only plot a moving average, this script provides quantifiable price distance to the EMA, helping traders make data-driven decisions. It allows traders to answer:
✅ Is the price stretched too far from the EMA?
✅ Should I wait for a pullback before entering?
✅ Is the trend strong, or is the price losing momentum?
By integrating EMA-based range analysis, traders gain a clearer understanding of market conditions and can improve their entry, exit, and risk management strategies.
Swing Structure + Session Sweeps“Scalper-Friendly Trend & Sweep Detector”
Swing Structure + Session Sweeps with TEMA Cloud
This powerful all-in-one tool is designed for intraday traders, swing traders, and scalpers who want to spot high-probability reversals, trend continuations, and liquidity sweeps with confluence.
🔹 Core Features
Multi-layered TEMA Cloud (9, 20, 34, 50) for clear trend structure
Dynamic Bull/Bear labels when the trend flips
Centerline for TEMA 20 to visualize core trend direction
Session-based liquidity sweep detection (Asia, London, NY)
Volume and absorption dots to catch hidden pressure
Swing high/low detection (external and internal)
Visual VWAP, daily highs/lows, and customizable session zones
Optional alerts for volume spikes, absorption, and reversal sweeps
📈 Use it to:
Confirm directional bias
Anticipate pullbacks and breakouts
Identify volume-backed reversals
Align trades with session strength and swing confluence
⚙️ Built for scalpers, intraday opportunists, and precision chartists alike.
BIN Based Support and Resistance [SS]This indicator presents a version of an alternative way to determine support and resistance, using a method called "Bins".
Bins provide for a flexible and interesting way to determine support and resistance levels.
First off, let's discuss BINS:
Bins are ranges or containers into which your data points can be sorted. For example, if you're grouping ages, you might have bins like 0–18, 19–35, 36–50, and 51+. Any data point within these intervals gets placed in the corresponding bin.
Binning simplifies complex data sets by grouping values into categories. This is useful for such things as
Visualizing data in histograms or bar charts.
Reducing noise and highlighting trends.
This indicator groups the price action into 10 separate bins. It determines the Support / Resistance level by averaging the values in the Bins to find an iteration of the "central tendency" or average reoccurring value.
Pros and Cons
Since this is a different approach to support and resistance, I think its important to highlight some of the pros and advantages, but also be open about the cons.
First off the PROS
Bin Based Support and Resistance Levels dynamically adjust to ranges as opposed to hard / fast peaks and valleys. This makes them better at analyzing price action vs simply drawing lines at random peaks and valleys.
Because Bins are analyzing ALL PA within a period's max and min range, Bin Support and Resistance can actually be used similar to Volume profile, where you are able to identify a pseudo-POC, or areas where price tends to consolidate. Take a look at this example on SPY:
You can see these 2 SR lines are close together. This represents that this general price range is an area where price likes to accumulate/consolidate. You can see the SPY ended up coming back to this range and consolidating there for a bit.
This is a strength of using a BIN based approach to calculating support and resistance, because as indicated before, it looks at price action vs peaks and valleys.
As a tip, these areas are areas you want to wait for a break in one direction or the other.
The indicator provides for backtest results of the support and resistance lines, to see how many times certain areas acted as resistance or support. Because this is analyzing and distributing PA evenly throughout the period's max and min, the indicator can tell you which areas tend to have higher rejection zones and which have higher support zones.
Now the CONS
Because bin based SR take an average approach, the SR lines can sometimes be slightly broken before the ticker finds rejection:
To combat this, make sure there is confirmed support. How the indicator actually backtests these lines is by waiting to see if the ticker has 3 consecutive closes above the support line or below the resistance line. So these are things to be mindful of.
It doesn't consider pivots. Most support and resistance indicators either identify max and min peaks and valleys or use pivot points. Pivot points are a great way to identify peaks and valleys and thus by extension support and resistance. However, this is also somewhat of a strength, as using BINS forces the indicator to consider ALL price action and not just the extremes (highs and lows).
Can be slightly skewed in highly volatile environments. Any time there is a massive drop or rally, it can skew the indicator to give extreme ranges to both ends. For example, the Tariff news collapse on ES1!:
Owning to limitations in lookback length, sometimes the min and max range can be exceeded and other traditional areas of support / resistance is where a ticker will find support.
Using the indicator
Here are some basic use/functionalities of the indicator:
Selecting display of backtest results: You can select to have the backtest results shown in a table:
Or directly on the lines:
Inversely, you can toggle them off completely:
You can modify the lookback length. The suggested lookback length is between 250 to 500 candles on smaller timeframes. I also suggest 252 on daily timeframes (which represents 1 trading year).
And that's the indicator!
It is very easy to use, so you should pick it up in no time!
Enjoy and as always, 🚀🚀 safe trades! 🚀🚀
Body Percentage of Range (Colored)Short Description:
This indicator measures the dominance of the candle's body relative to its total range (High - Low), providing a visual gauge of intra-candle strength versus indecision. Columns are colored based on whether the body constitutes more or less than a defined percentage (default 50%) of the candle's total height.
Detailed Description:
What it Does:
The "Body Percentage of Range" indicator calculates, for each candle, what percentage of the total price range (High minus Low) is occupied by the candle's body (absolute difference between Open and Close).
A value of 100% means the candle has no wicks (a Marubozu), indicating strong conviction during that period.
A value of 0% means the candle has no body (a Doji), indicating perfect indecision.
Values in between show the relative balance between the directional move (body) and the price exploration/rejection (wicks).
How to Interpret:
The indicator plots this percentage as columns:
Column Height: Represents the percentage of the body relative to the total range. Higher columns indicate a larger body dominance.
Column Color:
Green Columns: Appear when the body percentage is above the user-defined threshold (default 50%). This suggests that the directional move within the candle was stronger than the indecision (wicks). Often seen during trending moves or strong momentum candles.
Red Columns: Appear when the body percentage is at or below the user-defined threshold (default 50%). This suggests that wicks dominate the candle (body is 50% or less of the range), indicating significant indecision, struggle between buyers and sellers, or potential reversals. These are common in choppy, consolidating, or reversal market conditions.
Orange Line (Optional MA): A Simple Moving Average (SMA) of the body percentages is plotted to help smooth the readings and identify broader periods where candle structure indicates more trending (high MA) vs. ranging/indecisive (low MA) characteristics.
Potential Use Cases:
Identifying Choppy vs. Trending Markets: Sustained periods of low, predominantly red columns (and often a low/declining MA) can signal a choppy, range-bound market where trend-following strategies might underperform. Conversely, periods with frequent high, green columns suggest a more trending environment.
Confirming Breakouts/Momentum: High green columns appearing alongside increased volume during a breakout can add conviction to the move's strength.
Spotting Potential Exhaustion/Reversals: A very tall green column after a strong trend, followed immediately by a low red column (like a Doji or Spinning Top pattern appearing on the price chart), might signal potential exhaustion or a pending reversal, indicating indecision has suddenly entered the market.
Filtering Entries: Traders might avoid taking entries (especially trend-following ones) when the indicator shows a consistent pattern of low red columns, suggesting high market indecision.
Settings:
Color Threshold %: Allows you to set the percentage level above which columns turn green (default is 50%).
Smoothing MA Length: Adjusts the lookback period for the Simple Moving Average.
Disclaimer:
This indicator is a tool for technical analysis and should be used in conjunction with other methods (like price action, volume analysis, other indicators) and robust risk management. It does not provide direct buy/sell signals and past performance is not indicative of future results.
FunkyQuokka's $ Volume💡 Why $ Volume Matters
Share volume alone is a half-truth — 1M shares traded at $5 isn’t the same as 1M shares at $500. That’s where dollar volume steps in, offering a far more accurate view of institutional interest, breakout validity, liquidity zones and overall trader conviction.
📈 Features:
Clean histogram of dollar volume (close × volume)
Orange line showing customizable average $ volume
K/M/B formatting for axis scale (no huge ugly numbers)
Minimal design to blend into a multi-pane layout
⚙️ Inputs:
Tweakable average length – defaults to 20
By FunkyQuokka 🦘
Tendencia y Fuerza [4H - Sin Límites]This custom indicator combines two key elements for analyzing financial markets on a 4-hour timeframe:
Trend direction (bullish/bearish).
Brute force of the movement (no numerical limits).
🔍 Main Components:
1. Trend Line (Green/Red):
Green: Uptrend (20 EMA > 50 EMA on the 4-hour period).
Red: Downtrend (20 EMA < 50 EMA on the 4-hour period).
Purpose: To quickly identify market direction.
--------------------------------------------------------------------------------------------------------------------
Gufs VWAPI expanded on a public script to be able to show customizable horizontal price lines (and standard) on multiple timeframes (session, week, month, year) with corresponding text labels.
I like my charts clutter free, and this helps me accomplish that.
Let me know what you think, it's my first publish. Thanks!
MFI Module (Raw Output)Outputs raw Money Flow Index (MFI) values for modular use in other scripts.
Useful for confluence-based strategies that reference external modules via request.security().
Malama's big MACDMalama's Big MACD" is a versatile TradingView indicator designed to help traders identify high-probability buy and sell opportunities in fast-moving markets, particularly on short timeframes like 1-5 minute charts. It solves the common problem of filtering out market noise by combining a predictive price model (Stochastic Price Predictor, or SPP) with a comprehensive set of momentum and trend indicators (MACD, RSI, moving averages, and more). Whether you're scalping quick trades or confirming longer-term trends, this tool provides clear signals and visual cues to boost confidence and timing.
The indicator operates in two main layers:
Stochastic Price Predictor (SPP): This predictive engine forecasts short-term price movements using a simplified Monte Carlo simulation. It analyzes recent price changes, volatility (via ATR), and Stochastic RSI to estimate the likelihood of an upward or downward move within a set horizon (e.g., 3 bars). Buy signals trigger when the probability of an upward move exceeds a confidence threshold (default 65%) and the market isn’t overbought, while sell signals activate for downward moves when not oversold.
Comprehensive Indicator Suite: This layer combines classic tools like MACD (for momentum), RSI (for overbought/oversold conditions), moving averages (for trend direction), and ATR (for volatility-based levels). It generates signals when these align—e.g., a bullish MACD crossover paired with an oversold RSI and a rising fast MA. A unique "JKH RSI" (a fast RSI variant) adds extra confirmation, while manual sentiment input lets you tweak signals based on your market bias.
The script overlays these signals on your chart, color-codes trends, and highlights key levels (like stop-loss and profit targets) to make decision-making intuitive.
How to Use It
Adding to TradingView:
Copy the script into TradingView’s Pine Editor (under "Indicators" > "Pine Editor").
Click "Save," name it (e.g., "Malama's Big MACD"), then "Add to Chart."
Configuring Settings:
Open the indicator’s settings via the gear icon.
Adjust SPP settings (e.g., "Lookback Period" to 5 for short-term focus, "Confidence Threshold" to 65% for faster signals).
Tweak the Comprehensive settings (e.g., MACD lengths: 5/13/5 for scalping, or longer like 12/26/9 for swing trading).
Toggle visuals (e.g., enable "Show Predicted Range" or "Highlight Volume Spikes") under "Visual Settings."
Interpreting Signals:
SPP Signals: Green "BUY (SPP)" labels below bars or red "SELL (SPP)" above bars indicate predictive opportunities.
Comprehensive Signals: Lime "BUY (Comp)" or red "SELL (Comp)" labels show confirmed momentum trades. Blue/orange MACD arrows and green/red RSI dots add context.
Trend Line: Green means uptrend (fast MA > slow MA), red is downtrend, orange is neutral.
Extras: Purple ATR lines suggest stop-loss/profit targets; yellow backgrounds flag volume spikes.
Tips:
Beginners: Start with default settings and focus on SPP signals for quick trades. Use ATR lines to set safe exits.
Pros: Experiment with "Sentiment Input" (-1 to 1) to bias signals, or adjust MACD/MA lengths for your timeframe. Pair with volume spikes for breakout confirmation.
Originality
What makes "Malama's Big MACD" stand out is its hybrid approach: it fuses a predictive Monte Carlo model (SPP) with a robust multi-indicator confirmation system. Unlike standard MACD or RSI tools, it offers:
Short-Term Prediction: SPP’s probability-based signals cater to scalpers, rare in most indicators.
Layered Confirmation: Combines MACD, RSI, fast/slow MAs, and a custom JKH RSI for stronger filtering.
Visual Clarity: Trend coloring, predicted price ranges, and ATR-based levels make it a one-stop shop.
Flexibility: Adjustable for scalping or swing trading, with manual sentiment for personalized tuning.
This isn’t just another MACD—it’s a dynamic, all-in-one toolkit that adapts to your trading style, blending foresight with precision.
Zig Zag Trend Metrics“ Zig Zag Trend Metrics ” is a highly versatile indicator, built on the classic Zig Zag concept and thoughtfully designed for technical traders seeking a deeper, more structured view of market dynamics. This tool identifies significant swing highs and lows, classifies them, and annotates each with key metrics, offering a precise snapshot of each movement. It enhances visual analysis by drawing connecting lines that outline the flow of market structure, making trend progression and reversals instantly recognizable. Beyond visual mapping, it features a compact, real-time statistics table that calculates the average price and time deltas for both bullish and bearish swings, giving traders deep insights into trend momentum and rhythm. With extensive customization options, this indicator adapts seamlessly to vast trading styles or chart setups, empowering traders to spot patterns, evaluate trend strength, and make more confident, data-backed decisions.
❖ FEATURES
✦ Automatic Swing Detection
At its core, this indicator automatically identifies swing highs and lows based on a customizable lookback period (default: 10 bars).
✦ Labeling Swing Points
Each swing is visualized with a label that includes:
Swing Classification : “HH” (Higher High), “LH” (Lower High), “LL” (Lower Low), or “HL” (Higher Low).
Price Difference : Displayed in percentage or absolute value from the previous opposite swing.
Time Difference : The number of bars since the previous swing of the opposite type.
These labels offer traders clear, immediate insight into price movements and structural changes.
✦ Visual Lines
The indicator draws three types of lines:
Bullish Lines: Connect recent swing lows to new swing highs, indicating uptrends.
Bearish Lines: Connect recent swing highs to new swing lows, indicating downtrends.
Range Lines: Connect consecutive highs or lows to outline price channels.
Each line type can be color-coded and customized for visibility.
✦ Statistics Table
An on-screen metrics table provides a live summary of trends. Script uses Relative Averaging to smooth price and time changes. This prevents outliers from distorting the data and provides a more reliable sense of typical swing behavior.
Uptrend Metrics: Shows average price and time differences from recent bullish swings.
Downtrend Metrics: Shows the same for bearish swings.
🛠️ Customization Options
Ability to tailor the indicator to suit their strategy and aesthetic preferences:
Swing Period: Adjust sensitivity to short- or long-term swings.
Color Settings: Customize line and label colors.
Label Display: Choose between absolute or percentage price differences.
Table Settings: Modify size, location, or visibility.
This makes the indicator highly flexible and useful across various timeframes and assets.
Gioteen-NormThe "Gioteen-Norm" indicator is a versatile and powerful technical analysis tool designed to help traders identify key market conditions such as divergences, overbought/oversold levels, and trend strength. By normalizing price data relative to a moving average and standard deviation, this indicator provides a unique perspective on price behavior, making it easier to spot potential reversals or continuations in the market.
The indicator calculates a normalized value based on the difference between the selected price and its moving average, scaled by the standard deviation over a user-defined period. Additionally, an optional moving average of this normalized value (Green line) can be plotted to smooth the output and enhance signal clarity. This dual-line approach makes it an excellent tool for both short-term and long-term traders.
***Key Features
Divergence Detection: The Gioteen-Norm excels at identifying divergences between price action and the normalized indicator value. For example, if the price makes a higher high while Red line forms a lower high, it may signal a bearish divergence, hinting at a potential reversal.
Overbought/Oversold Conditions: Extreme values of Red line (e.g., significantly above or below zero) can indicate overbought or oversold conditions, helping traders anticipate pullbacks or bounces.
Trend Strength Insight: The normalized output reflects how far the price deviates from its average, providing a measure of momentum and trend strength.
**Customizable Parameters
Traders can adjust the period, moving average type, applied price, and shift to suit their trading style and timeframe.
**How It Works
Label1 (Red Line): Represents the normalized price deviation from a user-selected moving average (SMA, EMA, SMMA, or LWMA) divided by the standard deviation over the specified period. This line highlights the relative position of the price compared to its historical range.
Label2 (Green Line, Optional): A moving average of Label1, which smooths the normalized data to reduce noise and provide clearer signals. This can be toggled on or off via the "Draw MA" option.
**Inputs
Period: Length of the lookback period for normalization (default: 100).
MA Method: Type of moving average for normalization (SMA, EMA, SMMA, LWMA; default: EMA).
Applied Price: Price type used for calculation (Close, Open, High, Low, HL2, HLC3, HLCC4; default: Close).
Shift: Shifts the indicator forward or backward (default: 0).
Draw MA: Toggle the display of the Label2 moving average (default: true).
MA Period: Length of the moving average for Label2 (default: 50).
MA Method (Label2): Type of moving average for Label2 (SMA, EMA, SMMA, LWMA; default: SMA).
**How to Use
Divergence Trading: Look for discrepancies between price action and Label1. A bullish divergence (higher low in Label1 vs. lower low in price) may suggest a buying opportunity, while a bearish divergence could indicate a selling opportunity.
Overbought/Oversold Levels: Monitor extreme Label1 values. For instance, values significantly above +2 or below -2 could indicate overextension, though traders should define thresholds based on the asset and timeframe.
Trend Confirmation: Use Label2 to confirm trend direction. A rising Label2 suggests increasing bullish momentum, while a declining Label2 may indicate bearish pressure.
Combine with Other Tools: Pair Gioteen-Norm with support/resistance levels, RSI, or volume indicators for a more robust trading strategy.
**Notes
The indicator is non-overlay, meaning it plots below the price chart in a separate panel.
Avoid using a Period value of 1, as it may lead to unstable results due to insufficient data for standard deviation calculation.
This tool is best used as part of a broader trading system rather than in isolation.
**Why Use Gioteen-Norm?
The Gioteen-Norm indicator offers a fresh take on price normalization, blending statistical analysis with moving average techniques. Its flexibility and clarity make it suitable for traders of all levels—whether you're scalping on short timeframes or analyzing long-term trends. By publishing this for free, I hope to contribute to the TradingView community and help traders uncover hidden opportunities in the markets.
**Disclaimer
This indicator is provided for educational and informational purposes only. It does not constitute financial advice. Always backtest and validate any strategy before trading with real capital, and use proper risk management.
Today's Daily LevelsTrack daily price action like a pro with instant visibility of key levels, percentages, and P&L values - all in one clean view.
• Shows Daily Open, High, Low & Median levels
• Dynamic color-coding: green above open, red below
• Real-time price labels with:
Exact price levels
% distance between levels
Point values
Dollar values per contract
• Auto-repaints on timeframe changes
• 30min alerts for median crosses
VWAP with Bank/Psychological Levels by TBTPH V.2This Pine Script defines a custom VWAP (Volume Weighted Average Price) indicator with several additional features, such as dynamic bands, bank levels, session tracking, and price-crossing detection. Here's a breakdown of the main elements and logic:
Key Components:
VWAP Settings:
The VWAP calculation is based on a source (e.g., hlc3), with an option to hide the VWAP on daily (1D) or higher timeframes.
You can choose the VWAP "anchor period" (Session, Week, Month, etc.) for adjusting the VWAP calculation to different time scales.
VWAP Bands:
The script allows you to plot bands above and below the VWAP line.
You can choose the calculation mode for the bands (Standard Deviation or Percentage), and the bands' width can be adjusted with a multiplier.
These bands are drawn using a gray color and can be filled to create a shaded area.
Bank Level Calculation:
The concept of bank levels is added as horizontal levels spaced by a user-defined multiplier.
These levels are drawn as dotted lines, and price labels are added to indicate each level.
You can define how many bank levels are drawn above and below the base level.
Session Indicators (LSE/NYSE):
The script identifies the open and close times of the London Stock Exchange (LSE) and the New York Stock Exchange (NYSE) sessions.
It limits the signals to only appear during these sessions.
VWAP Crossing Logic:
If the price crosses the VWAP, the script colors the candle body white to highlight this event.
Additional Plot Elements:
A background color is applied based on whether the price is above or below the 50-period Simple Moving Average (SMA).
The VWAP line dynamically changes color based on whether the price is above or below it (green if above, red if below).
Explanation of Key Sections:
1. VWAP and Band Calculation:
pinescript
Copy
= ta.vwap(src, isNewPeriod, 1)
vwapValue := _vwap
stdevAbs = _stdevUpper - _vwap
bandBasis = calcModeInput == "Standard Deviation" ? stdevAbs : _vwap * 0.01
upperBandValue1 := _vwap + bandBasis * bandMult_1
lowerBandValue1 := _vwap - bandBasis * bandMult_1
This code calculates the VWAP value (vwapValue) and standard deviation-based bands (upperBandValue1 and lowerBandValue1).
2. Bank Levels:
pinescript
Copy
baseLevel = math.floor(currentPrice / bankLevelMultiplier) * bankLevelMultiplier
The base level for the bank levels is calculated by rounding the current price to the nearest multiple of the bank level multiplier.
Then, a loop creates multiple bank levels:
pinescript
Copy
for i = -bankLevelRange to bankLevelRange
level = baseLevel + i * bankLevelMultiplier
line.new(x1=bar_index - 50, y1=level, x2=bar_index + 50, y2=level, color=highlightColor, width=2, style=line.style_dotted)
label.new(bar_index, level, text=str.tostring(level), style=label.style_label_left, color=labelBackgroundColor, textcolor=labelTextColor, size=size.small)
3. Session Logic (LSE/NYSE):
pinescript
Copy
lse_open = timestamp("GMT", year, month, dayofmonth, 8, 0)
lse_close = timestamp("GMT", year, month, dayofmonth, 16, 30)
nyse_open = timestamp("GMT-5", year, month, dayofmonth, 9, 30)
nyse_close = timestamp("GMT-5", year, month, dayofmonth, 16, 0)
The script tracks session times and filters the signals based on whether the current time falls within the LSE or NYSE session.
4. VWAP Crossing Detection:
pinescript
Copy
candleCrossedVWAP = (close > vwapValue and close <= vwapValue) or (close < vwapValue and close >= vwapValue)
barcolor(candleCrossedVWAP ? color.white : na)
If the price crosses the VWAP, the candle's body is colored white to highlight the cross.
Highlight Fascia Oraria 07:00-21:00Highlight Time Range 07:00–21:00 + New Year's Line
This script automatically highlights the time range between 07:00 and 21:00 (based on the chart’s server time) with a light green semi-transparent background — perfect for traders focusing on specific intraday sessions.
It also adds a red vertical line every January 1st, clearly marking the start of each new year on the chart.
Ideal for:
Intraday trading and session analysis
Seasonal or yearly pattern tracking
Clear visual reference for time cycles
💡 Easy to customize: You can adjust the startHour and endHour values to set your preferred time range.
Pro Scalper AI [BullByte]The Pro Scalper AI is a powerful, multi-faceted scalping indicator designed to assist active traders in identifying short-term trading opportunities with precision. By combining trend analysis, momentum indicators, dynamic weighting, and optional AI forecasting, this tool provides both immediate and latched trading signals based on confirmed (closed bar) data—helping to avoid repainting issues. Its flexible design includes customizable filters such as a higher timeframe trend filter, and adjustable settings for ADX, ATR, and Hull Moving Average (HMA), giving traders the ability to fine-tune the strategy to different markets and timeframes.
Key Features :
- Confirmed Data Processing :
Utilizes a helper function to lock in price and volume data only from confirmed (closed) bars, ensuring the reliability of signals without the risk of intrabar repainting.
- Trend Analysis :
Employs ADX and Directional Movement (DI) calculations along with a locally computed HMA to detect short-term trends. An optional higher timeframe trend filter can further refine the analysis.
- Flexible Momentum Modes :
Choose between three momentum calculation methods—Stochastic RSI, Fisher RSI, or Williams %R—to match your preferred style of analysis. This versatility allows you to optimize the indicator for different market conditions.
- Dynamic Weighting & Volatility Adjustments :
Adjusts the contribution of trend, momentum, volatility, and volume through dynamic weighting. This ensures that the indicator responds appropriately to varying market conditions by scaling its sensitivity with user-defined maximum factors.
- Optional AI Forecast :
For those who want an extra edge, the built-in AI forecasting module uses linear regression to predict future price moves and adjusts oscillator thresholds accordingly. This feature can be toggled on or off, with smoothing options available for more stable output.
- Latching Mode for Signal Persistenc e:
The script features a latching mechanism that holds signals until a clear reversal is detected, preventing whipsaws and providing more reliable trade entries and exits.
- Comprehensive Visualizations & Dashboard :
- Composite Oscillator & Dynamic Thresholds : The oscillator is plotted with dynamic upper and lower thresholds, and the area between them is filled with a color that reflects the active trading signal (e.g., Strong Buy, Early Sell).
- Signal Markers : Both immediate (non-latching) and stored (latched) signals are marked on the chart with distinct shapes (circles, crosses, triangles, and diamonds) to differentiate between signal types.
- Real-Time Dashboard : A customizable dashboard table displays key metrics including ADX, oscillator value, chosen momentum mode, HMA trend, higher timeframe trend, volume factor, AI bias (if enabled), and more, allowing traders to quickly assess market conditions at a glance.
How to Use :
1. S ignal Interpretation :
- Immediate Signals : For traders who prefer quick entries, the indicator displays immediate signals such as “Strong Buy” or “Early Sell” based on the current market snapshot.
- Latched Signals : When latching is enabled, the indicator holds a signal state until a clear reversal is confirmed, offering sustained trade setups.
2. Trend Confirmation :
- Use the HMA trend indicator and the optional higher timeframe trend filter to confirm the prevailing market direction before acting on signals.
3. Dynamic Thresholds & AI Forecasting :
- Monitor the dynamically adjusted oscillator thresholds and, if enabled, the AI bias to gauge potential shifts in market momentum.
4. Risk Management :
- Combine these signals with additional analysis and sound risk management practices to determine optimal entry and exit points for scalping trades.
Disclaimer :
This script is provided for educational and informational purposes only and does not constitute financial advice. Trading involves risk, and past performance is not indicative of future results. Always perform your own analysis and use proper risk management strategies before trading.