AIO Entry Size CalculatorThis indicator is designed to help traders dynamically adjust their position size and drawdown expectations when their trading capital changes.
By entering your original backtest parameters — including base capital, base drawdown percentage, and base position size — along with your current capital, the script calculates two key scenarios:
Lock Drawdown %: Keeps the original drawdown percentage unchanged and calculates the new position size required.
Lock Position Size: Keeps the original position size unchanged and shows how your drawdown percentage will change.
The results are displayed in a clear, color-coded table, allowing you to instantly see how capital fluctuations affect your risk profile.
With customizable themes (dark/light) and highlight options, it’s an essential tool for risk management, portfolio rebalancing, and position sizing decisions based on real backtest data.
Additionally, this indicator is highly useful when combined with TradingView strategies — helping you interpret backtest results more accurately and translate them into real-world position sizing adjustments as your account balance evolves.
Indicators and strategies
Multi-Market Trend-Pullback Alerts (EMA20/50 + RSI) [v6]//@version=6 replaces 5
Some functions (like label.delete) need to be called as methods
Minor syntax tightening around string concatenation and label management
All alertcondition() and table logic still works, but must be explicitly version 6 compatible
Live Position SizerThis position calculator locks onto the live price in real time and calculates your lot and quantity size for you. Best for scalping if you don't want to open a limit order. You input all the necessary data (Account size, risk, SL placement, LONG/SHORT position, etc...) It also has a nifty feature of allowing you the ability to see TP brackets (+1R, +2R, +3R).
The best way I have used it is seeing where my potential SL will go before I consider opening a position and inputting that. Then when I'm ready to open a position, I already have it calculated for me.
MARA / mNAV=1 (x)What it does
This script overlays two signals on the MARA chart:
mNAV=1 fair-value line — the MARA price implied by Bitcoin NAV:
mNAV1 = (BTC price × BTC holdings) / MARA shares
Premium/Discount ratio — how far MARA trades vs. its NAV fair value:
Ratio = Close / mNAV1 (1.00 = fair; >1 = premium; <1 = discount)
Inputs
Shares outstanding (default: 370,460,000)
BTC holdings (official or estimated; you can roll forward +25 BTC/day if you want)
BTC symbol used for pricing (e.g., BTCUSD, BTCUSDT, BTCUSDTPERP)
How to use
When Price < mNAV=1 and Ratio < 1.00 → MARA trades at a discount to BTC NAV (potential mean-reversion if BTC is stable).
When Price > mNAV=1 and Ratio > 1.00 → premium (premium often compresses during BTC chop/weakness).
Rule of thumb (with ~53k BTC and 370.46M shares): +$1,000 BTC ≈ +$0.14 on the mNAV=1 line.
Visuals
Blue line = mNAV=1 (fair value) plotted directly on the MARA chart.
Purple line = Ratio (×) on a separate right-hand scale centered around 1.00.
Optional shading: green when Ratio > 1.05 (+5% premium), red when Ratio < 0.95 (−5% discount).
Alerts (suggested)
Premium > +5%: Ratio > 1.05
Discount < −5%: Ratio < 0.95
Notes
This is a proxy for NAV parity; it assumes your BTC holdings input is correct (official last report or your estimate).
Choice of BTC symbol matters; use the feed that best matches your workflow (spot, perp, or index).
The ratio is most informative when BTC is range-bound; during fast BTC moves MARA can overshoot temporarily.
JNGO - Moving Average Convergence DivergenceMACD Script Im testing out among friends for Moving Average Convergence Divergence
Multiple Moving Averages [JopAlgo]Multiple Moving Averages — read trend, timing, and strength at a glance
What it does:
Mark up to 5 moving averages (you pick type + length + color). Watch how they stack, slope, braid, and fan out to judge trend direction, pullback timing, and breakout quality on any timeframe.
Read it in 5 seconds
Stack order:
Bullish: fast MAs on top of slow MAs.
Bearish: fast MAs below slow MAs.
Slope: up = trend has a tailwind; down = headwind.
Spacing: wide = strong trend; tight/braided = balance/chop.
If you remember only one rule: trade with the stack and slope, enter at levels.
High-probability plays (simple and repeatable)
Trend pullback (with level)
Stack is bullish, slopes up.
Price pulls back to the MA cluster (or AVWAP/VAL), holds, fast MAs curl back up.
Long. Stop: below structure/slowest MA. Target: POC/HVNs or next swing.
(Mirror for shorts in a bearish stack.)
Reclaim + recurl
After a down phase, price closes above fast MAs (MA1–MA2), they turn up, and you’re at a real level (AVWAP/VA edge).
Take the first higher-low with the stack starting to flip.
Squeeze → expansion
MAs braid tight = energy building.
Break at a level, then the lines fan out in your direction.
Enter on the first retest that holds.
Skip trades when the lines are braided mid-range and you’re not at a level.
Timeframe guide (what usually works)
1–5m (scalps): EMA heavy (e.g., 5/9/21/34/55). Expect more signals; filter with levels + CVD.
15m–1H (intraday): 9/21/34/50/200 (mix EMA for fast, SMA for slow).
2H–4H (swing): 10/20/50/100/200 or 8/21/34/55/89 (smoother read).
1D+ (position): 20/50/100/200 (bias) and enter on lower TF.
Tip: Don’t set all five to the same length—stagger them so the stack tells a story.
Settings that matter (and what they mean)
MA types (pick the feel you like):
EMA – fastest response (great for timing).
SMA – smoother backbone (great for bias).
WMA / LWMA – responsive but less twitchy than EMA.
VWMA – weights price by volume (good on assets with uneven volume).
SMMA – very smooth (reduces whips).
DEMA – extra fast (can be noisy).
HEMA – in this script behaves like a double-EMA style response (fast).
RVIMA – not implemented here (will plot nothing if chosen).
Length:
Shorter = earlier turns, more noise.
Longer = slower, cleaner bias.
Keep a sensible spread (e.g., 1:2:3… or Fib-style 9/21/34/55/89).
Colors:
Use consistent colors (e.g., warm = fast, cool = slow) so you can read the stack instantly.
Best combos with other tools
Volume Profile v3.2: take signals at VAH/VAL/LVNs; use POC/HVNs for targets.
Anchored VWAP: reclaims/rejections + MA recurl = clean timing.
CVDv1: execute with flow (Alignment OK, strong Imbalance, no Absorption against you).
Common mistakes this prevents
Shorting into a bullish stack (or buying into a bearish one).
Chasing far from the fast MAs; better to wait for a pullback.
Trading every wiggle in chop—braids tell you to do less.
Quick FAQs
Cluttered chart? Hide 1–2 lines (keep fast, middle, slow) or thin the linewidth.
Which one is “right”? None. Pick a set that fits your tempo and stick to it.
RVIMA option? Not implemented in this version—choose another type.
Starter presets (copy these, then adjust)
Intraday: MA1 EMA9, MA2 EMA21, MA3 SMA34, MA4 SMA50, MA5 SMA200
Swing: MA1 EMA10, MA2 SMA20, MA3 SMA50, MA4 SMA100, MA5 SMA200
Scalp: MA1 EMA5, MA2 EMA9, MA3 EMA21, MA4 EMA34, MA5 EMA55
Mini-disclaimer
Educational tool, not financial advice. Always anchor trades to levels, flow, and risk—this indicator keeps your bias and timing honest; the plan is still yours.
Total Points Moved by exp3rtsThis lightweight utility tracks the total intraday range of price movement, giving you real-time insight into market activity.
It calculates:
🟩 Bullish Points – Total range from bullish candles (close > open)
🟥 Bearish Points – Total range from bearish candles (close < open)
🔁 Total Points Moved (TPM) – Sum of all high–low ranges for the day
Values are pulled from the 1-second chart for high precision and displayed in a compact tag in the top-right corner.
Multi-Timeframe Trend ImprovedMulti-Timeframe Trend Improved — Volatility Stop & Trend Change Alerts
This script tracks trend direction across four customizable timeframes using a Volatility Stop method based on ATR. It displays:
VolStop levels and trend direction (Uptrend/Downtrend) per timeframe.
Bars since the last trend change in each timeframe.
A customizable table showing all data with color-coded trends.
Visual alerts via triangle shapes on the chart when a trend change occurs.
🔧 Fully configurable:
Timeframes (e.g., 65min, 4H, Daily, Weekly)
ATR length, multiplier, and smoothing
Table location, font size, border width, and label color
Ideal for traders who want a clear multi-timeframe overview of market trends and volatility-based support/resistance levels.
Howard Intraday Edge (JH Edge) - (VWAP + EMA9/EMA21 + RSI)Howard Intraday Edge (JH Edge)
A disciplined intraday trading system by J. Howard.
Uses VWAP, EMA 9/21, RSI, and Optional EMA 200 to confirm trends and momentum.
Automatically plots Clean stop-loss and take profit levels. Built for SPY 0DTE-5DTE options, but works on other liquid tickers.
Focus: 1-3 high probability trades/day with tight risk control.
Best used on 1 or 3 minute timeframes.
Atlantean Sideways / Range Regime DetectorPurpose
When using trend based indicators, you can skip the false signals when there is a sideways action, protecting you from the false signals.
Flags likely sideways/range phases using three checks:
Weak trend (ADX from DMI)
Price compression (Bollinger Band Width, normalized)
Low volatility (NATR = ATR/Price%)
Logic
isSideways = (ADX < adxThresh) AND (bbNorm < 0.25) AND (NATR < natrMax)
When true: bars + background turn teal and a provisional Range High/Low (rolling rangeWin) is drawn.
Key Inputs
DMI: diLen(22)
Optimized for 15 mins Bitcoin, could change it to 14 for more general approach
ADX: adxSmooth(14), adxThresh(18)
Volatility: lenATR(14), natrMax(1.8)
Visuals: rangeWin(20), bar/range toggles
Quick Tuning
More signals: raise adxThresh to 20–25, raise natrMax to 2.5–4.0, increase BB cutoff by editing bbNorm < 0.25 --> 0.35–0.50.
Smoother range lines: increase rangeWin to 30–40.
Use Cases
Mean reversion inside teal ranges.
Breakout prep when price closes outside the drawn range after teal ends. Could be used as a signal although not suggested.
Filter trend systems: skip trades when sidewaysCond is true. This is the main purpose, for it to be combined with trend based indicators, like Supertrend.
Alert
“Sideways Detected” triggers when isSideways is true.
Script could be expanded upon your requests.
Trend Candle CounterComplete Tutorial: Trend Candle Counter Pine ScriptTable of Contents
Installation Guide
Understanding the Indicator
How It Works
Customization Options
Trading Strategies
Setting Up Alerts
Troubleshooting
1. Installation Guide {#installation}Step-by-Step Installation:Step 1: Open TradingView
Go to www.tradingview.com
Log in to your account
Step 2: Access Pine Editor
Click on "Pine Editor" tab at the bottom of the chart
Or press Alt + E (Windows) or Option + E (Mac)
Step 3: Create New Indicator
Click "Open" → "New blank indicator"
Delete any default code
Step 4: Paste the Script
Copy the entire Trend Candle Counter script
Paste it into the editor
Step 5: Save and Apply
Click "Save" (or Ctrl + S)
Give it a name: "Trend Candle Counter"
Click "Add to Chart"
✅ Done! The indicator should now appear on your chart.2. Understanding the Indicator {#understanding}What Does It Do?This indicator numbers each candle based on the current trend: {scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;} ::-webkit-scrollbar{display:none}Trend TypeNumberingVisualUptrend+1, +2, +3, +4...🟢 Green labelsDowntrend-1, -2, -3, -4...🔴 Red labelsTrend ChangeResets to ±1Label color switchesVisual Components:
Candle Labels - Numbers above each candle
Trend Line (EMA) - Green (up) / Red (down)
Background Shading - Light green/red tint
Info Table - Top-right corner showing:
Current trend direction
Current candle number
Current price
3. How It Works {#how-it-works}Trend Detection Logic:IF Close > EMA → UPTREND (positive counting)
IF Close < EMA → DOWNTREND (negative counting)
Counting Mechanism:Example Uptrend:Candle 1: Close > EMA → Label: +1
Candle 2: Close > EMA → Label: +2
Candle 3: Close > EMA → Label: +3
Candle 4: Close < EMA → Label: -1 (trend changed!)
Example Downtrend:Candle 1: Close < EMA → Label: -1
Candle 2: Close < EMA → Label: -2
Candle 3: Close < EMA → Label: -3
Candle 4: Close > EMA → Label: +1 (trend changed!)
Key Insight:The higher the absolute number, the longer the trend has been running!4. Customization Options {#customization}Accessing Settings:
Click the gear icon ⚙️ next to the indicator name
Go to "Inputs" tab
Available Parameters: {scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;} ::-webkit-scrollbar{display:none}ParameterDefaultDescriptionRecommendationTrend Detection Length14EMA period for trend5-10: Scalping14-20: Day trading50-200: Swing tradingShow Candle Numbers✅ YesDisplay labelsDisable for cleaner chartLabel SizeSmallSize of numbersTiny: Multi-timeframeLarge: Focus on one chartUptrend ColorGreenPositive number colorCustomize to preferenceDowntrend ColorRedNegative number colorCustomize to preferenceOptimization by Trading Style:For Scalpers (1m - 5m charts):Trend Detection Length: 5-10
Label Size: Tiny
Show Labels: Optional (can be cluttered)
For Day Traders (15m - 1h charts):Trend Detection Length: 14-20
Label Size: Small
Show Labels: Yes
For Swing Traders (4h - Daily charts):Trend Detection Length: 50-100
Label Size: Normal
Show Labels: Yes
5. Trading Strategies {#strategies}Strategy 1: Trend Reversal TradingEntry Signals:
Buy: When counter changes from negative to +1
Sell: When counter changes from positive to -1
Confirmation:
Wait for +2 or -2 to confirm trend strength
Use additional indicators (RSI, MACD) for validation
Example:Candle: -5, -6, -7, -8, +1, +2 ← BUY HERE
Stop Loss: Below the -8 candle low
Target: When counter reaches +8 to +10
Strategy 2: Trend Continuation TradingEntry Signals:
Buy: Enter on pullbacks during uptrend (e.g., at +3, +5, +7)
Sell: Enter on bounces during downtrend (e.g., at -3, -5, -7)
Risk Management:
Avoid entering at high numbers (+15, -15) - trend may be exhausted
Example:Candle: +1, +2, +3 ← Small pullback, BUY
Continue: +4, +5, +6, +7
Exit: When counter resets to -1
Strategy 3: Trend Exhaustion DetectionWarning Signs:
Counter reaches +10 or higher → Uptrend may be overextended
Counter reaches -10 or lower → Downtrend may be overextended
Action:
Tighten stop losses
Take partial profits
Watch for reversal patterns (doji, engulfing)
Strategy 4: Multi-Timeframe AnalysisSetup:
Add indicator to 3 timeframes (e.g., 15m, 1h, 4h)
Look for alignment
Best Trades:15m: +1 (new uptrend)
1h: +5 (established uptrend)
4h: +3 (strong uptrend)
→ HIGH PROBABILITY BUY
6. Setting Up Alerts {#alerts}Built-in Alert Conditions:The script includes 2 automatic alerts:
"Uptrend Started" - Triggers when counter = +1
"Downtrend Started" - Triggers when counter = -1
How to Set Up Alerts:Step 1: Right-click on chart
Select "Add Alert"
Step 2: Configure Alert
Condition: Select "Trend Candle Counter"
Choose: "Uptrend Started" or "Downtrend Started"
Options:
Once per bar close (recommended)
Webhook URL (for automation)
Step 3: Notification Settings
✅ Popup
✅ Send email
✅ Push notification (mobile app)
✅ Play sound
Step 4: Create Alert
Click "Create"
Custom Alert Ideas:Alert for Specific Candle Numbers:
Notify when counter reaches +5 or -5
Notify when counter exceeds +10 or -10 (exhaustion)
7. Troubleshooting {#troubleshooting}Common Issues & Solutions:Issue 1: Labels are too cluttered
Solution:
Disable "Show Candle Numbers" in settings
Use larger timeframe
Reduce label size to "tiny"
Issue 2: Too many false signals
Solution:
Increase "Trend Detection Length" (e.g., 20, 50)
Wait for +2 or -2 confirmation
Combine with other indicators
Issue 3: Trend line doesn't match price action
Solution:
Adjust EMA length to match your trading style
Consider using different trend detection (SMA, HMA)
Issue 4: Indicator not showing on chart
Solution:
Check if it's in a separate pane - move to main chart
Refresh the page
Re-add the indicator
Issue 5: Counter seems delayed
Solution:
This is normal - indicator confirms on candle close
For faster signals, use lower timeframe
Reduce EMA length (but expect more noise)
8. Advanced Tips 💡Combining with Other Indicators:Best Combinations:
RSI + Trend Candle Counter
Buy at +1 when RSI > 50
Sell at -1 when RSI < 50
MACD + Trend Candle Counter
Confirm +1 with MACD bullish crossover
Confirm -1 with MACD bearish crossover
Volume + Trend Candle Counter
Strong trends (+1) should have increasing volume
Low volume at high numbers (+10) = exhaustion
Reading Market Psychology: {scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;} ::-webkit-scrollbar{display:none}Counter ValueMarket Psychology+1 to +3Early adopters entering+4 to +7Momentum building+8 to +12FOMO phase+13+Extreme greed - caution!-1 to -3Early sellers-4 to -7Panic building-8 to -12Capitulation-13+Extreme fear - reversal likely9. Real Trading Example 📊Scenario: BTC/USD 1H ChartTime | Counter | Action
--------|---------|----------------------------------
10:00 | -8 | Downtrend established
11:00 | -9 | Still falling
12:00 | -10 | Exhaustion zone - watch closely
13:00 | +1 | ✅ BUY SIGNAL - Trend reversal!
14:00 | +2 | Confirmation - trend valid
15:00 | +3 | Hold position
16:00 | +4 | Add to position (optional)
17:00 | +5 | Move stop loss to breakeven
...
22:00 | +11 | Take partial profits
23:00 | +12 | Tighten stop loss
00:00 | -1 | ❌ EXIT - Trend reversed
Market Mode Risk IndicatorMarket Mode Risk Indicator v1.1
This custom indicator helps traders gauge market risk sentiment by monitoring Exponential Moving Average (EMA) or Simple Moving Average (SMA) crossovers on key indices like BIST 100 (for Turkish markets), NASDAQ Composite (tech-focused US), or Dow Jones Industrial Average (industrial US). It dynamically categorizes the market into three actionable modes based on the index's position relative to layered MAs, providing a quick visual snapshot without cluttering your chart.
Risk Modes Explained:
RISK OFF (Red): Index closes below the Long MA (default 50 periods) – signals bearish caution; time to tighten stops or reduce exposure.
RISK TEST (Orange): Index above Medium MA1 (21 periods) and Extra Long MA (55 periods), but below Short MA (10 periods) and above Long MA – a transitional "test" phase; watch for confirmation before entering.
RISK ON (Green): Index above all MAs (Short, Medium, Long, Extra Long) – bullish green light; favorable for longs or momentum plays.
How It Works:
The core logic uses boolean checks on the index's close price against user-defined MA lengths. For example:
It pulls live data from your selected index via request.security.
Computes MAs with ternary operators for EMA (ta.ema) or SMA (ta.sma) based on your choice.
Mode detection relies on AND/OR conditions (e.g., aboveShort and aboveMed1 and aboveLong and aboveExtraLong for RISK ON) to filter noise and focus on meaningful shifts.
No lookahead bias – all calculations are historical and real-time compatible. Defaults (10/21/50/55) are inspired by common Fibonacci-inspired periods for balanced sensitivity.
Alerts fire only on mode transitions (e.g., from RISK OFF to ON) to prevent spam, using alertcondition with dynamic messages including price and ticker.
Customization Options:
Index & MA Settings: Switch EMA/SMA; tweak lengths (min 1 period) for your timeframe (e.g., shorter for intraday).
Display: Position the table (top/bottom, left/right); toggle MA values on/off.
Looks: Background/border/text colors, transparency (0-100%) for theme matching.
Built in Pine Script v5 for efficiency – lightweight, no repaints.
Usage Tips:
Add to any stock chart (e.g., GARAN for BIST analysis).
Select your index in settings; refresh chart if switching MA type.
Use on daily/4H timeframes for swing trading; alerts via email/SMS for hands-free monitoring.
Pro Tip: Combine with volume or RSI for confirmation – RISK ON + rising volume = stronger buy signal.
Trend Discovery by Alex Trend States (Up / Reversal / Down)Author: © Alex Neighbors
Version: v6
The Call/Put Arrow Indicator is a complete market direction tool that identifies high-probability CALL (bullish) and PUT (bearish) opportunities using a combination of:
Simple Moving Averages (SMA)
RSI Momentum
MACD confirmation
VWAP trend filtering
Real-time trend classification (Trending Up, Trending Down, or Reversal)
It provides visual buy/sell arrows, trend labels, and alerts, helping traders quickly recognize optimal option entry points and directional momentum changes.
*** How It Works
✅ CALL Arrow (Green, Up Arrow Below Candle):
Triggered when:
Fast SMA > Slow SMA (uptrend)
RSI > Threshold (default 55)
MACD Line > Signal Line
(Optional) Price > VWAP
🔻 PUT Arrow (Red, Down Arrow Above Candle):
Triggered when:
Fast SMA < Slow SMA (downtrend)
RSI < Threshold (default 45)
MACD Line < Signal Line
(Optional) Price < VWAP
**Trend Detection System:
Trending Up: Both SMAs rising with bullish alignment
Trending Down: Both SMAs falling with bearish alignment
Trend Reversal: Detected instantly when Fast SMA crosses the Slow SMA (marked by a diamond)
Visuals
🟩 Green arrows below candles for CALL entries
🟥 Red arrows above candles for PUT entries
🟢/🔴 Diamonds mark trend reversals
Trend status panel in the top-right corner
Optional background or bar coloring for quick visual confirmation
Alerts
You can create alerts for:
CALL Buy Signal
PUT Buy Signal
Trend Reversal Up
Trend Reversal Down
All alerts trigger exactly when arrows or reversals appear on the chart.
--Best Use
Works on any symbol or timeframe (scalping, swing, or trend trading)
Optimized for SPX, QQQ, TSLA, and high-volume tickers
Ideal for traders combining options flow or price action confirmation
Customization
You can adjust:
SMA lengths
RSI thresholds
MACD parameters
VWAP filter toggle
Background/bar coloring and panel display
Why Traders Love It
Simple, clean chart visuals
Non-repainting, confirmed-bar signals
Multi-filter logic for high accuracy
Trend panel for instant context
Use this indicator to stay on the right side of the market.
Identify reversals early, trade the momentum confidently, and never miss your next CALL or PUT setup again.
Multi MA Cross [JopAlgo]Multi MA Cross — simple, flexible trend + timing
What it does:
Plots two moving averages (you pick the types and lengths) and marks their crossovers. Use it to read trend direction and time pullbacks/breakouts. Works on any timeframe.
What you’ll see
Short MA (orange)
Long MA (lime)
Cross mark (aqua ✚) when they cross
Green/lime above orange = bullish bias (short MA above long).
Orange above lime = bearish bias.
How to use it (simple playbook)
Trade with the bias
Longs only when short MA > long MA.
Shorts only when short MA < long MA.
Enter at a real level
Use Volume Profile v3.2 (VAH/VAL/POC/LVNs) or Anchored VWAP .
Crosses at or just after a level hold are higher quality.
Quality check (optional, strong)
CVDv1 : take trades when Alignment = OK, Imbalance strong, Absorption ≠ red.
Manage risk
Stop goes beyond the level/structure, not on an MA wiggle.
Trim into POC/HVNs or next structure.
Good entries you’ll recognize
Pullback-to-long MA (trend):
Bias up, price pulls to long MA (or AVWAP/VAL), short MA curls back up → enter long.
Reclaim + cross:
Price reclaims AVWAP/VA edge, then short MA crosses over long → confirmation to join.
Squeeze → break:
MAs converge (tight), then expand after a level break. Enter on retest that holds.
Skip crosses in the middle of nowhere. Cross + location + flow beats cross alone.
Timeframe guidance
1–5m (scalps): EMA/EMA or EMA/WMA. Expect more crosses. Use VP/AVWAP and CVD filters.
15m–1H (intraday): EMA(9) vs SMA(21) is a solid default.
2H–4H (swing): SMA(20–34) vs SMA(50) or EMA(21) vs EMA(55).
1D+ (position): SMA(50) vs SMA(200) for broad bias; entries on lower TF.
Settings that matter (and what they mean)
Short/Long MA Type:
EMA = fast, good for timing.
SMA = smooth, good for bias.
WMA/LWMA = in-between (responsive).
VWMA = weights by volume.
SMMA = very smooth (reduces whips).
HEMA/DEMA = extra responsive.
VWAP = daily session VWAP (anchor), ignores length in practice.
Short/Long Length:
Short = timing sensitivity.
Long = trend backbone.
Keep a ratio ~ 1:2 to 1:3 (e.g., 9/21, 10/30, 20/50).
Note on VWAP option: The script fetches a daily VWAP anchor. It acts like a fair-value line, not a rolling MA. Your Length won’t affect VWAP.
Filters that boost win rate
Slope check: Only take longs when both MAs slope up; shorts when both slope down.
Distance check: Don’t chase if price is far from the short MA; wait for a pullback.
HTF agreement: On 15m, glance at 1H/4H bias; on 4H, glance at 1D. Trade with the higher-TF wind.
Combos that work
Volume Profile v3.2: Use VAH/VAL/POC/LVNs for entries/targets. Cross at those references is meaningful.
Anchored VWAP: Reclaims/rejections first, MA cross second = cleaner timing.
CVDv1: Only act when flow agrees (ALIGN OK, no Absorption against you).
Common mistakes this avoids
Shorting into an up-bias (or vice versa).
Chasing a cross far from value (wait for the pullback).
Trading every cross in chop (use levels + CVD to filter).
Defaults to start with
Short MA: EMA 9
Long MA: SMA 21
Timeframes: 15m–4H
Process: Bias → Level → Cross/Retest → CVD check → Execute
Quick disclaimer
Educational tool, not financial advice. Test first, size sensibly, and always anchor your trades to levels, flow, and risk.
RTH & ETH High/Low (Today & Prev)RTH and ETH High Low Indicator. This draws a line for the ETH and RTH highs and lows for todays session and yesterdays session. it allows you to toggle off any of the 8 potential levels as well as change the colour of the 8 levels. WIP
Equinivesh : TR, ATR, DATR Combined BY ANUPAM ANAND Equinivesh: TR, ATR, DATR Combined BY ANUPAM ANAND
3SMA (1H only) by tophengzkyThis script plots three Simple Moving Averages (SMA 10, 20, 50), but they are only visible when the chart timeframe is set to 1 hour (1H).
It helps traders focus on higher timeframe trend direction without cluttering charts on other timeframes.
SMA1 = 10 (white)
SMA2 = 20 (yellow)
SMA3 = 200 (red)
Works only on 1H timeframe
Useful for swing traders and intraday traders who rely on hourly trend confirmation.
why 1 hr only? the only purpose of this is just to know the bias of the market weather it will reverse or it will continue the trend. As long as the price action did not cross this 3 SMA's the trend will continue.
as a trend trader it is very useful this strategy.. make it simple!
Trend/Range Composite (Single-Line) v1.4🔹 Step 1: Add it to your chart
Copy the whole script.
In TradingView → Pine Editor → paste it.
Click Add to chart.
It will show a white line in a subwindow, plus thresholds at 40 and 60, and a colored background.
Optional: You’ll see a status box (top-right of chart) with details like ADX, ATR, slope, etc.
🔹 Step 2: Understand the Score
The indicator compresses all signals into a 0–100 “Trend Strength Score”:
≥ 60 = TREND (teal background)
→ Market is trending, consider trend strategies like vertical spreads, runners, breakouts.
≤ 40 = RANGE (orange background)
→ Market is choppy/sideways, consider range strategies like butterflies, condors, mean-reversion fades.
40–60 = MIXED (gray background)
→ Indecision / chop. Best to reduce size or wait for clarity.
🔹 Step 3: Use with Your Trading Plan
Intraday (5m, 15m, 30m)
Score < 40 → play support/resistance bounces, fade extremes.
Score > 60 → play momentum breakouts or pullback continuations.
Daily chart
Good for swing context (is this month trending or just chopping?).
🔹 Step 4: Alerts
You can set TradingView alerts:
Cross above 60 → market entering trend mode.
Cross below 40 → market entering range mode.
Useful if you don’t want to watch constantly.
🔹 Step 5: Confirm with Price Levels
The score tells you “trend vs range”, but you still need levels:
If score < 40 → mark PDH / PDL (previous day high/low), VAH/VAL, VWAP. Expect rejections/fades.
If score > 60 → watch for breakouts beyond PDH/PDL or supply/demand zones.
Commodity Channel Index (CCI)An indicator with increased convenience and customization options. Effective for scalping.
Advanced Market Trend Analyzer//@version=5
indicator("Advanced Market Trend Analyzer", shorttitle="AMT Analyzer", overlay=true)
// Input parameters
rsi_length = input.int(14, "RSI Length")
ema_fast = input.int(9, "Fast EMA")
ema_slow = input.int(21, "Slow EMA")
volume_ma_length = input.int(20, "Volume MA Length")
overbought = input.int(70, "Overbought Level")
oversold = input.int(30, "Oversold Level")