Azlan MA Silang PRIMEAn advanced trend-following and momentum-based indicator for professional traders.
Azlan MA Silang PRIME combines multiple timeframe trend analysis with precise MA crossover strategies to deliver accurate buy and sell signals. This indicator is designed for traders who require robust tools for trend confirmation, minimizing false signals, and optimizing entry and exit strategies.
Key Features:
• Customizable Moving Averages: Adjust lengths, types (SMA, EMA, WMA, LWMA), and price sources (OHLC/HL/2 variants).
• Higher Timeframe Confirmation: Automatically syncs with selected higher timeframes to validate trends and reduce noise.
• Prime Strike Alerts: Get notified when all or more than 1 Prime Strike Candle Gauge (PSCG 1, PSCG 2, PSCG 3) align in the same direction, signaling a strong trend. Use for M1 timeframe only.
• Signal Refinement: Avoid signals when price violates key levels, such as higher timeframe MA thresholds.
• Alert Customization: Select between initial crossover alerts, Prime Strike alerts, or both for tailored notifications.
Use Cases:
• Trend Identification: Quickly determine market trends across multiple timeframes for more informed decision-making.
• Entry/Exit Precision: Use refined buy/sell signals to improve your timing and maximize profitability.
• Risk Management: Minimize false entries by confirming signals against higher timeframe trends.
The Azlan MA Silang PRIME indicator is a powerful tool designed to provide highly accurate entry signals by analyzing both higher and lower timeframes. Follow the steps below to use the indicator effectively:
1. General Setup
• Add to Chart: Apply the indicator to your chart in TradingView.
• Inputs: Customize the Moving Average (MA) types, lengths, and price sources in the settings according to your strategy.
• Timeframe Selection:
o Use the current chart timeframe for detailed entry and exit signals.
o Select a higher timeframe (HTF) in the settings to follow trend alignment for a broader market view.
2. Understanding Signals
• Buy Signals:
o A green "BUY" label will appear when the lower timeframe MA1 crosses above MA2, and the higher timeframe is in an uptrend.
o Valid only if the price is above the higher timeframe’s MA2.
• Sell Signals:
o A red "SELL" label will appear when the lower timeframe MA1 crosses below MA2, and the higher timeframe is in a downtrend.
o Valid only if the price is below the higher timeframe’s MA2.
Note: If the price is on the opposite side of the higher timeframe’s MA2, no signals will be generated to avoid false entries.
3. Using the 'Chart' Timeframe
When focusing only on your current chart’s timeframe:
• Ensure MA1 and MA2 are configured to match your strategy.
• Look for crossovers between MA1 and MA2 for potential entry points.
• Alerts will trigger based on the alert type selected:
o Initial Signals Only: Get alerts for the first crossover after confirmation.
o Prime Strike Only: Receive alerts when all lower timeframes align in the same trend direction.
o Both: Get alerts for both types of conditions.
4. Combining Lower Timeframe (LTF) and Higher Timeframe (HTF)
For higher accuracy, use a dual timeframe approach:
• Higher Timeframe (HTF):
o Select a higher timeframe (e.g., H1 or H4) in the indicator settings.
o HTF MAs (MA1 and MA2) define the primary trend direction.
o The background will change to green (uptrend) or red (downtrend) to visually confirm the HTF trend.
• Lower Timeframe (LTF):
o Signals will be filtered based on the HTF trend.
o For buy signals, the lower timeframe must confirm the uptrend (price above HTF MA2).
o For sell signals, the lower timeframe must confirm the downtrend (price below HTF MA2).
5. Interpreting Prime Strike Signals (M1)
Prime Strike signals analyze multiple timeframes (e.g., M1, M5, M15) for alignment:
• Buy Prime Strike:
o All selected timeframes (M1, M5, M15) must indicate an uptrend.
o A strong "Prime Strike UP" alert will trigger for immediate action.
• Sell Prime Strike:
o All selected timeframes (M1, M5, M15) must indicate a downtrend.
o A strong "Prime Strike DOWN" alert will trigger for immediate action.
6. Alerts
• Enable Alerts: Set up alerts in TradingView by clicking on the "Alerts" tab and selecting "Azlan MA Silang PRIME."
• Alerts include:
o Higher timeframe trend changes (e.g., "HTF changed to UPTREND").
o Buy/Sell signals based on lower timeframe MA crossovers aligned with HTF trends.
o Prime Strike alerts when all lower timeframes align.
7. When to Use Higher Timeframes
• Swing Trades: Follow the HTF trend (e.g., H4, D1) for entries.
• Avoid False Signals: HTF trend alignment ensures that LTF signals are reliable.
• Trend Confirmation: Use HTF as a filter to confirm market direction.
8. When to Use Lower Timeframes
• Scalping/Day Trading: Focus on lower timeframes (e.g., M1, M5) for faster signals.
• Early Entries: Lower timeframes allow quicker entry before HTF trends are fully established.
• Signal Filtering: Ensure the price is aligned with the HTF trend (above/below HTF MA2) to avoid invalid signals.
9. Best Practices
• Backtest First: Test the indicator on historical data to understand its behavior.
• Avoid Overtrading: Use the Prime Strike feature to wait for alignment across timeframes.
• Combine with Other Tools: Use support/resistance, volume analysis, or other indicators to validate entries.
With these instructions, you can maximize the effectiveness of the Azlan MA Silang PRIME indicator for any trading style. Happy trading!
Notes:
• Suitable for professional traders who can integrate this tool into their existing strategies.
• Not recommended for beginners due to the complexity of configurations.
Silang
Azlan MA Silang PLUS++Overview
Azlan MA Silang PLUS++ is an advanced moving average crossover trading indicator designed for traders who want to jump back into the market when they missed their first opportunity to take a trade. It implements a sophisticated dual moving average system with customizable settings and re-entry signals, making it suitable for both trend following and swing trading strategies.
Key Features
• Dual Moving Average System with multiple MA types (EMA, SMA, WMA, LWMA)
• Customizable price sources for each moving average
• Smart re-entry system with configurable maximum re-entries
• Visual signals with background coloring and shape markers
• Comprehensive alert system for both initial and re-entry signals
• Flexible parameter customization through input options
Input Parameters
Moving Average Configuration
• MA1 Type: Choice between SMA, EMA, WMA, LWMA (default: EMA)
• MA2 Type: Choice between SMA, EMA, WMA, LWMA (default: EMA)
• MA1 Length: Minimum value 1 (default: 8)
• MA2 Length: Minimum value 1 (default: 15)
• MA1 & MA2 Shift: Offset values for moving averages
• Price Sources: Configurable for each MA (Open, High, Low, Close, HL/2, HLC/3, HLCC/4)
Re-entry System
• Enable/Disable re-entry signals
• Maximum re-entries allowed (default: 3)
Technical Implementation
Price Source Calculation
The script implements a flexible price source system through the price_source() function:
• Supports standard OHLC values
• Includes compound calculations (HL/2, HLC/3, HLCC/4)
• Defaults to close price if invalid source specified
Moving Average Types
Implements four MA calculations:
1. SMA (Simple Moving Average)
2. EMA (Exponential Moving Average)
3. WMA (Weighted Moving Average)
4. LWMA (Linear Weighted Moving Average)
Signal Generation Logic
Initial Signals
• Buy Signal: MA1 crosses above MA2 with price above both MAs
• Sell Signal: MA1 crosses below MA2 with price below both MAs
Re-entry Signals
Re-entry system activates when:
1. Price crosses under MA1 in buy mode (or over in sell mode)
2. Price returns to cross back over MA1 (or under for sells)
3. Position relative to MA2 confirms trend direction
4. Number of re-entries hasn't exceeded maximum allowed
Visual Components
• MA1: Blue line (width: 2)
• MA2: Red line (width: 2)
• Background Colors:
o Green (60% opacity): Bullish conditions
o Red (60% opacity): Bearish conditions
• Signal Markers:
o Initial Buy/Sell: Up/Down arrows with "BUY"/"SELL" labels
o Re-entry Buy/Sell: Up/Down arrows with "RE-BUY"/"RE-SELL" labels
Alert System
Generates alerts for:
• Initial buy/sell signals
• Re-entry opportunities
• Alerts include ticker and timeframe information
• Configured for once-per-bar-close frequency
Usage Tips
1. Moving Average Selection
o Shorter periods (MA1) capture faster moves
o Longer periods (MA2) identify overall trend
o EMA responds faster to price changes than SMA
2. Re-entry System
o Best used in strong trending markets
o Limit maximum re-entries based on market volatility
o Monitor price action around MA1 for potential re-entry points
3. Risk Management
o Use additional confirmation indicators
o Set appropriate stop-loss levels
o Consider market conditions when using re-entry signals
Code Structure
The script follows a modular design with distinct sections:
1. Input parameter definitions
2. Helper functions for price and MA calculations
3. Main signal generation logic
4. Visual elements and plotting
5. Alert system implementation
This organization makes the code maintainable and easy to modify for custom needs.