Cycle Buy-SellThis is just for the 4-year market cycle highs and lows for those who are buying and hodling but still want to take profits each cycle. Buy and sell rules are as follows:
### **📊 Buy & Sell Signal Conditions Summary**
---
### **✅ Buy Signal Conditions (`▲` Buy Signal)**
A **buy signal** is triggered when **any** of the following conditions are met:
#### **1️⃣ Standard Buy Condition (Momentum-Based)**
✅ **55 SMA is Below the 220 SMA** (`ma1 < ma2`)
- Confirms that the market is in a **longer-term downtrend** before considering a buy.
✅ **RSI is Below 30** (`rsi < 30`)
- Signals that the asset is **oversold** and could be due for a reversal.
✅ **Stochastic RSI K is Below 25** (`stoch_k < 25`)
- Indicates **extreme bearish momentum**, often preceding a bounce.
✅ **Money Flow Index (MFI) is Below 30** (`mfi < 30`)
- Suggests **weak buying pressure**, often seen at market bottoms.
✅ **Volume is Above 1.2x the 20-Period Moving Average** (`highVolume`)
- Confirms that the buy signal occurs **during strong market participation** to reduce false signals.
---
#### **2️⃣ 1400 SMA Cross Buy Condition (Cycle-Based)**
✅ **Price Crosses Below the 1400 SMA** (`ta.crossunder(close, ma4)`)
- Signals a **potential long-term accumulation opportunity**.
- **Triggers a separate buy signal**, independent of other conditions.
---
### **📉 Sell Signal Conditions (`▼` Sell Signal)**
A **sell signal** is triggered when **any** of the following conditions are met:
#### **1️⃣ Standard Sell Condition (Momentum-Based)**
✅ **55 SMA is Above the 220 SMA** (`ma1 > ma2`)
- Confirms that the market is in a **longer-term uptrend** before considering a sell.
✅ **RSI is Above 70** (`rsi > 70`)
- Indicates that the asset is **overbought** and could be due for a correction.
✅ **Stochastic RSI K is Above 80** (`stoch_k > 80`)
- Signals **extreme bullish momentum**, often seen before a drop.
✅ **Money Flow Index (MFI) is Above 80** (`mfi > 80`)
- Suggests **strong buying pressure**, often occurring near market tops.
✅ **Volume is Above 1.2x the 20-Period Moving Average OR MVRV Z-Score > 2.5**
- `highVolume` = Volume is significantly above the average.
- `mvrvTop = mvrv > 2.5` (Suggests Bitcoin is overvalued based on historical trends).
---
#### **2️⃣ Pi Cycle Top Sell Condition (Cycle-Based)**
✅ **Pi Cycle Top Signal Triggers (`piCycleTop`)**
- `piCycleTop = ta.crossover(ma111, ma350x2)`
- **Overrides all other conditions and forces a sell signal**.
- Historically aligns with **major cycle tops in Bitcoin**.
---
### **📝 Summary of Buy & Sell Conditions**
📍 **A Buy (`▲`) is triggered when**:
- **Momentum-based buy conditions** (RSI, Stoch RSI, MFI, Volume, SMA) are met.
- **OR the price crosses below the 1400 SMA** (Separate buy signal).
📍 **A Sell (`▼`) is triggered when**:
- **Momentum-based sell conditions** (RSI, Stoch RSI, MFI, Volume, SMA, MVRV) are met.
- **OR the Pi Cycle Top is triggered** (Forces a sell).
🚀 **Your strategy now integrates both short-term momentum signals and long-term cycle analysis!** Let me know if you need refinements. 🎯
Moyenne mobile simple (SMA)
Avi - 8 MA Moving Averages (MA) Section
User Inputs:
The script lets you enable/disable and configure eight different moving averages. For each MA, you can choose:
The type: Simple Moving Average (SMA) or Exponential Moving Average (EMA)
The period (length)
The color used for plotting
Calculation:
A custom function (maFunc) calculates the MA value based on the selected type and length. Each moving average (from MA 1 to MA 8) is computed accordingly and then plotted on the chart.
2. EMA Cloud
Inputs:
There are inputs for a "Fast EMA" (default 8) and a "Slow EMA" (default 21).
Calculation & Plotting:
The script calculates the 8-period and 21-period EMAs. Although these EMAs are not directly plotted (they’re set with display.none), they are used to determine the market condition:
If the fast EMA is above the slow EMA, the area between them is filled with a greenish color.
If the fast EMA is below the slow EMA, the fill color turns reddish.
3. Buyer/Seller Pressure & ATR Calculations
Price Difference:
The script computes the difference between the close and open prices (as well as the percentage difference), which can be used as a measure of buyer vs. seller pressure.
ATR (Average True Range):
A 14-period ATR is calculated and then expressed as a percentage of the current close price. This gives a sense of volatility relative to the price level.
4. Volume Metrics & Relative Volume
Daily Volume & Averages:
The script retrieves daily volume data and computes a moving average for volume over a configurable length (default 20).
Relative Volume:
It calculates:
The average volume for the current period.
A relative volume multiplier comparing current volume to its moving average.
An estimated full-day volume based on the elapsed trading time, and checks if it will exceed the previous day’s volume.
The values are then formatted (e.g., converting to millions) for easier reading.
Conditional Formatting:
A background color is set based on whether the estimated relative volume is above or below a threshold.
5. Table Display
Purpose:
A table is created (position is configurable) to display key metrics:
14-day ATR percentage
Relative volume information (as a multiple and whether it exceeds the previous day)
Price difference (absolute and percentage change)
Style:
The table cells include conditional background and text colors to highlight different market conditions.
6. Pivot Points & Labels
Pivot Calculation:
The script calculates pivot highs and lows using user-defined left/right bar lengths.
Label Drawing:
When a pivot point is detected, a label is drawn on the chart to display its value. The style and colors for these labels are also configurable by the user.
Summary
This indicator script is quite comprehensive. It not only provides multiple moving averages and an EMA cloud to help visualize trend conditions but also includes features to assess market volatility, volume dynamics, and pivot levels—all of which are displayed neatly on the chart through plots and a customizable table. The commented-out gap detection code suggests that further features could be integrated if gap analysis is required.
If you have any specific questions or need further modifications, feel free to ask!
Avi - TablesThe "Avi - Tables" indicator is a comprehensive tool designed to display a wealth of technical information directly on your TradingView chart using dynamic tables and visual elements. It combines multiple analysis techniques and multi-timeframe metrics into an easy-to-read layout. Key features include:
Moving Averages & VWMA:
The indicator calculates up to six user-configurable moving averages (with options for both SMA and EMA) and a 20-period Volume-Weighted Moving Average (VWMA). It plots these averages on the chart and computes the percentage difference between the current price and each moving average. It also checks if the price has touched these levels.
ATR and Volatility:
A 14-period Average True Range (ATR) is calculated and expressed as a percentage of the close price, providing a measure of market volatility.
Volume Analysis:
Using daily volume data and a user-defined volume period, the indicator computes the relative volume (RVOL) as a multiple compared to the average volume. It estimates the full-day volume based on the elapsed trading day and compares it with the previous day’s volume, applying conditional formatting based on these comparisons.
Pressure Metrics:
The script calculates buyer and seller pressure based on price movement and volume, determining the dominant pressure (BP or SP) and displaying the result with corresponding color cues.
Multi-Timeframe Analysis Table:
Users can select various timeframes (15-min, 1-hour, 4-hour, daily, weekly, and monthly) for additional indicators such as MACD, ADX, CCI, and RSI. Each timeframe’s data is displayed in a dedicated table cell, with colors and text dynamically indicating bullish, bearish, or neutral conditions.
Customizable Tables & Layout:
The indicator provides several inputs for table positioning, text size, and layout options—including an option to flip the table rows and columns—allowing you to customize the display to best suit your chart and analysis needs.
Pivot Points & Gap Analysis:
Beyond the tables, the script includes functionality for detecting pivot highs and lows as well as identifying chart gaps. It draws labels for pivot points and, in an optional section, detects and manages gaps (with partial or full closures) and triggers alerts when new gaps appear or are closed.
Overall, "Avi - Tables" is designed to deliver a multi-layered view of market data—from moving averages and volatility to volume dynamics and multi-timeframe indicator signals—all organized neatly into customizable tables. This makes it a powerful resource for traders seeking an integrated and visually intuitive technical analysis tool.
sma 9/20 crossThis Pine Script is designed to visualize the crossover between two Simple Moving Averages (SMAs) on a chart: a fast SMA (9-period) and a slow SMA (20-period). The script will dynamically adjust the background color based on whether the fast SMA is above or below the slow SMA.
Key Components of the Script:
Inputs for SMA Lengths:
The script allows you to adjust the lengths of the two SMAs by inputting values for smaFastLength (default = 9) and smaSlowLength (default = 20). These lengths define how many periods (candles) the SMAs consider when calculating the moving averages.
SMA Calculations:
The script calculates two SMAs using the close price:
smaFast is the 9-period SMA.
smaSlow is the 20-period SMA.
These are calculated using TradingView’s built-in ta.sma function, which computes the simple moving average for the given period.
Background Color Logic:
The background color is dynamically updated based on the crossover condition:
Green background: When the fast SMA (smaFast) is above the slow SMA (smaSlow), indicating a bullish trend.
Red background: When the fast SMA is below the slow SMA, indicating a bearish trend.
The bgcolor function is used to change the background color on the chart. The transparency of the background color is set to 35% using color.new(color.green, 35) or color.new(color.red, 35).
Plotting the SMAs:
The two SMAs are plotted on the chart for visual reference:
The fast SMA is plotted in lime green (color.blue).
The slow SMA is plotted in red (color.red).
sma 9/20 crossThis Pine Script is designed to visualize the crossover between two Simple Moving Averages (SMAs) on a chart: a fast SMA (9-period) and a slow SMA (20-period). The script will dynamically adjust the background color based on whether the fast SMA is above or below the slow SMA.
Key Components of the Script:
Inputs for SMA Lengths:
The script allows you to adjust the lengths of the two SMAs by inputting values for smaFastLength (default = 9) and smaSlowLength (default = 20). These lengths define how many periods (candles) the SMAs consider when calculating the moving averages.
SMA Calculations:
The script calculates two SMAs using the close price:
smaFast is the 9-period SMA.
smaSlow is the 20-period SMA.
These are calculated using TradingView’s built-in ta.sma function, which computes the simple moving average for the given period.
Background Color Logic:
The background color is dynamically updated based on the crossover condition:
Green background: When the fast SMA (smaFast) is above the slow SMA (smaSlow), indicating a bullish trend.
Red background: When the fast SMA is below the slow SMA, indicating a bearish trend.
The bgcolor function is used to change the background color on the chart. The transparency of the background color is set to 35% using color.new(color.green, 35) or color.new(color.red, 35).
Plotting the SMAs:
The two SMAs are plotted on the chart for visual reference:
The fast SMA is plotted in lime green (color.lime).
The slow SMA is plotted in red (color.red).
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")
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
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: 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.
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.