Position Calculator---
# Position Calculator
Calculates the optimal position size with a fixed profit/loss ratio based on opening, stop-loss, and take-profit levels. Determines the direction of the position based on the opening and stop-loss settings.
Initial use requires manual setting of opening, take-profit, and stop-loss. Afterward, you can manually drag the price line to set values and the system will automatically calculate position information.
---
# 仓位计算器
通过开仓、止损、止盈计算固定盈亏比适合的开仓数量,根据开仓和止损判断开仓方向。
首次使用需要手动设置开仓、止盈、止损,之后可以手动拖拽价格线设置值然后自动计算仓位信息。
Indikator dan strategi
Pivot point moving averagesPivot Point Moving Averages builds moving averages from confirmed pivots, not from every bar.
Instead of averaging all highs and lows, this script:
Detects swing pivot highs and pivot lows using a configurable Pivot length (pivotLen).
Converts these sparse pivot prices into continuous series of:
last confirmed pivot low
last confirmed pivot high
Applies a user-selectable moving average (SMA / EMA / RMA / WMA / VWMA) to each of those pivot series.
Plots the two resulting lines and shades the area between them as a pivot value cloud.
Because the lines only move when a new pivot is confirmed, they represent structural acceptance rather than raw volatility. Short “noise” moves and stop hunts between pivots have much less impact on these averages.
You can also enable an optional second pivot MA cloud:
Uses the same Pivot length for structural detection.
Has its own MA length and type.
Can run on a different timeframe (e.g. D, 240, W).
Is projected back onto the current chart so you see local pivot value and higher-timeframe pivot value together.
Why it’s useful
Traditional MAs:
React to every bar.
Move on noise, wicks, and stop runs.
Don’t distinguish between “meaningful” structure and random fluctuation.
This tool uses confirmed pivots, so it is better suited to market structure and phase analysis:
Pivot MA low reflects how demand is stepping up (or down) as new swing lows form.
Pivot MA high reflects how supply is pressing down (or easing) as new swing highs form.
The cloud between them acts as a dynamic, structure-based value area.
Typical interpretations:
Price inside the pivot cloud → balance / fair value area.
Price above the pivot cloud → bullish value expansion.
Price below the pivot cloud → bearish value expansion.
Cloud compressing → possible energy build-up, transition between phases.
Cloud expanding → stronger directional conviction.
With the second cloud enabled on a higher timeframe, you can:
See whether lower-timeframe structure is building with or against the higher-timeframe pivot value.
Use the HTF cloud as a background bias and the LTF cloud for timing and fine-grained context.
Notes
All pivot-based tools have inherent delay: a pivot is only confirmed after pivotLen bars to the right.
On very low timeframes, long pivotLen + long MA lengths will make the lines slower to react.
This is intended as a context and structure tool, not a standalone entry signal.
Unmitigated Cave Diving MTF High Low - BookMap Style Chart
Unmitigated Cave Diving MTF High Low - BookMap Style Chart
Introduction
This Pine Script indicator tracks unmitigated higher timeframe highs and lows with a session-aware approach, inspired by KinetiCapital's X D HL Targets.
Built for precision trading on instruments like NQ during extended trading hours (ETH), it visualizes support and resistance levels that have not yet been breached, helping traders identify key price zones for potential reversals or breakouts.
Core Features
The indicator monitors multi-timeframe levels (default 15-minute) and applies intelligent styling based on recency and survival duration:
Most Recent Levels: The 1st and 2nd most recent unmitigated highs and lows are highlighted with distinct colors and widths for quick visual identification
Session Age Tracking: Levels are categorized by how many full trading sessions (1800-1700 NQ ETH) they've survived unmitigated, with "old" levels receiving special highlighting once they exceed your defined threshold
BookMap-Style Visualization: Clean horizontal lines with optional price labels positioned above highs and below lows for minimal chart clutter
Real-Time Summary Table: Displays the four most recent levels with their prices, distance in points from current price, and session age
Mitigation Logic
Levels automatically update when price touches them - high levels are mitigated when price reaches or exceeds them, while low levels are mitigated when price touches or breaks below. Mitigated levels change to a neutral gray color and can optionally be deleted at session end to preserve chart memory.
This tool is particularly valuable for intraday traders who trade around key structural levels and need to understand which unmitigated zones represent the freshest or most significant price memory in the market.
Moon Phases & Declinations - Chronos Capital [BETA]High-Precision Lunar Cycles: Moon Phases & Declinations (Swiss Ephemeris)
Overview
This indicator provides institutional-grade astronomical data directly on your chart. Unlike standard scripts that use basic sine-wave approximations, this tool implements the **Swiss Ephemeris algorithm**, the gold standard for high-precision celestial calculations.
By tracking the Moon’s phases and its **Maximum/Minimum Declinations**, traders can identify potential "turning points" or "energy shifts" in market volatility often associated with lunar cycles.
---
Key Features
Ultra-High Precision: Calculations are accurate to within *seconds* of time, ensuring that the visual plot aligns perfectly with astronomical reality.
Moon Phase Tracking: Distinct markers for New Moon, Full Moon, and Quarters.
Lunar Declination Peaks: Automatically identifies when the moon reaches its *Maximum North* and *Maximum South* points (Lunar Extremes).
Customizable Visuals: Toggle between background highlights, vertical lines, or plot signals to suit your trading style.
---
Technical Accuracy
This script is built using a ported version of the Swiss Ephemeris
Positional Accuracy: Within 0.1 arcseconds.
Time Accuracy: Within **~1-2 seconds** of official JPL data.
Algorithm: Integration of the *ELP2000-85* lunar theory for maximum reliability over decades of historical data.
---
### **How to Use**
1. **Reversal Zones:** Watch for the Moon’s *Max/Min Declination* points, which often coincide with local tops or bottoms in trending markets.
2. **Volatility Shifts:** Use the *New Moon* and *Full Moon* markers to anticipate periods of increased or decreased market liquidity and volume.
3. **Confluence:** Best used in combination with your existing price action or momentum indicators to add a "time-based" filter to your entries.
*Disclaimer: This tool is for educational and analytical purposes only. Lunar cycles are a study of time-based correlation, not a guaranteed financial signal.*
PDH(RTH)+PMH / PDL(RTH)+PML First Break + 3m EMA RetestIncludes retest notification for passed or failed on 3min 9EMA.
Triple EMA// Triple EMA indicator designed for TradingView free users.
// Displays 3 standard EMAs in one indicator slot.
Double Cross Strategy - directional color plus golden crossCandle color changes to dark green when opening below 9/20 SMAs when 9 is below the 20 and closes above.
Candle color changes to dark red when opening above the 9/20 SMAs when the 9 is above the 20 and closes below.
Candle color changes to yellow when either of the above occurs plus crosses the vwap.
RS of long term KSTDescription
Relative Strength of KST (Know Sure Thing) momentum between a stock and a reference index (e.g., Intesa San Paolo vs. FTSEMIB).
This indicator computes the KST oscillator separately for the chart symbol and the comparative symbol, then plots the difference (stock KST minus index KST). A positive or rising value indicates the stock has stronger momentum than the benchmark.
Best used on weekly timeframes.
Features:
- Fully configurable KST parameters (ROC lengths, SMA smoothing, weights).
- Signal line (SMA of the RS of KST) for potential crossover signals.
- Zero line for reference.
Rising values or crossings above the signal line may suggest improving relative momentum.
What the Script Does
This indicator calculates the Relative Strength of the KST momentum oscillator between the current chart symbol (e.g., a stock) and a comparative symbol (default: FTSEMIB).
KST Calculation (Know Sure Thing oscillator, originally developed by Martin Pring), computes four Rate-of-Change (ROC) values with different lengths (10, 13, 15, 20 by default). Each ROC is smoothed with its own SMA. The four smoothed ROCs are weighted (weights 1, 2, 3, 4 by default) and summed to create the final KST value.
This is done separately for: The chart symbol → kst
The comparative symbol → kstSymbol
Relative Strength of KST res = kst - kstSymbol
This is a subtraction-based relative strength (difference) of the two KST values, not a ratio, as to avoid singularity (division by zero).
A rising line or value above zero means the stock’s momentum (KST) is stronger than the index’s momentum.
Plotting Plots the RS of KST as a blue line.
Overlays a gray SMA (default length 10) with cross style (acts as a signal line).
Horizontal line at zero for reference.
This is best used on weekly charts (as KST is typically a longer-term momentum indicator).
Flux Portfolio Visualizer | GL0WDASHFlux Portfolio Visualizer | GL0WDASH
Flux Portfolio Visualizer lets you simulate and track the performance of a multi-asset portfolio directly on the chart.
Choose up to 10 assets, assign custom allocation weights, and set a start date to generate a real-time equity curve based on historical price data.
The script performs one-time proportional allocation at the start date and then tracks equity forward without rebalancing, giving you a realistic view of how your portfolio would have evolved over time. It also includes a maximum equity drawdown tracker and an optional level line for reference.
Features:
• Allocate to up to 10 assets with custom weight percentages
• Specify initial capital and simulation start date
• Real-time equity curve based on confirmed bars
• Maximum equity drawdown tracking + table display
• Optional horizontal reference line
• Designed for long-horizon allocation experiments
Great for:
• Passive portfolio stress-testing
• Comparing allocation strategies
• Evaluating long-term crypto/asset mixes
• Visualizing risk via max drawdowns
This tool does not execute trades or rebalance—its purpose is pure visualization, giving traders clarity about how portfolios behave under different allocation assumptions.
If you expand or modify the indicator, please credit the original author.
PCR Sentiment & Max Pain by Rakesh Sharma🎯 PCR + SENTIMENT + MAX PAIN INDICATOR
Track options market sentiment to catch reversals before they happen! See where smart money is positioning through Put-Call Ratio analysis.
✨ KEY FEATURES:
- PCR (Put-Call Ratio) with visual zones
- Market Sentiment Analysis (Bullish/Bearish/Neutral)
- Max Pain Level calculation (expiry day advantage)
- Automatic Buy/Sell signals at extreme levels
- Real-time dashboard with actionable insights
- Fear & Greed gauge
- Trading action recommendations
🎯 PERFECT FOR:
Nifty, Bank Nifty, Index Options - Intraday & Swing Trading
⚡ TRADING SIGNALS:
- PCR > 1.5 = Market oversold (Fear) → BUY signal
- PCR < 0.7 = Market overbought (Greed) → SELL signal
- Extreme levels trigger STRONG signals
- Contrarian indicator - Trade against the crowd!
💡 UNIQUE ADVANTAGE:
Combines options sentiment with price action for high-probability reversals. Know when institutions are bullish or bearish!
Created by: Rakesh Sharma
Price Contraction / Expansion1. Introduction
The Price Contraction / Expansion indicator highlights areas of market compression and volatility release by analyzing candle body size and volume behavior. It provides a fast, color-coded visualization to identify potential breakout zones, accumulation phases, or exhaustion movements.
This tool helps traders recognize when price action is tightening before a volatility expansion — a common precursor to strong directional moves.
2. Key Features
Dynamic body analysis: Compares each candle’s body size with a moving average to detect contraction (small bodies) and expansion (large bodies).
Volume confirmation: Measures whether volume is unusually high or low compared to its recent average, helping filter false breaks.
Color-coded system for clarity:
Yellow: Contraction with high volume (potential accumulation or strong activity).
Blue: Contraction with normal volume or expansion with low volume (neutral/reduced participation).
Green: Expansion in bullish candle (buyer dominance).
Red: Expansion in bearish candle (seller dominance).
Customizable parameters: Adjust body and volume averaging periods and thresholds to fit different market conditions or timeframes.
3. How to Use
Identify contraction zones: Look for blue or yellow bars to locate areas of price compression — these often precede breakouts or large movements.
Wait for expansion confirmation: A shift to green or red bars with increasing volume indicates that volatility is expanding and momentum is building.
Combine with context: Use this indicator alongside trend tools, liquidity zones, or moving averages to confirm directional bias and filter noise.
Adapt thresholds: In highly volatile markets, increase the “Threshold multiplier” to reduce false contraction signals.
This indicator is most effective for traders who focus on volatility behavior, market structure, and timing potential breakout opportunities.
HPDR Bands with projectionHPDR: Historical Price Delta Range
What is it? The HPDR indicator measures how much an asset’s price typically changes over a specific timeframe. It looks at historical price movements ("deltas") and organizes them into percentiles. These are then plotted on your chart as a median line surrounded by statistical bands.
This tool helps you understand an asset’s unique character and its typical price deviations.
Because the median is in this context a statistically relative stable value(if you add 7 values to 1000 it doesn't change much), it allows for high-probability projections of the future median.
For a clearer understanding of the indicator's logic, try setting the Range to 7 and the Offset to -7.
The 50% percentile Band signifies that in 50% of all bars, the price remained within this statistical range.
ORB M15 Fibo din ORB EMA200 MTFTesting a new idea based on ORB m15. Still on testing, not worth it to translate it into English
ODTE Layman Signals 📌 Script Name
Layman Options Signals – Structured BUY CALL / BUY PUT with SL & TP
📖 Overview
This indicator is a complete, finished intraday trading system designed to simplify options trading (including 0DTE and weekly options) by converting price action and market structure into clear, actionable signals.
The script performs all analysis in the background and displays only what the trader needs to execute consistently:
BUY CALL or BUY PUT
Predefined Stop Loss (SL)
Two Take Profit levels (TP1 and TP2)
Trade status and levels displayed in a live status box
The focus of this tool is execution discipline, not prediction.
🧠 Core Concepts Used (What Makes This Script Original)
This script combines multiple price-action concepts into a single, rule-based framework:
1️⃣ Opening Range Breakout (ORB)
The script calculates the opening range high and low using the first X minutes of the regular session.
Trades are only allowed above ORB high for CALLs and below ORB low for PUTs.
This filters low-quality trades during early chop.
2️⃣ Market Structure Confirmation
CALL trades require higher highs and higher lows
PUT trades require lower lows and lower highs
This prevents trading against structure.
3️⃣ Retest & Liquidity Sweep Validation
Breakouts are validated using:
ORB retests (price accepts above/below the range)
Liquidity sweeps (false breakouts that trap traders)
This helps reduce fake breakouts.
4️⃣ Volatility-Aware Risk Management
Stop losses are placed using market structure + ATR buffer
This avoids stops being placed at obvious levels.
5️⃣ Multi-Target Trade Management
TP1 = partial profit (risk reduction)
TP2 = runner target (trend continuation)
After TP1, stop loss can move to breakeven (optional)
6️⃣ Discipline Controls
Only one active trade at a time
Cooldown period after a stop loss
Prevents over-trading and revenge trading
📊 What the Indicator Displays
The script plots the following directly on the chart:
Entry level
Stop Loss (SL)
Take Profit 1 (TP1)
Take Profit 2 (TP2)
Opening Range High & Low
It also includes a Status Box that always shows one of the following states:
WAIT
BUY CALL
BUY PUT
IN TRADE
COOLDOWN
This allows traders to understand the current state at a glance without reading code.
▶️ How to Use the Indicator
Recommended Timeframes
1-minute or 2-minute charts
Intraday use only
Entry Rules
When BUY CALL appears → Buy an ATM or slightly ITM call
When BUY PUT appears → Buy an ATM or slightly ITM put
Risk Management
Exit immediately if price hits the SL line
Take partial profits at TP1
Hold remaining position for TP2 if conditions allow
When Status Shows WAIT or COOLDOWN
No trade should be taken
⚙️ Recommended Instruments
SPY / QQQ
Liquid large-cap stocks
Intraday options (0DTE / weeklies)
⚠️ Important Disclaimer
This script is provided for educational purposes only.
It is not financial advice
It does not guarantee profits
It does not place trades automatically
Options trading involves significant risk
Always test using paper trading or small size before live use.
🎯 Who This Script Is For
✔ Traders who want clear rules
✔ Traders who prefer price action over indicators
✔ Options traders who value risk management
✔ Users who want less chart clutter and more discipline
❌ Not intended for swing trading
❌ Not intended for automated trading systems
🧩 Final Notes
This is a complete, finished indicator, not a test or experimental script.
All logic is deterministic, non-repainting, and designed for real-time use.
The philosophy behind this tool is simple:
Good trading comes from structure, discipline, and risk control — not prediction.
Market Phase Dashboard MTFGetting into a trade is the easy part. if anyone out there could use a little assistance in knowing when to exit a trade this ones for you..
This is a Market Phase Dashboard MTF (Multi-Timeframe) that classifies market conditions into 4 distinct phases based on trend + momentum alignment. Here's what it does:
The 4 Market Phases:
CONTINUATION 🟢 - Uptrend (EMA rising) + Strong momentum (RSI > 55)
Translation: "Trend is strong, keep riding it"
SLOWING 🟠 - Two scenarios:
Uptrend but momentum fading (RSI ≤ 55), OR
Downtrend but momentum not fully committed (RSI ≥ 45)
Translation: "Trend losing steam, be cautious"
EXHAUSTION 🔴 - Downtrend (EMA falling) + Weak momentum (RSI < 45)
Translation: "Trend is dying, possible reversal coming"
NEUTRAL ⚪ - Anything that doesn't fit above (shouldn't happen much with these thresholds)
Multi-Timeframe View:
Shows phases for:
Chart TF - Whatever timeframe you're viewing (only updates on confirmed bar close)
5m - Always shows 5-minute phase
15m - Always shows 15-minute phase
Visual Cues:
Background color changes based on the live chart timeframe phase (updates in real-time, not waiting for bar close)
Table shows confirmed phases for all timeframes
Practical Use:
Helps you understand if different timeframes are aligned. For example:
All 3 showing CONTINUATION = strong aligned trend, high confidence trades
15m EXHAUSTION but 5m CONTINUATION = possible short-term bounce in downtrend
Mixed signals = choppy/transitional market, stay cautious
It's basically a trend health checker across multiple timeframes at a glance! I am also in the works of adding every higher time frame so that it will consist of 5 min all the way to the 12 mo time frame i will keep you guys updated as i update this indicator.
AlphaTrend_TC// This source code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org
// author © KivancOzbilgic
// developer © KivancOzbilgic
// I'm just playing with it.... Jake Ryan
//@version=5
indicator('AlphaTrend', shorttitle='AT', overlay=true, format=format.price, precision=2, timeframe='')
coeff = input.float(1, 'Multiplier', step=0.1)
AP = input(14, 'Common Period')
ATR = ta.sma(ta.tr, AP)
src = input(close)
showsignalsk = input(title='Show Signals?', defval=true)
novolumedata = input(title='Change calculation (no volume data)?', defval=false)
upT = low - ATR * coeff
downT = high + ATR * coeff
AlphaTrend = 0.0
AlphaTrend := (novolumedata ? ta.rsi(src, AP) >= 50 : ta.mfi(hlc3, AP) >= 50) ? upT < nz(AlphaTrend ) ? nz(AlphaTrend ) : upT : downT > nz(AlphaTrend ) ? nz(AlphaTrend ) : downT
color1 = AlphaTrend > AlphaTrend ? #00E60F : AlphaTrend < AlphaTrend ? #80000B : AlphaTrend > AlphaTrend ? #00E60F : #80000B
k1 = plot(AlphaTrend, color=color.new(#0022FC, 0), linewidth=3)
k2 = plot(AlphaTrend , color=color.new(#FC0400, 0), linewidth=3)
fill(k1, k2, color=color1)
buySignalk = ta.crossover(AlphaTrend, AlphaTrend )
sellSignalk = ta.crossunder(AlphaTrend, AlphaTrend )
// Calculate Bollinger Bands around AlphaTrend
length = input(20, title="Bollinger Bands Length")
mult = input(2.0, title="Bollinger Bands Multiplier")
basis = ta.sma(AlphaTrend, length)
dev = mult * ta.stdev(AlphaTrend, length)
upperBand = basis + dev
lowerBand = basis - dev
// Plot Bollinger Bands
plot(upperBand, color=#2962FF, linewidth=1, title="Upper Bollinger Band")
plot(lowerBand, color=#2962FF, linewidth=1, title="Lower Bollinger Band")
// Rest of the code remains the same for generating signals and plotting arrows
K1 = ta.barssince(buySignalk)
K2 = ta.barssince(sellSignalk)
O1 = ta.barssince(buySignalk )
O2 = ta.barssince(sellSignalk )
plotshape(buySignalk and showsignalsk and O1 > K2 ? AlphaTrend * 0.9999 : na, title='BUY', text='BUY', location=location.absolute, style=shape.labelup, size=size.tiny, color=color.new(#0022FC, 0), textcolor=color.new(color.white, 0))
plotshape(sellSignalk and showsignalsk and O2 > K1 ? AlphaTrend * 1.0001 : na, title='SELL', text='SELL', location=location.absolute, style=shape.labeldown, size=size.tiny, color=color.new(color.maroon, 0), textcolor=color.new(color.white, 0))
alertcondition(buySignalk and O1 > K2, title='Potential BUY Alarm', message='BUY SIGNAL!')
alertcondition(sellSignalk and O2 > K1, title='Potential SELL Alarm', message='SELL SIGNAL!')
alertcondition(buySignalk and O1 > K2, title='Confirmed BUY Alarm', message='BUY SIGNAL APPROVED!')
alertcondition(sellSignalk and O2 > K1, title='Confirmed SELL Alarm', message='SELL SIGNAL APPROVED!')
alertcondition(ta.cross(close, AlphaTrend), title='Price Cross Alert', message='Price - AlphaTrend Crossing!')
alertcondition(ta.crossover(low, AlphaTrend), title='Candle CrossOver Alarm', message='LAST BAR is ABOVE ALPHATREND')
alertcondition(ta.crossunder(high, AlphaTrend), title='Candle CrossUnder Alarm', message='LAST BAR is BELOW ALPHATREND!')
alertcondition(ta.cross(close , AlphaTrend ), title='Price Cross Alert After Bar Close', message='Price - AlphaTrend Crossing!')
alertcondition(ta.crossover(low , AlphaTrend ), title='Candle CrossOver Alarm After Bar Close', message='LAST BAR is ABOVE ALPHATREND!')
alertcondition(ta.crossunder(high , AlphaTrend ), title='Candle CrossUnder Alarm After Bar Close', message='LAST BAR is BELOW ALPHATREND!')
//from AlphaTrend
My OB detector 18 DicProfessional Order Block indicator optimized for M3 timeframe. It features automatic 50% entry detection, a strict 1:1 risk-to-reward ratio, and a 10-pip minimum profit filter. Strictly follows the Madrid session hours for Euro and US sessions.
Position size calculatorA clean position size calculator designed specifically for leverage traders.
It calculates your position size, potential profit, and risk-to-reward ratio (R/R) based on fixed dollar risk.
Simply enter your entry price, stop-loss, take-profit, and risk in USD to receive precise results.
The position size is currently calculated using the following risk-based formula:
Position Size = Risk ($) / Stop-Loss distance.
This approach keeps risk constant regardless of leverage.
All colors are fully customizable to seamlessly fit your chart theme.
If you have ideas for additional calculation models or if you find any issues, leave a comment and help improve the tool.
RSI Divergences KittenRSI Divergences + Adjustable RSI σ-Bands + Band Pierce Signals (with optional US weekend filter)
Description:
This indicator combines three RSI tools into one clean workflow:
1. RSI σ-Bands (mean ± k·σ)
It builds dynamic upper/lower bands around RSI using a moving mean and standard deviation. These bands adapt to regime changes (expanding in volatile periods, contracting in quiet periods). Bands can be clipped to RSI’s natural 0–100 range and optionally filled for readability.
2. Band “Pierce” Signals
It prints a marker when RSI crosses outside the upper band (overextension) or outside the lower band (underextension). These pierces are useful as timing signals for mean-reversion setups, especially when you expect price to revert back toward a reference mean (e.g., VWAP). Optional “re-entry” markers show when RSI crosses back inside the bands.
3. Proper RSI Divergences (Regular + Hidden)
Divergences are detected using RSI pivots (not price pivots). At each RSI pivot, the script samples the corresponding price high/low on that pivot bar and compares it to the previous pivot within a configurable bar-distance window.
• Bullish divergence: price lower low + RSI higher low
• Hidden bullish: price higher low + RSI lower low
• Bearish divergence: price higher high + RSI lower high
• Hidden bearish: price lower high + RSI higher high
Line width is configurable for visibility.
Manual Band Adjustment (Near-Miss Control):
If your best reversals “nearly” tag the band, you can manually tune sensitivity without rewriting the math:
• Band offset (RSI points): nudges trigger levels
• Band width scale: tightens/widens the σ-band envelope
US Weekend Filter (Optional):
You can optionally suppress pierce/divergence signals during US weekend hours (Fri 17:00 ET → Sun 17:00 ET) and optionally shade those periods to help isolate low-liquidity behavior.
Notes / Intended Use:
This is designed as a mean-reversion timing tool, not a standalone trading system. For best results, combine signals with a market “mean” (e.g., rolling VWAP) and basic risk controls.
Candles by Day of WeekCandles by Day of Week
Candles by Day of Week (INLINE) is a lightweight visual indicator that colors price candles based on the day of the week.
It helps traders quickly recognize weekly patterns, market behavior differences, and day-specific tendencies directly on the chart.
🔹 Key Features
Candle coloring for Monday through Sunday
Enable or disable each weekday individually
Custom color selection for every day
Day enable toggle and color input are combined in one line for cleaner settings
Uses barcolor() — no candle shifting or overlay issues
Compatible with all markets: Forex, Crypto, Stocks, Indices
Works on all timeframes
🔹 How It Works
The indicator detects the day of the week for each candle and applies the selected color if that day is enabled.
Disabled days keep the chart’s default candle colors unchanged.
This approach ensures:
No interference with price data
No displacement from the main chart
Full compatibility with other indicators
🔹 Practical Use
Analyze weekday-based market behavior
Spot recurring patterns or volatility by day
Improve discretionary and session-based strategies
Enhance chart readability and visual clarity
🔹 Notes
Saturday and Sunday candles are mainly relevant for Crypto markets
Forex traders may choose to disable weekend days
The indicator is purely visual and does not affect calculations or signals
🔹 Customization
All settings can be adjusted in the indicator’s Inputs:
Toggle individual days on or off
Select custom candle colors per day
Instantly adapt the indicator to your trading style
🔹 Disclaimer
This indicator is intended for visual analysis only and should be used as a supportive tool alongside other forms of technical analysis.
It does not provide buy or sell signals.






















