Estratégia Original com SL/TPA powerful TradingView indicator combining:
✅ Supertrend (trend filter)
✅ RSI 2 (early reversals)
✅ SMA 4/9 crossover (momentum confirmation)
✅ Auto Stop Loss & Take Profit (ATR-based or fixed)
🔥 Key Features:
Buy Signals (↑): Supertrend green + RSI 2 > 30 + SMA 4 > SMA 9
Sell Signals (↓): Supertrend red + SMA 4 < SMA 9 (low false signals)
Risk Management: Dynamic SL (1.5x ATR) & TP (2x ATR)
Clean Visualization: Entry/exit arrows + SL/TP lines
📊 Ideal For: Crypto, Forex, and Stocks (H1/Daily timeframes)
🎯 Why Use It?
Aggressive entries with RSI 2 + SMA 4
Conservative exits to lock profits
Fully customizable settings
Indicatori e strategie
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!
Enhanced Range Filter Strategy with ATR TP/SLBuilt by Omotola
## **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**. 🚀
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
Estrategia 15 MINThe 50-EMA and 200-EMA are exponential moving averages (EMA) used in technical analysis to identify trends. The 50-EMA is used to analyze short- and medium-term trends, while the 200-EMA is used to analyze long-term trends.
50-EMA
Averaged over 50 periods
Allows for faster reaction to price changes
Used to analyze short- and medium-term trends
200-EMA
Averaged over 200 periods
Indicates an overall trend
Used to analyze long-term trends
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
Accumulation-Distribution CandlesThis enhanced price visualization tool interprets each candle through the lens of effort versus result, blending volume, range, and closing bias into a rich, color-coded display of Accumulation and Distribution pressure.
While compatible with any timeframe, this indicator is designed primarily for use on the 1D chart, where Wyckoff-style market phases are most clearly expressed. (Adjust visibility setting accordingly). After analyzing the high-timeframe phase, traders may switch to lower timeframes and apply faster execution tools more effectively.
Candle bodies are dynamically colored using a five-tier scale:
💙 Dark Blue — heavy accumulation
🩵 Pale Blue — mild accumulation
🌚 Gray — neutral / balanced behavior
💛 Pale Yellow — mild distribution
🧡 Deep Yellow — heavy distribution
Coloring is based on a normalized strength score, calculated using a blend of price movement and effort (with or without volume). This helps visually isolate Markup, Markdown, Re-accumulation, and Distribution at a glance.
The indicator also features optional microstructure overlays:
🟦 🟧 Zone highlighting — background shading for strong accumulation/distribution zones
📌 Pin bars — classic rejection wicks, optionally filtered by above-average volume
🔺 Fractals — 5-bar swing highs and lows, color-matched to the reference candle (not shown)
🟥 🟩 Engulfing candles — basic engulfing logic filtered by directional strength (not shown)
Every element is toggleable. The candle logic will auto-adjust for volume-less tickers such as DXY, and includes structural defaults for both traditional and crypto assets (5-day vs 7-day week logic).
🧐 Strategy tips: This tool is not meant to generate signals — it's meant to show the story. Start by identifying the market phase using the 1D chart, then move to lower timeframes with confluence tools such as SUPeR TReND 2.718 and/or the Granular MA Ribbon. This indicator is designed to slot cleanly into a multi-layered workflow of visual structure and informed execution.
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.
PivotLabelsLibrary "PivotLabels"
drawPivots(qtyLabels, leftLegs, rightLegs)
Displays a label for each of the last `qtyLabels` pivots.
Colors high pivots in green, low pivots in red, and breached pivots in gray.
Parameters:
qtyLabels (int) : (simple int) Quantity of last labels to display.
leftLegs (int) : (simple int) Left pivot legs.
rightLegs (int) : (simple int) Right pivot legs.
Returns: Nothing.
Money Flow Oscillator [BullByte]
Overview :
The Money Flow Oscillator is a versatile technical analysis tool designed to provide traders with insights into market momentum through the Money Flow Index (MFI). By integrating trend logic, dynamic support/resistance levels, multi-timeframe analysis, and additional indicators like ADX and Choppiness, this script delivers a detailed view of market conditions and signal strength—all while adhering to TradingView’s publication guidelines.
Key Features :
Money Flow Analysis :
Uses the MFI to assess buying and selling pressure, helping traders gauge market momentum.
Trend Switch Logic :
Employs ATR-based calculations to determine trend direction. The background color adjusts dynamically to signal bullish or bearish conditions, and a prominent center line changes color to reflect the prevailing trend.
Dynamic Support/Resistance :
Calculates oscillator support and resistance over a pivot lookback period. These levels help you identify potential breakouts or reversals as the MFI moves above or below prior levels.
Signal Metrics & Classifications :
Combines MFI values with additional metrics to classify signals into categories such as “Strong Bullish,” “Bullish,” “Bearish,” or “Strong Bearish.” An accompanying note provides details on momentum entry and overall signal strength.
Multi-Timeframe Order Flow Confirmatio n:
Analyzes the MFI on a higher timeframe to confirm order flow. This extra layer of analysis helps verify the short-term signals generated on your primary chart.
Volume and ADX Integration :
Incorporates volume analysis and a manual ADX calculation to further validate signal strength and trend stability. A dashboard displays these metrics for quick reference.
Choppiness Indicator :
Includes a choppiness index to determine if the market is trending or choppy. When the market is identified as choppy, the script advises caution by adjusting the overall signal note.
Comprehensive Dashboard :
A built-in dashboard presents key metrics—including ADX, MFI, order flow, volume score, and support/resistance details—allowing you to quickly assess market conditions at a glance.
How to Use :
Trend Identification : Monitor the dynamic background and center line colors to recognize bullish or bearish market conditions.
Signal Confirmation : Use the oscillator support/resistance levels along with the signal classifications and dashboard data to make informed entry or exit decisions.
Multi-Timeframe Analysis : Validate short-term signals with the higher timeframe MFI order flow confirmation.
Risk Management : Always combine these insights with your own risk management strategy and further analysis.
Disclaimer :
This indicator is provided for educational and informational purposes only. It does not constitute financial advice. Always perform your own analysis and use proper risk management before making any trading decisions. Past performance is not indicative of future results.
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.
ATR DistanceThis indicator plots two lines at distances defined by (Multiplier × ATR) above and below a selected price source (open, high, low, or close). By using a configurable Average True Range (ATR) length, it helps highlight volatility-based boundaries for more adaptive stop-loss or profit-taking decisions.
AltSeasonality - MTFAltSeason is more than a brief macro market cycle — it's a condition. This indicator helps traders identify when altcoins are gaining strength relative to Bitcoin dominance, allowing for more precise entries, exits, and trade selection across any timeframe.
The key for altcoin traders is that the lower the timeframe, the higher the alpha.
By tracking the TOTAL3/BTC.D ratio — a real-time measure of altcoin strength versus Bitcoin — this tool highlights when capital is rotating into or out of altcoins. It works as a bias filter, helping traders avoid low-conviction setups, especially in chop or during BTC-led conditions.
________________________________________________________________________
It works well on the 1D chart to validate swing entries during strong altcoin expansion phases — especially when TOTAL3/BTC.D breaks out while BTCUSD consolidates.
On the 4H or 1D chart, rising TOTAL3/BTC.D + a breakout on your altcoin = high-conviction setup. If BTC is leading, fade the move or reduce size. Consider pairing with the Accumulation - Distribution Candles, optimized for the 1D (not shown).
🔍 Where this indicator really excels, however, is on the 1H and 15M charts, where short-term traders need fast bias confirmation before committing to a move. Designed for scalpers, intraday momentum traders, and tactical swing setups.
Use this indicator to confirm whether an altcoin breakout is supported by broad market flow — or likely to fail due to hidden BTC dominance pressure.
________________________________________________________________________
🧠 How it works:
- TOTAL3 = market cap of altcoins (excl. BTC + ETH)
- BTC.D = Bitcoin dominance as % of total market cap
- TOTAL3 / BTC.D = a normalized measure of altcoin capital strength vs Bitcoin
- BTCUSD = trend baseline and comparison anchor
The indicator compares these forces side-by-side, using a normalized dual-line ribbon. There is intentionally no "smoothing".
When TOTAL3/BTC.D is leading, the ribbon shifts to an “altseason active” phase. When BTCUSD regains control, the ribbon flips back into BTC dominance — signaling defensive posture.
________________________________________________________________________
💡 Strategy Example:
On the 1H chart, a crossover into altseason → check the 15M chart for confirmation. Consider adding the SUPeR TReND 2.718 for confirmation (not shown). If both align, you have trend + flow confluence. If BTCUSD is leading or ribbon is mixed, reduce exposure or wait for confirmation. Further confirmation via Volume breakouts in your specific coin.
⚙️ Features:
• MTF source selection (D, 1H, 15M)
• Normalized ribbon (TOTAL3/BTC.D vs BTCUSD)
• Cross-aware fill shading
• Custom color and transparency controls
• Optional crossover markers
• Midline + zone guides (0.2 / 0.5 / 0.8)
Rally Starter BandsEnglish Description:
Rally Starter Bands – Pine Script Indicator
This is a Pine Script indicator designed to identify potential rally opportunities in the market using Bollinger Bands. It plots the traditional Bollinger Bands and highlights specific conditions where the upper and middle bands are rising while the lower band is falling. When these conditions are met, the indicator displays a green up arrow below the price bar, signaling a potential upward momentum.
---
Credits:
Strategy: Adem Ayan (x.com/ademayan66/status/1901706968508637483)
Screening Codes: Dip Avcısı (x.com/dipavcisi007)
SublimeDubs EMA CloudShoutout Ripster for open-sourcing his code! This is a slight improvement/update to his code. A lot is customizable via settings instead of in the script. You can change the colors more easily now. I also added lines with price labels for the clouds and offset them by x amount of bar lengths. I can't do much about the vertical spacing but at least you can move it horizontally.
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)
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.
--------------------------------------------------------------------------------------------------------------------
Multiple MAsHere's a well-written description in English for your "Multiple MAs" indicator that you can use when publishing on TradingView. It’s concise, professional, and highlights the key features of the indicator while explaining its purpose for traders.
---
### Multiple MAs Indicator
#### Overview
The **Multiple MAs** indicator is a versatile and straightforward tool designed to help traders visualize price trends using multiple Simple Moving Averages (SMAs) on a single chart. By plotting six SMAs with customizable lengths (MA5, MA10, MA20, MA50, MA100, and MA200), this indicator provides a clear view of short-term, medium-term, and long-term trends, making it ideal for trend-following strategies, crossover analysis, and identifying potential support/resistance levels.
#### Features
- **Customizable MA Lengths**: Adjust the periods of all six moving averages (MA5, MA10, MA20, MA50, MA100, MA200) to suit your trading style and timeframe.
- **Distinct Visuals**: Each MA is plotted with a unique color and line width for easy identification:
- MA5 (Dodger Blue, 1px)
- MA10 (Green, 1px)
- MA20 (Red, 2px)
- MA50 (Purple, 3px)
- MA100 (Gray, 3px)
- MA200 (White, 3px)
- **Overlay on Price Chart**: The indicator overlays directly on the price chart, allowing for seamless integration with other technical analysis tools.
- **High Precision**: Displays values with 8-decimal precision, ensuring accuracy for assets with small price movements (e.g., forex pairs or cryptocurrencies).
#### How to Use
1. **Trend Identification**: Use the longer MAs (e.g., MA100, MA200) to determine the overall trend direction. If the price is above these MAs, the trend is likely bullish; if below, it’s likely bearish.
2. **Crossover Signals**: Look for crossovers between shorter MAs (e.g., MA5 crossing MA20) for potential entry or exit signals. For example:
- A bullish signal occurs when a shorter MA crosses above a longer MA.
- A bearish signal occurs when a shorter MA crosses below a longer MA.
3. **Support and Resistance**: MAs often act as dynamic support or resistance levels. Watch for price reactions around these lines, especially the MA50, MA100, and MA200.
4. **Divergence Analysis**: Compare the slope of different MAs to identify potential trend reversals or weakening momentum.
#### Settings
- **MA5 Length**: Default is 5 bars.
- **MA10 Length**: Default is 10 bars.
- **MA20 Length**: Default is 20 bars.
- **MA50 Length**: Default is 50 bars.
- **MA100 Length**: Default is 100 bars.
- **MA200 Length**: Default is 200 bars.
#### Best Practices
- **Timeframe**: This indicator works on any timeframe but is particularly effective on daily, 4-hour, and 1-hour charts for swing trading or trend-following strategies.
- **Combine with Other Tools**: Pair the Multiple MAs with other indicators like RSI, MACD, or volume analysis to confirm signals and avoid false breakouts.
- **Adjust for Volatility**: For highly volatile assets, consider increasing the MA lengths to reduce noise and focus on broader trends.
#### Notes
- The indicator is lightweight and optimized for performance, ensuring it runs smoothly even on lower timeframes.
- Colors and line widths are pre-set for clarity but can be customized in the indicator settings if needed.
#### Credits
Created by kosar_v. Feedback and suggestions are welcome to improve this tool for the TradingView community!
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.
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().
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.