Custom Buy and Sell Signal with S&R [IMDS Versi]**Deskripsi Skrip: Custom Buy and Sell Signal with S&R **
Skrip ini adalah **indikator custom** yang memberikan **sinyal Buy dan Sell berdasarkan Support & Resistance (S&R)** secara otomatis. Cocok untuk semua **timeframe** dan dapat digunakan di **forex, indeks, emas (XAUUSD), dan kripto**.
🔥 **Fitur Utama:**
✅ Sinyal Buy & Sell otomatis berdasarkan level S&R
✅ Cocok untuk **Scalping, Intraday, dan Swing Trading**
✅ Bisa dikombinasikan dengan **indikator tambahan** seperti Moving Average, RSI, dan Fibonacci
✅ Alert otomatis untuk **notifikasi real-time**
✅ **Akurasi tinggi** untuk menangkap peluang entry terbaik
💡 **Cara Pakai:**
1️⃣ Pasang skrip di **TradingView**
2️⃣ Gunakan di timeframe **M1-M5 untuk scalping**, atau **H1 ke atas untuk swing**
3️⃣ Konfirmasi dengan price action & indikator tambahan untuk hasil maksimal
🚀 **Optimalkan trading Anda dengan indikator IMDS Versi ini!** 🚀
Forecasting
Astro: Moon SizeThe Astro: Moon Size indicator, built using AstroLib , calculates the distance and visualizes the apparent size of the Moon based on astronomical positioning. This script is tailored for the 1D timeframe and provides insights into lunar perigees (closest approach) and apogees (farthest distance), making it useful for astrologically-informed trading strategies.
New Astro Indicators Feature:
By setting the Julian Date to X number of days in the future, and offsetting the plot by X number of bars accordingly, it is now possible to visualize future projections of TradingView indicators that reference the AstroLib . This feature has been long requested and is far overdue, so thank you to everyone who pushed for this feature release. Enjoy, time travelers from the future!!
Key Features:
Moon Size Calculation: Uses Julian Date (J2000) conversion and AstroLib functions to determine the Moon's apparent distance.
Future Projection: Displays the Moon's distance from 28 up to 500 days ahead, with color gradients indicating proximity/size.
Pivot Identification: Marks local maxima (apogees) and minima (perigees) with labeled date stamps for easy reference.
Dynamic Labeling: Adapts label positioning and size based on the Moon's current trend and relative size.
Usage Notes:
⚠️ Timeframe Restriction: For now, the script only functions on the 1D timeframe and will prompt an error otherwise.
⚠️ Asset Restriction: This script is meant to be loaded on charts for assets that trade 24/7, like BTCUSD historical index.
Üç Beyaz Asker ve Üç Siyah Karga FormasyonlarıThis code is a custom indicator written for use on the TradingView platform. The code is designed to detect "Three White Soldiers" and "Three Black Crows" formations and scan stocks where these formations occur. It also displays the stocks where these formations occur in a table.
Working Logic
The code searches for Three White Soldiers and Three Black Crows formations in the specified stocks and time period.
It detects the stocks where the formations occur and displays these stocks in a table.
The table is positioned in the upper right corner of the chart and lists the stocks where the formations occur.
Usage Scenario
The user selects the stock group and time period they want to scan.
The code searches for formations in the selected stocks and displays the results it finds in a table.
The user can determine trading strategies according to the results in the table.
Customization
The code can be easily customized for different stocks and time periods.
New formations or scanning criteria can be added.
This code is a useful tool especially for traders who do technical analysis and allows automatic detection of certain formations.
Supertrend with Percentage HysteresisThis Pine Script indicator is designed to generate buy and sell signals based on the Supertrend indicator, with an added layer of hysteresis to filter out small, insignificant price fluctuations. It provides visual cues through background coloring and buy/sell arrows.
Key Features:
Supertrend Calculation:
The script calculates the Supertrend indicator using the Average True Range (ATR).
Users can customize the ATR period and multiplier through input parameters.
It offers the option to choose between two ATR calculation methods.
Percentage-Based Hysteresis:
To prevent signals from flipping back and forth due to minor price changes, the script incorporates a percentage-based hysteresis.
Users can adjust the hysteresis percentage through the "Hysteresis Percentage" input.
This feature ensures that a signal change only occurs when the price moves beyond a certain percentage threshold, effectively filtering out noise.
Buy and Sell Signal Generation:
Buy signals are generated when the Supertrend indicates an uptrend and the price crosses above a calculated hysteresis level.
Sell signals are generated when the Supertrend indicates a downtrend and the price crosses below a calculated hysteresis level.
The script stores the previous trend, so signals are only generated when the trend changes.
Visual Cues:
Buy/Sell Arrows: Green upward-pointing triangles are plotted below the chart for buy signals, and red downward-pointing triangles are plotted above the chart for sell signals.
Background Coloring: The background below the chart is colored green during buy signals, and the background above the chart is colored red during sell signals.
The Supertrend lines themselves are not plotted, leaving a cleaner chart.
Alerts:
The script includes alert conditions for buy and sell signals, allowing users to receive notifications when signals are generated.
Input Parameters:
ATR Period: The period used to calculate the Average True Range (ATR).
ATR Multiplier: The multiplier applied to the ATR.
Change ATR Calculation Method?: A boolean option to switch between different ATR calculation methods.
Hysteresis Percentage: The percentage threshold that the price must move beyond to trigger a signal change.
How It Works:
Supertrend Calculation: The script first calculates the Supertrend indicator based on the user-defined parameters.
Hysteresis Levels: It then calculates the hysteresis levels based on the Supertrend lines and the hysteresis percentage.
Signal Generation: The script monitors the Supertrend direction and price movements. When the price crosses a hysteresis level in the opposite direction of the current trend, a signal is generated.
Visual and Alert Outputs: The script plots arrows, colors the background, and triggers alerts based on the generated signals.
Use Cases:
This indicator is useful for traders who want to identify potential trend reversals while minimizing the impact of short-term price fluctuations.
It can be used in various markets and timeframes, and the input parameters can be adjusted to suit different trading styles.
Important Notes:
Like any indicator, the Supertrend with Percentage Hysteresis is not foolproof and should be used in conjunction with other forms of technical analysis.
Experiment with the input parameters to find the optimal settings for your trading strategy.
This script does not plot the supertrend lines, only the buy/sell signals, and the background coloring.
TA Monks - EntriesEntry tool for users who depend on setting entry, stop and profit target based on a candle from the M1, M5 or M15 chart. Created following the Photon FX entry models, this tool allows for automatic lot size calculation and it's easy to set up per forex pair/gold.
All the user must do is set their account balance, risk percentage, target reward, asset pair and the rest is automatically set on the charts with the tool.
Tips:
- Activate a level that once hit, set stop loss at a particular level, default is at the break even
- Set entry type as either STOP or LIMIT
a) On Stop, the tool will activate the trade once price goes above the entry line (formed by the candle size + entry buffer set per pair)
b) On Limit, the same activation level as in STOP is required for the tool to activate the trade but it allows the user to enter Limit at a lower level based on the percentage of the entry candle (default is 0.5, which means 50%). In this mode, The user waits for the liquidity candle to be gained and the enter at a lower price of the range within such candle, increasing the R with the risk of missing the trade.
- On the right bottom corner, you will have certain key informations about the trade, such as time opened, time closed, MFE (maximum forward excursion - how many pips price went in favor of the trade), MAE (maximum adversary excursion - how many pips price went past the selected candle's size without buffer), LC (Liquidity candle size), XBf (extra Buffer - only appears when activated in the menu)
- Extra Buffer setting allow user to add extra buffer for the entry and extra buffer for the Stop Loss that has been set per asset pair. Note that the entry buffer only works with the STOP entry mode and if you want to change the entry level on LIMIT, you must use the limit entry percentage setting.
- If you trade an asset pair that is not supported by the tool, simply copy the code and ask an LLM to update it with the necessary pair. You dont need to know how to code, just let the AI do the hard work for you (preferably, you know the basics and you can ask the AI to read the script and update just the right snippets).
Feel free to adjust and adapt the code to your needs. Let me know if you made any cool changes that I might benefit from as well.
HHHL Long Strategy with 61.8% Entryhigh win rate and high RR, my code only do long, and only take higher high and higher low for that
Mr. Laz's Fibonacci MASmoothed Fibonacci Moving Average
This indicator plots six Fibonacci retracement levels overlaid on the chart, with each level smoothly adjusted using an Exponential Moving Average (EMA). The Fibonacci levels are calculated based on the highest high and lowest low over a user-defined period, and they represent key support and resistance zones that traders often watch for price reversals.
The six Fibonacci retracement levels plotted are:
0% (Fib 0): Top level (representing the highest point in the range).
23.6% (Fib 23.6%)
38.2% (Fib 38.2%)
50% (Fib 50%)
61.8% (Fib 61.8%)
100% (Fib 100): Bottom level (representing the lowest point in the range).
These levels are smoothed using a user-defined Smoothing Length, which helps reduce the "zig-zag" nature of the lines and provides a more gradual, smoother appearance as they follow the price movement. The indicator allows you to adjust the smoothing factor to control how sensitive the lines are to price changes.
The colors of the Fibonacci levels are customizable and are plotted from top to bottom as:
Red (for Fib 100%)
Green (for Fib 23.6%)
Orange (for Fib 38.2%)
White (for Fib 50%)
Blue (for Fib 61.8%)
Purple (for Fib 0%)
This indicator is useful for identifying key support and resistance zones based on Fibonacci retracement levels, with the added benefit of smoothing to make the lines more visually appealing and less prone to sudden shifts.
Average Daily Range ProjectionsCreates a trailing high and low projection based on the Average Daily Range.
Track the Session High and Low to determine the Daily Range.
Average the Daily Range by a fixed Period to create an Average Daily Range .
Track the Prior Daily Range .
Track the Current Daily Range .
Track the % of Range completion relative to the CDR & ADR(P).
From the Session Low, project an Average Daily Range High by adding the ADR.
From the Session High, project an Average Daily Range Low by subtracting the ADR.
When %R reaches 100% or greater, the ADR HI & LO will lock, showing the range break out or break down. As the Session High and Low create the Daily Range, observe the reaction of price as it reaches the limit of the expected daily range.
On strongly trending days, CDR is likely greater than PDR and ADR(P). Price can break away.
On ranging days, %R may fail to reach 100% and CDR may be lesser than PDR and ADR(P). Price can bounce around within the bounds of ADR HI & LO.
Money Flow (MFI)The Money Flow (MFI) indicator is a custom tool that blends price action with volume analysis to help you assess market momentum. It calculates a Money Flow value by taking the difference between the close and open, normalized by the price range (high minus low), then multiplies this by a user-defined factor and smooths the result using a simple moving average. An offset is subtracted to set a zero reference, which helps you quickly determine if the indicator is in positive territory (suggesting bullish money flow) or negative territory (suggesting bearish money flow).
HMA Hidden Signals (1H Optimized)HMA və Repainting
HMA-nın təbiəti: HMA, WMA (Weighted Moving Average) hesablamalarına əsaslanır və nəzəri olaraq "repainting" etmir, çünki o, cari çubuğun bağlanmasını gözləyir və keçmiş məlumatlara əsaslanaraq hesablanır. Yəni, bir çubuk bağlandıqdan sonra HMA dəyəri dəyişmir — bu, onu "non-repainting" edir.
Sənin skriptin: Skriptdə ta.crossover və ta.crossunder funksiyaları istifadə olunur ki, bunlar da cari və əvvəlki HMA dəyərlərini müqayisə edir (hma və prevHma). Bu funksiyalar da keçmişdəki dəyərləri dəyişdirmir, sadəcə mövcud məlumatlara əsaslanaraq siqnal yaradır.
Həcm Filtri
Skriptdə həcm filtiri (volumeConfirmed = volume > volumeMa * 1.2) də var. Bu da real vaxtda hesablanan SMA (Simple Moving Average) istifadə edir və keçmiş çubukların dəyərlərini dəyişdirmir. Həcm də cari çubuğun bağlanmasına əsaslanır, ona görə də burada da "repainting" problemi yoxdur.
Nəticə
Bu skript "non-repainting"dir. Çünki:
HMA dəyərləri çubuk bağlandıqdan sonra dəyişmir.
Siqnallar (crossover və crossunder) yalnız cari və əvvəlki çubukların sabit dəyərlərinə əsaslanır.
Həcm filtiri də keçmişdəki məlumatları yenidən çəkmir.
Əlavə Qeyd
Əgər sən "non-repainting" olmasını təmin etmək üçün əlavə yoxlama istəyirsənsə, skripti test edə bilərsən: Tarixi məlumatlarda siqnalların yerindən oynayıb-oynamadığına bax. Amma kodun strukturuna görə, bu indikator yenidən çəkilməməlidir. Başqa sualın varsa, soruş!
Golden Cross & Death CrossThe Golden Cross & Death Cross Indicator is a powerful tool for identifying key trend reversals in the market. It detects when a 50-period Simple Moving Average (SMA) crosses a 200-period SMA, signaling potential bullish or bearish momentum shifts. This version is optimized for a clean and professional TradingView experience, ensuring minimal distractions while maintaining high visibility.
Key Features:
✅ Optimized SMA Settings – Uses the widely recognized 50-SMA (short-term) and 200-SMA (long-term) for reliable trend analysis.
✅ Minimalist Design – Displays only the "GC" (Golden Cross) and "DC" (Death Cross) text markers without background boxes, keeping the chart clean.
✅ Color-Coded Signals – Green for Golden Cross (bullish trend) and Red for Death Cross (bearish trend) for easy identification.
✅ Customizable & Lightweight – Designed for efficiency, with adjustable moving average periods to fit different trading strategies.
How It Works:
Golden Cross (Bullish Signal) 🟢: The 50-SMA crosses above the 200-SMA, indicating a potential uptrend.
Death Cross (Bearish Signal) 🔴: The 50-SMA crosses below the 200-SMA, suggesting a possible downtrend.
Signals are placed directly on the chart as small text labels without clutter, enhancing readability.
Best Use Cases:
📈 Swing Trading – Identifies long-term trend shifts for strategic trade entries.
📉 Position Trading – Confirms larger market movements for investors.
⏳ Trend Confirmation – Helps filter out false signals when combined with other indicators like RSI or MACD.
Risk Managemententer your account size and risk percentage and automatatically caluclate risk onb your account
Enhanced KLSE Banker Flow Oscillator# Enhanced KLSE Banker Flow Oscillator
## Description
The Enhanced KLSE Banker Flow Oscillator is a sophisticated technical analysis tool designed specifically for the Malaysian stock market (KLSE). This indicator analyzes price and volume relationships to identify potential smart money movements, providing early signals for market reversals and continuation patterns.
The oscillator measures the buying and selling pressure in the market with a focus on detecting institutional activity. By combining money flow calculations with volume filters and price action analysis, it helps traders identify high-probability trading opportunities with reduced noise.
## Key Features
- Dual-Timeframe Analysis: Combines long-term money flow trends with short-term momentum shifts for more accurate signals
- Adaptive Volume Filtering: Automatically adjusts volume thresholds based on recent market conditions
- Advanced Divergence Detection: Identifies potential trend reversals through price-flow divergences
- Early Signal Detection: Provides anticipatory signals before major price movements occur
- Multiple Signal Types: Offers both early alerts and strong confirmation signals with clear visual markers
- Volatility Adjustment: Adapts sensitivity based on current market volatility for more reliable signals
- Comprehensive Visual Feedback: Color-coded oscillator, signal markers, and optional text labels
- Customizable Display Options: Toggle momentum histogram, early signals, and zone fills
- Organized Settings Interface: Logically grouped parameters for easier configuration
## Indicator Components
1. Main Oscillator Line: The primary banker flow line that fluctuates above and below zero
2. Early Signal Line: Secondary indicator showing potential emerging signals
3. Momentum Histogram: Visual representation of flow momentum changes
4. Zone Fills: Color-coded background highlighting positive and negative zones
5. Signal Markers: Visual indicators for entry and exit points
6. Reference Lines: Key levels for strong and early signals
7. Signal Labels: Optional text annotations for significant signals
## Signal Types
1. Strong Buy Signal (Green Arrow): Major bullish signal with high probability of success
2. Strong Sell Signal (Red Arrow): Major bearish signal with high probability of success
3. Early Buy Signal (Blue Circle): First indication of potential bullish trend
4. Early Sell Signal (Red Circle): First indication of potential bearish trend
5. Bullish Divergence (Yellow Triangle Up): Price making lower lows while flow makes higher lows
6. Bearish Divergence (Yellow Triangle Down): Price making higher highs while flow makes lower highs
## Parameters Explained
### Core Settings
- MFI Base Length (14): Primary calculation period for money flow index
- Short-term Flow Length (5): Calculation period for early signals
- KLSE Sensitivity (1.8): Multiplier for flow calculations, higher = more sensitive
- Smoothing Length (5): Smoothing period for the main oscillator line
### Volume Filter Settings
- Volume Filter % (65): Minimum volume threshold as percentage of average
- Use Adaptive Volume Filter (true): Dynamically adjusts volume thresholds
### Signal Levels
- Strong Signal Level (15): Threshold for strong buy/sell signals
- Early Signal Level (10): Threshold for early buy/sell signals
- Early Signal Threshold (0.75): Sensitivity factor for early signals
### Advanced Settings
- Divergence Lookback (34): Period for checking price-flow divergences
- Show Signal Labels (true): Toggle text labels for signals
### Visual Settings
- Show Momentum Histogram (true): Toggle the momentum histogram display
- Show Early Signal (true): Toggle the early signal line display
- Show Zone Fills (true): Toggle background color fills
## How to Use This Indicator
### Installation
1. Add the indicator to your TradingView chart
2. Default settings are optimized for KLSE stocks
3. Customize parameters if needed for specific stocks
### Basic Interpretation
- Oscillator Above Zero: Bullish bias, buying pressure dominates
- Oscillator Below Zero: Bearish bias, selling pressure dominates
- Crossing Zero Line: Potential shift in market sentiment
- Extreme Readings: Possible overbought/oversold conditions
### Advanced Interpretation
- Divergences: Early warning of trend exhaustion
- Signal Confluences: Multiple signal types appearing together increase reliability
- Volume Confirmation: Signals with higher volume are more significant
- Momentum Alignment: Histogram should confirm direction of main oscillator
### Trading Strategies
#### Trend Following Strategy
1. Identify market trend direction
2. Wait for pullbacks shown by oscillator moving against trend
3. Enter when oscillator reverses back in trend direction with a Strong signal
4. Place stop loss below/above recent swing low/high
5. Take profit at previous resistance/support levels
#### Counter-Trend Strategy
1. Look for oscillator reaching extreme levels
2. Identify divergence between price and oscillator
3. Wait for oscillator to cross Early signal threshold
4. Enter position against prevailing trend
5. Use tight stop loss (1 ATR from entry)
6. Take profit at first resistance/support level
#### Breakout Confirmation Strategy
1. Identify stock consolidating in a range
2. Wait for price to break out of range
3. Confirm breakout with oscillator crossing zero line in breakout direction
4. Enter position in breakout direction
5. Place stop loss below/above the breakout level
6. Trail stop as price advances
### Signal Hierarchy and Reliability
From highest to lowest reliability:
1. Strong Buy/Sell signals with divergence and high volume
2. Strong Buy/Sell signals with high volume
3. Divergence signals followed by Early signals
4. Strong Buy/Sell signals with normal volume
5. Early Buy/Sell signals with high volume
6. Early Buy/Sell signals with normal volume
## Complete Trading Plan Example
### KLSE Market Trading System
#### Pre-Trading Preparation
1. Review overall market sentiment (bullish, bearish, or neutral)
2. Scan for stocks showing significant banker flow signals
3. Note key support/resistance levels for watchlist stocks
4. Prioritize trade candidates based on signal strength and volume
#### Entry Rules for Long Positions
1. Banker Flow Oscillator above zero line (positive flow environment)
2. One or more of the following signals present:
- Strong Buy signal (green arrow)
- Bullish Divergence signal (yellow triangle up)
- Early Buy signal (blue circle) with confirming price action
3. Entry confirmation requirements:
- Volume above 65% of 20-day average
- Price above short-term moving average (e.g., 20 EMA)
- No immediate resistance within 3% of entry price
4. Entry on the next candle open after signal confirmation
#### Entry Rules for Short Positions
1. Banker Flow Oscillator below zero line (negative flow environment)
2. One or more of the following signals present:
- Strong Sell signal (red arrow)
- Bearish Divergence signal (yellow triangle down)
- Early Sell signal (red circle) with confirming price action
3. Entry confirmation requirements:
- Volume above 65% of 20-day average
- Price below short-term moving average (e.g., 20 EMA)
- No immediate support within 3% of entry price
4. Entry on the next candle open after signal confirmation
#### Position Sizing Rules
1. Base risk per trade: 1% of trading capital
2. Position size calculation: Capital × Risk% ÷ Stop Loss Distance
3. Position size adjustments:
- Increase by 20% for Strong signals with above-average volume
- Decrease by 20% for Early signals without confirming price action
- Standard size for all other valid signals
#### Stop Loss Placement
1. For Long Positions:
- Place stop below the most recent swing low
- Minimum distance: 1.5 × ATR(14)
- Maximum risk: 1% of trading capital
2. For Short Positions:
- Place stop above the most recent swing high
- Minimum distance: 1.5 × ATR(14)
- Maximum risk: 1% of trading capital
#### Take Profit Strategy
1. First Target (33% of position):
- 1.5:1 reward-to-risk ratio
- Move stop to breakeven after reaching first target
2. Second Target (33% of position):
- 2.5:1 reward-to-risk ratio
- Trail stop at previous day's low/high
3. Final Target (34% of position):
- 4:1 reward-to-risk ratio or
- Exit when opposing signal appears (e.g., Strong Sell for long positions)
#### Trade Management Rules
1. After reaching first target:
- Move stop to breakeven
- Consider adding to position if new confirming signal appears
2. After reaching second target:
- Trail stop using banker flow signals
- Exit remaining position when:
- Oscillator crosses zero line in opposite direction
- Opposing signal appears
- Price closes below/above trailing stop level
3. Maximum holding period:
- 20 trading days for trend-following trades
- 10 trading days for counter-trend trades
- Re-evaluate if targets not reached within timeframe
#### Risk Management Safeguards
1. Maximum open positions: 5 trades
2. Maximum sector exposure: 40% of trading capital
3. Maximum daily drawdown limit: 3% of trading capital
4. Mandatory stop trading rules:
- After three consecutive losing trades
- After reaching 5% account drawdown
- Resume after two-day cooling period and strategy review
#### Performance Tracking
1. Track for each trade:
- Signal type that triggered entry
- Oscillator reading at entry and exit
- Volume relative to average
- Price action confirmation patterns
- Holding period
- Reward-to-risk achieved
2. Review performance metrics weekly:
- Win rate by signal type
- Average reward-to-risk ratio
- Profit factor
- Maximum drawdown
3. Adjust strategy parameters based on performance:
- Increase position size for highest performing signals
- Decrease or eliminate trades based on underperforming signals
## Advanced Usage Tips
1. Combine with Support/Resistance:
- Signals are more reliable when they occur at key support/resistance levels
- Look for banker flow divergence at major price levels
2. Multiple Timeframe Analysis:
- Use the oscillator on both daily and weekly timeframes
- Stronger signals when both timeframes align
- Enter on shorter timeframe when confirmed by longer timeframe
3. Sector Rotation Strategy:
- Compare banker flow across different sectors
- Rotate capital to sectors showing strongest positive flow
- Avoid sectors with persistent negative flow
4. Volatility Adjustments:
- During high volatility periods, wait for Strong signals only
- During low volatility periods, Early signals can be more actionable
5. Optimizing Parameters:
- For more volatile stocks: Increase Smoothing Length (6-8)
- For less volatile stocks: Decrease KLSE Sensitivity (1.2-1.5)
- For intraday trading: Reduce all length parameters by 30-50%
## Fine-Tuning for Different Markets
While optimized for KLSE, the indicator can be adapted for other markets:
1. For US Stocks:
- Reduce KLSE Sensitivity to 1.5
- Increase Volume Filter to 75%
- Adjust Strong Signal Level to 18
2. For Forex:
- Increase Smoothing Length to 8
- Reduce Early Signal Threshold to 0.6
- Focus more on divergence signals than crossovers
3. For Cryptocurrencies:
- Increase KLSE Sensitivity to 2.2
- Reduce Signal Levels (Strong: 12, Early: 8)
- Use higher Volume Filter (80%)
By thoroughly understanding and properly implementing the Enhanced KLSE Banker Flow Oscillator, traders can gain a significant edge in identifying institutional money flow and making more informed trading decisions, particularly in the Malaysian stock market.
TA Monks Sessions + NewsColor candles based on UTC+0 market sessions
Show inside bars
Show forex factory news on the chart as vertical lines for future news, red dots for past news and toggle visibility of weekly and daily news on the chart
Display current session on top left
Customizable 3-Candle Range BreakoutFeatures:
Customizable Candle Range (range_length):
The user can input the number of candles (range_length) used to calculate the highest high and lowest low for the range. This is done using the input.int function.
Customizable Timeframe (custom_timeframe):
The user can specify a custom timeframe for the range calculation using the input.timeframe function. The script will only consider the range based on the specified custom timeframe.
Range Box Visualization:
I’ve removed the shaded fill and replaced it with just the range lines (upper and lower levels) which form a "box" on the chart. The lines are created with line.new() and are updated dynamically as new bars are plotted.
Signal Generation:
Buy Signal: Triggered when the price breaks above the upper boundary of the range.
Sell Signal: Triggered when the price breaks below the lower boundary of the range.
Alerts:
Alerts are set up for both buy and sell signals with alertcondition(). You can set up notifications in TradingView when these signals occur.
How It Works:
The script first calculates the highest high and lowest low over the last range_length candles.
It then monitors the price to see if it breaks above or below the range.
The range box is plotted using line.new(), and a breakout signal is triggered when the price crosses these levels.
You can customize the range_length and custom_timeframe through the script’s settings.
Customization:
Range Length (range_length):
You can change the number of candles used to calculate the highest high and lowest low of the range. For example, setting range_length = 5 will use the last 5 candles.
Custom Timeframe (custom_timeframe):
You can choose a custom timeframe, such as "5", "15", "60", "D" (for daily), etc., depending on your analysis needs.
Example of Usage:
Breakout Signal: If you are on a 5-minute chart, you can set the custom_timeframe to "15" (15-minute) to define the range based on 15-minute candles, even though you're viewing the 5-minute chart.
Candle Range: Adjust range_length to the number of candles you want to track for the range calculation (e.g., 3 for a 3-candle range).
Sessioni di tradingTracker di sessione e analizzatore di volatilità
Questo indicatore è progettato per tenere traccia delle tre principali sessioni di mercato: Asia, Europa e America . Evidenzia in modo chiaro i periodi di ciascuna sessione direttamente sul grafico, aiutandoti a identificare i momenti di maggiore attività e volatilità.
Caratteristiche principali:
✅ Sessioni di mercato : Evidenzia le sessioni di Asia, Europa e America.
✅ Pips per candela : Calcola la variazione di ogni candela in pips, utile per monitorare la forza dei movimenti.
✅ Volatilità per sessione : Misura l'escursione totale in pips di ogni sessione, per individuare le ore più volatili.
✅ Adatto a tutti i timeframe : Funziona su qualsiasi timeframe, ma è particolarmente utile su M5, M15 e H1 .
Ideale per : day trader, scalper e chiunque voglia sfruttare la volatilità delle sessioni di mercato per migliorare il proprio trading.
KriVikriyaThis Indicator will help Inestor to take a wise decision like where to Buy and what level to exit
Global Liquidity Indicator in USDThis indicator aggregates the total central bank balance sheets and M2 money supply for the USA, Canada, China, European Union, Japan, and the UK, converting all values to USD and normalizing them to trillions for easy visualization. It plots three lines: Total Balance Sheet, Total M2, and Combined Total, providing a comprehensive view of global liquidity trends.
Key Features:
Dynamic Coloring: Customize line colors based on direction—green for upward trends, red for downward (or any colors you choose), with independent on/off toggles for each line.
Real-Time Currency Conversion: Uses live forex rates (e.g., USD/CNY, USD/EUR) for accurate USD conversions.
Smart Tracing [t.me/HolyGrailClub] v0.2aSmart Tracing v0.2a is a composite forecast indicator inspired by WD Gann methodology. It aggregates historical price moves from user-defined time ranges by calculating the change from each range’s initial close, then averages these deltas to project a future forecast line starting at a specified time. Licensed for non-commercial use.
Peter Lynch Value by TradingWiseЭтот скрипт вычисляет справедливую цену Peter Lynch (PLP) на основе коэффициента P/E и прибыли на акцию (EPS). Если справедливая цена выше текущей цены базового актива (БА), актив считается недооцененным (покупка). Если справедливая цена ниже текущей цены БА, актив считается переоцененным (продажа). Результаты отображаются на графике и в таблице.