ADX for BTC [PineIndicators]The ADX Strategy for BTC is a trend-following system that uses the Average Directional Index (ADX) to determine market strength and momentum shifts. Designed for Bitcoin trading, this strategy applies a customizable ADX threshold to confirm trend signals and optionally filters entries using a Simple Moving Average (SMA). The system features automated entry and exit conditions, dynamic trade visualization, and built-in trade tracking for historical performance analysis.
⚙️ Core Strategy Components
1️⃣ Average Directional Index (ADX) Calculation
The ADX indicator measures trend strength without indicating direction. It is derived from the Positive Directional Movement (+DI) and Negative Directional Movement (-DI):
+DI (Positive Directional Index): Measures upward price movement.
-DI (Negative Directional Index): Measures downward price movement.
ADX Value: Higher values indicate stronger trends, regardless of direction.
This strategy uses a default ADX length of 14 to smooth out short-term fluctuations while detecting sustainable trends.
2️⃣ SMA Filter (Optional Trend Confirmation)
The strategy includes a 200-period SMA filter to validate trend direction before entering trades. If enabled:
✅ Long Entry is only allowed when price is above a long-term SMA multiplier (5x the standard SMA length).
✅ If disabled, the strategy only considers the ADX crossover threshold for trade entries.
This filter helps reduce entries in sideways or weak-trend conditions, improving signal reliability.
📌 Trade Logic & Conditions
🔹 Long Entry Conditions
A buy signal is triggered when:
✅ ADX crosses above the threshold (default = 14), indicating a strengthening trend.
✅ (If SMA filter is enabled) Price is above the long-term SMA multiplier.
🔻 Exit Conditions
A position is closed when:
✅ ADX crosses below the stop threshold (default = 45), signaling trend weakening.
By adjusting the entry and exit ADX levels, traders can fine-tune sensitivity to trend changes.
📏 Trade Visualization & Tracking
Trade Markers
"Buy" label (▲) appears when a long position is opened.
"Close" label (▼) appears when a position is exited.
Trade History Boxes
Green if a trade is profitable.
Red if a trade closes at a loss.
Trend Tracking Lines
Horizontal lines mark entry and exit prices.
A filled trade box visually represents trade duration and profitability.
These elements provide clear visual insights into trade execution and performance.
⚡ How to Use This Strategy
1️⃣ Apply the script to a BTC chart in TradingView.
2️⃣ Adjust ADX entry/exit levels based on trend sensitivity.
3️⃣ Enable or disable the SMA filter for trend confirmation.
4️⃣ Backtest performance to analyze historical trade execution.
5️⃣ Monitor trade markers and history boxes for real-time trend insights.
This strategy is designed for trend traders looking to capture high-momentum market conditions while filtering out weak trends.
אינדיקטורים ואסטרטגיות
Multi-Timeframe 10-Criteria A-B-C Setup DetectorThis advanced multi-timeframe indicator checks 10 distinct criteria across 5-minute (previous bar) and 1-minute charts to trigger C/B/A setups (8/9/10 criteria).
Buy & Sell Zone IndicatorFeatures:
✅ Uses RSI, MACD, MA, EMA, BB, Fibonacci, and Support & Resistance
✅ Displays only Buy (Green) and Sell (Red) Zones
✅ No distractions – just clear zones for entry & exit
✅ Works on all time frames
MY MADAM DIOR'S Supply and Demand Levels (Responsive)MY MADAM DIOR'S Supply and Demand" script is designed to help traders spot potential levels of supply (resistance) and demand (support) in the market by identifying pivot points from past price action.
Differences from Other Scripts:
Unlike many pivot point scripts, this one offers a greater degree of customization and flexibility, allowing users to determine how many ranges of pivot points they wish to plot (up to 10), as well as the number of the most recent ranges to display.
Furthermore, it allows users to restrict the plotting of pivot points to specific timeframes (15 minutes, 30 minutes, 1 hour, 4 hours, and daily) using a toggle input. This is useful for traders who wish to focus on these popular trading timeframes.
This script also uses the colour. New function for a more transparent plotting, which is not commonly used in many scripts.
How to Use:
The script provides two user inputs:
"Number of Ranges to Plot (1-10)": This determines how many 10-bar ranges of pivot points the script will calculate and potentially plot.
"Number of Last Ranges to Show (1-?)": This determines how many of the most recent ranges will be displayed on the chart.
"Limit to specific timeframes?": This is a toggle switch. When turned on, the script only plots pivot points if the current timeframe is one of the following: 15 minutes, 30 minutes, 1 hour, 4 hours, or daily.
The pivot points are plotted as circles on the chart, with pivot highs in red and pivot lows in green. The transparency level of these plots can be adjusted in the script.
Market and Conditions:
This script is versatile and can be used in any market, including Forex, commodities, indices, or cryptocurrencies. It's best used in trending markets where supply and demand levels are more likely to be respected. However, like all technical analysis tools, it's not fool proof and should be used in conjunction with other indicators and analysis techniques to confirm signals and manage risk.
A technical analyst, or technician, uses chart patterns and indicators to predict future price movements. The "Supply and Demand" script in question can be an invaluable tool for a technical analyst for the following reasons:
Identifying Support and Resistance Levels: The pivot points plotted by this script can act as potential levels of support and resistance. When the price of an asset approaches these pivot points, it might bounce back (in case of support) or retreat (in case of resistance). These levels can be used to set stop-loss and take-profit points.
Timeframe Analysis: The ability to limit the plotting of pivot points to specific timeframes is useful for multiple timeframe analysis. For instance, a trader might use a longer timeframe to determine the overall trend and a shorter one to decide the optimal entry and exit points.
Customization: The user inputs provided by the script allow a technician to customize the ranges of pivot points according to their unique trading strategy. They can choose the number of ranges to plot and the number of the most recent ranges to display on the chart.
Confirmation of Other Indicators: If a pivot point coincides with a signal from another indicator (for instance, a moving average crossover or a relative strength index (RSI) divergence), it could provide further confirmation of that signal, increasing the chances of a successful trade.
Transparency in Plots: The use of the colour. New function allows for more transparent plotting. This feature can prevent the chart from becoming too cluttered when multiple ranges of pivot points are plotted, making it easier for the analyst to interpret the data.
In summary, this script can be used by a technical analyst to pinpoint potential trading opportunities, validate signals from other indicators, and customize the display of pivot points to suit their individual trading style and strategy. Always remember, however, that no single indicator should be used in isolation, and effective risk management strategies should always be employed.
Dear Users,
We are pleased to announce an update to our "Supply and Demand (Responsive)" script. The script is designed to identify pivot points in the market by analyzing historical data, and this recent update is aimed at enhancing the flexibility and customization of the indicator. Here's what's new:
More Ranges: We have increased the number of ranges the script can examine from four to ten. This allows you to go back up to 100 bars to find pivot points, thus providing a more comprehensive view of the market situation.
Specific Timeframes Toggle: We introduced a toggle that can limit the indicator to specific timeframes - 15 minutes, 30 minutes, 1 hour, 4 hours, or daily. The default setting for this toggle is false, meaning that the indicator will not be limited to any specific timeframe unless you decide to activate it.
Customization of Plotting: We have added an option to choose between plotting circles or lines. You can now decide if you want to plot circles for the last ranges, lines or both. In addition, you can specify the number of last ranges to be shown for circles.
Deleting Old Lines: In this update, old lines are deleted before new ones are drawn to keep your chart clean and readable. This is particularly useful when you have a large number of ranges plotted.
Here is how you use these new features:
You can control the number of ranges to plot using the ranges to_plot input.
The candles To Plot input determines the number of last ranges to be shown for circles.
You can toggle whether to limit the indicator to specific timeframes with the toggle input.
You can also decide whether to plot circles, lines or both using the plot Circles and plot Lines inputs.
Please note that this update will not impact any existing setups unless you choose to take advantage of the new features.
We hope these updates will improve your experience with our script and help you to analyse the market more efficiently. We look forward to your feedback.
Best,
MY MADAM DIOR.....💃
Crystal Order BlockThe Crystal Order Block Indicator is a powerful tool designed to help traders identify key institutional order blocks with high precision. This indicator is ideal for traders following Smart Money Concepts (SMC) and Institutional Trading Strategies, providing clear insights into potential high-probability trade setups.
🔹 Key Features:
✔ Automatic Order Block Detection: Identifies valid bullish & bearish order blocks.
✔ Unmitigated Order Blocks Highlighted: Focuses on fresh order blocks for improved trade opportunities.
✔ Trend-Focused Trading: Works best when combined with market structure analysis.
✔ Multi-Timeframe Support: Suitable for scalping, swing trading, and intraday trading.
✔ Risk Management Enhancement: Helps traders refine entries and exits based on institutional price movements.
📈 How to Use the Crystal Order Block Indicator:
🔹 Identifying Order Blocks:
➡ The indicator automatically detects order blocks formed by institutional trading activity.
➡ Unmitigated order blocks are highlighted, indicating areas where price may react.
🔹 High-Probability Trade Setups:
➡ Buy Setup: Look for a bullish order block in an uptrend, confirming strength.
➡ Sell Setup: Identify a bearish order block in a downtrend for potential short trades.
🔹 Order Block Mitigation:
➡ The updated version filters out mitigated order blocks, allowing traders to focus on fresh trading opportunities.
📊 Best Practices & Timeframes:
🔸 Works on all timeframes, but higher accuracy is observed on M30 and above.
🔸 Best suited for Smart Money Trading, Institutional Trading, and Price Action Strategies.
🔸 Should be used with liquidity concepts and market structure analysis for enhanced precision.
⚠ Important Note:
This indicator is a technical tool designed to assist traders in market analysis. It does not guarantee success and should be used alongside proper risk management and trading discipline.
1 Bar Rate of Change Display"The real-time display shows the price range between the high and low of the last bar.
It is used to avoid stocks that do not generate margins excluding fees or those that are traded too frequently in low time frames. It is useful for quickly clicking through multiple stocks to find suitable day trading candidates."
Sniper TradingSniper Trader Indicator Overview
Sniper Trader is a comprehensive trading indicator designed to assist traders by providing valuable insights and alerting them to key market conditions. The indicator combines several technical analysis tools and provides customizable inputs for different strategies and needs.
Here’s a detailed breakdown of all the components and their functions in the Sniper Trader indicator:
1. MACD (Moving Average Convergence Divergence)
The MACD is a trend-following momentum indicator that helps determine the strength and direction of the current trend. It consists of two lines:
MACD Line (Blue): Calculated by subtracting the long-term EMA (Exponential Moving Average) from the short-term EMA.
Signal Line (Red): The EMA of the MACD line, typically set to 9 periods.
What does it do?
Buy Signal: When the MACD line crosses above the signal line, it generates a buy signal.
Sell Signal: When the MACD line crosses below the signal line, it generates a sell signal.
Zero Line Crossings: Alerts are triggered when the MACD line crosses above or below the zero line.
2. RSI (Relative Strength Index)
The RSI is a momentum oscillator used to identify overbought or oversold conditions in the market.
Overbought Level (Red): The level above which the market might be considered overbought, typically set to 70.
Oversold Level (Green): The level below which the market might be considered oversold, typically set to 30.
What does it do?
Overbought Signal: When the RSI crosses above the overbought level, it’s considered a signal that the asset may be overbought.
Oversold Signal: When the RSI crosses below the oversold level, it’s considered a signal that the asset may be oversold.
3. ATR (Average True Range)
The ATR is a volatility indicator that measures the degree of price movement over a specific period (14 bars in this case). It provides insights into how volatile the market is.
What does it do?
The ATR value is plotted on the chart and provides a reference for potential market volatility. It's used to detect flat zones, where the price may not be moving significantly, potentially indicating a lack of trends.
4. Support and Resistance Zones
The Support and Resistance Zones are drawn by identifying key swing highs and lows over a user-defined look-back period.
Support Zone (Green): Identifies areas where the price has previously bounced upwards.
Resistance Zone (Red): Identifies areas where the price has previously been rejected or reversed.
What does it do?
The indicator uses swing highs and lows to define support and resistance zones and highlights these areas on the chart. This helps traders identify potential price reversal points.
5. Alarm Time
The Alarm Time feature allows you to set a custom time for the indicator to trigger an alarm. The time is based on Eastern Time and can be adjusted directly in the inputs tab.
What does it do?
It triggers an alert at a user-defined time (for example, 4 PM Eastern Time), helping traders close positions or take specific actions at a set time.
6. Market Condition Display
The Market Condition Display shows whether the market is in a Bullish, Bearish, or Flat state based on the MACD line’s position relative to the signal line.
Bullish (Green): The market is in an uptrend.
Bearish (Red): The market is in a downtrend.
Flat (Yellow): The market is in a range or consolidation phase.
7. Table for Key Information
The indicator includes a customizable table that displays the current market condition (Bull, Bear, Flat). The table is placed at a user-defined location (top-left, top-right, bottom-left, bottom-right), and the appearance of the table can be adjusted for text size and color.
8. Background Highlighting
Bullish Reversal: When the MACD line crosses above the signal line, the background is shaded green to highlight the potential for a trend reversal to the upside.
Bearish Reversal: When the MACD line crosses below the signal line, the background is shaded red to highlight the potential for a trend reversal to the downside.
Flat Zone: A flat zone is identified when volatility is low (ATR is below the average), and the background is shaded orange to signal periods of low market movement.
Key Features:
Customizable Time Inputs: Adjust the alarm time based on your local time zone.
User-Friendly Table: Easily view market conditions and adjust display settings.
Comprehensive Alerts: Receive alerts for MACD crossovers, RSI overbought/oversold conditions, flat zones, and the custom alarm time.
Support and Resistance Zones: Drawn automatically based on historical price action.
Trend and Momentum Indicators: Utilize the MACD and RSI for identifying trends and market conditions.
How to Use Sniper Trader:
Set Your Custom Time: Adjust the alarm time to match your trading schedule.
Monitor Market Conditions: Check the table for real-time market condition updates.
Use MACD and RSI Signals: Watch for MACD crossovers and RSI overbought/oversold signals.
Watch for Key Zones: Pay attention to the support and resistance zones and background highlights to identify market turning points.
Set Alerts: Use the built-in alerts to notify you of buy/sell signals or when it’s time to take action at your custom alarm time.
GEX and Vanna LevelsGEX and Vanna Levels Indicator for SPX
Description:
The GEX and Vanna Levels Indicator is a daily-updated market positioning tool designed specifically for SPX (S&P 500 Index) traders. It visualizes critical gamma exposure (GEX) and vanna levels, providing insights into dealer positioning, volatility dynamics, and potential market inflection points.
Since market positioning changes daily, all key levels (zero vanna flips, gamma support/resistance, pivots, and magnet levels) must be calculated and input manually each day to reflect the most accurate and relevant market conditions.
This script helps traders identify areas where market makers are likely to adjust their hedging strategies, influencing price movements. It incorporates zero vanna flips, gamma support/resistance zones, key pivots, and magnet levels, all of which play a crucial role in understanding intraday and swing trading conditions.
Key Features & How It Works:
🔹 Zero Vanna Flips (Support/Resistance) – Levels where volatility impacts price movement, requiring vol compression for a breakout.
🔹 Gamma Support & Resistance – Zones where dealer hedging pressure may pin price action or accelerate moves.
🔹 Main Pivot Level – A key inflection point derived from market positioning; price movement above or below this level dictates direction.
🔹 Upside & Downside Magnets – Identified areas where price is likely to be attracted based on hedging flows and positioning.
🔹 Iron Condor Visualization – Displays key ranges of customer and market maker positions to analyze volatility compression/expansion areas.
🔹 Custom Alerts – Notifies traders when price breaks critical GEX and vanna levels.
How to Use This Indicator:
1️⃣ Update Levels Daily – Before each trading session, input the latest zero vanna, gamma, and pivot levels for accurate analysis.
2️⃣ Monitor Zero Vanna Flips (6121, 6071): These act as key support and resistance zones that can only be broken if volatility contracts.
3️⃣ Pay Attention to the Main Pivot (6085.58): A crucial level that determines directional bias—price holding above it favors bullish conditions.
4️⃣ Track Gamma Support/Resistance (6107-6115): If price holds in this zone, market makers may keep price range-bound.
5️⃣ Watch Magnet Levels (6045, 6186.4): If price breaks key levels, it is likely to gravitate toward these magnets.
6️⃣ Iron Condor Ranges (6030-6035 & 6080-6085): Understanding these zones helps traders identify potential volatility suppression areas.
Who Can Benefit from This Indicator?
✅ Intraday & Swing Traders – Helps identify key reversal levels and potential price magnet areas.
✅ Options Traders – Essential for understanding market maker hedging flows, gamma positioning, and implied volatility shifts.
✅ Institutional & Retail Investors – Provides deeper insight into market positioning beyond traditional technical indicators.
Publishing & Compliance Notes:
All levels must be updated daily to reflect current market positioning.
This indicator is strictly for SPX, ensuring accurate gamma and vanna level calculations.
No repainting or misleading elements—data is derived from market positioning models and widely used quantitative methodologies.
It is not financial advice; traders should combine this tool with other analysis techniques.
RSI DivergenceMade the rsi divergence appear on the candle.
Look at the indicators and enter long and short after the signal comes out
Make it easier to see by showing up in overlay.
BUY Signal with Williams %R, CMA, and ResetИндикатор предназначен для поиска сигналов на покупку ("BUY") и набора позиции на основе следующих условий:
Пересечение индикатора Williams %R уровня -80 снизу вверх.
Текущая цена закрытия находится ниже значения Cumulative Moving Average (CMA).
Текущая цена должна быть ниже цены предыдущей метки "BUY" (условие последовательного снижения).
Если цена закрытия становится выше CMA, значение последней метки "BUY" сбрасывается.
На каждой метке "BUY" отображается значение цены.
--------------------------------------------------------------------------------------------------------------------
The indicator is designed to search for buy signals ("BUY") and set a position based on the following conditions:
The Williams %R indicator crosses the -80 level from bottom to top.
The current closing price is below the Cumulative Moving Average (EMA) value.
The current price must be lower than the price of the previous "BUY" label (the condition for a sequential decrease).
If the closing price becomes higher than the CMA, the value of the last "BUY" label is reset.
The price value is displayed on each "BUY" label.
Segment RegressionAs an example of the descriptive power of Pine Script, this very short example traces a 'segment regression', a result not entirely obvious with so few lines of code, repositioning them when the previous inference moves away from the graph beyond the pre-set limit.
A trick used is to restart the new inference segment
- from the maximum reached in the previous trend, when positive (slope>0)
- from the minimum reached in the previous trend, when negative (slope<0)
The result can in my opinion be easily used to build strategies.
Trend-Based Price Forecast with CurvesDisplays the price forecast on the 1D/4H time frame. The current trend is taken into account. It is better to combine it with the FVG / Imbalance indicator in order to understand where to set a stop loss, as well as take profit.
Отображает прогноз цены на тайм фрейме 1D/4H. Учитывается рбщий тренд. Лучше совмещать с индикатором FVG/Имбаланса для того чтобы было понимание где выставлять стоп лосс, а так же тейк профит
I'm posting it again, the previous post was blocked due to insufficient description and lack of English in the description.
Выкладываю повторно, предыдущую публикацию заблокировали из-за недостаточного описания и отсутствия английского языка в описании
MA Crossover [ClémentCrypto]An optimized moving average crossover indicator with parameters optimized through Python backtesting.
• Preset settings optimized for 1H, 4H, 1D, 1W, 2W
• Customizable mode for MA lengths and type (EMA/SMA)
• Clear visual signals with colored bars
• Detailed information table
• Direction choice: Long, Short, or Both
• Fill between MAs for better visibility
🔹 The preset parameters have been optimized using Python over 7 years of data. I found these optimal settings through extensive backtesting and analysis of historical price movements.
⚠️ This indicator is for educational purposes only.
⚠️ Moving averages are not recommended for short-term trading.
Feel free to leave a like and comment for improvements!
Combined Structure MarkerA new way to mark SR levels which are only supposedly to be marked on the higher TF's.
Peak Reaction Zones by BigBeluga updated script with alerts Peak Reaction Zones Script - Description and Usage
Thanks to BIgBeluga for this script. I have added alert function to this script and change default setting parameters, which I think works better in 15 min chart, however user can play and update setting as per user requirements.
This Pine Script is designed to help traders identify potential breakout zones in the market. It automatically calculates reaction zones based on the highest and lowest prices over a specified lookback period. These zones can then be used as references to track significant price movements, with alerts for when breakouts occur.
The script plots two reaction zones:
High Zone (Orange): The upper level defined by the highest price over a specified lookback period.
Low Zone (Blue): The lower level defined by the lowest price over a specified lookback period.
Additionally, alerts are triggered when price breaks above or below these zones, providing real-time notifications of potential market movements.
Key Inputs:
Lookback Period (lookback):
This input determines the number of bars (periods) to look back for calculating the highest and lowest prices.
Default: 72
Zone Width Multiplier (multiplier):
This input is a multiplier that adjusts the width of the zones based on the Average True Range (ATR). A higher multiplier widens the zone.
Default: 1
High Zone Color (high_col):
The color of the high zone, typically orange for the upper zone.
Default: orange
Low Zone Color (low_col):
The color of the low zone, typically blue for the lower zone.
Default: blue
How the Script Works:
Zone Calculation:
The script calculates the highest and lowest prices over a user-defined lookback period.
These prices define the high zone and low zone, respectively.
The width of each zone is adjusted using the ATR (Average True Range) and the multiplier input.
Plotting the Zones:
Once the zones are calculated, the script plots two horizontal lines representing the high zone (upper) and low zone (lower).
Dashed lines are also drawn to show the boundaries of the zones, and labels display the price values for both zones.
Set Alerts:
You can set alerts in TradingView based on the alert conditions that are programmed in the script.
Set Alerts:
Right-click on the chart and select "Add Alert."
In the "Condition" field, choose the alert options related to your script, such as:
"Price broke above the low zone"
"Price broke below the high zone"
Choose your preferred alert frequency (e.g., "Once per bar").
Set your notification method (e.g., pop-up, email, webhook).
Click "Create" to set up the alert.
Adjust the Settings:
You can modify the lookback period and multiplier to change the sensitivity of the zones.
Change the colors for the high zone and low zone for better visibility if needed.
Monitor Breakouts:
The script will plot the zones and create labels whenever a breakout occurs, and alerts will trigger when the price crosses the zones as described.
VWAP (Non-Dynamic) Breakout SignalsNon-Dynamic VWAP that trigger a visual signal on chart to indicate bullish or bearish momentum for intraday sentiment
Signal shows as a yellow arrow above candle price if breaking below VWAP
Signal shows as a yellow arrow below candle price if breaking above VWAP
MACD Volume Strategy for XAUUSD (15m) [PineIndicators]The MACD Volume Strategy is a momentum-based trading system designed for XAUUSD on the 15-minute timeframe. It integrates two key market indicators: the Moving Average Convergence Divergence (MACD) and a volume-based oscillator to identify strong trend shifts and confirm trade opportunities. This strategy uses dynamic position sizing, incorporates leverage customization, and applies structured entry and exit conditions to improve risk management.
⚙️ Core Strategy Components
1️⃣ Volume-Based Momentum Calculation
The strategy includes a custom volume oscillator to filter trade signals based on market activity. The oscillator is derived from the difference between short-term and long-term volume trends using Exponential Moving Averages (EMAs)
Short EMA (default = 5) represents recent volume activity.
Long EMA (default = 8) captures broader volume trends.
Positive values indicate rising volume, supporting momentum-based trades.
Negative values suggest weak market activity, reducing signal reliability.
By requiring positive oscillator values, the strategy ensures momentum confirmation before entering trades.
2️⃣ MACD Trend Confirmation
The strategy uses the MACD indicator as a trend filter. The MACD is calculated as:
Fast EMA (16-period) detects short-term price trends.
Slow EMA (26-period) smooths out price fluctuations to define the overall trend.
Signal Line (9-period EMA) helps identify crossovers, signaling potential trend shifts.
Histogram (MACD – Signal) visualizes trend strength.
The system generates trade signals based on MACD crossovers around the zero line, confirming bullish or bearish trend shifts.
📌 Trade Logic & Conditions
🔹 Long Entry Conditions
A buy signal is triggered when all the following conditions are met:
✅ MACD crosses above 0, signaling bullish momentum.
✅ Volume oscillator is positive, confirming increased trading activity.
✅ Current volume is at least 50% of the previous candle’s volume, ensuring market participation.
🔻 Short Entry Conditions
A sell signal is generated when:
✅ MACD crosses below 0, indicating bearish momentum.
✅ Volume oscillator is positive, ensuring market activity is sufficient.
✅ Current volume is less than 50% of the previous candle’s volume, showing decreasing participation.
This multi-factor approach filters out weak or false signals, ensuring that trades align with both momentum and volume dynamics.
📏 Position Sizing & Leverage
Dynamic Position Calculation:
Qty = strategy.equity × leverage / close price
Leverage: Customizable (default = 1x), allowing traders to adjust risk exposure.
Adaptive Sizing: The strategy scales position sizes based on account equity and market price.
Slippage & Commission: Built-in slippage (2 points) and commission (0.01%) settings provide realistic backtesting results.
This ensures efficient capital allocation, preventing overexposure in volatile conditions.
🎯 Trade Management & Exits
Take Profit & Stop Loss Mechanism
Each position includes predefined profit and loss targets:
Take Profit: +10% of risk amount.
Stop Loss: Fixed at 10,100 points.
The risk-reward ratio remains balanced, aiming for controlled drawdowns while maximizing trade potential.
Visual Trade Tracking
To improve trade analysis, the strategy includes:
📌 Trade Markers:
"Buy" label when a long position opens.
"Close" label when a position exits.
📌 Trade History Boxes:
Green for profitable trades.
Red for losing trades.
📌 Horizontal Trade Lines:
Shows entry and exit prices.
Helps identify trend movements over multiple trades.
This structured visualization allows traders to analyze past performance directly on the chart.
⚡ How to Use This Strategy
1️⃣ Apply the script to a XAUUSD (Gold) 15m chart in TradingView.
2️⃣ Adjust leverage settings as needed.
3️⃣ Enable backtesting to assess past performance.
4️⃣ Monitor volume and MACD conditions to understand trade triggers.
5️⃣ Use the visual trade markers to review historical performance.
The MACD Volume Strategy is designed for short-term trading, aiming to capture momentum-driven opportunities while filtering out weak signals using volume confirmation.
Price and Longitude Angles Planetary Price & Longitude Angles Indicator
This indicator plots planetary price and longitude angles starting from a user-selected date and time, offering a distinctive lens to explore the relationship between price and planetary timing. It supports both heliocentric and geocentric, enabling flexible and in-depth planetary analysis. The angles can be plotted across any time frame for maximum versatility.
How to Use
Once the indicator is loaded, you’ll be prompted to select a starting date and time for your analysis. From there, customize it as follows:
Select Planetary Options:
To plot the price and longitude for a single planet, choose the same planet in both dropdown menus.
To plot the average of two planets, select a different planet in each dropdown.
Set the Price Per Degree of Longitude: Adjust this value to define the scaling of the planetary angles relative to price.
Customize Fan Settings:
Toggle the mirroring of the fan on or off based on your needs.
Show or hide specific angle divisions to tailor the display to your preferences.
Display or conceal the information label that indicates the price per longitude and the number of degrees traveled.
This indicator is inspired by the methodologies of W.D. Gann and Patrick Mikula, expanding on concepts from Gann Scientific Method Unveiled, Volume 2. It was built using Astrolib by @BarefootJoey
I crafted this tool through dedication to support my own study of these ideas. I’m sharing it open-source not only to deepen my understanding and honor the work of Gann and Mikula, but also to invite collaboration. There’s always room for improvement—whether in functionality, accuracy, or design—and I hope others will join me in refining it. This is for those like me: eager to explore these concepts but lacking tools to experiment with. Let’s build on it together.
Revenue & Net IncomeRevenue & Net Income Indicator
This indicator provides a clear visual representation of a company's revenue and net income, with the flexibility to switch between Trailing Twelve Months (TTM) and Quarterly data. Values are automatically converted into billions and displayed in both an area chart and a dynamic table.
Features:
TTM & Quarterly Data: Easily toggle between financial periods.
Intuitive Visuals: Semi-transparent area charts make trends easy to spot.
Smart Number Formatting: Revenue below 1B is shown with two decimals (e.g., "0.85B"), while larger values use one decimal (e.g., "1.2B").
Customizable Table: Displays the most recent revenue and net income figures, with adjustable position and text size.
Light Mode: Switch table text to black with a white header for better readability on light backgrounds.
This indicator is freely available and open-source on TradingView for all. It is designed to help traders enhance their market analysis and strategic decision-making.
6-Hour Forecast (15m Steps) with Arrowed Lines & 95% CI -BesharaExplanation
Timeframe Conversion:
The helper function converts the chart’s timeframe (e.g., "15", "1H", etc.) into minutes so that the script can determine how many bars correspond to a 15‑minute interval.
Regression & Forecasting:
The script calculates a linear regression over the specified number of bars, approximates the slope, and computes the standard deviation of the residuals for error estimation. Then, for each forecast step (every 15 minutes for 6 hours), it extrapolates the forecast, calculates the 95% confidence interval, and draws red line segments connecting forecast points.
Visualization:
Arrows: At each forecast point, an arrow (▲ for upward, ▼ for downward, or → for unchanged) is drawn to indicate direction.
Confidence Intervals: Dotted orange lines display the 95% confidence interval at each forecast point.
Final Label: A label at the final forecast point shows the predicted price and its confidence interval.
Historical Regression: The blue line represents the historical regression line.
This script is provided for educational purposes only and does not guarantee predictive accuracy. Always use multiple tools and proper risk management in trading.
ZLSMA with Chandelier Exit [Improved_mew]This will show buy and sell signals only with ZLSMA confirmation