Buy & Sell Signals - EMA + MACDBuy & Sell Signals - EMA + MACD is clean and practical Pine Script for buy and sell signals using a popular combination of EMA crossover and MACD confirmation, designed for stocks, crypto, or forex swing/intraday trading.
Indicators and strategies
ercometiUzun Vadeli SMA'lar354 708 1062 1414 diaries for friends who want to make money in the long term
Position Sizing Based on 21-Day ATR % (30 Holdings)Vol targeting based on ATR instead of STD DEV for 30 holdings.
ASK Indicator by AshpreetThe ASK Indicator is a custom-built breakout and trend continuation system designed for swing traders seeking high-probability entries with strong risk-reward ratios. Built using a combination of moving averages, momentum filters, volume confirmation, and price structure, this indicator helps identify stocks poised for explosive moves.
It uses three key moving averages: the 44-period SMA (medium trend), 20-period DEMA (short-term strength, custom-coded), and 50-period WEMA (institutional trendline). Trades are only triggered when the price is above 50 WEMA, and the 20 DEMA is above the 44 SMA.
Momentum is confirmed using RSI(14) within a healthy zone of 40–60, ensuring the stock is not overbought or oversold. To focus on breakout candidates, the stock must be trading within 10% of its 52-week high, and the weekly candle range must be under 10%, signaling compression before expansion.
A valid ASK Signal occurs when these conditions are met along with a breakout above the previous day’s high and volume exceeding 1.5× the 20-day average. Once triggered, the indicator auto-plots the stop-loss (1× ATR) and two profit targets: 1:2 (TP1) and 1:4 (TP2).
Additionally, the system detects a narrow range setup, where the last 3 daily candles are inside the previous 3-day range — a powerful consolidation signal. Alerts for both ASK entries and narrow ranges are included.
This system is ideal for positional and short-term swing traders who want to combine structure, momentum, and volume in one powerful tool.
ombs- PONY Breakout Alert
🧠 תקציר הסקריפט: **PONY Breakout Alert 📈
🔍 **מטרה**:
לזהות **פריצה מעלה של רמת 14.15** תוך כדי **מחזור מסחר גבוה מהממוצע**, כדי לאתר **הזדמנות מסחר שורית**.
---
⚙️ רכיבי הסקריפט:
* 📌 **רמת כניסה**:
`entryLevel = 14.15`
* 📊 **תנאי כניסה**:
* סגירת מחיר **מעל 14.15**
* נפח מסחר **גבוה ב־20% מהממוצע ל־20 הימים האחרונים**
* 🔔 **התראה ויזואלית**:
* סמל ירוק "Entry" מופיע מתחת לנר על הגרף
* קווים קבועים לרמות יעד וסטופלוס
* 🎯 **יעדי רווח**:
* Target 1 – 15.15
* Target 2 – 16.00
* Target 3 – 17.00
* 🛑 **סטופלוס**:
* שמרני: 13.20
* אגרסיבי: 12.80
* 🔔 **התראה אוטומטית** (`alertcondition`):
תשלח הודעה:
*"PONY פרצה מעל 14.15 עם מחזור גבוה – שקול כניסה לעסקה."*
---
📝 מתאים עבור:
* סוחרי ניתוח טכני 🧮
* מי שמחפש כניסה מבוססת על פריצה + נפח 📊
* שימוש על גרף יומי בלבד 📅
---
🧠 Script Summary: PONY Breakout Alert 📈
🔍 Objective:
Detect a breakout above the 14.15 level accompanied by high trading volume, in order to identify a bullish trading opportunity.
⚙️ Script Components:
📌 Entry Level:
entryLevel = 14.15
📊 Entry Conditions:
Price closes above 14.15
Volume is 20% higher than the 20-day average
🔔 Visual Alert:
A green "Entry" label appears below the bar on the chart
Static horizontal lines mark targets and stop-loss levels
🎯 Profit Targets:
Target 1 – 15.15
Target 2 – 16.00
Target 3 – 17.00
🛑 Stop Loss:
Conservative: 13.20
Aggressive: 12.80
🔔 Automated Alert (alertcondition):
Sends a message:
"PONY has broken above 14.15 with high volume – consider a long position."
📝 Ideal For:
Technical traders 🧮
Those seeking breakouts confirmed by volume 📊
Daily chart setups only 📅
ALMA X/Y🔍 ALMA X/Y Indicator Description
This indicator combines two different ALMA ( Arnaud Legoux Moving Average ) values into a single script, allowing you to visualize both short-term and long-term trends on the same chart.
📌 X: First ALMA length (typically for short-term trends)
📌 Y: Second ALMA length (typically for long-term trends)
🎯 Purpose:
– Track overall trend direction and potential reversals
– Generate buy/sell signals based on ALMA X and Y crossovers
– Analyze market momentum across timeframes
Multi Averages - CustomizableThis script adds up to 5 moving averages to your plot!
Both type and length are customizable.
ICT OTE Market MakerICT OTE Market Maker
Implementing ICT and automatically identifies OTE zones to minimize drawdowns.
Multi EMA & SMA IndicatorDraws EMA 5/20/50/100 and SMA 200 in different colors and thickness in a single indicator
X1 newbie code trying to create
✅ Script Behavior on Other Stocks
• If you’re on a chart for SYM, it calculates indicators using SYM’s data.
• If you switch to NVDA, AVGO, CRDO, etc., it will automatically update to reflect that ticker’s:
• Price
• 50-day moving average
• Volume
• MACD
• RSI
• Index comparison
with 1. 📊 Volume shows in its own pane
2. ✅ MACD and RSI are included in separate panes (as promised)
3. 🎯 Script works cleanly with any ticker
Price Widget on ScreenSimple yet useful script, to see the PRICE/CHANGE of the chart you are on. I use it in my 6/8 charts screen, so you can see the graph and the price.
6E update Session Key Levels Lines (6E CME Day Session)6E update Session Key Levels Lines (6E CME Day Session) hope it helps :)
6E update Premarket High/Low Label (CME 6E style)6E update Premarket High/Low Label (CME 6E style). hope it helps :)
6E update Session Prep (CME Day Session 6E, UTC-4)6E update Session Prep (CME Day Session 6E, UTC-4) updated. hope it helps :)
Ghost Month HighlighterThe term "Ghost Month" refers to the seventh lunar month in the Chinese calendar, a period considered inauspicious for major activities like trading or investing in some cultures, due to superstitions about spirits influencing events
ATR Plots + OverlayATR Plots + Overlay
This tool calculates and displays Average True Range (ATR)-based levels on your chart for any selected timeframe, giving traders a quick visual reference for expected price movement relative to the most recent bar’s open price. It plots guide levels above and below that open and shows how much of the typical ATR-based range has already been covered—all in one interactive table and on-chart overlay.
What It Does
ATR Calculation:
Uses true range data over a user-defined period (default 14), smoothed via RMA, SMA, EMA, or WMA, on the selected timeframe (e.g., 1h, 4h, daily) to calculate the ATR value.
Projected Levels:
Plots four reference levels relative to the open price of the most recent bar on the chosen timeframe:
+100% ATR: Open + ATR
+50% ATR: Open + 50% of ATR
−50% ATR: Open − 50% of ATR
−100% ATR: Open − ATR
Coverage %:
Tracks high and low prices for the current session on the selected timeframe and calculates what percentage of the ATR has already been covered:
Coverage % = (High − Low) ÷ ATR × 100
Interactive Table:
Shows the ATR value and current coverage percentage in a customizable table overlay. Position, color scheme, borders, transparency, and an optional empty top row are all adjustable via settings.
Customization Options
Table Settings:
Position the table (top/bottom × left/right).
Customize background color, text color, border color, and thickness.
Optionally add an empty top row for spacing.
Line Settings:
Choose color, line style (solid/dotted/dashed), and width.
Lines automatically update with each new bar on the selected timeframe, anchored to that bar’s open price.
General Inputs:
ATR length (number of bars).
Smoothing method (RMA, SMA, EMA, WMA).
Timeframe selection for ATR calculations (e.g., 15m, 1h, Daily).
How to Use It for Trading
Measure Volatility: Quickly gauge the expected price movement based on ATR for any timeframe.
Identify Overextension: Use the coverage % to see how much of the expected ATR range is already consumed.
Plan Entries & Exits: Align trade targets and stops with ATR levels for more objective planning.
Visual Reference: Horizontal guide lines and table update automatically as new bars form, keeping information clear and actionable.
Ideal For
Intraday traders using ATR levels to frame trades.
Swing traders wanting ATR-based reference points for larger timeframes.
Anyone seeking a volatility-based framework for planning stops, targets, or identifying overextended conditions.
Night Session Highlight (Valehson)Highlights time range from 21:00 to 09:00 with a gray background with 90% transparency.
MA Crossover Detector
The Moving Average Crossover Detector is a custom indicator that visually shows buy and sell signals clearly on the chart. based on the crossing of two moving averages — a popular and beginner-friendly tool in technical analysis.
It plots two moving averages — One fast (short period) and one slow (long period) — and highlights crossover points:
✅ Buy Signal (Golden Cross) – When the fast MA crosses above the slow MA.
❌ Sell Signal (Death Cross) – When the fast MA crosses below the slow MA.
✅ Features
Visual: Clearly shows crossovers on the chart.
Customizable: Choose periods, types, styles, etc.
Alert-ready: You can set alerts for crossovers.
The Moving Average (MA) Crossover Strategy is one of the simplest and most widely used strategies in technical analysis for trading stocks, forex, crypto, and other markets. It relies on the interaction between two moving averages to generate buy and sell signals.
Core Components
Short-Term Moving Average (Fast MA) : Reacts quickly to price changes (e.g., 9-period or 20-period).
Long-Term Moving Average (Slow MA) : Reacts more slowly to price changes (e.g., 21-period or 200-period).
How the Strategy Works
Bullish Crossover (Golden Cross):
Occurs when the fast MA crosses above the slow MA. Interpreted as a buy signal, indicating a potential uptrend.
Bearish Crossover (Death Cross):
Occurs when the fast MA crosses below the slow MA. Interpreted as a sell signal, indicating a potential downtrend.
Common Variants
Short-term trading
9 EMA
21 EMA
Swing trading
20 SMA
50 SMA
Long-term investing
50 SMA
200 SMA
Pros
Easy to understand and implement
Works well in trending markets
Can be automated for backtesting and execution
Cons
Lagging indicator: MAs are based on past prices, so signals come after the move has started.
Choppy markets = whipsaws: Generates false signals in sideways/range-bound conditions.
May underperform in volatile or mean-reverting environments
Tips for Improvement
Use confirmation tools : e.g., RSI, MACD, volume analysis, price action
Add filters : Trend filter (ADX), volatility filter (ATR), or time filter (session-based)
Combine with price structure : Support/resistance, breakouts, pullbacks
Smart MTF Bias Detector v3 (Debug)Here's a breakdown of the "Smart MTF Bias Detector v3 (Debug)" indicator's five main filters:
Main Trend (Multi-Timeframe Heikin Ashi)
The green/red background indicates the trend from Heikin Ashi candles on the H1 timeframe (or your set timeframe).
If the Heikin Ashi candle closes above its open, the background is green (indicating an upward bias).
If the Heikin Ashi candle closes below its open, the background is red (indicating a downward bias).
Short-Term Trend Filter (EMA50)
The yellow line represents the EMA50.
Buy only when the price closes above the EMA50.
Sell only when the price closes below the EMA50.
Abnormal Buy/Sell Pressure Detection (Volume Spike)
Purple dots signify candles where the volume is greater than the SMA (Simple Moving Average) of volume over N previous candles, multiplied by a specified multiplier.
This confirms there's "force" driving the price up or serious selling pressure.
Momentum Filter (Stochastic RSI)
Blue upward triangles and orange downward triangles indicate when %K crosses %D.
It uses Oversold/Overbought targets (20/80) to avoid crosses in the middle ranges.
Pivot Break (Fractal Breakout)
Red "X" marks represent Fractal Highs, and green "X" marks represent Fractal Lows.
Red/green up/down arrows indicate breakouts of these levels (e.g., a previous High being broken means an upward breakout, or a previous Low being broken means a downward breakout).
BUY Signal Conditions
A BUY signal will be generated when:
The background is green (HTF Trend ↑).
The Stoch RSI crosses up from below the Oversold zone (blue arrow).
A Fractal Low breakout occurs (Fract UP arrow).
The price is above the EMA50.
There is a Volume Spike (purple dot).
SELL Signal Conditions
A SELL signal will be generated when:
The background is red (HTF Trend ↓).
The Stoch RSI crosses down from above the Overbought zone (orange arrow).
A Fractal High breakout occurs (Fract DOWN arrow).
The price is below the EMA50.
There is a Volume Spike (purple dot).
EMA Cloud + 5-min OB Zones (MACD Confirmed)What This Does:
OB detection runs only on 5-minute candles
Script works perfectly even if you're on a 1-minute chart
You’ll still see clean 5-min OB boxes extending into your execution zone
MPBA checklist indicator in TradingView is a customizable tool designed to help traders maintain discipline and follow their trading strategy by providing a visual checklist directly on their chart. It allows users to define their own criteria and mark them as confirmed or not, helping to avoid overtrading and impulsive decisions.
Yo can edit in pine editor and creat your privet checklist.