Moving Averages - Slope Colored Candle/this is an open source code and strictly for educational purpose
// the concept is to identify when the moving average is sloping upward or when the moving average is sloping downward
//since there are various ways to generate signal from moving average but the slope of moving average has much weight of evidence we are using the slope
//THE IDEA IS SIMPLE TO REMAIN RIGHT SIDE OF THE TREND
Media mobile semplice (SMA)
Custom MA Indicator// @version=6
indicator("Custom MA Indicator", overlay=true)
// Define the moving average periods
ma_red_period = 50
ma_orange_period = 100
ma_green_period = 200
// Calculate the moving averages
ma_red = ta.sma(close, ma_red_period)
ma_orange = ta.sma(close, ma_orange_period)
ma_green = ta.sma(close, ma_green_period)
// Plot the moving averages with specified colors
plot(ma_red, color=color.red, title="Red MA")
plot(ma_orange, color=color.orange, title="Orange MA")
plot(ma_green, color=color.green, title="Green MA")
Triple Moving Averages + 40 SMAThis script provides a versatile and efficient multi-moving average (MA) indicator, allowing you to track key trend levels effortlessly. It includes four customizable simple moving averages (SMA): 10, 40, 50, and 100-periods, which are commonly used by traders for identifying market trends, momentum shifts, and key support/resistance zones.
🔹 Features:
✅ Customizable Moving Averages – Adjust periods for 10, 40, 50, and 100 SMA to fit your strategy.
✅ Enable/Disable MAs – Toggle each moving average on or off to declutter your chart.
✅ Clear Trend Visualization – Identify bullish and bearish trends with color-coded SMAs.
✅ Works on Any Market & Timeframe – Use it for stocks, crypto, forex, or indices across all timeframes.
✅ Optimized for TradingView – Built using the latest Pine Script v6, ensuring smooth performance.
📈 How to Use:
• A rising 50 and 100 SMA signals a strong uptrend, while a downward slope suggests a downtrend.
• The 10 and 40 SMA help spot short-term momentum shifts and potential entry/exit points.
• Combine with RSI, MACD, and volume indicators for better trade confirmation.
🚀 Perfect for traders who want a clear, no-BS approach to trend tracking!
🔔 Try it now, and don’t forget to leave feedback! 👍
MACD with LWMA
MACD with LWMA combines the traditional MACD indicator with a Linear Weighted Moving Average for enhanced signal accuracy. This custom indicator features color-coded histograms that change based on MACD direction and momentum, making trend identification more intuitive. The addition of LWMA helps filter potential false signals by providing a smoother reference line. Built-in alert conditions for bullish and bearish LWMA crossovers allow for timely trade notifications. Fully customizable parameters let you fine-tune the indicator to your specific trading strategy and timeframe preferences.
• Uses MACD to identify trend direction and momentum shifts
• Incorporates LWMA to provide smoother signal interpretation
• Features dynamic color-coded histograms that change based on MACD values and direction (thanks for MACD4C)
• Includes customizable parameters for fast, slow, signal, and LWMA lengths
• Provides visual cues when MACD is above/below zero line
• Generates alert signals for bullish and bearish LWMA/signal line crossovers
• Helps identify potential entry and exit points
• Works across multiple timeframes and instruments
• Offers improved visual clarity with enhanced line widths
• Reduces noise and potential false signals compared to standard MACD
*** it works better as an additional filter
SMA - 20, 50, 150, 200Simple Moving Average (SMA) Indicator
A simple moving average (SMA) indicator that calculates the average price over a specified period, helping to identify trends and smooth out volatility. Suitable for stocks, forex, crypto, and more. 🚀
Trend Reversal Alert*When you see a red Close, you can close a Long/Buy position or open a Short position.
*When you see a blue Close, you can open a Long/Buy position or close a Short position.
15 minutes and above makes a clearer, less noisy notification. My recommendation is 30 minutes, everyone can use a time interval suitable for their own strategy. At the same time, 50SMA and 10SMA are there for extra confirmation. 50SMA is purple, for extra confirmation, you can evaluate buying above 50, selling below and selling when 10sma cuts 50sma down, buying when up is certain.
This code in an uptrend; 1) there should be at least 3 green candles at the end (last green candle) after closing, 2) if a red first candle is formed that is larger than 50% of its body length And this red candle (Moving Average 10) is a value below this value, it gives a warning and shows a red "Close" label on the chart. While creating this code, I want you to check and take as a condition that the new first red candle is 50% larger by taking the last 3 green uptrend candles and the last closed green candle as basis and item 1) and item 2) should meet the conditions at the same time, accordingly, red close
In a downtrend within the same code sequence, this code; 3) there should be at least 3 red candles at the end (last red candle) after closing, 4) if a green first candle is formed that is larger than 50% of its body length And this green candle (Moving Average 10) is a value above this value, it gives a warning and shows a blue "Close" label on the chart It shows a label. When creating this code, I want you to check and take as a condition that the first new green candle is 50% larger, based on the last 3 red bearish candles and the last closed red candle, and item 3) and item 4) must meet the conditions at the same time, accordingly, blue clos
Trend Reversal Alert*When you see a red Close, you can close a Long/Buy position or open a Short position.
*When you see a blue Close, you can open a Long/Buy position or close a Short position.
15 minutes and above makes a clearer, less noisy notification. My recommendation is 30 minutes, everyone can use a time interval suitable for their own strategy. At the same time, 50SMA and 10SMA are there for extra confirmation. 50SMA is purple, for extra confirmation, you can evaluate buying above 50, selling below and selling when 10sma cuts 50sma down, buying when up is certain.
This code in an uptrend; 1) there should be at least 3 green candles at the end (last green candle) after closing, 2) if a red first candle is formed that is larger than 50% of its body length And this red candle (Moving Average 10) is a value below this value, it gives a warning and shows a red "Close" label on the chart. While creating this code, I want you to check and take as a condition that the new first red candle is 50% larger by taking the last 3 green uptrend candles and the last closed green candle as basis and item 1) and item 2) should meet the conditions at the same time, accordingly, red close
In a downtrend within the same code sequence, this code; 3) there should be at least 3 red candles at the end (last red candle) after closing, 4) if a green first candle is formed that is larger than 50% of its body length And this green candle (Moving Average 10) is a value above this value, it gives a warning and shows a blue "Close" label on the chart It shows a label. When creating this code, I want you to check and take as a condition that the first new green candle is 50% larger, based on the last 3 red bearish candles and the last closed red candle, and item 3) and item 4) must meet the conditions at the same time, accordingly, blue close
Üç Beyaz Asker ve Üç Siyah Karga FormasyonlarıThis code is a custom indicator written for use on the TradingView platform. The code is designed to detect "Three White Soldiers" and "Three Black Crows" formations and scan stocks where these formations occur. It also displays the stocks where these formations occur in a table.
Working Logic
The code searches for Three White Soldiers and Three Black Crows formations in the specified stocks and time period.
It detects the stocks where the formations occur and displays these stocks in a table.
The table is positioned in the upper right corner of the chart and lists the stocks where the formations occur.
Usage Scenario
The user selects the stock group and time period they want to scan.
The code searches for formations in the selected stocks and displays the results it finds in a table.
The user can determine trading strategies according to the results in the table.
Customization
The code can be easily customized for different stocks and time periods.
New formations or scanning criteria can be added.
This code is a useful tool especially for traders who do technical analysis and allows automatic detection of certain formations.
MR Price to MA//this is a simple concept to identify extremee price points using the price and a simple moving Average
//one must change the xtreme ranges as per timeframe and optimize the range.
// when we divide price by SMA it converts price into a stationary hence helps us identify extremee zones
Adam Khoo EMA/SMA Uses the EMA (20/40) and SMA lines (50/100/150/200) from the Adam Khoo videos.
The 20/40 EMA lines are dashed.
Shaded Price vs MA (Customizable)Two moving averages (MA) indicator that shades the difference between the price and the moving averages.
Selection between SMA, EMA and WMA with custom colors.
Default setting is 50 EMA and 200 SMA.
Multiple Timeframe Moving AveragesThis indicator plots three user-defined moving averages (SMA, EMA, WMA, or VWMA), each pulled from a different timeframe.
Think of it as a 'smoothed' price line for the short-term, medium-term, and long-term, all overlaid on your current chart.
Default MA length is 200, but you can tweak it.
SMA Strategy Builder 2TP [alpolcaymis]📄 Indicator Description for Publishing:
SMA Strategy Builder 2TP
📊 Build, Test, and Optimize Your SMA-Based Trading Strategy with Dual Take-Profit Levels
🚀 Description:
SMA Strategy Builder 2TP is a powerful and flexible trading indicator designed to help you build and test SMA-based long/short trading strategies with two-step take-profit (TP) levels for enhanced profitability and risk management.
This tool provides a dynamic approach to trading by allowing you to:
⚡ Execute Long/Short trades based on SMA crossovers.
🎯 Set two take-profit levels:
TP1: Closes 50% of the position.
TP2: Closes the remaining 50% of the position.
💵 Adjust initial capital for backtesting.
💸 Apply customizable commission rates (or turn it off) to simulate real trading conditions.
📈 Track capital growth with an optional capital curve.
🔢 Monitor each trade with clear labels showing:
Updated capital
Percentage profit/loss
Trade count
🌟 Key Features:
2-Step Take-Profit Strategy: Optimize profits by splitting your position into two exit levels.
Customizable SMA Period: Adjust the SMA period to suit your trading style.
Flexible Commission Settings: Simulate real trading scenarios with adjustable commission rates.
Capital Tracking: Visualize your portfolio growth over time.
Clear Trade Visualization: Profit/loss percentages and trade counts displayed directly on the chart.
Dynamic SMA Coloring: SMA line changes color based on trade position (green for long, red for short).
Instant Alerts: Get notified when long/short signals or TP targets are reached.
⚡ Why Use This Indicator?
This strategy builder is perfect for traders who want to:
💡 Validate SMA strategies before going live.
📊 Optimize take-profit levels for better risk/reward ratios.
🏹 Understand performance impact when partial profits are taken at different stages.
🔄 Refine trading strategies by experimenting with commission rates and SMA settings.
💬 How to Use:
1️⃣ Adjust the SMA period based on your strategy.
2️⃣ Set TP1 and TP2 levels (%).
3️⃣ Choose your initial capital and commission rate.
4️⃣ Enable capital curve tracking if you want to visualize performance.
5️⃣ Use TradingView alerts to monitor key events in real-time.
🔔 Alerts Provided:
Long Signal: When price crosses above SMA.
Short Signal: When price crosses below SMA.
TP1 Reached: 50% position closure.
TP2 Reached: Final 50% position closure.
🎯 Final Notes:
Designed for educational and backtesting purposes.
Ensure you adapt parameters according to your preferred trading style and risk tolerance.
Compatible with TradingView’s real-time alerts for better trade management.
✨ Happy trading! Optimize, test, and grow with SMA Strategy Builder 2TP . 🚀📈
EMA, SMA & VWAP IndicatorThis custom Indicator is designed to provide dynamic moving average system that adapts to different timeframes and reduces clutter on the chart. The indicator selectively displays Exponential Moving Averages (EMAs), Simple Moving Averages (SMAs) Volume Weighted Average Price (VWAP) based on the timeframe, helping traders focus on the most relevant data.
Features & Functionality:
*Exponential Moving Averages (EMAs) for Lower Timeframes:
8, 20, 50, 167 and 200 EMAs are visible only on intraday timeframes (e.g., 1-minute, 5-minute, 15-minute, 1-hour, 4-hour).
EMAs are hidden on Daily (D), Weekly (W), and Monthly (M) charts to reduce redundancy.
50 EMA is hidden on the 3-minute chart.
The 167 EMA is exclusively visible on the 3-minute chart. This represents the 50 EMA on the 10-minute chart.
*Simple Moving Averages (SMAs) for Higher Timeframes:
8, 20, 50, and 200 SMAs are only visible on Daily, Weekly, and Monthly charts to provide long-term trend analysis.
*Volume Weighted Average Price (VWAP)
VWAP is calculated using:
o Source = hlc3
o offset = 0
o Anchor Period = Session
Can be toggled ON/OFF using a user input setting.
Hidden on D/W/M timeframes to prevent unnecessary indicators on higher timeframes.
SMA Strategy Builder: Create & Prove Profitability📄 Pine Script Strategy Description (For Publishing on TradingView)
🎯 Strategy Title:
SMA Strategy Builder: Create & Prove Profitability
✨ Description:
This tool is designed for traders who want to build, customize, and prove their own SMA-based trading strategies. The strategy tracks capital growth in real-time, providing clear evidence of profitability after each trade. Users can adjust key parameters such as SMA period, take profit levels, and initial capital, making it a flexible solution for backtesting and strategy validation.
🔍 Key Features:
✅ SMA-Based Logic:
Core trading logic revolves around the Simple Moving Average (SMA).
SMA period is fully adjustable to suit various trading styles.
🎯 Customizable Take Profit (TP):
User-defined TP percentages per position.
TP line displayed as a Step Line with Breaks for clear segmentation.
Visual 🎯TP label for quick identification of profit targets.
💵 Capital Tracking (Proof of Profitability):
Initial capital is user-defined.
Capital balance updates after each closed trade.
Shows both absolute profit/loss and percentage changes for every position.
Darker green profit labels for better readability and dark red for losses.
📈 Capital Curve (Performance Visualization):
Capital growth curve available (hidden by default, can be enabled via settings).
📏 Dynamic Label Positioning:
Label positions adjust dynamically based on the price range.
Ensures consistent visibility across low and high-priced assets.
⚡ How It Works:
Long Entry:
Triggered when the price crosses above the SMA.
TP level is calculated as a user-defined percentage above the entry price.
Short Entry:
Triggered when the price crosses below the SMA.
TP level is calculated as a user-defined percentage below the entry price.
TP Execution:
Positions close immediately once the TP level is reached (no candle close confirmation needed).
🔔 Alerts:
🟩 Long Signal Alert: When the price crosses above the SMA.
🟥 Short Signal Alert: When the price crosses below the SMA.
🎯 TP Alert: When the TP target is reached.
⚙️ Customization Options:
📅 SMA Period: Choose the moving average period that best fits your strategy.
🎯 Take Profit (%): Adjust TP percentages for flexible risk management.
💵 Initial Capital: Set the starting capital for realistic backtesting.
📈 Capital Curve Toggle: Enable or disable the capital curve to track overall performance.
🌟 Why Use This Tool?
🔧 Flexible Strategy Creation: Adjust core parameters and create tailored SMA-based strategies.
📈 Performance Proof: Capital tracking acts as real proof of profitability after each trade.
🎯 Immediate TP Execution: No waiting for candle closures; profits lock in as soon as targets are hit.
💹 Comprehensive Performance Insights: Percentage-based and absolute capital tracking with dynamic visualization.
🏦 Clean Visual Indicators: Strategy insights made clear with dynamic labeling and adjustable visuals.
⚠️ Disclaimer:
This script is provided for educational and informational purposes only. Trading financial instruments carries risk, and past performance does not guarantee future results. Always perform your own due diligence before making any trading decisions.
Breakout Trend Follower freeFree for all users/for Trading bots/ ALWAYS DYOR before use
Strategy: Enter long when recent swing high breaks out, using recent swing low as stop level. Move stops up as higher lows print to act
as trailing stops. Ride trend as long as it is there and the higher lows aren't breached.
Conditions/Variables
1. Manually configure which dates to back test
2. Can add a filter to only take setups that are above (or below for shorts) user-defined moving average(s) (helps avoid trading counter trend)
3. Can ignore signals that are too extended and not consolidating enough based on ADR and/or RSI.
4. Color background of trades - helps to easily see at a glance if the strategy should be long or not.
// @HannSo1o TG
// @singoslab CIS Comunity in TG
C&P MA/KT Compare & Predict Moving average / Current market price.
This is simple table indicator. Located at right-top of chart. Shows which way will MA's head go.
I made this indicator for automate candle countings & compare price. With this friend, you will be know trend more faster then waiting traditional MA golden / dead crossing.
In factory settings, current market price will be compared with closing price of the candle, corresponding to previous number 7, 25, 60, 99, 130, 240. If Current market price is lower then past, the box for the corresponding MA is highlighted in red and appears as Down. In opposite case, it will be highlighted in green and indicates Up.
MA와 시장가 차이로 MA의 머리 방향을 예측해주는 간단한 지표입니다.
수동으로 캔들 되돌려서 종가와 시장가 비교하는게 너무 번거로워서 자동화를 위해 제작되었습니다. 해당 지표를 이용하시면 MA의 골든/데드 크로스를 기다리는 것보다 더 빠른 예측이 가능합니다.
차트 우측 상단에 예측 값이 표시되며, 기본 설정에선 7, 25, 60, 99, 130, 240개 전 캔들의 종가와 시장가가 비교됩니다. 시장가가 비교 값보다 높을 때는 초록 배경에 Up 텍스트가 출력됩니다. 반대의 경우엔 빨간색 배경에 Down 표기가 나타납니다.
Smart MA Crossover BacktesterSmart MA Crossover Backtester - Strategy Overview
Strategy Name: Smart MA Crossover Backtester
Published on: TradingView
Applicable Markets: Works well on crypto (tested profitably on ETH)
Strategy Concept
The Smart MA Crossover Backtester is an improved Moving Average (MA) crossover strategy that incorporates a trend filter and an ATR-based stop loss & take profit mechanism for better risk management. It aims to capture trends efficiently while reducing false signals by only trading in the direction of the long-term trend.
Core Components & Logic
Moving Averages (MA) for Entry Signals
Fast Moving Average (9-period SMA)
Slow Moving Average (21-period SMA)
A trade signal is generated when the fast MA crosses the slow MA.
Trend Filter (200-period SMA)
Only enters long positions if price is above the 200-period SMA (bullish trend).
Only enters short positions if price is below the 200-period SMA (bearish trend).
This helps in avoiding counter-trend trades, reducing whipsaws.
ATR-Based Stop Loss & Take Profit
Uses the Average True Range (ATR) with a multiplier of 2 to calculate stop loss.
Risk-Reward Ratio = 1:2 (Take profit is set at 2x ATR).
This ensures dynamic stop loss and take profit levels based on market volatility.
Trading Rules
✅ Long Entry (Buy Signal):
Fast MA (9) crosses above Slow MA (21)
Price is above the 200 MA (bullish trend filter active)
Stop Loss: Below entry price by 2× ATR
Take Profit: Above entry price by 4× ATR
✅ Short Entry (Sell Signal):
Fast MA (9) crosses below Slow MA (21)
Price is below the 200 MA (bearish trend filter active)
Stop Loss: Above entry price by 2× ATR
Take Profit: Below entry price by 4× ATR
Why This Strategy Works Well for Crypto (ETH)?
🔹 Crypto markets are highly volatile – ATR-based stop loss adapts dynamically to market conditions.
🔹 Long-term trend filter (200 MA) ensures trading in the dominant direction, reducing false signals.
🔹 Risk-reward ratio of 1:2 allows for profitable trades even with a lower win rate.
This strategy has been tested on Ethereum (ETH) and has shown profitable performance, making it a strong choice for crypto traders looking for trend-following setups with solid risk management. 🚀
MTF Ichimoku Conversion Line SMA with H/L mirrored levelsWelcome to MTF Ichimoku Conversion Line with SMA Highs/Lows Extended Lines!
1. Overview
It is designed to provide a multi-timeframe view of market trends and potential support/resistance levels by obtaining a Simple Moving Average (SMA) of the Conversion Line of Ichimoku Equibilium (Ichimoku Kinko-Hyo), which acts as a substantial trend line on the candlestick chart. The SMA of the conversion line smooths out price fluctuations and indicates the overall trend direction—if the candles are above it, the trend can be read as an uptrend, while below it, the trend can be read as a downtrend.
2. Calculation
The indicator first calculates the Conversion Line (see the description of Ichimoku theory anywhere, e.g., Wikipedia), as the average of the highest high and lowest low over a user-defined period (Conversion Line Length, default is 9, also recommended is 9).
It then retrieves this Conversion Line from a higher timeframe (MTF Timeframe) to add a broader perspective. Using a specified period (SMA Length)., an SMA is computed on this multi-timeframe conversion line. This SMA serves as a trend line that visually represents the prevailing price trend, making it easier to assess market direction.
3. Pivot Highs/low detection and drawing their extensions
In addition, the indicator identifies pivot highs and lows from the SMA data using a defined pivot length. When these pivots occur, horizontal lines are drawn and extended across the chart. These extended lines (drawn in a yellowish color by default) include a full extension, a half extension, and a middle extension line representing the midpoint between the high and low pivot.
4. Mirror lines
The indicator also offers optional mirror line features. When the Mirror Upside option is enabled, five additional lines are drawn above the highest extended yellow line at equal intervals. Similarly, when the Mirror Downside option is enabled, five lines are drawn below the lowest extended yellow line. These light gray mirror lines serve as extra reference levels, which can help identify potential support or resistance zones.
5. Parameters
User parameters include:
- Conversion Line Length: The period used to calculate the conversion line.
- MTF Timeframe: The higher timeframe from which the conversion line is obtained.
- SMA Length: The period over which the SMA is calculated on the conversion line.
- SMA Mode: A toggle to display either the SMA or the raw conversion line (SMA recommended).
- SMA Line Width: The thickness of the SMA line.
- Pivot Length for SMA Highs/Lows: The period used to detect pivot highs and lows in the SMA.
- Horizontal Extension: Number of bars by which the pivot and extended lines are drawn across the chart
- Colors for High and Low Pivot Lines and Extended Lines: Customizable colors are used to draw the lines.
Mirror Upside and Mirror Downside: These options enable drawing additional mirror lines above and below the extended lines.
- Hide Old Lines: An option to hide previous pivot lines once new ones are drawn for a cleaner chart. Turned on by default.
6. Conclusion
Overall, the Conversion Line SMA in this indicator smooths out the conversion line data and effectively functions as a trend line for the candlestick chart, helping traders visually interpret the underlying market trend. The extended and mirror lines provide further context for potential price reversal or continuation areas, making this a powerful tool for multi-timeframe technical analysis.
EMA/SMA Ribbon Pro (AUTO HTF + Labels)This indicator is a multi-timeframe (MTF) moving average ribbon that dynamically adjusts to the next highest timeframe. It provides a visual representation of market trends by stacking multiple EMAs and SMAs with customizable color fills and labels.
Features
✅ Multi-Timeframe (MTF) Support: Automatically detects the next highest time frame or allows for manual selection
✅ Customizable Moving Averages: Supports EMA and SMA with different lengths for flexible configuration
✅ Ribbon Visualization: Smooth color transitions between different moving averages for better trend identification
✅ Crossover Labels: Detects bullish and bearish EMA/SMA crossovers and marks them on the chart
✅ Price Labels & Timeframe Display: Displays moving average values to the right of the price axis with customizable label padding and colors
How It Works
Select the HTF mode: Manual or automatic
Choose EMA/SMA lengths to create different ribbons
Enable/disable price labels for each moving average
Customize colors and transparency for ribbons and labels
Crossover labels appear when faster moving averages cross slower ones and vice versa
Use Cases
📌 Trend Identification: Identify bullish and bearish trends using multiple EMAs and SMAs
📌 Support & Resistance Zones: MAs can act as dynamic support and resistance levels
📌 Reversal & Confirmation Signals: Watch for MTF crossovers to confirm trend changes
Customization
🔹 Standard EMA Lengths: 6, 8, 13, 21, 34, 48, 100, 200, 300, 400
🔹 SMA Lengths: 48, 100, 200
🔹 Color Adjustments: Set custom colors for bullish/bearish ribbons
🔹 Crossovers: Enable/disable custom crossover pairs (e.g., 100/200 EMA, 200 EMA/SMA).
This indicator is perfect for traders who rely on multi-timeframe confluence while seeking to enhance their market analysis and decision-making process.
As always, by combining EMA/SMA Ribbon with other tools, traders ensure that they are not relying on a single indicator. This layered approach can reduce the likelihood of false signals and improve overall trading accuracy.
As always, be sure to use any indicator with price action and volume indicators for better trade confirmation!
Sma Indicator with Ratio (pr)SMA Indicator with Ratio (PR) is a technical analysis tool designed to provide insights into the relationship between multiple Simple Moving Averages (SMAs) across different time frames. This indicator combines three key SMAs: the 111-period SMA, 730-period SMA, and 1400-period SMA. Additionally, it introduces a ratio-based approach, where the 730-period SMA is multiplied by factors of 2, 3, 4, and 5, allowing users to analyze potential market trends and price movements in relation to different SMA levels.
What Does This Indicator Do?
The primary function of this indicator is to track the movement of prices in relation to several SMAs with varying periods. By visualizing these SMAs, users can quickly identify:
Short-term trends (111-period SMA)
Medium-term trends (730-period SMA)
Long-term trends (1400-period SMA)
Additionally, the multiplied versions of the 730-period SMA provide deeper insights into potential price reactions at different levels of market volatility.
How Does It Work?
The 111-period SMA tracks the shorter-term price trend and can be used for identifying quick market movements.
The 730-period SMA represents a longer-term trend, helping users gauge overall market sentiment and direction.
The 1400-period SMA acts as a very long-term trend line, giving users a broad perspective on the market’s movement.
The ratio-based SMAs (2x, 3x, 4x, 5x of the 730-period SMA) allow for an enhanced understanding of how the price reacts to higher or lower volatility levels. These ratios are useful for identifying key support and resistance zones in a dynamic market environment.
Why Use This Indicator?
This indicator is useful for traders and analysts who want to track the interaction of price with different moving averages, enabling them to make more informed decisions about potential trend reversals or continuations. The added ratio-based values enhance the ability to predict how the market might react at different levels.
How to Use It?
Trend Confirmation: Traders can use the indicator to confirm the direction of the market. If the price is above the 111, 730, or 1400-period SMA, it may indicate an uptrend, and if below, a downtrend.
Support/Resistance Levels: The multiplied versions of the 730-period SMA (2x, 3x, 4x, 5x) can be used as dynamic support or resistance levels. When the price approaches or crosses these levels, it might indicate a change in the trend.
Volatility Insights: By observing how the price behaves relative to these SMAs, traders can gauge market volatility. Higher multiples of the 730-period SMA can signal more volatile periods where price movements are more pronounced.
EMA CROSS v1.0 by ScorpioneroIndicator Description: Multi-Timeframe SMA Table & Plot
This indicator displays a structured table of Simple Moving Averages (SMA) across multiple timeframes and plots them directly on the chart for better trend analysis.
Features:
✅ Multi-Timeframe SMA Calculation: Computes SMAs for different periods (10, 60, and 223) across six timeframes (1m, 3m, 5m, 15m, 30m, 60m).
✅ Sorted SMA Table: Displays a table in the bottom-right corner of the chart, showing the three SMAs per timeframe, sorted in descending order.
✅ Color-Coded Cells: Each SMA is highlighted with a specific color:
🟡 Yellow → 10-period SMA
🔵 Blue → 60-period SMA
🟣 Purple → 223-period SMA
⚪ Gray → Other values
✅ SMA Plotting on the Chart: All calculated SMAs are plotted directly on the price chart, allowing users to visualize their interaction with price movements.
How to Use:
The table provides a quick overview of SMA rankings across timeframes, helping identify bullish or bearish trends.
The SMA plots on the chart can be used for dynamic support/resistance analysis and trend confirmation.
This indicator is ideal for traders who rely on multi-timeframe trend analysis to make informed trading decisions! 🚀
by Scorpionero
Custom Length Moving AverageThe Custom Length Moving Average is a dynamic indicator that allows traders to plot a moving average with an adjustable length based on their preferred number of days. Users can choose between Simple Moving Average (SMA), Exponential Moving Average (EMA), or Weighted Moving Average (WMA) to match their trading strategy. The script automatically calculates the moving average length by factoring in the chart’s timeframe and trading session duration, ensuring precision and adaptability. This makes it an ideal tool for traders looking for a flexible moving average that adjusts to different market conditions and timeframes.