PDH/PDL + OVN-H/L (Right-Aligned Labels + Alerts)Automatically plots the PDH/L (Prior Day High/Low) and OVN-H/L (Overnight High/Low) of the current session.
✅ What it does:
Plots PDH/PDL each day — they appear freshly after 9:30 AM EST, for the entire regular session.
Does NOT extend lines overnight — breaks the line between 16:00 and the next 9:30.
Plots OVN-H / OVN-L as dashed lines, after 9:30 AM EST each day, from 9:30 to 16:00 only.
Clean lines that reset daily
Right-aligned labels showing the level names and price values
🔔 Alerts Included:
Cross Above PDH
Cross Below PDL
Cross Above OVN-H
Cross Below OVN-L
Works on 30min or lower timeframe
Indicators and strategies
Supertrend with EMASupertrend with EMA Technical Documentation
This document provides a technical overview of the "Supertrend with EMA" Pine Script indicator, designed for use on TradingView. This indicator combines the popular Supertrend indicator with an Exponential Moving Average (EMA) and an additional smoothing line, offering a comprehensive view of trend direction and potential support/resistance levels.
Indicator Overview
The "Supertrend with EMA" indicator is an overlay script, meaning it plots directly on the price chart. It is compatible with all timeframes and handles timeframe gaps.
Key Features:
Supertrend Calculation: Identifies trend direction using Average True Range (ATR) and a user-defined factor.
EMA Integration: Displays an Exponential Moving Average for additional trend confirmation and dynamic support/resistance.
Smoothing Line: Incorporates a customizable smoothing line applied to the EMA, offering further refinement of trend signals.
Visual Trend Representation: Clearly distinguishes uptrends (green) from downtrends (red) using filled areas.
Alerts: Provides alert conditions for Supertrend trend reversals.
Inputs
Users can customize the indicator's behavior through the following input parameters:
Supertrend Settings
ATR Length: input.int(10, "ATR Length", minval = 1)
Description: The lookback period used for calculating the Average True Range (ATR). A higher value results in a smoother Supertrend line, while a lower value makes it more reactive.
Default: 10
Minimum: 1
Factor: input.float(3.0, "Factor", minval = 0.01, step = 0.01)
Description: The multiplier applied to the ATR to determine the Supertrend bands. A higher factor creates wider bands and fewer signals, while a lower factor creates narrower bands and more signals.
Default: 3.0
Minimum: 0.01
Step: 0.01
EMA Settings
EMA Length: input.int(9, minval=1, title="EMA Length")
Description: The number of bars used in the Exponential Moving Average calculation.
Default: 9
Minimum: 1
Source: input(close, title="Source")
Description: The price series used for EMA calculation. By default, it uses the close price.
Default: close
Offset: input.int(title="Offset", defval=0, minval=-500, maxval=500, display = display.data_window)
Description: Shifts the EMA plot horizontally by the specified number of bars.
Default: 0
Minimum: -500
Maximum: 500
Smoothing Settings
Method: input.string(title = "Method", defval = "SMA", options= , group="Smoothing", display = display.data_window)
Description: Selects the type of moving average to use for smoothing the EMA. Options include Simple Moving Average (SMA), Exponential Moving Average (EMA), Smoothed Moving Average (SMMA/RMA), Weighted Moving Average (WMA), and Volume Weighted Moving Average (VWMA).
Default: "SMA"
Length: input.int(title = "Length", defval = 5, minval = 1, maxval = 100, group="Smoothing", display = display.data_window)
Description: The lookback period for the selected smoothing method.
Default: 5
Minimum: 1
Maximum: 100
Calculations
Supertrend Calculation
The Supertrend indicator is calculated using the built-in ta.supertrend function:
= ta.supertrend(factor, atrPeriod)
supertrend: The actual Supertrend line value.
direction: Indicates the current trend direction. A value of -1 typically signifies an uptrend, and 1 signifies a downtrend.
The supertrend line is plotted in green for uptrends and red for downtrends, with fills between the bodyMiddle (average of open and close prices) and the Supertrend line for visual clarity.
Exponential Moving Average (EMA) Calculation
The EMA is calculated using the ta.ema function:
out = ta.ema(src, len)
src: The user-defined source series (default: close).
len: The user-defined EMA length.
Smoothing Line Calculation
A custom ma function is used to calculate various types of moving averages, which is then applied to the EMA output:
out: The calculated EMA value.
smoothingLength: The user-defined length for the smoothing moving average.
typeMA: The user-selected type of moving average for smoothing.
Plots
The indicator plots the following on the chart:
Up Trend: The Supertrend line when the direction indicates an uptrend (color: green).
Down Trend: The Supertrend line when the direction indicates a downtrend (color: red).
Body Middle: The average of the open and close prices (open + close) / 2. This plot is hidden (display = display.none) but used for filling the areas between the price and Supertrend line.
EMA: The Exponential Moving Average (color: blue).
Smoothing Line: The moving average applied to the EMA (color: orange, hidden by default).
Alerts
The indicator provides three alert conditions based on Supertrend trend reversals:
Downtrend to Uptrend: Triggers when the Supertrend direction switches from downtrend (direction > direction) to uptrend.
Uptrend to Downtrend: Triggers when the Supertrend direction switches from uptrend (direction < direction) to downtrend.
Trend Change: Triggers on any Supertrend trend reversal (direction != direction), combining both downtrend to uptrend and uptrend to downtrend changes.
🎯 IKODO Prof Price Action⚔️ IKODO Prof Price Action Indicator
"Let the price speak. We just listen."
Forget lagging indicators.
IKODO Prof is not just another tool – it’s your edge in a market full of noise.
Crafted with precision, this indicator:
🔹 Strips away clutter and focuses on pure price movement
🔹 Detects liquidity grabs, fakeouts, and smart money footprints
🔹 Analyzes candle structures, breaker zones, and trend shifts in real-time
🔹 Never lags — because price action never lies
Built for traders who understand that:
> "Price is the ultimate indicator."
Whether you're scalping or swing trading, IKODO Prof keeps you on the right side of the market — the side where institutions play.
This isn’t just an indicator.
This is a framework, a philosophy, a weapon.
> Welcome to the next level.
Welcome to IKODO Prof.
5 EMAs 200, 55, 50, 21, 9This indicator combines 5 EMAs
200 EMA => shows larger trend
9 EMA => fast
21 => medium, Fibonacci number
50 => Slow, Fibonacci number
55 => Slow, frequently used in the market
when the 9 crossed 21 to the upside, signals uptrend
when 21 crosses 55 => stronger uptrend
when the 9 crossed 21 to the downside, signals downtrend
when 21 crosses 55 => stronger downtrend
FXMC Breakout with Strict Single SignalIt's designed to help traders identify and act on breakouts from the first candle of the trading day, with sophisticated options for managing trades and booking profits.
Understanding the "FXMC Breakout with Strict Single Signal" Indicator
This indicator, aptly named "FXMC Breakout with Strict Single Signal," is a powerful tool for day traders. It focuses on a popular strategy: trading the high and low of the first X-minute candle of the trading session. What makes this version particularly useful is its emphasis on clean, non-repetitive signals and its integration of multiple advanced exit strategies.
Core Concept: First Candle Breakout
The fundamental idea is simple: the first candle of the trading day (often the 5-minute or 15-minute candle) sets an important range. A breakout above its high suggests bullish momentum, while a break below its low suggests bearish momentum.
Here's how the script establishes this:
Adjustable First Candle: You can select the duration of this "first candle" directly from the indicator's settings (e.g., 1-minute, 5-minute, 15-minute, etc.). This makes it versatile for different markets and strategies.
Session Time: You define your trading session (e.g., "0915-1530" for Indian markets). The script will capture the high and low of the selected first candle only at the start of this session each day.
Daily Reset: At the beginning of each new day, all previous signals and trade states are reset, preparing the indicator for a fresh set of opportunities.
Visualizing the Range: Once identified, the high (green line) and low (red line) of this first candle are plotted as horizontal lines that extend throughout the trading day, clearly marking your breakout levels.
Entry Signals: Once per Direction, Per Day
The script generates clear entry signals:
Buy Entry (Green Up-Triangle): Appears when the price closes above the first candle's high.
Sell Entry (Orange Down-Triangle): Appears when the price closes below the first candle's low.
Strict Single Signal: A key feature is that you'll only see one Buy Entry and one Sell Entry signal per day. If a buy signal triggers, the script won't generate another buy signal until the trade is exited and a new opportunity arises (which would be the next day, as this strategy is typically intraday). Similarly for sell signals.
Advanced Exit Strategies: Multiple Options, Single Signal
This is where the indicator truly shines, offering robust ways to manage your trades once an entry has occurred. You can enable or disable these methods in the indicator settings:
Price Cross Back (Default Exit):
Long Trade Exit: If you're in a long position and the price closes back below the first candle's high, it signals an exit.
Short Trade Exit: If you're in a short position and the price closes back above the first candle's low, it signals an exit.
ATR Trailing Stop:
Volatility-Adjusted: This stop loss automatically adjusts to market volatility. When you enter a trade, a trailing stop is set a certain multiple of the Average True Range (ATR) away from the entry price.
Protects Profits: As the price moves in your favor, the stop trails behind it, locking in profits while still allowing room for normal market fluctuations. It never moves against your position.
Exit Trigger: An exit signal is generated if the price closes back beyond this trailing stop level.
RSI Exit (Overbought/Oversold):
Momentum Based: Uses the Relative Strength Index (RSI) to identify extreme momentum conditions.
Long Trade Exit: If you're long and the RSI moves above a user-defined "overbought" level (e.g., 70 or 80), it suggests the upward move might be exhausted, prompting an exit.
Short Trade Exit: If you're short and the RSI moves below a user-defined "oversold" level (e.g., 30 or 20), it suggests the downward move might be overdone, prompting an exit.
EMA Crossover Exit:
Trend Reversal: This uses two Exponential Moving Averages (EMAs) – a fast one and a slow one.
Long Trade Exit: If you're long and the fast EMA crosses below the slow EMA, it indicates a potential shift to a bearish trend, signaling an exit.
Short Trade Exit: If you're short and the fast EMA crosses above the slow EMA, it indicates a potential shift to a bullish trend, signaling an exit.
Single Exit Signal (Crucial Improvement): Just like entries, you'll only see one exit signal (an "X" mark) per trade. The script tracks your implied position (long, short, or flat). Once you're in a trade, it continually checks all enabled exit conditions. The first condition met will trigger the single exit signal, flatten your implied position, and reset for the next trading day.
Visual Aids and Alerts
Background Colors: The chart background changes color to indicate if the indicator is currently in a simulated Long position (light green) or Short position (light orange). This gives you a quick visual overview of the trade's duration.
Plotting Trailing Stop (Optional): You can see the ATR trailing stop line dynamically adjust on your chart when a position is active, providing clear visualization of your protective stop.
Alerts: The indicator is equipped with alerts for both entries and exits, so you can be notified in real-time when signals occur without constantly watching the chart.
How to Use It
Add to Chart: Apply the indicator to any intraday chart (e.g., 1-minute, 5-minute, 15-minute).
Adjust Settings: Open the indicator's settings (Inputs tab) to:
Set your desired "First Candle Timeframe."
Define your "Session Time."
Enable or disable each of the "Exit Conditions" (ATR, RSI, EMA) and customize their parameters to fit your trading style and the asset you're analyzing.
Analyze Signals: Observe the entry and exit signals, along with the background colors, to understand the indicator's proposed trades.
This robust indicator provides a comprehensive framework for a first-candle breakout strategy, offering clear signals and dynamic trade management, all with a focus on a clean, uncluttered chart.
N8's Money makercalculates ideal buy and sell prices and put's in ideal TP and SL prices for short and long positions
Position Size Calculator v206/17/2025 - Updated to add MGC to list of instruments
Position Size Calculator for Futures Trading
A professional position sizing tool designed specifically for futures traders who want to maintain disciplined risk management. This indicator calculates the optimal number of contracts based on your predefined risk amount and provides instant visual feedback.
Key Features:
• Interactive price selection - simply click on the chart to set entry, stop loss, and take profit levels
• Supports all major futures contracts: ES, NQ, GC, RTY, YM, MNQ, MES with accurate contract specifications
• Customizable risk amount (defaults to $500 but fully adjustable)
• Real-time position size calculations that never exceed your risk tolerance
• Visual risk validation with color-coded header (green = valid risk, red = excessive risk)
• Automatic 2:1 risk/reward ratio calculations
• Compact, non-intrusive table display in top-right corner
• Clean interface with no chart clutter
How to Use:
Select your futures instrument from the dropdown
Set your maximum risk amount (default $500)
Click on the chart to set your Entry Price
Click on the chart to set your Stop Loss Price
Optionally click to set your Take Profit Price
The calculator instantly shows maximum contracts, actual risk, expected profit, and R/R ratio
Risk Management:
The indicator enforces strict risk management by calculating the maximum number of contracts you can trade while staying within your specified risk limit. The header turns green when your trade is within acceptable risk parameters and red when the risk is too high, providing instant visual feedback.
Perfect for day traders, swing traders, and anyone trading futures who wants to maintain consistent position sizing and risk management discipline.
SMA & EMA Combo (10/20/50/200)How This Works
Inputs: Four separate input fields let you adjust each moving average’s period from the indicator’s settings panel.
Calculation: Uses ta.sma for SMAs and ta.ema for EMAs, both calculated on the close price.
Plotting: Each moving average is plotted with a distinct color and label for clarity.
How to Use
Open TradingView, go to the Pine Script editor.
Paste the code above.
Add the script to your chart.
You’ll see four lines: 10 SMA (purple), 20 SMA (green), 50 EMA (red), 200 EMA (blue). You can adjust the periods in the indicator’s settings.
Daily Range Dividerthis is a daily range divider that draws a customizable vertical line at 12:00am EST opening candle
TS Multi-Indicator Trend DetectorDeveloped by KP
This indicator provides a visually clean and reliable trend overlay by combining multiple high-confidence technical indicators into a single floating line above price action. It’s designed for traders who want trend clarity without chart clutter.
⸻
🔍 What It Does:
• Uses EMA (21), RSI, MACD, ADX, and Directional Movement (DI) indicators to evaluate the market trend
• Assigns a “Bullish” or “Bearish” score based on how many indicators confirm the trend
• Plots a floating colored trend line above the price candles to avoid visual interference
• 🟡 Yellow Line = Bullish Trend
• 🔵 Blue Line = Bearish Trend
• Built with multi-timeframe compatibility (works on 5m to weekly charts)
• Minimalist, no noise — no arrows, no labels, just clarity
⸻
⚙️ How It Works:
• Trend shifts when 3 or more out of 5 conditions are met:
• Price above/below 21 EMA
• RSI > 50 or < 50
• MACD crossover
• ADX strength confirmation
• Directional movement dominance (+DI vs -DI)
⸻
🧠 Why Use This?
Unlike traditional moving averages or lagging signals, this tool filters market noise using a multi-indicator consensus approach, then visualizes it as a non-intrusive floating trend line — helping you focus only on meaningful price action.
⸻
✅ Best For:
• Swing traders, intraday trend followers, and algo developers
• Clean-chart enthusiasts who value signal quality over quantity
CSM Duplo (Força do Par) - FinalSTRENGTH OF THE ESTROGRAMMED CURRENCY, focused on extracting the matrix from both the base currency and the quoted currency.
Screener Filter: HTF Futures SetupLooking at getting HTF alignment prior to dropping down to the LTF over a large watchlist.
MC Geopolitical Tension Events📌 Script Title: Geopolitical Tension Events
📖 Description:
This script highlights key geopolitical and military tension events from 1914 to 2024 that have historically impacted global markets.
It automatically plots vertical dashed lines and labels on the chart at the time of each major event. This allows traders and analysts to visually assess how markets have responded to global crises, wars, and significant political instability over time.
🧠 Use Cases:
Historical backtesting: Understand how market responded to past geopolitical shocks.
Contextual analysis: Add macro context to technical setups.
🗓️ List of Geopolitical Tension Events in the Script
Date Event Title Description
1914-07-28 WWI Begins Outbreak of World War I following the assassination of Archduke Franz Ferdinand.
1929-10-24 Wall Street Crash Black Thursday, the start of the 1929 stock market crash.
1939-09-01 WWII Begins Germany invades Poland, starting World War II.
1941-12-07 Pearl Harbor Japanese attack on Pearl Harbor; U.S. enters WWII.
1945-08-06 Hiroshima Bombing First atomic bomb dropped on Hiroshima by the U.S.
1950-06-25 Korean War Begins North Korea invades South Korea.
1962-10-16 Cuban Missile Crisis 13-day standoff between the U.S. and USSR over missiles in Cuba.
1973-10-06 Yom Kippur War Egypt and Syria launch surprise attack on Israel.
1979-11-04 Iran Hostage Crisis U.S. Embassy in Tehran seized; 52 hostages taken.
1990-08-02 Gulf War Begins Iraq invades Kuwait, triggering U.S. intervention.
2001-09-11 9/11 Attacks Coordinated terrorist attacks on the U.S.
2003-03-20 Iraq War Begins U.S.-led invasion of Iraq to remove Saddam Hussein.
2008-09-15 Lehman Collapse Bankruptcy of Lehman Brothers; peak of global financial crisis.
2014-03-01 Crimea Crisis Russia annexes Crimea from Ukraine.
2020-01-03 Soleimani Strike U.S. drone strike kills Iranian General Qasem Soleimani.
2022-02-24 Ukraine Invasion Russia launches full-scale invasion of Ukraine.
2023-10-07 Hamas-Israel War Hamas launches attack on Israel, sparking war in Gaza.
2024-01-12 Red Sea Crisis Houthis attack ships in Red Sea, prompting Western naval response.
The Mended Collective: London High/Low KillzonesThis open-source indicator automatically tracks the London session (3 AM – 8 AM EST) on any intraday chart. It plots the session’s dynamic high and low, shades the active kill-zone, and labels the completed range so you can spot liquidity sweeps and breakout setups at a glance.
🔧 Features
Real-time session range
Detects the London window daily and updates the high/low as price evolves.
Visual highlights
• Color background during the active session
• Green line = London High | Red line = London Low
• Automatic labels once the session closes
Breakout alerts
Built-in alertcondition() triggers when price crosses above the London High or below the London Low, perfect for momentum or liquidity-grab strategies.
Time-zone aware
Uses New York (EST) timestamps so the range lines stay accurate on any broker feed.
🎯 How to Use
Add the indicator to any intraday chart (typically ≤ 1 h).
During 3 AM–8 AM EST the kill-zone is shaded; watch the evolving high/low.
After 8 AM EST the range is locked; trade retests, break-and-retest, or liquidity grabs with confidence.
Enable alerts to get notified the moment a breakout occurs.
15m ORB Pip Run MeasurementThis is just my work in progress. Don't waste your time. It measures the amount of pips that the 15 minute ORB goes in the direction of the breakout.
SHYY TFC SPX Sectors list This script provides a clean, configurable table displaying real-time data for the major SPX sectors, key indices, and market sentiment indicators such as VIX and the 10-year yield (US10Y).
It includes 16 columns with two rows:
* The top row shows the sector/asset symbol.
* The bottom row shows the most recent daily close price.
Each price cell is dynamically color-coded based on:
* Direction (green/red) during regular trading hours
* Separate colors during extended hours (pre-market or post-market)
* VIX values greater than 30 trigger a distinct background highlight
Users can fully control the position of the table on the chart via input settings. This flexibility allows traders to place the table in any screen corner or center without overlapping key price action.
The script is designed for:
* Monitoring broad market health at a glance
* Understanding sector performance in real-time
* Spotting risk-on/risk-off behavior (via SPY, QQQ, VIX, US10Y)
Unlike traditional watchlists, this table visually encodes directional movement and trading session context (regular vs. extended hours), making it highly actionable for intraday, swing, or macro-level analysis.
All data is pulled using `request.security()` on daily candles and uses pure Pine logic without external dependencies.
To use:
1. Add the indicator to your chart.
2. Adjust the table position via the input dropdown.
3. Read sector strength or weakness directly from the table.
Futures Contract SizerThis script helps futures traders instantly calculate the ideal number of contracts to trade based on their desired dollar risk and tick stop-loss size. Whether you're trading micro contracts (e.g., MNQ, MES) or full-size contracts (e.g., NQ, ES), this tool takes the guesswork out of position sizing and risk management.
Luma DCA Simulator (BTC only)Luma DCA Simulator – Guide
What is the Luma DCA Simulator?
The Luma DCA Tracker shows how regular Bitcoin investments (Dollar Cost Averaging) would have developed over a freely selectable period – directly in the chart, transparent and easy to follow.
Settings Overview
1. Investment amount per interval
Specifies how much capital is invested at each purchase (e.g. 100).
2. Start date
Defines the point in time from which the simulation begins – e.g. 01.01.2020.
3. Investment interval
Determines how frequently investments are made:
– Daily
– Weekly
– Every 14 days
– Monthly
4. Language
Switches the info box display between English and German.
5. Show investment data (optional)
If activated, the chart will display additional values such as total invested capital, BTC amount, current value, and profit/loss.
What the Chart Displays
Entry points: Each DCA purchase is marked as a point in the price chart.
Average entry price: An orange line visualizes the evolving DCA average.
Info box (bottom left) with a live summary of:
– Total invested capital
– Total BTC acquired
– Average entry price
– Current portfolio value
– Profit/loss in absolute terms and percentage
Note on Accuracy
This simulation is for illustrative purposes only.
Spreads, slippage, fees, and tax effects are not included.
Actual results may vary.
Technical Note
For daily or weekly intervals, the chart timeframe should be set to 1 day or lower to ensure all purchases are accurately included.
Larger timeframes (e.g. weekly or monthly charts) may result in missed investments.
Currency Handling
All calculations are based on the selected chart symbol (e.g. BTCUSD, BTCEUR, BTCUSDT).
The displayed currency is automatically determined by the chart used.
내 스크립트//@version=6
indicator('AWMA', overlay = true)
//inputs
_Period1 = input(3, 'WMA1 Period')
_Period2 = input(5, 'WMA2 Period')
_Period3 = input(8, 'WMA3 Period')
_Period4 = input(10, 'WMA4 Period')
_Period5 = input(12, 'WMA5 Period')
_Period6 = input(15, 'WMA6 Period')
_Period7 = input(30, 'WMA7 Period')
_Period8 = input(35, 'WMA8 Period')
_Period9 = input(40, 'WMA9 Period')
_Period10 = input(45, 'WMA10 Period')
_Period11 = input(50, 'WMA11 Period')
_Period12 = input(60, 'WMA12 Period')
//calculate wma
wma1 = ta.wma(close, _Period1)
wma2 = ta.wma(close, _Period2)
wma3 = ta.wma(close, _Period3)
wma4 = ta.wma(close, _Period4)
wma5 = ta.wma(close, _Period5)
wma6 = ta.wma(close, _Period6)
wma7 = ta.wma(close, _Period7)
wma8 = ta.wma(close, _Period8)
wma9 = ta.wma(close, _Period9)
wma10 = ta.wma(close, _Period10)
wma11 = ta.wma(close, _Period11)
wma12 = ta.wma(close, _Period12)
plot(wma1, color = color.new(#4fc3d2, 0), title = 'short1')
plot(wma2, color = color.new(#4fc3d2, 0), title = 'short2')
plot(wma3, color = color.new(#4fc3d2, 0), title = 'short3')
plot(wma4, color = color.new(#4fc3d2, 0), title = 'short4')
plot(wma5, color = color.new(#4fc3d2, 0), title = 'short5')
plot(wma6, color = color.new(#4fc3d2, 0), title = 'short6')
plot(wma7, color = color.new(#fe0d5f, 0), title = 'long1')
plot(wma8, color = color.new(#fe0d5f, 0), title = 'long2')
plot(wma9, color = color.new(#fe0d5f, 0), title = 'long3')
plot(wma10, color = color.new(#fe0d5f, 0), title = 'long4')
plot(wma11, color = color.new(#fe0d5f, 0), title = 'long5')
plot(wma12, color = color.new(#fe0d5f, 0), title = 'long6')
CEYLON Golden Indicator Buy & SellDesigned to provide traders with clear, high-probability trading signals, this indicator helps you identify key market levels