Smoothed Gaussian Trend Filter [AlgoAlpha]Experience seamless trend detection and market analysis with the Smoothed Gaussian Trend Filter by AlgoAlpha! This cutting-edge indicator combines advanced Gaussian filtering with linear regression smoothing to identify and enhance market trends, making it an essential tool for traders seeking precise and actionable signals.
Key Features :
🔍 Gaussian Trend Filtering: Utilizes a customizable Gaussian filter with adjustable length and pole settings for tailored smoothing and trend identification.
📊 Linear Regression Smoothing: Reduces noise and further refines the Gaussian output with user-defined smoothing length and offset, ensuring clarity in trend representation.
✨ Dynamic Visual Highlights: Highlights trends and signals based on volume intensity, allowing for real-time insights into market behavior.
📉 Choppy Market Detection: Identifies ranging or choppy markets, helping traders avoid false signals.
🔔 Custom Alerts: Set alerts for bullish and bearish signals, trend reversals, or choppy market conditions to stay on top of trading opportunities.
🎨 Color-Coded Visuals: Fully customizable colors for bullish and bearish signals, ensuring clear and intuitive chart analysis.
How to Use :
Add the Indicator: Add it to your favorites and apply it to your TradingView chart.
Interpret the Chart: Observe the trend line for directional changes and use the accompanying buy/sell signals for entry and exit opportunities. Choppy market conditions are flagged for additional caution.
Set Alerts: Enable alerts for trend signals or choppy market detections to act promptly without constant chart monitoring.
How It Works :
The Smoothed Gaussian Trend Filter uses a combination of advanced smoothing techniques to identify trends and enhance market clarity. First, a Gaussian filter is applied to price data, using a user-defined length (Gaussian length) and poles (smoothness level) to calculate an alpha value that determines the degree of smoothing. This creates a refined trend line that minimizes noise while preserving key market movements. The output is then further processed using linear regression smoothing, allowing traders to adjust the length and offset to flatten minor oscillations and emphasize the dominant trend. To incorporate market activity, volume intensity is analyzed through a normalized Hull Moving Average (HMA), dynamically adjusting the trend line's color transparency based on trading activity. The indicator also identifies trend direction by comparing the smoothed trend line with a calculated SuperTrend-style level, generating clear trend regimes and highlighting ranging or choppy conditions where trends are less reliable and avoiding false signals. This seamless integration of Gaussian smoothing, regression analysis, and volume dynamics provides traders with a powerful and intuitive tool for market analysis.
Indicators and strategies
Support and Resistance with Buy/Sell Signals**Support and Resistance with Buy/Sell Signals**
Support and resistance are key concepts in technical analysis used to identify price levels at which an asset tends to reverse or pause in its trend. These levels are pivotal for traders to anticipate potential entry (buy) or exit (sell) opportunities.
### **Support**
Support is a price level where a downward trend tends to pause or reverse due to an increase in buying interest. It acts as a "floor" for the price. Traders consider this level as an area to look for **buy signals**.
#### **Buy Signals near Support**:
1. **Bounce Confirmation**: When the price touches the support level and rebounds upward, confirming the strength of the support.
2. **Bullish Candlestick Patterns**: Patterns like hammers or engulfing candles forming at support levels suggest buying opportunities.
3. **Volume Increase**: A spike in trading volume at the support level often reinforces the likelihood of a reversal.
---
### **Resistance**
Resistance is a price level where an upward trend tends to pause or reverse due to an increase in selling pressure. It acts as a "ceiling" for the price. Traders consider this level as an area to look for **sell signals**.
#### **Sell Signals near Resistance**:
1. **Price Rejection**: When the price reaches the resistance level and fails to break above it, moving downward instead.
2. **Bearish Candlestick Patterns**: Patterns like shooting stars or bearish engulfing candles at resistance levels signal selling opportunities.
3. **Divergences**: If the price forms higher highs near resistance while an indicator (e.g., RSI) shows lower highs, it suggests weakening momentum.
---
### **Dynamic Indicators for Support and Resistance**
1. **Moving Averages**: Commonly used as dynamic support/resistance, especially the 50, 100, and 200-period moving averages.
2. **Fibonacci Retracements**: Highlight potential support and resistance levels based on mathematical ratios.
3. **Pivot Points**: Daily, weekly, or monthly pivot levels offer reliable zones for support and resistance.
---
### **Combining Buy/Sell Signals with Indicators**
To enhance accuracy, traders combine support and resistance levels with additional indicators such as:
- **RSI (Relative Strength Index)**: To confirm overbought (sell) or oversold (buy) conditions.
- **MACD (Moving Average Convergence Divergence)**: For momentum and trend reversals at key levels.
- **Volume Analysis**: To validate the strength of price movements near support or resistance.
By using support and resistance levels with these signals, traders can develop a structured approach to identifying high-probability trade setups.
IU Trailing Stop Loss MethodsThe 'IU Trailing Stop Loss Methods' it's a risk management tool which allows users to apply 12 trailing stop-loss (SL) methods for risk management of their trades and gives live alerts when the trailing Stop loss has hit. Below is a detailed explanation of each input and the working of the Script.
Main Inputs:
- bar_time: Specifies the date from which the trade begins and entry price will be the open of the first candle.
- entry_type: Choose between 'Long' or 'Short' positions.
- trailing_method: Select the trailing stop-loss method. Options include ATR, Parabolic SAR, Supertrend, Point/Pip based, Percentage, EMA, Highest/Lowest, Standard Deviation, and multiple target-based methods.
- exit_after_close: If checked, exits the trade only after the candle closes.
Optional Inputs:
ATR Settings:
- atr_Length: Length for the ATR calculation.
- atr_factor: ATR multiplier for SL calculation.
Parabolic SAR Settings:
- start, increment, maximum: Parameters for the Parabolic SAR indicator.
Supertrend Settings:
- supertrend_Length, supertrend_factor: Length and factor for the Supertrend indicator.
Point/Pip Based:
- point_base: Set trailing SL in points/pips.
Percentage Based:
- percentage_base: Set SL as a percentage of entry price.
EMA Settings:
- ema_Length: Length for EMA calculation.
Standard Deviation Settings:
- std_Length, std_factor: Length and factor for standard deviation calculation.
Highest/Lowest Settings:
- highest_lowest_Length: Length for the highest/lowest SL calculation.
Target-Based Inputs:
- ATR, Point, Percentage, and Standard Deviation based target SL settings with customizable lengths and multipliers.
Entry Logic:
- Trades initiate based on the entry_type selected and the specified bar_time.
- If Long is selected, a long trade is initiated when the conditions match, and vice versa for Short.
Trailing Stop-Loss (SL) Methods Explained:
The strategy dynamically adjusts stop-loss based on the chosen method. Each method has its calculation logic:
- ATR: Stop-loss calculated using ATR multiplied by a user-defined factor.
- Parabolic SAR: Uses the Parabolic SAR indicator for trailing stop-loss.
- Supertrend: Utilizes the Supertrend indicator as the stop-loss line.
- Point/Pip Based: Fixed point-based stop-loss.
- Percentage Based: SL set as a percentage of entry price.
- EMA: SL based on the Exponential Moving Average.
- Highest/Lowest: Uses the highest high or lowest low over a specified period.
- Standard Deviation: SL calculated using standard deviation.
Exit Conditions:
- If exit_after_close is enabled, the position will only close after the candle confirms the stop-loss hit.
- If exit_after_close is disabled, the strategy will close the trade immediately when the SL is breached.
Visualization:
The script plots the chosen trailing stop-loss method on the chart for easy visualization.
Target-Based Trailing SL Logic:
- When a position is opened, the strategy calculates the initial stop-loss and progressively adjusts it as the price moves favorably.
- Each SL adjustment is stored in an array for accurate tracking and visualization.
Alerts and Labels:
- When the Entry or trailing stop loss is hit this scripts draws a label and give alert to the user that trailing stop has been hit for the trade.
Note - on the historical data The Script will show nothing if the entry and the exit has happened on the same candle, because we don't know what was hit first SL or TP (basically how the candle was formed on the lower timeframe).
Summary:
This script offers flexible trailing stop-loss options for traders who want dynamic risk management in their strategies. By offering multiple methods like ATR, SAR, Supertrend, and EMA, it caters to various trading styles and risk preferences.
Harmonic Heikin-Ashi TraderHarmonic Heikin-Ashi Trader
A comprehensive tool for traders who prefer a blend of trend analysis and technical signals. This script offers:
Heikin-Ashi Candles
Smoothens market noise to help identify trends with ease.
Candles change dynamically based on calculated Heikin-Ashi open, high, low, and close.
Custom Background Color
Customize the chart's background for improved clarity and focus.
EMAs with Buy/Sell Signals
Two customizable Exponential Moving Averages (EMAs).
Visual buy/sell signals when EMA crossover events occur.
MACD Integration
Detect momentum shifts with the classic MACD indicator.
Configurable fast, slow, and signal line parameters.
Generates buy/sell signals for actionable insights.
Customizable Display
Toggle signal visibility for a cleaner or more detailed chart.
Price line harmonized with the background color.
Harmonic Heikin-Ashi Trader is designed for all trading styles and enhances decision-making in dynamic markets.
흑트 시그널sThis indicators is a long or short signals based on multiple trading techniques publicly open by 흑백트레이더. Short description of its features are following.
Indicator Features
1. BW1(흑트1):
* Combines EMA, MACD, and additional filters (e.g., ATR distance, stochastic RSI) to generate buy/sell signals.
* Includes multi-timeframe checks (15m, 30m, 1h, 4h) for trend confirmation.
* Optional background color and shapes display signals visually on the chart.
* Alerts for detected buy/sell spots.
2. BW2(흑트2):
* Focuses on MACD Golden Cross (GC) and Dead Cross (DC) signals.
* Uses additional filters like minimum/maximum bar intervals, percentage change between MACD crosses, price divergence, and RSI thresholds.
* Designed to filter out noise in ranging or highly volatile markets.
3. BW3(흑트3):
* Utilizes WaveTrend oscillator (WT1 and WT2) for GC and DC signals.
* Incorporates overbought/oversold levels and divergence between crosses for better precision.
* Similar to the previous components, provides visual markers and alerts for signals.
Technical Components
* Moving Averages (EMA):
* 50 EMA and 200 EMA are used for trend detection.
* Signals are filtered based on the position of the price relative to these EMAs.
* MACD:
* Buy signals occur when the histogram crosses above zero in a bullish trend.
* Sell signals occur when the histogram crosses below zero in a bearish trend.
* Stochastic RSI:
* Identifies overbought/oversold conditions.
* Provides additional confirmation for long/short positions.
* WaveTrend (WT1/WT2):
* Calculates price momentum and divergence.
* Detects key market reversal points when crossing certain thresholds (e.g., overbought/oversold).
* ATR (Average True Range):
* Used to calculate the distance between the price and EMA200.
* Filters signals based on whether the price deviation from EMA200 exceeds a predefined threshold.
Customization Options
* Visualization:
* Users can toggle between background colors or triangle shapes to display signals.
* Filters:
* Enable/disable filters such as ATR, EMA alignment, Stochastic RSI, and MACD divergence.
* Alerting:
* Predefined alert conditions for buy/sell signals ensure users are notified in real time.
Use Cases
* Trend Confirmation:
* Multi-timeframe EMA checks ensure the signals align with higher timeframe trends.
* Noise Reduction:
* Filters like RSI thresholds, ATR distance, and MACD divergence help reduce false signals.
* Scalping and Swing Trading:
* Suitable for both short-term scalping and longer-term trades due to adjustable timeframes.
인디케이터 특징
1. 흑트1 :
* EMA, MACD, 추가 필터(예: ATR 거리, 스토캐스틱 RSI)를 결합하여 매수/매도 신호를 생성
* 다중 시간대 확인(15분, 30분, 1시간, 4시간)을 통해 트렌드를 확인.
* 배경 색상과 도형을 선택적으로 사용하여 신호를 차트에 시각적으로 표시.
* 감지된 매수/매도 지점에 대해 알림 설정.
2. 흑트2:
* MACD 골든 크로스(GC) 및 데드 크로스(DC) 신호에 집중.
* MACD 교차 간 최소/최대 바 간격, MACD 교차 간 가격 변동, 가격 다이버전스, RSI 임계값 등 추가 필터를 사용.
* 범위가 좁거나 변동성이 큰 시장에서의 노이즈를 필터링하기 위해 설계.
3. 흑트3 :
* WaveTrend 오실레이터(WT1, WT2)를 사용하여 조건에 맞는 더블 GC 및 DC 에서 신호를 발생.
* 과매도/과매수 수준과 교차 다이버전스를 활용하여 더 정밀한 신호를 제공.
* 이전 구성 요소와 유사하게, 신호에 대한 시각적 마커와 알림을 제공.
기술적 구성 요소
* 이동평균 (EMA):
* 50 EMA와 200 EMA는 트렌드 감지에 사용.
* 가격이 이들 EMA와 비교했을 때 신호가 필터링.
* MACD:
* 히스토그램이 제로를 넘어서면 매수 신호가 발생.
* 히스토그램이 제로 아래로 내려가면 매도 신호가 발생.
* Stochastic RSI:
* 과매도/과매수 상태를 감지.
* 롱/숏 포지션에 대한 추가 확인을 제공.
* WaveTrend (WT1/WT2):
* 가격 모멘텀과 다이버전스를 계산.
* 특정 임계값(예: 과매도/과매수)을 넘을 때 시장의 주요 반전 지점을 감지.
* ATR (Average True Range):
* 가격과 EMA200 사이의 거리를 계산.
* 가격의 EMA200에서 벗어난 정도가 미리 설정된 임계값을 초과하는 경우 신호를 필터링.
사용자 설정 옵션
* 시각화:
* 배경 색상 또는 삼각형 도형을 선택적으로 사용하여 신호를 표시 가능.
* 필터:
* ATR, EMA 정렬, 스토캐스틱 RSI, MACD 다이버전스 등의 필터를 활성화/비활성화 가능.
* 알림:
* 미리 설정된 알림 조건에 따라 매수/매도 신호가 발생하면 실시간으로 알림 설정 가능.
Chart InfoOVERVIEW
What would a general summary of the symbol on the chart look like? Here’s an example: This script was created to help you easily access the essential details of a symbol, which I believe are critical for daily use.
CONCEPTS
When using any indicator or analysing price movement, the characteristics of the chart become important. Each symbol has a unique character and the more we can quickly find out about it, the better. Instead of embedding those details within each individual indicator, it is often more practical to access these data through an external tool. This indicator presents the following results related to the symbol on your chart in a table format:
ID : Ticker ID (Exchange, Base Currency, and Quote Currency)
TIMEFRAME : The chart's time period
START : The starting date of the chart
FINISH : The finishing date of the chart
INTERVAL : The total time between the start and finish dates (based on timeframe). The current bar is not included in the total time until it is closed.
BAR INDEX : The total number of bars on the chart (can also be viewed in both forward and backward directions in the data window as a series type).
VOLATILITY : Percentage ratio of 14-bar ATR to close.
CHANGE : The daily percentage change.
HODL : The percentage return that would be gained if the symbol had been bought and held since the first bar.
DAILY BUY : The percentage return that would be gained if the same amount of buying was made daily (a kind of DCA).
MECHANICS
This is a very simple script. I didn't add user-defined timestamp inputs because I didn’t want to overwhelm the indicator with parameters. However, if requested, i can make improvements in this direction in a second version.
NOTES
I live in Istanbul, so I designed the default timezone offset as GMT+3. Please remember to adjust it according to your own timezone to ensure the date results are accurate.
I hope it helps everyone. Do not forget to manage your risk. And trade as safely as possible. Best of luck!
Fear and Greed Trading Strategy By EquityPath (Dev Hunainmq)Description:
🚀 **Fear and Greed Trading Strategy for TradingView** 🚀
Take your trading to the next level with this innovative and automated **Fear and Greed Index-based strategy**. 🎯 This strategy leverages the powerful **emotional drivers of the market**—fear and greed—to help you make smarter, data-driven trading decisions. Designed for traders of all experience levels, this tool provides seamless buy and sell signals to capitalize on market sentiment.
🔴 **Fear Zone:** Automatically triggers a sell when the market sentiment shifts toward extreme fear, signaling potential downturns.
🟢 **Greed Zone:** Automatically triggers a buy when the market sentiment trends toward extreme greed, signaling potential growth opportunities.
---
### **Features:**
✅ **Dynamic Buy and Sell Signals:** Executes trades automatically based on sentiment thresholds.
✅ **Position Management:** Trades a fixed quantity (e.g., 100 shares) for simplicity and risk control.
✅ **Threshold Customization:** Adjust fear and greed levels (default: 25 for fear, 75 for greed) to suit your trading style.
✅ **Visual Cues:** Clear labels and visual plots of the Fear and Greed Index on the chart for easy interpretation.
✅ **Fully Automated Execution:** Hands-free trading when connected to a supported broker in TradingView.
---
### **Who Is This Strategy For?**
📈 Crypto Traders
📈 Stock Traders
📈 Forex Traders
📈 Anyone looking to incorporate **market psychology** into their trading!
With sleek design and powerful automation, this strategy ensures you stay ahead of the market by aligning your trades with the ebb and flow of investor sentiment. Whether you're a beginner or an experienced trader, this strategy simplifies the process and enhances your edge. 💡
---
### Hashtags:
#TradingStrategy #FearAndGreedIndex #MarketSentiment #TradingAutomation #AlgorithmicTrading #CryptoTrading #StockMarket #ForexTrading #TechnicalAnalysis #SmartTrading #TradingTools #EmotionalTrading #GreedZone #FearZone #TradingSuccess #PineScript
[blackcat] L1 Small Wave Operation L1 Small Wave Operation
Overview
Are you looking to catch those elusive small waves in the market? Look no further than " L1 Small Wave Operation." This script offers a unique way to identify potential buying opportunities by analyzing price movements, volume changes, and trend directions. With customizable inputs and clear visual indicators, it’s designed to help traders spot favorable entry points with precision.
Features
Dynamic Signal Identification: Automatically detects two types of buy signals labeled "S" and "B."
Adaptable Parameters: Allows users to adjust low period, high period, EMA periods, SMA period, and various threshold values to fine-tune the strategy.
Visual Clarity: Plots K and D lines along with four distinct threshold levels for easy visualization.
Condition-Based Signals: Uses multiple conditions including volume increases, price actions, and crossover events to confirm signals.
How It Works
Calculate Percent Range: Determines where the current closing price lies within the recent low and high range.
Compute Moving Averages: Calculates Exponential Moving Average (EMA) and Simple Moving Average (SMA) of the percent range.
Define Conditions: Checks for bullish or strong bullish patterns, uptrends, and specific crossover events between K and D lines.
Generate Signals: Marks potential buying opportunities when predetermined conditions are met.
How To Use
Add this script to your TradingView chart.
Adjust the input parameters according to your preferred settings.
Monitor the plotted lines and look for "S" and "B" labels indicating buy signals.
Consider incorporating these signals into a broader trading strategy that includes risk management techniques.
What Makes It Special
Flexibility: Users can easily modify parameters to adapt the script to different markets or personal preferences.
Automation: Saves time by automatically scanning for trade setups based on predefined rules.
Comprehensive Analysis: Combines multiple factors like volume, price action, and moving averages to provide reliable signals.
Limitations
Past performance does not guarantee future results.
Market conditions can vary, affecting signal reliability.
Not suitable for very short-term trades without additional refinements.
Notes
Always perform backtesting on historical data before implementing live trades.
Understand the underlying logic of the script to avoid misinterpretation of signals.
Regularly review and adjust parameters based on changing market dynamics.
measure last swing [keypoems]MEASURE LAST SWING
Version: v0.0.7
An indicator for measuring market swings and calculating position sizing based on pivot points and risk parameters. Helps traders visualize price swings and automatically compute position sizes based on their desired risk amount.
FEATURES:
• Identifies and tracks last pivot point in price action
• Displays visual measurements of price swing
• Calculates position sizes based on risk parameters
• Supports major futures contracts with automatic multiplier detection
HOW IT WORKS:
The indicator detects pivot highs and lows using your specified pivot strength, then draws measurement lines and calculates position sizes based on your risk parameters. It automatically cleans up old drawings when new pivot points are identified.
INPUT PARAMETERS:
General Settings:
• Risk Amount - Amount you want to risk per trade
• Pivot Strength - Bars required on either side to confirm a pivot
• Offset - Number of bars to offset the vertical line
Visual Settings:
• Horizontal and Vertical Lines - Customizable colors, widths (1-4), and styles
• Labels - Adjustable text color and size
CONTRACT MULTIPLIERS:
Automatically detects and applies the correct multiplier:
• ES (E-mini S&P 500): 50.0
• MES (Micro E-mini S&P 500): 5.0
• NQ (E-mini Nasdaq): 20.0
• MNQ (Micro E-mini Nasdaq): 2.0
• YM (E-mini Dow): 5.0
• MYM (Micro E-mini Dow): 0.5
• Other symbols: 1.0 (default)
DISPLAY ELEMENTS:
1. Horizontal line showing the level of the last pivot point
2. Vertical line measuring the distance to current price
3. Distance label showing point distance
4. Risk/Position label showing risk amount and calculated position size
POSITION SIZING:
Position Size = Floor(Risk Amount / (Distance in Points × Contract Multiplier))
IDEAL FOR:
• Measuring price swings for technical analysis
• Position sizing based on risk management rules
• Identifying potential entry and exit points
• Visual analysis of market structure
• Risk management automation
XAUUSD STRATGEY BUY AND SELL SIGNALSThis indicator primarily focuses on the concepts of Overbought and Oversold conditions, serving as a tool for short-term trading strategies. It provides modest yet reliable signals for traders. The fundamental operation of the indicator is outlined as follows:
For purchasing, the indicator monitors the asset for an Oversold condition as indicated by the Relative Strength Index (RSI). Subsequently, a buy signal is generated when the price chart crosses the lower boundary of the Envelope indicator from below to above.
Conversely, for selling, the indicator observes the asset for an Overbought condition according to the RSI. A sell signal is triggered when the price chart crosses the upper boundary of the Envelope indicator from above to below.
The underlying principle is the alignment between the price movement and the RSI readings.
The optimal settings I have developed are as follows:
- Time frame: 15 minutes
- Overbought threshold: 80
- Oversold threshold: 25
- RSI Length: 8
This approach can be applied across various financial instruments, but it is essential to establish clear profit and loss limits.
Дивергенции RSI//@version=6
indicator("Дивергенции RSI", shorttitle="RSI Divergence", overlay=true)
// Параметры
rsiLength = input(14, title="Длина RSI")
rsiSource = close
// Расчет RSI
rsi = ta.rsi(rsiSource, rsiLength)
// Определение пиков и впадин
peakPrice = ta.highest(close, 5)
troughPrice = ta.lowest(close, 5)
peakRsi = ta.highest(rsi, 5)
troughRsi = ta.lowest(rsi, 5)
// Логика для определения дивергенций
bullishDiv = (troughPrice < troughPrice) and (troughRsi > troughRsi)
bearishDiv = (peakPrice > peakPrice) and (peakRsi < peakRsi)
// Отображение сигналов на графике
if bullishDiv
label.new(bar_index, low, "Бычья дивергенция", color=color.green, style=label.style_label_up, textcolor=color.white)
if bearishDiv
label.new(bar_index, high, "Медвежья дивергенция", color=color.red, style=label.style_label_down, textcolor=color.white)
// График RSI
hline(70, "Перепроданность", color=color.red)
hline(30, "Перепроданность", color=color.green)
plot(rsi, color=color.blue, title="RSI")
Daily Close Levels with ATR and Custom OffsetsDescription:
This Pine Script visualizes daily close levels, calculates key price zones based on custom offsets and ATR (Average True Range), and is an essential tool for traders analyzing support and resistance zones.
Features
Close Value Line: Displays the daily close value as a line on the chart.
ATR Values: Shows the ATR value in both price and tick format.
Custom Offsets:
Calculates positive and negative price levels based on a user-defined tick offset.
Supports multipliers for extended zones (e.g., 2x offset).
Labels:
Displays the close value and ATR on the chart.
Annotates calculated price levels directly on the corresponding lines.
Time Control: Calculates levels at a user-defined hour (e.g., 20:00).
Customizable Parameters:
Close Time (Hour): Choose the specific hour for analyzing the close price.
Custom Line Offset: Define the price offset in ticks.
ATR Length: Adjust the ATR calculation length.
Timezone Offset: Supports time adjustments for different time zones.
Enable/Disable Labels and Values: Toggle the display of labels and values on the chart.
Fibonacci Düzeltme SeviyeleriBelirtilen bar sayısı ve fibonacci değerlerine göre fibonacci düzeltme seviyelerini grafik üzerinde çizer. Eğer grafikte belirtilenden daha az bar var ise bu durumda grafikte yer alan max bar sayısını dikkate alarak çizim yapar.
QQE MT4 V5 Glaz-modified by JustUncleL (updated)Thanks JustUnclel hope your posts last forever. Script updated to Version 5. RIP JustUncleL
Mean Reversion Pro Strategy [tradeviZion]Mean Reversion Pro Strategy : User Guide
A mean reversion trading strategy for daily timeframe trading.
Introduction
Mean Reversion Pro Strategy is a technical trading system that operates on the daily timeframe. The strategy uses a dual Simple Moving Average (SMA) system combined with price range analysis to identify potential trading opportunities. It can be used on major indices and other markets with sufficient liquidity.
The strategy includes:
Trading System
Fast SMA for entry/exit points (5, 10, 15, 20 periods)
Slow SMA for trend reference (100, 200 periods)
Price range analysis (20% threshold)
Position management rules
Visual Elements
Gradient color indicators
Three themes (Dark/Light/Custom)
ATR-based visuals
Signal zones
Status Table
Current position information
Basic performance metrics
Strategy parameters
Optional messages
📊 Strategy Settings
Main Settings
Trading Mode
Options: Long Only, Short Only, Both
Default: Long Only
Position Size: 10% of equity
Starting Capital: $20,000
Moving Averages
Fast SMA: 5, 10, 15, or 20 periods
Slow SMA: 100 or 200 periods
Default: Fast=5, Slow=100
🎯 Entry and Exit Rules
Long Entry Conditions
All conditions must be met:
Price below Fast SMA
Price below 20% of current bar's range
Price above Slow SMA
No existing position
Short Entry Conditions
All conditions must be met:
Price above Fast SMA
Price above 80% of current bar's range
Price below Slow SMA
No existing position
Exit Rules
Long Positions
Exit when price crosses above Fast SMA
No fixed take-profit levels
No stop-loss (mean reversion approach)
Short Positions
Exit when price crosses below Fast SMA
No fixed take-profit levels
No stop-loss (mean reversion approach)
💼 Risk Management
Position Sizing
Default: 10% of equity per trade
Initial capital: $20,000
Commission: 0.01%
Slippage: 2 points
Maximum one position at a time
Risk Control
Use daily timeframe only
Avoid trading during major news events
Consider market conditions
Monitor overall exposure
📊 Performance Dashboard
The strategy includes a comprehensive status table displaying:
Strategy Parameters
Current SMA settings
Trading direction
Fast/Slow SMA ratio
Current Status
Active position (Flat/Long/Short)
Current price with color coding
Position status indicators
Performance Metrics
Net Profit (USD and %)
Win Rate with color grading
Profit Factor with thresholds
Maximum Drawdown percentage
Average Trade value
📱 Alert Settings
Entry Alerts
Long Entry (Buy Signal)
Short Entry (Sell Signal)
Exit Alerts
Long Exit (Take Profit)
Short Exit (Take Profit)
Alert Message Format
Strategy name
Signal type and direction
Current price
Fast SMA value
Slow SMA value
💡 Usage Tips
Consider starting with Long Only mode
Begin with default settings
Keep track of your trades
Review results regularly
Adjust settings as needed
Follow your trading plan
⚠️ Disclaimer
This strategy is for educational and informational purposes only. It is not financial advice. Always:
Conduct your own research
Test thoroughly before live trading
Use proper risk management
Consider your trading goals
Monitor market conditions
Never risk more than you can afford to lose
📋 Release Notes
14 January 2025
Added New Fast & Slow SMA Options:
Fibonacci-based periods: 8, 13, 21, 144, 233, 377
Additional period: 50
Complete Fast SMA options now: 5, 8, 10, 13, 15, 20, 21, 34, 50
Complete Slow SMA options now: 100, 144, 200, 233, 377
Bug Fixes:
Fixed Maximum Drawdown calculation in the performance table
Now using strategy.max_drawdown_percent for accurate DD reporting
Previous version showed incorrect DD values
Performance metrics now accurately reflect trading results
Performance Note:
Strategy tested with Fast/Slow SMA 13/377
Test conducted with 10% equity risk allocation
Daily Timeframe
For Beginners - How to Modify SMA Levels:
Find this line in the code:
fastLength = input.int(title="Fast SMA Length", defval=5, options= )
To add a new Fast SMA period: Add the number to the options list, e.g.,
To remove a Fast SMA period: Remove the number from the options list
For Slow SMA, find:
slowLength = input.int(title="Slow SMA Length", defval=100, options= )
Modify the options list the same way
⚠️ Note: Keep the periods that make sense for your trading timeframe
💡 Tip: Test any new combinations thoroughly before live trading
"Trade with Discipline, Manage Risk, Stay Consistent" - tradeviZion
Mxwll Hedge Suite [Mxwll]Hello Traders!
The Mxwll Hedge Suite determines the best asset to hedge against the asset on your chart!
By determining correlation between the asset on your chart and a group of internally listed assets, the Mxwll Hedge Suite determines which asset from the list exhibits the highest negative correlation, and then determines exactly how many coins/shares/contracts of the asset must be bought to achieve a perfect 1:1 hedge!
The image above exemplifies the process!
The purple box on the chart shows the eligible price action used to determine correlation between the asset on my chart (BTCUSDT.P) and the list of cryptocurrencies that can be used as a hedge!
From this price action, the coin determined to have to greatest negative correlation to BTCUSDT.P is FTMUSD.
The image above further outlines the hedge table located in the bottom-right corner of your chart!
The hedge table shows exactly how many coins you’d need to purchase for the hedge asset at various leverages to achieve a perfect 1:1 hedge!
Hedge Suite works on any asset on any timeframe!
And that’s all! A short and sweet script that is hopefully helpful to traders looking to hedge their positions with a negatively correlated asset!
Thank you, Traders!
Squeeze Momentum Indicator v1 by KevyStocksReach out for my exact settings.
Some things I would like to change/add in the next version are: \
Allow plot sizes to be customizable
Default arrow colors to red or green
Squeeze Dashboard - when in a squeeze, and when squeeze released to upside, and squeeze released to downside.
Add Previous Day High
Add Previous Day Low
Add Previous Day 50% Marker
Add Golden Pocket Fibonacci
PTS CloudThe Precise Trading EMA Cloud indicator is designed to improve your chart analysis by knowing simple trend direction with the use of the 9, 21, 50 EMA's. This special tool is particularly helpful for Day Traders & Swing Traders to easily see the trend direction & possible market shifts & support & resistance.
Bullish Trend = Blue Color wave
Bearish Trend = Red Color wave
Price vs EMAs & VWAPThis indicator displays whether the price is above or below specific moving averages (EMA 8, EMA 21, EMA 50) and VWAP, with color-coded background indicating the relationship between price and each level.
Order Blocks with Volume Heatmap & Clusters - VK TradingOrder Blocks with Volume Heatmap & Clusters - VK Trading
This script is designed to identify and highlight Order Blocks, a key concept in institutional trading, and combines it with powerful tools like volume heatmaps and accumulation clusters for enhanced market analysis. Suitable for traders of all experience levels, this script provides a clear and customizable visualization to help identify significant market zones effectively.
What Does This Script Do?
Order Block Identification: Highlights bullish and bearish order blocks directly on the chart, making it easier to spot key supply and demand zones.
Volume Heatmap: A dynamic heatmap adjusts colors based on relative volume, allowing you to quickly identify areas of heightened activity.
Institutional Accumulation Clusters: Zones of potential institutional accumulation are calculated using a combination of ATR (Average True Range), standardized volume, and RSI (Relative Strength Index).
Automatic Clearing: Invalidated order blocks are automatically removed, ensuring your charts remain clean and focused.
Key Features
Customizable Sensitivity: Adjust the script’s sensitivity to tailor order block detection to different market conditions and strategies.
Advanced Volume Display Options: Toggle volume visibility on or off. Customize the position, size, and color of volume labels for better integration with your chart's design.
Dynamic Heatmap Intensity: Fine-tune the heatmap’s intensity and color to highlight areas of interest based on trading volume.
Dual Order Block Detection: Uses two independent detection settings to analyze the market from multiple perspectives.
Visual Alerts: Automatically draws key level lines based on detected order blocks for better clarity.
User Benefits:
Clear Market Analysis: Helps pinpoint institutional activity and key levels with minimal effort.
Increased Efficiency: Automates plotting and analysis, allowing you to focus on decision-making.
Versatile Compatibility: Complements strategies like Smart Money Concepts, Wyckoff, and Price Action approaches.
Disclaimer
This script is intended as an analytical and educational tool. It does not guarantee specific outcomes or eliminate trading risks. Use this tool at your own discretion and always practice proper risk management.
BMG-5 BY BMGBUY SIGNAL:
EMA cross up and candle closure below both EMA's
SELL SIGNAL :
EMA cross down and candle closure below both EMS's
ALERT:
Select and alert that for any of the functions
369 TPF369 Frequency using futures contracts.its using the 369 frequency lines to find the cycle for a buy or sell entry
Intraday Strategy with VWAP, Fibonacci, RSI, and SMAThis Pine Script code defines a TradingView strategy for intraday trading, integrating multiple indicators and techniques, including VWAP, Fibonacci retracements, RSI, and SMA. Below is an explanation of the components:
Strategy Definition:
The script is titled "Intraday Strategy with VWAP, Fibonacci, RSI, and SMA".
The strategy is set to overlay on the price chart for easy visualization.
Input Settings:
RSI Length: Defines the period for calculating the RSI (default: 14).
Fibonacci Lookback Period: Determines the range for Fibonacci retracement levels.
VWAP Timeframe: Allows the user to specify the timeframe for VWAP calculations.
SMA Length: Sets the period for calculating the SMA (default: 9).
Indicators:
RSI: Used to determine overbought or oversold conditions.
SMA (Simple Moving Average): Used to identify trend direction and potential price crossovers.
VWAP (Volume Weighted Average Price): Used to identify price levels relative to volume.
Fibonacci Retracements: Calculates key levels (0.382 and 0.618) for potential price reactions.
Trading Conditions:
Buy Signal:
RSI crosses above 30.
Price is within the Fibonacci retracement zone.
Price is above the VWAP.
Alternatively, price crosses above the SMA.
Sell Signal:
RSI crosses below 70.
Price is within the Fibonacci retracement zone.
Price is below the VWAP.
Alternatively, price crosses below the SMA.
Trade Execution:
If a buy signal (finalBuySignal) is triggered, the strategy enters a long position.
If a sell signal (finalSellSignal) is triggered, the strategy enters a short position.
Plotting:
Buy and sell signals are plotted on the chart with green and red markers, respectively.
VWAP is displayed in blue.
SMA is displayed in yellow.
Fibonacci retracement levels are shown as orange (upper) and purple (lower) lines.
Purpose: