移動平均線
CyberFX EMA21 Strategy (Pine v5)This is a simple indicator that can be used for a simple strategy. It follows the logic of the price always move back to the media, in that case an EMA(21). This give us an opportunity to achieve a better R/R. One important thing here is this indicator works better on trend markets. When the market is in consolidation mode it will show many signals so we need to pay attention and be patient. This indicator works better in 4H timeframes but it can used with other TFs.
The idea behind is:
for a bullish move when the price moves back to the EMA(21) we check the distance between the low value and the EMA(21) value. The best is when the price low crosses the EMA(21) from above. I am considering a 8 pips distance from the price low to the ema as a signal. Then I will wait for the new candle to move above the EMA(21) for a long entry. I also consider at least 50 pips for SL.
for a bearish move the idea is the same but we consider the price high crossing the EMA(21) and the new candle moving below the EMA.
I hope this can be useful and please leave your comment nad critics(but only the constructive one).
Have a safe trade
Turtle Trading with LayeringCrafted professional write-up for TradingView indicator publication.
Turtle Trading with Layering System
A complete implementation of the famous turtle trading strategy with proper position layering/pyramiding for manual trading.
Features
Core Turtle System:
20-day breakout entries (primary signals)
55-day breakout entries (backup after losses)
10-day reverse breakout exits
ATR-based stop losses and position sizing
Position Layering:
Build positions gradually as trends develop
Add up to 4 units per position
Each unit added every 0.5 ATR in your favor
Single stop loss protects entire position
The Real Deal v3.0The Real Deal v3.0 blends multiple layers of market structure into a single adaptive framework. Using a Gaussian price channel as its backbone, it adds dynamic confirmation from EMA filters, cloud-style trend detection, and a proprietary “Secret Sauce” momentum engine. Flexible trade direction, optional TP/SL management, and configurable entry/exit triggers allow the strategy to adapt to changing conditions. The result is a system designed to identify high-probability trades while filtering out the noise—simple on the surface, but with deeper mechanics under the hood.
HUll Dynamic BandEducational Hull Moving Average Wave Analysis Tool
**MARS** is an innovative educational indicator that combines multiple Hull Moving Average timeframes to create a comprehensive wave analysis system, similar in concept to Ichimoku Cloud but with enhanced smoothness and responsiveness.
---
🎯 Key Features
**Triple Wave System**
- **Peak Wave (34-period)**: Fast momentum signals, similar to Ichimoku's Conversion Line
- **Primary Wave (89-period)**: Main trend identification with retest detection
- **Swell Wave (178-period)**: Long-term trend context and major wave analysis
**Visual Wave Analysis**
- **Wave Power Fill**: Dynamic area between primary and swell waves showing trend strength
- **Peak Power Fill**: Short-term momentum visualization
- **Smooth Curves**: Hull MA-based calculations provide cleaner signals than traditional moving averages
**Intelligent Signal System**
- **Trend Shift Signals**: Clear visual markers when trend changes occur
- **Retest Detection**: Identifies potential retest opportunities with specific conditions
- **Correction Alerts**: Early warning signals for market corrections
---
📊 How It Works
The indicator uses **Hull Moving Averages** with **Fibonacci-based periods** (34, 89, 178) and a **Golden Ratio multiplier (1.64)** to create natural market rhythm analysis.
**Key Signal Types:**
- 🔵 **Circles**: Major trend shifts (primary wave crossovers)
- 💎 **Diamonds**: Retest opportunities with multi-wave confirmation
- ❌ **X-marks**: Correction signals and structural breaks
- 🌊 **Wave Fills**: Visual trend strength and direction
---
🎓 Educational Purpose
This indicator demonstrates:
- Advanced moving average techniques using Hull MA
- Multi-timeframe analysis in a single view
- Wave theory application in technical analysis
- Dynamic support/resistance concept visualization
**Similar to Ichimoku but Different:**
- Ichimoku uses price-based calculations → Angular cloud shapes
- MARS uses weighted averages → Smooth, flowing wave patterns
- Both identify trend direction, but MARS offers faster signals with cleaner visualization
---
⚙️ Customizable Settings
- **Wave Periods**: Adjust primary wave length (default: 89)
- **Multipliers**: Fine-tune wave sensitivity (default: 1.64 Golden Ratio)
- **Visual Style**: Customize line widths and signal displays
- **Peak Analysis**: Independent fast signal system (default: 34)
---
🔍 Usage Tips
1. **Trend Identification**: Watch wave fill colors and line positions
2. **Entry Timing**: Look for retest diamonds after trend shift circles
3. **Risk Management**: Use wave boundaries as dynamic support/resistance
4. **Confirmation**: Combine with price action and market structure analysis
---
⚠️ Important Notes
- **Educational Tool**: Designed for learning wave analysis concepts
- **Not Financial Advice**: Always use proper risk management
- **Backtesting Recommended**: Test on historical data before live trading
- **Combine with Analysis**: Works best with additional confirmation methods
---
🚀 Innovation
MARS represents a unique approach to wave analysis by:
- Combining Hull MA smoothness with Ichimoku-style visualization
- Providing multi-timeframe analysis without chart clutter
- Offering retest detection with specific wave conditions
- Creating an educational bridge between different analytical methods
---
*This indicator is shared for educational purposes to help traders understand advanced moving average techniques and wave analysis concepts. Always practice proper risk management and combine with your own analysis.*
ikrit : EMA Cross 3/5/20 + Stochastic (Shift=1)EMA 3 5 20 Shift1
Stochastic 35 3 3
It is an indicator used to run trends and find entry points according to the trend by considering the trend on TF H1 and above and entering orders when the EMA lines intersect on M5.
Screener EMA200/EMA365_v1Shows status about ema cross.
If ema 200 crosses up the ema 365 shows asc
If ema 200 crosses down the ema 365 shows desc
Custom Alpha v1Heiken Ashi based indicator using moving average crossovers combined with LuxAlgo Ultimate RSI with custom weighting to trigger buy and sell signals.
Settings for weightings and signal threshold are fully customizable in the indicator settings.
SMAs can be toggled on/off under the style tab of indicator settings.
Moving Average Signals : Support ResistanceThis indicator plots a Simple Moving Average (default 50-period, adjustable) and highlights potential bounce or rejection signals when price interacts with the SMA.
It is designed to identify moments when price tests the moving average from one side and then continues in the prior direction, signaling a possible continuation trade.
🔴 Red Triangle (Bearish Rejection)
A red triangle is plotted above the bar when:
Price has been trading below the SMA.
Price tests the SMA from below (the high touches or pierces the SMA but closes back below it).
Price then continues lower on the next bar.
This suggests the SMA acted as resistance and the downtrend may resume.
🟢 Green Triangle (Bullish Rejection)
A green triangle is plotted below the bar when:
Price has been trading above the SMA.
Price tests the SMA from above (the low touches or pierces the SMA but closes back above it).
Price then continues higher on the next bar.
This suggests the SMA acted as support and the uptrend may resume.
⚡ HOW TO USE IN TRADING
Trend Confirmation
Use this indicator in trending markets (not choppy ranges).
A rising SMA suggests bullish trend bias; a falling SMA suggests bearish trend bias.
Signal Entry
Green Triangle: Consider long entries when the SMA supports price and a bullish continuation is signaled.
Red Triangle: Consider short entries when the SMA rejects price and a bearish continuation is signaled.
Stop-Loss Placement
Place stops just beyond the SMA or the rejection candle’s high/low.
Example: For a red signal, stop above the SMA or rejection candle’s high.
Take-Profit Ideas
Target prior swing highs/lows or use risk/reward multiples (e.g., 2R, 3R).
You can also trail stops behind the SMA in a strong trend.
Filters for Higher Accuracy (optional)
Confirm signals with volume, momentum indicators (e.g., RSI, MACD), or higher-timeframe trend.
Avoid trading signals against strong higher-timeframe bias.
回撤再入场引擎This is a long-only, counter-trend strategy that aims to buy dips in a medium-term downtrend. The entry logic is based on a confluence of four filters:
1. **Trend Filter:** The price must be trading below the 60-period Simple Moving Average (SMA).
2. **Oversold Condition:** The WaveTrend Oscillator must first dip below -60 and then recover above -55.
3. **Momentum Confirmation:** The MACD must show sustained bullish momentum for at least 2 bars.
4. **Re-entry Filter:** A new trade is only allowed if the price is at least a certain percentage lower than the last trade's exit price.
The exit is based on a fixed Take Profit target. This version does not include a stop-loss.
ROC -> PROFABIGHI_CAPITAL🌟 Overview
This ROC → PROFABIGHI_CAPITAL implements a streamlined Rate of Change momentum indicator for clear trend direction analysis and momentum strength assessment.
It provides Rate of Change calculation with configurable period settings , Dynamic color-coded visualization with green for positive momentum and red for negative momentum , and Zero reference line for clear momentum direction identification for fundamental momentum analysis and trend confirmation.
🔧 Momentum Analysis Architecture
- Professional Rate of Change implementation focusing on percentage price changes over specified periods for momentum measurement
- Period Configuration Framework with adjustable lookback period using 14-period default for balanced momentum sensitivity
- Minimum Value Protection ensuring period input accepts only values of 1 or greater for mathematical validity
- Separate Panel Display using overlay = false for dedicated momentum analysis window below price chart
- Simple Input Interface providing single parameter control for easy configuration and optimization
📊 ROC Calculation Engine
- Pine Script ROC Function utilizing built-in ta.roc calculation for accurate percentage change measurement over specified periods
- Close Price Source using closing prices as standard input for momentum calculation providing consistent trend analysis
- Percentage Change Formula calculating ((current close - close N periods ago) / close N periods ago) × 100 for standardized momentum measurement
- Period-Based Analysis measuring momentum over user-defined lookback period for flexible timeframe adaptation
- Real-Time Updates providing current momentum readings with each new bar for immediate trend assessment
🎨 Visual Representation Framework
- Dynamic Color Coding System using green coloring for positive ROC values indicating upward momentum and red coloring for negative values showing downward momentum
- Clear Visual Distinction providing immediate visual feedback on momentum direction through intuitive color scheme
- Line Weight Enhancement using linewidth = 2 for prominent momentum line display ensuring clear trend identification
- Zero Reference Line displaying horizontal dashed gray line at zero level for momentum direction baseline reference
- Professional Chart Integration implementing clean visual design with standard color conventions for institutional analysis
📈 Momentum Analysis Applications
- Trend Direction Confirmation identifying positive ROC values as bullish momentum and negative values as bearish momentum
- Momentum Strength Assessment measuring momentum magnitude through ROC value extremes for trend intensity evaluation
- Divergence Analysis comparing price action with ROC direction for potential reversal signal identification
- Overbought/Oversold Detection using extreme ROC values for potential mean reversion opportunities
- Trend Continuation Validation confirming sustained momentum through consistent ROC direction for trend following strategies
- Entry and Exit Timing utilizing ROC zero-line crosses and directional changes for position management decisions
⚙️ Configuration Parameters
- ROC Period Setting controlling lookback period for momentum calculation with 14-period default providing balanced sensitivity
- Period Optimization Range supporting values from 1 to unlimited for different analytical timeframes and market conditions
- Short-Term Analysis using periods 1-7 for quick momentum changes and scalping applications
- Medium-Term Analysis utilizing periods 8-21 for swing trading and intermediate trend analysis
- Long-Term Analysis employing periods 22+ for position trading and major trend identification
- Market Adaptation adjusting period length based on asset volatility and trading strategy requirements
🔍 Technical Implementation
- Mathematical Accuracy using Pine Script's built-in ROC function ensuring proper percentage change calculations
- Computational Efficiency implementing streamlined code structure for optimal performance and minimal resource usage
- Error Prevention using minimum value constraints preventing invalid period inputs and calculation errors
- Real-Time Processing providing immediate momentum updates with each new price bar for current market assessment
- Clean Code Architecture maintaining simple, readable structure for easy modification and optimization
- Professional Standards following Pine Script best practices for reliable indicator performance
📊 Trading Applications
- Momentum Confirmation validating trend direction through positive or negative ROC readings for directional bias
- Zero-Line Strategy using ROC crosses above and below zero for basic momentum trading signals
- Extreme Reading Analysis identifying unusually high or low ROC values for potential reversal opportunities
- Multi-Timeframe Analysis applying different ROC periods across timeframes for comprehensive momentum assessment
- Divergence Trading comparing price peaks/troughs with ROC peaks/troughs for reversal signal generation
- Filter Integration combining ROC with other indicators for enhanced signal validation and trade confirmation
✅ Key Takeaways
- Streamlined Rate of Change implementation providing essential momentum analysis through percentage price change calculation
- Dynamic color-coded visualization offering immediate momentum direction identification through green/red color scheme
- Configurable period settings enabling adaptation to different trading styles and market timeframes
- Zero reference line providing clear momentum baseline for directional bias and signal generation
- Professional implementation using Pine Script best practices for reliable performance and easy optimization
- Fundamental momentum tool suitable for trend confirmation, divergence analysis, and basic trading signal generation
- Clean, efficient design focusing on core momentum functionality without unnecessary complexity or visual clutter
SMA - Color ShiftThis script throws down a 200-period simple moving average and paints the whole wave depending on where price is riding right now. If price is paddling above the line 🟢, the wall glows green like you’re cruising down the face of a clean set. If price is duck-diving below 🔴, the line flashes red — danger zone, you’re getting worked. And if the candle’s smacking right on it 🟠, it lights up orange, like hanging in the impact zone deciding if you’re bailing or charging.
It’s your surf check for trend bias: one quick look and you know if the market’s pumping, dumping, or balancing right on the lip. 🌴🤙
SMA - RGB WallThis script throws down a 200-period simple moving average and paints the whole wave depending on where price is riding right now. If price is paddling above the line 🟢, the wall glows green like you’re cruising down the face of a clean set. If price is duck-diving below 🔴, the line flashes red — danger zone, you’re getting worked. And if the candle’s smacking right on it 🟠, it lights up orange, like hanging in the impact zone deciding if you’re bailing or charging.
It’s your surf check for trend bias: one quick look and you know if the market’s pumping, dumping, or balancing right on the lip. 🌴🤙
AROMATH Power Index 11The most powerful, prefabricated, author's Aromath 💪 Power index
Anton Romashov's AROMATH Community - t.me .
Club of profitable investors Aromath-VIP🎩 - more profit.
salebot.site
Мощнейший, сборный, авторский индикатор силы Aromath 💪
Сообщество Антона Ромашова AROMATH - t.me
Клуб прибыльных инвесторов Aromath-VIP🎩 - прибыль больше.
salebot.site
Trend Analyzer v0.6Trend Analyzer EMA Only v0.6
Simple yet powerful EMA trend analysis with multi-timeframe support!
Overview:
This comprehensive indicator focuses on EMA-based trend analysis with clean visual presentation. It provides clear BUY/SELL signals, trend tracking with unique IDs, peak detection, and multi-timeframe analysis across M15, M30, and H1 timeframes.
Key Features:
✅ EMA Trend Analysis - Fast and Slow EMA crossover signals
✅ Trend Tracking - Unique trend IDs with start/end markers
✅ Peak Detection - Automatic peak identification during trends
✅ Multi-Timeframe - Analysis across M15, M30, and H1 timeframes
✅ Visual Clarity - Dotted lines connecting labels to candles
✅ Statistics - BUY/SELL count and average trend length
How It Works:
The indicator calculates signal strength using weighted analysis:
• MACD (50%) - Primary trend momentum
• RSI (30%) - Overbought/oversold conditions
• Volume (20%) - Volume confirmation
Signal Logic:
• BUY - Fast EMA crosses above Slow EMA + both slopes positive
• SELL - Fast EMA crosses below Slow EMA + both slopes negative
• NEUTRAL - EMAs too close (below threshold)
Visual Elements:
• 🟢 BUY - Green label with trend ID
• 🔴 SELL - Red label with trend ID
• ⚪ NEUTRAL - Gray label with trend ID
• 🟡 PEAK - Yellow label marking trend extremes
• ⚫ END - Gray label marking trend end
Information Table:
Real-time display showing:
• Current Timeframe trend state
• Multi-Timeframe analysis (M15, M30, H1)
• PEAK Labels status
• Offset Type configuration
• Trend Strength percentage
• Statistics (BUY/SELL count, average trend length)
Settings:
• Fast EMA Length - 9 (default)
• Slow EMA Length - 21 (default)
• Min Trend Bars - 3 (filters short trends)
• Label Offset Type - ATR, % of price, or Dynamic
• Show PEAK Labels - On/Off toggle
Best Practices:
🎯 Works best in trending markets
📊 Use as overlay on main chart
⚡ Combine with price action analysis
🛡️ Always use proper risk management
Pro Tips:
• Green background = Strong uptrend, Red background = Strong downtrend
• Watch for trend change arrows for early reversal signals
• Use the information table for quick market assessment
• Monitor trend statistics for market behavior insights
Alerts:
• BUY Alert - "BUY signal detected"
• SELL Alert - "SELL signal detected"
Version 0.6 Improvements:
• Optimized performance
• Enhanced visual clarity
• Improved multi-timeframe analysis
• Refined trend detection algorithms
Created with ❤️ for the trading community
This indicator is free to use for both commercial and non-commercial purposes.
LSMAsThis indicator consists of three lines.
The main line (LSMA-A) is the least squares moving average (LSMA).
The second line (SMMA) is the smoothed moving average of the LSMA-A. When the SMMA crosses the LSMA-A below, it generates a BUY signal, while when it crosses the LSMA-A above, it is considered a SELL signal.
Furthermore, an uptrend is considered if the SMMA line is below, or a downtrend if it is above. Along these trend lines, the third line, LSMA-B (another shorter-period least squares moving average) is used to identify peaks and bottoms. This allows for wave analysis.
For optimization, adjusting the shorter period to market conditions is sufficient.
EMA 200 MultiTF G/R + Cross Alerts by LifeHack Trader1. Indicator Setup
The script starts by defining the version of Pine Script (v5) and creating an indicator called "EMA 200 MultiTF G/R + Cross Alerts by LifeHack Trader."
The overlay=true parameter ensures that the indicator is plotted directly on the price chart.
2. Function to Get EMA200
A custom function getEma200 is defined to retrieve the 200-period Exponential Moving Average (EMA) for a specified timeframe (tf).
This function uses the request.security function to fetch the close price's EMA from different timeframes.
3. Calculate EMA200 for Multiple Timeframes
The script calculates the EMA200 for four timeframes: 15 minutes ("15"), 1 hour ("60"), 4 hours ("240"), and 1 day ("D").
These values are stored in variables (ema15, ema1h, ema4h, ema1d) and represent the EMA for each timeframe.
4. Determine Price Above or Below EMA200 (G/R)
For each timeframe, the script checks whether the closing price is above or below the EMA200.
It uses boolean checks to determine if the price is above the EMA200, assigning the status "G" (Green) for above and "R" (Red) for below.
5. Cross Signal Detection (Up/Down)
The script detects crossovers and crossunders between the price and EMA200 for each timeframe.
A crossover signal is detected when the price crosses above the EMA200 (bullish), and a crossunder signal is detected when the price crosses below the EMA200 (bearish).
These signals are stored in separate variables (crossUp, crossDown).
6. Display a Table with G/R Status and Cross Alerts
A table is created and displayed in the top-right corner of the chart. The table shows the status (G or R) for each timeframe and the cross signal (▲ for crossover, ▼ for crossunder, or - for no cross event).
The table is updated with the respective values for each timeframe every time a new bar is formed.
7. Alert Conditions
The script defines alert conditions based on the crossovers and crossunders.
When a price crosses above the EMA200 (cross-up), an alert is triggered for a potential buy opportunity. When the price crosses below the EMA200 (cross-down), an alert is triggered for a potential sell opportunity.
Alerts are configured for each timeframe (15 minutes, 1 hour, 4 hours, and 1 day).
This script provides a comprehensive system for monitoring price action relative to the EMA200 on multiple timeframes, highlighting crossovers, and delivering visual feedback and alerts based on the price's relationship with the EMA.
Multiplied and Divided Moving Average ### Multiplied and Divided Moving Average Indicator
**Description**:
The "Multiplied and Divided Moving Average" indicator is a customizable tool for TradingView users, designed to create dynamic bands around a user-selected moving average (MA). It calculates a moving average (SMA, EMA, WMA, VWMA, or RMA) and generates a user-defined number of lines above and below it by multiplying and dividing the MA by linearly spaced factors. These bands serve as potential support and resistance levels, aiding in trend identification, mean reversion strategies, or breakout detection. Optional Buy/Sell labels appear when the price crosses below the divided MAs (Buy) or above the multiplied MAs (Sell), providing clear visual cues for trading opportunities.
**Key Features**:
- **Flexible MA Types**: Choose from Simple (SMA), Exponential (EMA), Weighted (WMA), Volume-Weighted (VWMA), or Running (RMA) moving averages.
- **Customizable Bands**: Set the number of lines (0–10) above and below the MA, allowing tailored analysis for any market or timeframe.
- **Dynamic Factors**: Bands are created using factors that scale linearly from 1 to a user-defined maximum (default: 5.0), creating intuitive overbought/oversold zones.
- **Buy/Sell Signals**: Optional labels highlight potential entry (Buy) and exit (Sell) points when the price crosses the bands.
- **Clear Visuals**: The main MA is plotted in blue, with green (multiplied) and red (divided) lines using graduated transparency for easy differentiation.
**Inputs**:
- **MA Type**: Select the moving average type (default: SMA).
- **MA Length**: Set the MA period (default: 14).
- **Number of Lines Above/Below**: Choose how many bands to plot above and below the MA (default: 4, range: 0–10).
- **Max Factor**: Define the largest multiplier/divisor for the outermost bands (default: 5.0).
- **Source**: Select the price data for the MA (default: close).
- **Show Buy/Sell Labels**: Enable or disable Buy/Sell labels (default: true).
**How It Works**:
1. Calculates the chosen moving average based on user inputs.
2. Creates up to 10 lines above the MA (e.g., MA × 2, ×3, ×4, ×5 for `numLines=4`, `maxFactor=5`) and 10 below (e.g., MA ÷ 2, ÷3, ÷4, ÷5).
3. Plots the main MA in blue, multiplied lines in green, and divided lines in red, with transparency increasing for outer bands.
4. If enabled, displays "Buy" labels when the price crosses below any divided MA and "Sell" labels when it crosses above any multiplied MA, positioned at the outermost band.
**Use Cases**:
- **Trend Analysis**: Use the bands as dynamic support/resistance to confirm trend direction or reversals.
- **Mean Reversion**: Identify overbought (near multiplied MAs) or oversold (near divided MAs) conditions.
- **Breakout Trading**: Monitor price crossovers of the outermost bands for potential breakout signals.
- **Signal Confirmation**: Use Buy/Sell labels for swing trading or to complement other indicators.
**How to Use**:
1. Copy the script into TradingView’s Pine Editor.
2. Compile and apply it to your chart (e.g., stocks, forex, crypto).
3. Adjust inputs like `numLines`, `maxFactor`, or `maType` to fit your strategy.
4. Enable `Show Buy/Sell Labels` to visualize trading signals.
5. Test on various timeframes (e.g., 1H, 4H, 1D) and assets to optimize settings.
**Example Settings**:
- **Swing Trading**: Use `numLines=3`, `maxFactor=4`, `maType=EMA`, `maLength=20` on a 4-hour chart.
- **Intraday**: Try `numLines=2`, `maxFactor=3`, `maType=SMA`, `maLength=10` on a 15-minute chart.
**Notes**:
- **Performance**: Supports up to 20 bands (10 above, 10 below), staying within TradingView’s 64-plot limit.
- **False Signals**: In choppy markets, frequent crossovers may occur. Combine with trend filters (e.g., ADX, higher-timeframe MA) to reduce noise.
- **Enhancements**: Add alerts via TradingView’s alert system for Buy/Sell signals, or experiment with different `maxFactor` values for volatility.
**Limitations**:
- Bands are reactive, as they’re based on a moving average, so confirm signals with other indicators.
- High `numLines` values may clutter the chart; use 2–4 for clarity.
- Signals may lag in fast-moving markets due to the MA’s smoothing effect.
This indicator is perfect for traders seeking a customizable, visually clear tool to enhance technical analysis on TradingView. For support, feature requests (e.g., alerts, custom colors), or community discussion, visit TradingView’s forums or contact the script author.
LBM-Strategy Engine Pro: The Ultimate Confluence IndicatorOverview
Welcome to the Strategy Engine Pro , the ultimate confluence indicator designed for traders who demand precision and full control over their trading signals. This is not just an indicator; it is a complete, customizable strategy-building framework.
It seamlessly integrates three powerful concepts into a single, intuitive tool:
Advanced Moving Average Trend Analysis to define the market context.
An intelligent Support & Resistance Cycle Engine to identify key price levels.
A flexible 10-rule Strategy Builder that lets you design, test, and refine your own entry signals with surgical precision.
Core Features
1. Advanced Moving Average Trend Analysis
The indicator plots 5 fully configurable Moving Averages (MAs). You can choose the Period and Type (SMA, EMA, WMA, HMA, RMA) for each one. But its true power lies in its unique color-coding system, which analyzes the slope and momentum of each MA, not just its price.
MA Color Code:
Green: The MA is in a strong, confirmed uptrend.
Red: The MA is in a strong, confirmed downtrend.
Yellow: The MA is flat or in a transitional (sideways) phase.
This provides an instant visual snapshot of the market trend across five different timeframes.
2. Support & Resistance Cycle Engine
Forget simple pivot points. This indicator incorporates a sophisticated engine that identifies and plots significant "Master Cycle" levels on your chart.
Anchored Levels: These S/R lines are persistent and intelligent. When a key resistance level is broken, it automatically "flips" and becomes the new anchored support level, and vice-versa. This accurately maps out the market's structural progression.
The Strategy Builder: Your Personal Trading Lab
This is the heart of the indicator. You have 10 sequential rules that allow you to define the exact conditions for a Buy signal. The Sell signal is generated as the logical, symmetrical opposite.
For each rule, you can configure:
Source A & Source B: Choose from a wide range of data points:
Price values: Close, Open, High, Low.
Previous candle values: Close Before, Open Before, etc.
Moving Average values: MA 1 through MA 5.
MA Trend Colors: MA 1 Color, MA 2 Color Before, etc.
Operator: Define the comparison logic:
Standard: >, <, >=, <=
Events: Crossover, Crossunder
Color Logic: Is Color, Is NOT Color, Turned Color, Ceased to be Color
Important Note on Sell Signals: Sell conditions are designed to be the symmetrical opposite of the buy conditions you create.
If Buy is Close > MA 1, Sell will be Close < MA 1.
If Buy is MA 1 Color Is Green, Sell will be MA 1 Color Is Red.
If Buy is MA 1 Color Turned Green, Sell will be MA 1 Color Turned Red.
This ensures your sell strategy mirrors the logic of your buy strategy, preventing the "inverse problem" of getting sell signals on every candle that isn't a buy signal.
Mastering the Connectors: ( ) AND and ( ) OR
The true power of the Strategy Builder lies in its connectors, which allow you to create complex, multi-layered logic. The connector on a rule defines how it connects to the next active rule.
AND & OR: These work as you'd expect, creating a continuous chain of conditions.
Rule 1 (AND) & Rule 2 is evaluated as (R1 AND R2).
( ) OR (The Group Separator): This is your most powerful tool. It acts like closing a parenthesis in an equation. It finalizes the current group of rules and connects it to the
next group with a big "OR".
Example: (R1 AND R2) OR (R3 AND R4)
This creates two possible paths for a signal.
- Rule 1: Condition R1, Connector AND
- Rule 2: Condition R2, Connector ( ) OR <-- This closes the first group and links to the next with OR.
- Rule 3: Condition R3, Connector AND
- Rule 4: Condition R4
( ) AND (The Super-Filter): This allows you to create a "master" condition that must be true in addition to other complex conditions.
Example: (R1 OR R2) AND (R3 OR R4)
This requires a condition from the first group and a condition from the second group to be true.
- Rule 1: Condition R1, Connector OR
- Rule 2: Condition R2, Connector ( ) AND <-- This closes the first OR group and links to the next with AND.
- Rule 3: Condition R3, Connector OR
- Rule 4: Condition R4
By strategically combining these connectors, you can build any logical trading scenario you can imagine. We look forward to seeing the powerful strategies the community creates with this engine.
LRSlope - Linear Regression SlopeThis indicator attempts to predict the direction of the trend using least squares moving averages (LSMA).
The indicator's core purpose is to determine whether the price trajectory has a positive or negative slope and calculate directional changes. It also measures the strength of price momentum by calculating how strongly the slope.
The indicator calculates the slope of the curve for each bar and the EMA of these slopes for the specified period (Curve Length). It is consists of a histogram and two lines named "Average Slope"(white line) and "Simple" (green line).
The "Average Slope" is the simple moving average of the calculated EMA values.
" Simple " is SMA of calculated slopes.
The color of the histogram changes depending on the relative position of these two lines and zero line.
Simply put, the green bars of the histogram indicate an uptrend, blue bars indicate a horizontal or reverse movement, and red bars indicate a downtrend.
It is possible to see the strength of the momentum by the amount of change in the " Simple" (green line).