Support & Resistance ZonesAuto Support And Resistance Lines, This AI auto support and ressitance lines helps identify support and resitance
Penunjuk dan strategi
RLMC TMAS ALPHABOT by SAMOEDEFIferas gang
made by samoedefi
for rlmcrew
ict concepts with bos breaks
Hybrid Strategy with Position Control & Breakout Filter//@version=6
indicator('Hybrid Strategy with Position Control & Breakout Filter', overlay=true)
// === INPUTS ===
emaFastLen = input.int(8, 'Fast EMA')
emaSlowLen = input.int(21, 'Slow EMA')
rsiLen = input.int(14, 'RSI Length')
rsiOverbought = input.int(70, 'RSI Overbought')
rsiOversold = input.int(30, 'RSI Oversold')
macdFast = input.int(12, 'MACD Fast')
macdSlow = input.int(26, 'MACD Slow')
macdSignal = input.int(9, 'MACD Signal')
volatilityMultiplier = input.float(1.0, 'ATR Multiplier for Volatility Filter')
// === CALCULATIONS ===
emaFast = ta.ema(close, emaFastLen)
emaSlow = ta.ema(close, emaSlowLen)
rsi = ta.rsi(close, rsiLen)
= ta.macd(close, macdFast, macdSlow, macdSignal)
atr = ta.atr(14)
// === VOLATILITY FILTER ===
volatilityThreshold = ta.sma(atr, 14) * volatilityMultiplier
isVolatile = atr > volatilityThreshold
// === OPENING SPIKE LOGIC (first 15 mins of session only) ===
sessionStart = timestamp("America/New_York", year, month, dayofmonth, 9, 30)
first15Min = time >= sessionStart and time < sessionStart + 15 * 60 * 1000
openingBreakout = first15Min and close > open and ta.change(close) > atr * 1.5
// === POSITION TRACKING ===
var int position = 0 // 0 = no position, 1 = long, -1 = short
// === ENTRY CONDITIONS ===
longCondition = ((ta.crossover(emaFast, emaSlow) and rsi < rsiOverbought and macdLine > signalLine and isVolatile) or openingBreakout) and position != 1
shortCondition = ta.crossunder(emaFast, emaSlow) and rsi > rsiOversold and macdLine < signalLine and isVolatile and position != -1
// === EXIT CONDITIONS ===
exitLong = ta.crossunder(emaFast, emaSlow)
exitShort = ta.crossover(emaFast, emaSlow)
// === SIGNAL PLOTS ===
buySignal = longCondition
sellSignal = shortCondition
plotshape(buySignal, title='Buy Signal', location=location.belowbar, color=color.green, style=shape.triangleup, size=size.small, text='BUY')
plotshape(sellSignal, title='Sell Signal', location=location.abovebar, color=color.red, style=shape.triangledown, size=size.small, text='SELL')
// === STATE MANAGEMENT ===
if (longCondition)
position := 1
if (shortCondition)
position := -1
if (exitLong and position == 1)
position := 0
if (exitShort and position == -1)
position := 0
// === PLOT EMAs ===
plot(emaFast, color=color.orange, title='Fast EMA')
plot(emaSlow, color=color.blue, title='Slow EMA')
DA Cloud - DynamicDA Cloud - Dynamic | Detailed Overview
🌟 What Makes This Indicator Special
The DA Cloud - Dynamic is an advanced technical analysis tool that creates adaptive support and resistance zones that expand and contract based on market volatility. Unlike traditional static indicators, this cloud system "breathes" with the market, providing dynamic levels that adjust to changing market conditions.
📊 Core Components
1. Multi-Layered Cloud Structure
Resistance Cloud (Red): Three dynamic resistance levels (RL1, RL2, RL3) with intermediate channels (RC1, RC2)
Support Cloud (Green): Three dynamic support levels (SL1, SL2, SL3) with intermediate channels (SC1, SC2)
Trend Cloud (Blue): Five trend lines (TU2, TU1, TM, TL1, TL2) that flow through the center
Confirmation Line (Purple): A fast-reacting line that confirms trend changes
2. Forward Displacement Technology
The entire cloud system is projected 21 bars into the future (Fibonacci number), allowing traders to see potential support and resistance levels before price reaches them. This predictive element is inspired by Ichimoku Cloud theory but enhanced with modern volatility dynamics.
🔬 How It Works (Without Revealing the Secret Sauce)
Volatility-Responsive Design
The indicator continuously measures market volatility across multiple timeframes
During high volatility periods (like major breakouts), clouds expand dramatically
During consolidation, clouds contract and tighten around price
This creates a "breathing" effect that adapts to market conditions
Multi-Timeframe Analysis
Incorporates Fibonacci sequence periods (3, 13, 21, 34, 55) for calculations
Blends short-term responsiveness with long-term stability
Creates smooth, flowing lines that filter out market noise
Dynamic Level Calculation
Levels are not fixed percentages or static bands
Each level adapts based on current market structure and volatility
Channel lines (RC1, RC2, SC1, SC2) provide intermediate support/resistance
🎯 Key Features
1. Touch Point Detection
Colored dots appear when price touches key levels
Red dots = resistance touch
Green dots = support touch
Blue dots = trend median touch
2. Entry/Exit Signals
"Cloud Entry" labels when confirmation line crosses above SL1
"Cloud Exit" labels when confirmation line crosses below RL1
Background color changes based on bullish/bearish bias
3. Information Table
Real-time display of key levels (RL1, TM, SL1)
Current bias indicator (BULLISH/BEARISH)
Updates dynamically as market moves
⚙️ Customization Options
Main Controls:
Sensitivity (5-50): How responsive clouds are to price movements
Smoothing (1-50): Controls the flow and smoothness of cloud lines
Forward Displacement (0-50): How many bars to project the cloud forward
Advanced Volatility Settings:
Volatility Lookback (50-1000): Period for establishing volatility baseline
Volatility Smoothing (1-50): Reduces spikes in volatility expansion
Expansion Power (0.1-2.0): Controls how dramatically clouds expand
Range Divisor (1.0-20.0): Master control for overall cloud width
Level Spacing:
Individual multipliers for each resistance and support level
Allows fine-tuning of cloud structure to match different markets
Trend Spacing:
Separate controls for inner and outer trend bands
Customize the trend cloud density
📈 Trading Applications
1. Trend Identification
Price above TM (Trend Median) = Bullish bias
Price below TM = Bearish bias
Cloud color and width indicate trend strength
2. Support/Resistance Trading
Use RL1/SL1 as primary targets and reversal zones
RC1/RC2 and SC1/SC2 provide intermediate levels
RL3/SL3 mark extreme levels often seen at major tops/bottoms
3. Volatility Analysis
Expanding clouds signal increasing volatility and potential big moves
Contracting clouds indicate consolidation and potential breakout setup
Cloud width helps with position sizing and risk management
4. Multi-Timeframe Confirmation
Works on all timeframes from 1-minute to monthly
Higher timeframes show major market structure
Lower timeframes provide precise entry/exit points
🎓 Best Practices
Combine with Volume: High volume at cloud levels increases reliability
Watch for Touch Clusters: Multiple touches at a level indicate strength
Monitor Cloud Expansion: Sudden expansion often precedes major moves
Use Multiple Timeframes: Confirm signals across different time periods
Respect the Trend Median: This is often the most important level
⚡ Performance Notes
Optimized for up to 2000 bars of historical data
Smooth performance with 500+ lines and labels
Works on all markets: Crypto, Forex, Stocks, Commodities
📝 Version Info
Current Version: 1.0
Dynamic volatility expansion system
Full customization suite
Touch point detection
Entry/exit signals
Forward displacement projection
EMA Curl Strength+EMA Curl Strength+
Description:
This indicator provides a statistically normalized view of EMA slope momentum using Z-score transformation. By evaluating the rate of change of an EMA and comparing it against its historical behavior, the script highlights momentum shifts in a dynamic, adaptive way.
⸻
How It Works:
• Calculates the slope (percentage change) of a chosen EMA.
• Normalizes the slope using Z-score over a custom lookback period.
• Smooths the resulting signal and computes two signal lines for comparison.
• Assigns dynamic colors based on user-defined Z-score thresholds for mild, moderate, and strong momentum in both directions.
⸻
Visual Features:
• Gradient fill between the Z Curl Line and Signal 1 to highlight slope acceleration.
• Histogram showing the difference between the Z Curl Line and its signal.
• Optional signal crossover shapes between configurable pairs (e.g., Z Curl vs. Signal).
• Background highlights when the Z Curl Line exceeds ±2, indicating strong trending behavior.
⸻
Customization:
• Adjustable EMA length, smoothing lengths, signal lengths, histogram smoothing, and Z-score lookback.
• Separate color controls for:
• Z-score strength bands (mild/moderate/strong up/down)
• Histogram bars
• Signal lines
• Background highlight zones
• Crossover shapes
⸻
Use Cases:
• Momentum Confirmation: Confirm strength when Z Curl exceeds ±2 with matching background highlights.
• Trend Entry Timing: Look for trades when Z Curl crosses above or below the 0-line.
• Scalping: Capture quick directional moves when momentum accelerates.
• Trend Following: Use strong Z Curl values to confirm trade direction and filter sideways action.
• Divergence Detection: Spot divergences between price and Z Curl movement to anticipate reversals.
Dema Entry FRAMA Exit VTECDual-Timeframe Trend Strategy
This strategy combines a 20-hour DEMA Supertrend with a 1-day FRAMA to capture strong market trends with fast entries and high-confidence exits.
Key Components
DEMA Supertrend (20H): Triggers quick entries to catch early trend momentum.
FRAMA (1D): Confirms major trends, ensuring profitable exits.
ATR Filter (1D): Sets precise entry/exit bands using Average True Range.
Gaussian Filter (1D): Smooths price data for reliable FRAMA signals.
Trading Rules
Entry: Enter long if DEMA Supertrend (20H) or FRAMA (1D) signals bullish.
Exit: Exit long if DEMA Supertrend (20H) or FRAMA (1D) signals bearish.
Flow: DEMA typically enters first, FRAMA confirms, and either closes the trade.
Best Markets
Ideal for trending markets
Use on a 1-day chart with 20-hour DEMA data.
Best for 24/7 markets; check compatibility for stocks.
This strategy balances speed and precision for high-profit trades with disciplined risk control.
📊 Bollinger Band Strategy v1.0这份 Bollinger Band 工具脚本用于在图表上可视化布林带结构,并识别市场即将爆发的「低波动压缩区」(squeeze)、上下轨突破时机以及潜在的假突破反转信号。用户在 TradingView 图表中加载该脚本后,可以通过观察橙色小圆圈(表示布林带带宽低于阈值)、绿色/红色三角(价格突破上/下轨)以及紫色/青色叉号(free bar 回归)来辅助判断入场、出场或规避信号,从而提高波段交易的胜率与风控能力。适合结合 RSI、MACD 等动能指标进一步增强信号有效性。
// This Bollinger Band tool script is designed to visualize the Bollinger Band structure on a chart,
// identify potential "low volatility squeeze zones", breakout opportunities, and false breakout reversal signals.
// Once loaded in a TradingView chart, the user can monitor:
// - Orange circles: indicate that the Bollinger Band bandwidth has dropped below the defined threshold (squeeze signal),
// - Green/Red triangles: signal when price breaks above or below the Bollinger Bands,
// - Purple/Cyan crosses: suggest a possible fake breakout where price reverts back inside the band (free bar).
// These visual cues help traders better time entries and exits, avoid traps, and improve overall win rate in swing trading.
// This script is best used in combination with momentum indicators such as RSI and MACD to further increase accuracy.
NMT Buy/Sell Alarm GPTBUY:
1. When the green arrow appears, it is time for you to consider other additional situations to place a buy order
2. And you set an alert so you don't miss the opportunity
SELL:
You observe the green label showing the % ratio between the order and the current price
You want to sell with how much profit % (relatively) then you sell.
🏹 CCI+RSI+EMA Strategy (Enhanced with Oscillator Filters)This script is a multi-indicator trading strategy that combines trend-following and momentum signals using CCI, RSI, and EMA, enhanced with MACD and Stochastic filters for more reliable entries.
🧠 Core Concept
The strategy aims to:
Identify the trend using EMA(50) and a long-term comparison of EMA 35 vs EMA 169;
Spot momentum using CCI and RSI;
Filter entries through MACD and Stochastic confirmations to avoid false signals.
📌 Buy Conditions:
✅ Price is above EMA
✅ RSI is above a set threshold (default: 45)
✅ CCI is above a set threshold (default: 0)
✅ Uptrend confirmed by EMA 35 > EMA 169
✅ CCI has recently reached oversold levels (e.g. below -100)
✅ MACD shows bullish crossover
✅ Stochastic confirms exit from oversold zone
📌 Sell Conditions:
✅ Price is below EMA
✅ RSI is below a set threshold (default: 55)
✅ CCI is below 0
✅ Downtrend confirmed by EMA 35 < EMA 169
✅ CCI has recently reached overbought levels (e.g. above 100)
✅ MACD shows bearish crossover
✅ Stochastic confirms exit from overbought zone
🎯 Features:
Fully customizable inputs — adapt to your own trading style.
Trend background shading — green for uptrend, red for downtrend.
Enhanced entry logic — filters out weak signals.
CCI Cross and Trigger markers — additional confirmation tools.
🔔 Alerts
You can set alerts for ENHANCED BUY and ENHANCED SELL to never miss a quality signal.
📈 Use Case:
This tool is suitable for:
Manual trading entries and exits
Being a component of a broader trading system
Semi-automation with alert-based strategies
⚠️ Disclaimer:
This script is for educational and testing purposes only. It is not financial advice. Always backtest and demo trade before using on a live account.
Multi-Method Moving Average v6.0Multi-Methods Moving Average Indicator is a versatile tool designed for traders who want to identify key price levels that can act as support and resistance in the market. This indicator utilizes multiple moving averages (MAs) to help visualize price trends and potential reversal points, aiding traders in making informed decisions.
Features
Multiple Moving Averages: The indicator calculates and displays six different moving averages (MA1 to MA6) based on user-defined periods. This allows traders to analyze short-term and long-term trends effectively.
Customizable Inputs: Users can customize the periods for each moving average and select the type of moving average (SMA, EMA, WMA) that best suits their trading strategy.
Price Source Selection: The indicator allows users to choose the price source (Open, Close, High, Low, or the average of Open and Close) for calculating the moving averages, providing flexibility in analysis.
Color-Coded Signals: The moving averages are color-coded based on the current price relative to the moving average, helping traders quickly identify bullish or bearish conditions.
How to Use
Adding the Indicator:
Open TradingView and navigate to the chart you wish to analyze.
Click on the "Indicators" button at the top of the chart.
Search for "Multi-Methods Moving Average" and select the indicator to add it to your chart.
Customizing Settings:
Click on the gear icon next to the indicator's name in the chart legend to open the settings menu.
Adjust the periods for each moving average to fit your trading style. Common settings include 9, 26, 52, 100, 200, and 500 periods.
Choose the type of moving average you prefer (SMA, EMA, or WMA).
Select the price source that aligns with your trading strategy.
Interpreting the Indicator:
Moving Averages: Observe the position of the moving averages relative to the price. If the price is above the moving average, it indicates a bullish trend; if below, it suggests a bearish trend.
Crossover Signals: Look for crossovers between the moving averages. A crossover where a shorter moving average crosses above a longer moving average may signal a potential buy opportunity, while a crossover in the opposite direction may indicate a sell opportunity.
Support and Resistance Levels: Use the moving averages as dynamic support and resistance levels. Price often reacts at these levels, providing potential entry and exit points for trades.
Risk Management:
Always combine the insights from this indicator with other forms of analysis, such as price action, volume analysis, and market sentiment.
Set stop-loss and take-profit levels based on the identified support and resistance levels to manage your risk effectively.
Conclusion
The Support & Resistance Indicator is an essential tool for traders looking to enhance their market analysis. By leveraging multiple moving averages and customizable settings, traders can gain a clearer understanding of market trends and make more informed trading decisions.
Heikin Ashi Trend Strategy (Beginner)FOR BEGINNERS
Perfect! Below is a custom Pine Script for TradingView that:
Uses Heikin Ashi candles
Shows buy/sell signals based on trend conditions:
3+ green/red Heikin Ashi candles
Price above/below 20 EMA
RSI filter for momentum
Hybrid Strategy with Position Control//@version=6
indicator('Hybrid Strategy with Position Control', overlay=true)
// === INPUTS ===
emaFastLen = input.int(8, 'Fast EMA')
emaSlowLen = input.int(21, 'Slow EMA')
rsiLen = input.int(14, 'RSI Length')
rsiOverbought = input.int(70, 'RSI Overbought')
rsiOversold = input.int(30, 'RSI Oversold')
macdFast = input.int(12, 'MACD Fast')
macdSlow = input.int(26, 'MACD Slow')
macdSignal = input.int(9, 'MACD Signal')
// === CALCULATIONS ===
emaFast = ta.ema(close, emaFastLen)
emaSlow = ta.ema(close, emaSlowLen)
rsi = ta.rsi(close, rsiLen)
= ta.macd(close, macdFast, macdSlow, macdSignal)
// === POSITION TRACKING ===
var int position = 0 // 0 = no position, 1 = long, -1 = short
// === ENTRY CONDITIONS ===
longCondition = ta.crossover(emaFast, emaSlow) and rsi < rsiOverbought and macdLine > signalLine and position != 1
shortCondition = ta.crossunder(emaFast, emaSlow) and rsi > rsiOversold and macdLine < signalLine and position != -1
// === EXIT CONDITIONS (Optional logic for reset) ===
exitLong = ta.crossunder(emaFast, emaSlow)
exitShort = ta.crossover(emaFast, emaSlow)
// === SIGNAL PLOTS ===
buySignal = longCondition
sellSignal = shortCondition
plotshape(buySignal, title='Buy Signal', location=location.belowbar, color=color.green, style=shape.triangleup, size=size.small, text='BUY')
plotshape(sellSignal, title='Sell Signal', location=location.abovebar, color=color.red, style=shape.triangledown, size=size.small, text='SELL')
// === STATE MANAGEMENT ===
if (longCondition)
position := 1
if (shortCondition)
position := -1
// Reset position if trend reverses
if (exitLong and position == 1)
position := 0
if (exitShort and position == -1)
position := 0
// === PLOT EMAs ===
plot(emaFast, color=color.orange, title='Fast EMA')
plot(emaSlow, color=color.blue, title='Slow EMA')
Eliora Gold 1min (Heikin Ashi)Eliora -focused trading strategy designed for anything on the 1-minute timeframe using Heikin Ashi candles. This mode combines advanced market logic with structured risk management to deliver smooth, disciplined trade execution.
Key Features:
✅ Trend Confirmation – Aligns with dominant market direction for higher accuracy.
✅ ATR-Based Volatility Filter – Avoids high-risk conditions and chaotic price action.
✅ Candle Strength Logic – Filters weak setups, focusing on strong momentum.
✅ Balanced Risk/Reward – Calculates stop-loss and take-profit dynamically for consistent results.
✅ Cooldown & Overtrade Protection – Limits frequency to maintain trade quality.
This version of Eliora is built for scalpers and intraday traders seeking high-probability entries with graceful exits.
DNAMain array blue is used for break and retest entries, driver array is used for retest entries after retracement. The arrays signify dynamic liquidity pools where price reacts from. Timeframe confluence is needed to make everything work well.
Exchanges Combined Volume📊 Exchanges Combined Volume
(Aggregated Multi-Exchange Volume: Binance, OKX, Bybit, etc.) by BIGTAKER*
🔍 Purpose
The Exchanges Combined Volume indicator aggregates real-time trading volumes from multiple global exchanges for a specific asset (e.g., a cryptocurrency).
Instead of relying on a single market, it provides a broader view of market activity, helping users detect abnormal volume behavior and increased participation across the entire market.
⚙️ Supported Exchanges
* USDT Markets
`Binance`, `OKX`, `Bybit`, `Bitget`, `Gate.io`
* USD Markets
`Coinbase`, `Bitfinex`, `Bitstamp`
* Default
Includes the current chart symbol’s native volume by default.
🧮 Core Calculation Logic
1. 📛 Symbol Normalization (cleanSymbol)
Prefixes such as `1000`, `10000`, `100000`, or `1M` (common in leveraged tickers) are automatically removed to extract the base token.
> Example:
> `1000PEPEUSDT` → `PEPEUSDT`
2. 📈 Volume Requests from External Exchanges
Volume is retrieved using the `` format (e.g., `'BINANCE:PEPEUSDT'`, `'COINBASE:BTCUSD'`).
Invalid or delisted pairs are safely ignored using `ignore_invalid_symbol=true`.
3. 📊 Total Volume Calculation
totalVolume = usdtVolume + usdVolume + currentSymbolVolume
The indicator sums the volume from all target exchanges plus the volume from the current chart symbol.
4. 📏 Comparison to Average Volume
* Period: `length = 60` (Simple Moving Average over 60 candles)
* A candle is considered **high-intensity** if:
5. 🎨 Visual Styling
| Condition | Color | Meaning |
| -------------------------- | --------------------- | ----------------------- |
| High-volume Bullish Candle | Light Green (#30db78) | Strong Buying Activity |
| High-volume Bearish Candle | Bright Red (#ff0000) | Strong Selling Activity |
| Normal Bullish Candle | Dark Green (#3c7058) | Regular Buying Volume |
| Normal Bearish Candle | Dark Red (#682e2c) | Regular Selling Volume |
📌 Use Cases
* Detect synchronized volume surges across major global exchanges.
* Identify pre-pump accumulation phases on altcoins.
* Combine with premium gap indicators (e.g., Kimchi Premium) to identify leading market sentiment.
* Confirm breakout momentum with multi-exchange volume validation.
📘 Notes & Warnings
* Listing differences across exchanges may result in **zero volume** on some platforms.
* Prefixes like `1000`, `1M`, etc., are automatically removed to **improve symbol matching accuracy**.
* As volume units are not standardized, this indicator is best suited for **absolute value analysis**, not ratio-based comparisons.
Macros, Sessions, and Quarters - psyploThis script was developed for my personal trading workflow, where I rely heavily on macro time windows and session-based timing to guide my strategy. I designed this tool to help visualize important time-based zones that are crucial in my trading approach, and I believe other traders might find it useful as well.
Features
Macro Time Window Boxes: Visual representation of price range within a configurable time window around the top of every hour.
Session Ribbon Boxes: Clearly marks the Asia, London, and New York trading sessions, labeled distinctly for better visual separation.
Session Quarters: Each session is automatically divided into four quarters, providing more granular time segmentation within sessions.
Time Zone: All session calculations are based on UTC +8 (Asia/Singapore) timezone.
This tool helps traders:
Identify volatility zones around hourly opens.
Track session-specific market dynamics.
Recognize shifts in momentum or liquidity during each session quarter.
I created this for my own strategies, but it can serve any trader who benefits from time-based market segmentation.
Feel free to adjust the colors and time window settings to suit your preferences!
ATR % Line from Day LowThis places a line at a determined percent distance (within the settings panel) from the high or low of the day to make sure you're not buying extended.
Nifty Call/Put Chart Analysis (Minimal)By Arindam Dey. it is just for learning purpose. do not use it for professional trading. if it is working fine. just let me know on my email ID arindam.day@gmail.com
Gold & FX 4H StrategyWith this indicator you BUY when the price is ABOVE the EMA and SELL when price is BELLOW all the EMA
Strategy with DI+/DI-, ADX, RSI, MACD, EMA + Time Stop [EXP. 1]Strategy Overview
This is an experimental trend-following strategy combining directional movement indicators, momentum filters, and time-based exits. Built for low timeframes like BTCUSDT 5m, it aims to detect clean directional setups while managing risk tightly.
Indicator Components
• DI+/DI- + ADX – Confirms trend direction and strength
• RSI (14) – Momentum filter (entries only if RSI > 55 or < 45)
• MACD Histogram – Confirms momentum shift in signal direction
• Candle Body % Filter – Screens for strong price commitment bars
• EMA 600 & EMA 2400 – Defines long-term trend alignment
• Time-Based Stop – Closes trade if it doesn’t move 0.75% in 85 bars
• Reward:Risk – 1% stop-loss, 7.5:1 reward-to-risk
• One Trade per EMA Cross – Only trades first valid signal per trend shift
Entry Logic
Long Entry:
• DI+ crosses above DI−
• RSI > 55
• MACD histogram > 0
• Strong bullish candle
• EMA600 > EMA2400
• Occurs within 25 bars of an EMA crossover
Short Entry:
• DI+ crosses below DI−
• RSI < 45
• MACD histogram < 0
• Strong bearish candle
• EMA2400 > EMA600
• Occurs within 25 bars of an EMA crossover
Exit Logic
• Stop-loss: 1% from entry
• Take-profit: 7.5x risk
• Time-stop: Trade closed if price doesn’t move 0.75% in 85 bars
Testing Parameters
• Initial Capital: $10,000
• Commission: 0.04% per trade
• Timeframe: 5-minute
• Tested on: BTCUSDT
• ⚠️ Early-stage strategy — trade count may be low depending on market context. This is shared for educational use and community feedback.
Notes
• This script is experimental and educational
• Please forward-test in a demo environment before using it live
• Open-source for learning and improvement — contributions welcome!
Multi-Indicator Buy/Sell Signals (EMA, RSI, MACD)// This source code is subject to the terms of the Mozilla Public License 2.0
// mozilla.org
// © buy and sell signals gio1
//@version=5
indicator("Multi-Indicator Buy/Sell Signals (EMA, RSI, MACD)", overlay=true)
// --- Inputs for Moving Averages ---
fastMALen = input.int(10, title="Fast EMA Length", minval=1)
slowMALen = input.int(20, title="Slow EMA Length", minval=1)
// --- Inputs for RSI ---
rsiLength = input.int(14, title="RSI Length", minval=1)
rsiOB = input.int(70, title="RSI Overbought Level", minval=50, maxval=90)
rsiOS = input.int(30, title="RSI Oversold Level", minval=10, maxval=50)
// --- Inputs for MACD ---
macdFastLen = input.int(12, title="MACD Fast Length", minval=1)
macdSlowLen = input.int(26, title="MACD Slow Length", minval=1)
macdSigLen = input.int(9, title="MACD Signal Length", minval=1)
// --- Calculate Indicators ---
// EMA
fastMA = ta.ema(close, fastMALen)
slowMA = ta.ema(close, slowMALen)
// RSI
rsi = ta.rsi(close, rsiLength)
// MACD
= ta.macd(close, macdFastLen, macdSlowLen, macdSigLen)
// --- Define Buy and Sell Conditions ---
// EMA Crossover Condition
emaBuy = ta.crossover(fastMA, slowMA)
emaSell = ta.crossunder(fastMA, slowMA)
// RSI Condition
rsiBuy = rsi < rsiOS and rsi > rsiOS // Crossing up from oversold
rsiSell = rsi > rsiOB and rsi < rsiOB // Crossing down from overbought
// MACD Condition
macdBuy = ta.crossover(macdLine, signalLine)
macdSell = ta.crossunder(macdLine, signalLine)
// --- Combine Conditions for Final Signals ---
buySignal = emaBuy and rsiBuy and macdBuy
sellSignal = emaSell and rsiSell and macdSell
// --- Plot Signals on Chart ---
plotshape(buySignal, title="Buy Signal", location=location.belowbar, color=color.green, style=shape.triangleup, size=size.small)
plotshape(sellSignal, title="Sell Signal", location=location.abovebar, color=color.red, style=shape.triangledown, size=size.small)
// --- Add Alert Conditions ---
alertcondition(buySignal, title="Buy Alert", message="🔔 BUY signal triggered!")
alertcondition(sellSignal, title="Sell Alert", message="🔔 SELL signal triggered!")