Fartcoin log line bot and topThe first script for bitcoin went perfect. Lets see if the same works for fartcoin, because we all know, hot air rises...
Bandes et canaux
ATR + Pivot Points / Owl of ProfitThis strategy combines ATR (Average True Range) and Pivot Points for trade entries and exits. It uses dynamic stop loss and take profit levels based on ATR, and incorporates daily Pivot Points as key levels for decision-making.
Features:
Pivot Points: Calculates standard daily Pivot Points (Pivot, R1, R2, S1, S2) for support and resistance levels.
ATR Integration: Uses ATR to dynamically set stop loss and take profit levels with customizable multipliers.
Entry Conditions:
Long: Price crosses above R1.
Short: Price crosses below S1.
Exit Conditions:
Optional closing of positions when crossing the main pivot point.
Fully visualized Pivot Points for easy reference on the chart.
Customization Options:
Adjust Pivot Points calculation period.
Modify ATR length and multiplier for tailored risk management.
Enable or disable Pivot Points visualization.
This strategy is designed for demonstration and educational purposes. Use it as a foundation for further backtesting and customization.
Visit my website for more tools and strategies: bybitindicators.com
Happy trading!
Trade Relief by SAPASMCTrade Relief by SAPASMC an addon to C-Ak47
Trade Relief by SAPASMC an addon to C-Ak47
Trade Relief by SAPASMC an addon to C-Ak47
Trade Relief by SAPASMC an addon to C-Ak47
Trade Relief by SAPASMC an addon to C-Ak47
Combo Buying The Dip Alert Script Mix V5The classic buy-from-the-dip script I use is the one that allows you to add multiple alerts.
The content of the strategy will be updated in the future by adding more oscillators.
YOUFX.ADR.V1"YOUFX.ADR.V1 is a comprehensive indicator that provides advanced analytical tools. Specifically designed for forex traders and financial markets. Add the indicator and choose the settings that best suit your trading strategy.
(Note: This indicator is for educational purposes only and is not an investment recommendation.)"
YOUFX.V3"YOUFX ALL IN ONE V2 is a comprehensive indicator that provides advanced analytical tools. Specifically designed for forex traders and financial markets. Add the indicator and choose the settings that best suit your trading strategy.
(Note: This indicator is for educational purposes only and is not an investment recommendation.)"
Levels from All-Time HighJust an easy script to track percentage distance from recent all time highs. You can customize the color and the percentages from the all time highs. These zones can mark great opportunities to buy.
Donchian Channels based on highsDonchian Channels based on highs: its calculation is not based on highs and lows but just on highs
RSI Bands with Volume and EMAThis script is a comprehensive technical analysis tool designed to help traders identify key market signals using RSI bands, volume, and multiple Exponential Moving Averages (EMAs). It overlays the following on the chart:
RSI Bands: The script calculates and plots two bands based on the Relative Strength Index (RSI), indicating overbought and oversold levels. These bands act as dynamic support and resistance zones:
Resistance Band (Upper Band): Plotted when the RSI exceeds the overbought level, typically indicating a potential sell signal.
Support Band (Lower Band): Plotted when the RSI falls below the oversold level, typically indicating a potential buy signal.
Midline: The average of the upper and lower bands, acting as a neutral reference.
Buy/Sell Labels: Labels are dynamically added to the chart when price reaches the overbought or oversold levels.
A "Buy" label appears when the price reaches the oversold (lower) band.
A "Sell" label appears when the price reaches the overbought (upper) band.
Volume Indicator: The script visualizes trading volume as histograms, with red or green bars representing decreasing or increasing volume, respectively. The volume height is visually reduced for better clarity and comparison.
Exponential Moving Averages (EMAs): The script calculates and plots four key EMAs (12, 26, 50, and 200) to highlight short-term, medium-term, and long-term trends:
EMA 12: Blue
EMA 26: Orange
EMA 50: Purple
EMA 200: Green
The combined use of RSI, volume, and EMAs offers traders a multi-faceted view of the market, assisting in making informed decisions about potential price reversals, trends, and volume analysis. The script is particularly useful for identifying entry and exit points on charts like BTC/USDT, although it can be applied to any asset.
G. Santostasi' Active Addresses and Hash Rate Power LawThe Bitcoin Power Law Indicator is a groundbreaking tool designed for investors, analysts, and enthusiasts who seek to understand Bitcoin's price behavior through its fundamental network metrics. This invite-only indicator leverages the Giovanni Santostasi Power Law Model, which reveals the deep interconnections between Bitcoin's core parameters and its price evolution over time.
Features and Functionality:
Bitcoin Price vs. Active Addresses Model
Using Giovanni Santostasi’s power law framework, the indicator establishes a quantitative relationship between Bitcoin's price and the number of active addresses. Active addresses, a critical on-chain metric, reflect network activity and adoption. This model generates a theoretical Bitcoin price based solely on the behavior of active addresses, highlighting how network usage underpins price movements.
Bitcoin Price vs. Hash Rate Model
The indicator applies the same power law methodology to analyze the relationship between Bitcoin's price and its hash rate. The hash rate, representing the computational power securing the network, is a fundamental measure of the network's security and robustness. This model estimates Bitcoin’s price as a function of the hash rate, showcasing the symbiotic relationship between miner activity and market valuation.
Comparison with Bitcoin Price vs. Time Model
Both the active addresses and hash rate-based models are compared against the classic Bitcoin price vs. time power law. This comparison provides insight into the alignment or divergence of Bitcoin’s price with its fundamental network metrics and long-term temporal trends.
Visualization of Interconnectedness
The indicator synthesizes on-chain data to visually and quantitatively demonstrate the interconnectedness of Bitcoin's key parameters—price, network activity, and mining security. It provides a real-time measure of the strength of the Bitcoin network, offering a holistic perspective on its health and resilience.
Utility for Investors:
Enhanced Market Understanding:
By breaking down Bitcoin's price into its fundamental drivers—active addresses, hash rate, and time—investors gain a clearer picture of what underpins price trends. This knowledge can inform long-term investment strategies and improve confidence during volatile periods.
Network Health Monitoring:
The indicator serves as a robust measure of network strength. Divergences between the models and actual price may indicate periods of mispricing or anomalies in network activity, offering potential trading opportunities.
Validation of the Power Law Theory:
Investors can track Bitcoin's adherence to the power law, which has demonstrated remarkable consistency over the years. This provides a scientific framework for understanding Bitcoin’s growth trajectory, helping investors separate signal from noise in the market.
Risk Management and Opportunity Identification:
Understanding when Bitcoin's price deviates from its fundamental power law models can help investors identify potential overvaluation, undervaluation, or turning points in the market. These insights can be critical for both short-term trading and long-term portfolio allocation.
This indicator is a must-have for those who value a data-driven, scientific approach to Bitcoin analysis. By combining cutting-edge research with real-time analytics, it offers a unique lens to view Bitcoin not just as a speculative asset but as a robust, interconnected system that adheres to fundamental physical and social principles.
Drawdown from 22-Day High (Daily Anchored)This Pine Script indicator, titled "Drawdown from 22-Day High (Daily Anchored)," is designed to plot various drawdown levels from the highest high over the past 22 days. This helps traders visualize the performance and potential risk of the security in terms of its recent high points.
Key Features:
Daily High Data:
Fetches daily high prices using the request.security function with a daily timeframe.
Highest High Calculation:
Calculates the highest high over the last 22 days using daily data. This represents the highest price the security has reached in this period.
Drawdown Levels:
Computes various drawdown levels from the highest high:
2% Drawdown
5% Drawdown
10% Drawdown
15% Drawdown
25% Drawdown
45% Drawdown
50% Drawdown
Dynamic Line Coloring:
The color of the 2% drawdown line changes dynamically based on the current closing price:
Green (#02ff0b) if the close is above the 2% drawdown level.
Red (#ff0000) if the close is below the 2% drawdown level.
Plotting Drawdown Levels:
Plots each drawdown level on the chart with specific colors and line widths for easy visual distinction:
2% Drawdown: Green or Red, depending on the closing price.
5% Drawdown: Orange.
10% Drawdown: Blue.
15% Drawdown: Maroon.
25% Drawdown: Purple.
45% Drawdown: Yellow.
50% Drawdown: Black.
Labels for Drawdown Levels:
Adds labels at the end of each drawdown line to indicate the percentage drawdown:
Labels display "2% WVF," "5% WVF," "10% WVF," "15% WVF," "25% WVF," "45% WVF," and "50% WVF" respectively.
The labels are positioned dynamically at the latest bar index to ensure they are always visible.
Explanation of Williams VIX Fix (WVF)
The Williams VIX Fix (WVF) is a volatility indicator designed to replicate the behavior of the VIX (Volatility Index) using price data instead of options prices. It helps traders identify market bottoms and volatility spikes.
Key Aspects of WVF:
Calculation:
The WVF measures the highest high over a specified period (typically 22 days) and compares it to the current closing price.
It is calculated as:
WVF
=
highest high over period
−
current close
highest high over period
×
100
This formula provides a percentage measure of how far the price has fallen from its recent high.
Interpretation:
High WVF Values: Indicate increased volatility and potential market bottoms, suggesting oversold conditions.
Low WVF Values: Suggest lower volatility and potentially overbought conditions.
Usage:
WVF can be used in conjunction with other indicators (e.g., moving averages, RSI) to confirm signals.
It is particularly useful for identifying periods of significant price declines and potential reversals.
In the script, the WVF concept is incorporated into the drawdown levels, providing a visual representation of how far the price has fallen from its 22-day high.
Example Use Cases:
Risk Management: Quickly identify significant drawdown levels to assess the risk of current positions.
Volatility Monitoring: Use the WVF-based drawdown levels to gauge market volatility.
Support Levels: Utilize drawdown levels as potential support levels where price might find buying interest.
This script offers traders and analysts an efficient way to visualize and track important drawdown levels from recent highs, helping in better risk management and decision-making. The dynamic color and label features enhance the readability and usability of the indicator.
Trading Hub 3.0 JukaThe smart money concept suggests that institutional traders have a greater understanding of the market and often have access to more information than retail traders. Therefore, by analyzing market structure, retail traders can align themselves with the actions of smart money and potentially profit from their moves.
This indicator considerably simplifies the process of identification of market structure for traders based on the TradingHUB-3 technical method. Therefore, it is quite different from the existing market structure or trend detection tools, even the other smart-money-based indicators.
How it works:
The indicator starts candlestick analysis from the given start point detecting followings items.
1) Identify valid pullbacks (minor Zigzag):
Uptrend: In the upward trend, each candle that hits a higher high (HH), acts as our checking candle, and if the next candle hits its low, a valid pullback is formed, and we marked the checking candle as the end of a minor leg. Note that we do not take inside bars into account. If the highest point of the leg hit, the lowest point is marked as the end of pullback leg. On the other hand, if the lowest point of the upward leg is hit, the pullback checking procedure is restarted as a downtrend. Note that the downward checking is restarted from the highest point (previous checking candle).
Downtrend: The pullback detection for downtrend follows the reverse procedure of uptrend.
2) Identify inducements (IDM)
The last pullback point (on the minor zigzag) considers as the inducement level. In the uptrend, if the price hit the IDM, the highest point on the major leg is accepted as a major higher high. Note, if the IDM point is equal to a major HL and hit by price, the highest point is accepted as a new HH and the previous HH and LL are deleted (i.e. the HH is transferred).
In the downtrend, it acts conversely.
3) Identify valid break of structures (BOS)
In the uptrend, if the price closed above the highest point between the previous accepted HH to the current candle, a BOS is accrued, and the lowest point in this time interval is accepted as a higher low (HL). In the downtrend, it acts contrariwise.
4) Identify valid change of characters (Choch)
In the uptrend, if the price closed below the lowest point between the previous accepted HL to the current candle, a Choch is accrued, and the major trend changes from uptrend to downtrend, and a new reverse IDM will be detected. In the downtrend, it acts inversely.
5) Identify major HH/HL/LL/LH points
By following the above steps, the major higher highs, higher lows, lower highs, and lower lows, as well as the major trend are detected. The major high and lows on the major trend can be displayed by zigzag style or bullet points with corresponding up/down color.
Bollingers Bands Fibonacci ratios_copy of FOMOBollinger Bands Fibonacci Ratios (FiBB)
This TradingView script is a powerful tool that combines the classic Bollinger Bands with Fibonacci ratios to help traders identify potential support and resistance zones based on market volatility.
Key Features:
Dynamic Fibonacci Levels: The script calculates additional levels around a Simple Moving Average (SMA) using Fibonacci ratios (default: 1.618, 2.618, and 4.236). These levels adapt to market volatility using the Average True Range (ATR).
Customizable Parameters: Users can modify the length of the SMA and the Fibonacci ratios to fit their trading strategy and time frame.
Visual Representation: The indicator plots three upper and three lower bands, with color-coded transparency for easy interpretation.
Central SMA Line: The core SMA line provides a baseline for price movement and trend direction.
Shaded Range: The script visually fills the area between the outermost bands to highlight the overall range of price action.
How to Use:
Use the upper bands as potential resistance zones and the lower bands as potential support zones.
Look for price interactions with these levels to identify opportunities for breakout, trend continuation, or reversal trades.
Combine with other indicators or price action analysis to enhance decision-making.
This script is ideal for traders who want a unique blend of Fibonacci-based analysis and Bollinger Bands to better navigate market movements.
Futures Engulfing Candle Size Strategy (Ticks, TP/SL)The Futures Candle Size Strategy is designed to identify and trade significant price movements in the futures market based on candle size. It is optimized for futures instruments like ES, NQ, or CL, where precise tick-level calculations are essential. The strategy includes a customizable take profit and stop loss in ticks and operates only within a specified time window (e.g., 7:00 AM to 9:15 AM CST).
Key Features:
Candle Size Threshold: Trades are triggered when the candle's high-to-low range exceeds the defined threshold in ticks.
Time Filter: Limits trades to the most active market hours, specifically between 7:00 AM and 9:15 AM CST.
Take Profit and Stop Loss: Customizable exit levels in ticks to manage risk and lock in profits.
Long and Short Trades: Automatically places buy or sell orders based on the candle's direction (bullish or bearish).
Alerts: Sends alerts whenever a trade is triggered, helping you stay informed in real-time.
How It Works:
The strategy calculates the size of each candle in ticks and compares it to the user-defined threshold.
If the candle size meets or exceeds the threshold within the specified time range, it triggers a long or short trade.
The trade automatically exits when the price hits the take profit or stop loss levels.
RSI Volatility Suppression Zones [BigBeluga]RSI Volatility Suppression Zones is an advanced indicator that identifies periods of suppressed RSI volatility and visualizes these suppression zones on the main chart. It also highlights breakout dynamics, giving traders actionable insights into potential market momentum.
🔵 Key Features:
Detection of Suppression Zones:
Identifies periods where RSI volatility is suppressed and marks these zones on the main price chart.
Breakout Visualization:
When the price breaks above the suppression zone, the box turns aqua, and an upward label is drawn to indicate a bullish breakout.
If the price breaks below the zone, the box turns purple, and a downward label is drawn for a bearish breakout.
Breakouts accompanied by a "+" label represent strong moves caused by short-lived, tight zones, signaling significant momentum.
Wave Labels for Consolidation:
If the suppression zone remains unbroken, a "wave" label is displayed within the gray box, signifying continued price stability within the range.
Gradient Intensity Below RSI:
A gradient strip below the RSI line increases in intensity based on the duration of the suppressed RSI volatility period.
This visual aid helps traders gauge how extended the low volatility phase is.
🔵 Usage:
Identify Breakouts: Use color-coded boxes and labels to detect breakouts and their direction, confirming potential trend continuation or reversals.
Evaluate Market Momentum: Leverage "+" labels for strong breakout signals caused by short suppression phases, indicating significant market moves.
Monitor Price Consolidation: Observe gray boxes and wave labels to understand ongoing consolidation phases.
Analyze RSI Behavior: Utilize the gradient strip to measure the longevity of suppressed volatility phases and anticipate breakout potential.
RSI Volatility Suppression Zones provides a powerful visual representation of RSI volatility suppression, breakout signals, and price consolidation, making it a must-have tool for traders seeking to anticipate market movements effectively.
Relative Risk MetricOVERVIEW
The Relative Risk Metric is designed to provide a relative measure of an asset's price, within a specified range, over a log scale.
PURPOSE
Relative Position Assessment: Visualizes where the current price stands within a user-defined range, adjusted for log scale.
Logarithmic Transformation: Utilizes the natural log to account for a log scale of prices, offering a more accurate representation of relative positions.
Calculation: The indicator calculates a normalized value via the function Relative Price = / log(UpperBound) − log(LowerBound) . The result is a value between 0 and 1, where 0 corresponds to the lower bound and 1 corresponds to the upper bound on a log scale.
VISUALIZATION
The indicator plots three series:
Risk Metric - a plot of the risk metric value that’s computed from an asset's relative price so that it lies within a logarithmic range between 0.0 & 1.0.
Smoothed Risk Metric - a plot of the risk metric that’s been smoothed.
Entry/Exit - a scatter plot for identified entry and exit. Values are expressed as percent and are coded as red being exit and green being entity. E.g., a red dot at 0.02 implies exit 2% of the held asset. A green dot at 0.01 implies use 1% of a designated capital reserve.
USAGE
Risk Metric
The risk metric transformation function has several parameters. These control aspects such as decay, sensitivity, bounds and time offset.
Decay - Acts as an exponent multiplier and controls how quickly dynamic bounds change as a function of the bar_index.
Time Offset - provides a centering effect of the exponential transformation relative to the current bar_index.
Sensitivity - controls how sensitive to time the dynamic bound adjustments should be.
Baseline control - Serves as an additive offset for dynamic bounds computation which ensures that bounds never become too small or negative.
UpperBound - provides headroom to accomodate growth an assets price from the baseline. For example, an upperbound of 3.5 accommodates a 3.5x growth from the baseline value (e.g., $100 -> $350).
LowerBound - provides log scale compression such that the overall metric provides meaningful insights for prices well below the average whilst avoiding extreme scaling. A lowerbound of 0.25 corresponds to a price that is approx one quarter of a normalised baseline in a log context.
Weighted Entry/Exit
This feature provides a weighted system for identifying DCA entry and exit. This weighting mechanism adjusts the metric's interpretation to highlight conditions based on dynamic thresholds and user-defined parameters to identify high-probability zones for entry/exit actions and provide risk-adjusted insights.
Weighting Parameters
The weighting function supports fine-tuning of the computed weighted entry/exit values
Base: determines the foundational multiplier for weighting the entry/exit value. A higher base amplifies the weighting effect, making the weighted values more pronounced. It acts as a scaling factor to control the overall magnitude of the weighting.
Exponent: adjusts the curve of the weighting function. Higher exponent values increase sensitivity, emphasizing differences between risk metric values near the entry or exit thresholds. This creates a steeper gradient for the computed entry/exit value making it more responsive to subtle shifts in risk levels.
Cut Off: specifies the maximum percentage (expressed as a fraction of 1.0) that the weighted entry/exit value can reach. This cap ensures the metric remains within a meaningful range and avoids skewing
Exit condition: Defines a threshold for exit. When the risk metric is below the exit threshold (but above the entry threshold) then entry/exit is neutral.
Entry condition: Defines a threshold for entry. When the risk metric is above the entry threshold (but below the exit threshold) then entry/exit is neutral.
Weighting Behaviour
For entry conditions - value is more heavily weighted as the metric approaches the entry threshold, emphasizing lower risk levels.
For exit conditions - value is more heavily weighted as the metric nears the exit threshold, emphasizing increased risk levels.
USE-CASES
Identifying potential overbought or oversold conditions within the specified logarithmic range.
Assisting in assessing how the current price compares to historical price levels on a logarithmic scale.
Guiding decision-making processes by providing insights into the relative positioning of prices within a log context
CONSIDERATIONS
Validation: It's recommended that backtesting over historical data be done before acting on any identified entry/exit values.
User Discretion: This indicator focus on price risk. Consider other risk factors and general market conditions as well.
NIFTY BANKNIFTY MIDCAP SENSEX FINNIFTY LEVELS)this indicator uses Gann's methods which are based on the idea that markets move in predictable geometric patterns and are influenced by time and price.
Key Concepts of Gann Levels:
Gann Angles:
Gann believed that specific angles could indicate the trend of a market. The most notable is the 45-degree angle, which he called the "1x1" or "45-degree line."
Angles are drawn from a significant price point, such as a high or low, and represent the speed or slope of the price movement.
Gann Square of 9:
A mathematical tool that calculates support and resistance levels based on the square root of numbers and their geometric relationships.
It aligns numbers in a spiral format, starting from a central point, and helps identify key price levels at certain degrees.
Gann Fan:
A series of lines drawn at specific angles from a significant high or low. Common angles include 1x1 (45°), 2x1 (26.25°), and 1x2 (63.75°).
These angles help traders identify potential areas where the trend might accelerate, decelerate, or reverse.
Gann Retracements:
Levels based on key price ratios derived from natural laws and geometric principles. Common Gann retracement levels include 12.5%, 25%, 50%, and 75%.
Time Analysis:
Gann emphasized the importance of time cycles. He believed markets move in time-based patterns, such as yearly cycles, seasonal cycles, or specific time intervals.
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.
[GrandAlgo] Automatic Parallel ChannelThe Automatic Parallel Channel indicator is designed to automate the process of drawing parallel channels on the chart. By analyzing price swings and slopes, it identifies trend-aligned channels that provide insights into market structure, potential reversals, and continuation patterns. This tool saves traders time and effort by eliminating the need to manually draw channels while ensuring accuracy and consistency.
How It Works
The indicator evaluates price action and detects significant swing highs and swing lows to define the boundaries of the parallel channels.
Channels are categorized as green for potential support zones and red for potential resistance zones, ensuring easy visual identification of price trends.
Customizable parameters such as Strength, Max. Slope Steepness, and Fibonacci Line Levels allow traders to adapt the channel detection to different market conditions.
A third line can optionally be drawn at a Fibonacci level for additional confluence.
Key Features
Automatic Channel Detection:
Identifies and plots parallel channels based on swing highs and swing lows, ensuring accuracy and efficiency.
Customizable Strength Parameter:
Adjust the sensitivity of channel detection to focus on minor, intermediate, or major trends.
Fibonacci Line Integration:
Optionally draw a third line within the channel at a user-defined Fibonacci level, offering additional reference points for trend analysis.
Dual Channel Visualization:
Displays green channels to represent potential support and red channels for potential resistance, simplifying visual analysis.
Slope Control:
Set the Max. Slope Steepness to filter out channels that do not meet your trend steepness criteria.
Real-Time Updates:
Channels are dynamically updated as price action evolves, ensuring relevance to current market conditions.
Use Cases
Identify trend channels to determine the overall market direction.
Spot potential reversal or continuation zones using channel boundaries.
Use the third Fibonacci line as a key level for potential price reactions.
Suitable for trend-following strategies and breakout trading setups.
Adaptable across Forex, crypto, stocks, and other markets.
Disclaimer:
This indicator is a technical analysis tool designed to assist traders by providing insights into market conditions. It does not guarantee future price movements or trading outcomes and should not be relied upon as a sole decision-making tool. The effectiveness of this indicator depends on its application, which requires your trading knowledge, experience, and judgment.
Trading involves significant financial risk, including the potential loss of capital. Past performance of any tool or indicator does not guarantee future results. This script is intended for educational and informational purposes only and does not constitute financial or investment advice. Users are strongly encouraged to perform their own analysis and consult with a qualified financial professional before making trading decisions.
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