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.
Rata-Rata Pergerakan / Moving Averages
AN_B_EMACrossEMA crossover (short-term EMA crossing above long-term EMA).
Positive MACD (MACD line greater than the signal line).
RSI above 55.
A "B" label is plotted below the candle when conditions are satisfied.
4 EMA Sequence Signalthis indicator is base on moving average to calculate the average zone to buy and sell
when green zone u buy
when red zone u sell
Moving Averages IndicatorFollows Price
This indicator attempts to identify trends like the TDI but it isn't based on the RSI so it does not diverge
Triple HMA Multi-TimeFrameThis indicator plots three separate Hull Moving Averages (HMAs), each with its own period, timeframe, color, and line width. By using PineScript’s request.security function, it retrieves data from different timeframes and calculates the HMA on each of them, so you can see multiple trends at once without having to switch charts.
How it works:
1) You can set a distinct period and timeframe for each of the three HMAs. For example, you might choose a fast HMA (Period 50) on the current chart timeframe, a medium HMA (Period 100) on a higher timeframe (such as 30 minutes), and a slow HMA (Period 200) on an even higher timeframe (like H4).
2) Each HMA can be customized by color and line width, making it easier to distinguish the different timeframes at a glance.
3) The script uses barmerge.gaps_on to replicate values in between higher timeframe bars, giving a continuous look on lower timeframe charts.
Key inputs:
- HMA 1 Period and Timeframe: Allows you to choose the period (like 50) and timeframe (for instance, leave blank to use the current chart’s timeframe).
- HMA 2 Period and Timeframe: For a second HMA, you might set 100 on the “30” minute timeframe.
- HMA 3 Period and Timeframe: Often configured for a longer timeframe like 240 minutes (H4) or any other resolution you prefer.
- Colors and line widths are freely adjustable for each HMA, so you can create a clear visual separation among them.
This setup gives you a multi-timeframe perspective in one chart, allowing you to monitor short-, medium-, and long-term trends simultaneously.
Combined WMA and ADX//@version=6
indicator("Combined WMA and ADX", shorttitle="WMA & ADX", overlay=true, timeframe="", timeframe_gaps=true)
// --- WMA Inputs ---
lenWMA = input.int(9, minval=1, title="WMA Length")
src = input(close, title="WMA Source")
offset = input.int(title="WMA Offset", defval=0, minval=-500, maxval=500, display=display.data_window)
// --- ADX Inputs ---
adxlen = input(14, title="ADX Smoothing")
dilen = input(14, title="DI Length")
// --- WMA Calculation ---
outWMA = ta.wma(src, lenWMA)
// --- ADX and DI Calculation ---
dirmov(len) =>
up = ta.change(high)
down = -ta.change(low)
plusDM = na(up) ? na : (up > down and up > 0 ? up : 0)
minusDM = na(down) ? na : (down > up and down > 0 ? down : 0)
truerange = ta.rma(ta.tr, len)
plus = fixnan(100 * ta.rma(plusDM, len) / truerange)
minus = fixnan(100 * ta.rma(minusDM, len) / truerange)
adx(dilen, adxlen) =>
= dirmov(dilen)
sum = plus + minus
adx = 100 * ta.rma(math.abs(plus - minus) / (sum == 0 ? 1 : sum), adxlen)
adx
sigADX = adx(dilen, adxlen)
// --- Plot WMA and ADX ---
plot(outWMA, title="WMA", color=color.blue, offset=offset)
plot(sigADX, title="ADX", color=color.red)
Triple Exponential Moving Averages (TEMA 9, 20, 200)This indicator help to find the direction of the chart if this is up look for sell
MACD + EMA 9/21 Buy/Sell Signals with Traffic Lights"This Pine Script indicator combines MACD and EMA (9/21) to generate buy/sell signals, enhanced by a prominent traffic light system by Seba. Displayed in the upper right corner of the price chart, the semaphore features three large dots: green (top) for buy signals, yellow (middle) for no signal, and red (bottom) for sell signals. The active signal’s dot enlarges for clear visibility, positioned just above the current price, while EMA lines and signal markers overlay the chart for comprehensive trading insights."
Buy Signal: MACD line rising above the signal line + EMA 9 > EMA 21.
Sell Signal: MACD line falling below the signal line + EMA 9 < EMA 21.
Visualized with colored backgrounds, arrows, and closing signals (gray crosses).
Includes EMA plots, break alerts after signal series, and position-state management.
Advanced Strategy in Development:
A companion automated trading strategy is being optimized to execute entries/exits at optimal levels. Donations are warmly welcomed to accelerate progress!
SOL Donations:
HtdZfT2ijsUYz6CmNhjgU9G2b2TNRDHVd2dV23fbv4xT
Every contribution fuels faster development and enhanced features! 🚀
Thanks!
Market Trend Levels Detector [BigBeluga]Market Trend Levels Detector is an trend-following tool that utilizes moving average crossovers to identify key market trend levels. By detecting local highs and lows after EMA crossovers, the indicator helps traders track significant price zones and trend strength.
🔵 Key Features:
EMA Crossover-Based Trend Levels Detection:
Uses a fast and slow EMA to detect market flow shifts.
When the fast EMA crosses under the slow EMA, the indicator searches for the most recent local top and marks it with a label and horizontal level.
When the fast EMA crosses over the slow EMA, it searches for the most recent local low and marks it accordingly.
Dynamic Zone Levels:
Each detected high or low is plotted as a horizontal level, highlighting important price zones.
Traders can extend these levels to observe how price interacts with them over time.
If price crosses a level, its extension stops. Uncrossed levels continue expanding.
Gradient Trend Band Visualization:
The trend band is formed by shading the area between the two EMAs.
Color intensity varies based on volatility and trend strength.
Strong trends and high volatility areas appear with more intense colors, making trend shifts visually distinct.
🔵 Usage:
Trend Identification: Use EMA crossovers and trend bands to confirm bullish or bearish momentum.
Key Zone Mapping: Observe local high/low levels to track historical reaction points.
Breakout & Rejection Signals: Monitor price interactions with extended levels to assess potential breakouts or reversals.
Volatility Strength Analysis: Use color intensity in the trend band to gauge trend power and possible exhaustion points.
Scalping & Swing Trading: Ideal for both short-term scalping strategies and larger swing trade setups.
Market Trend Levels Detector is a must-have tool for traders looking to track market flow, key price levels, and trend momentum with dynamic visual cues. It provides a comprehensive approach to identifying high-probability trade setups using EMA-based flow detection and trend analysis.
MACD/RSI/EMA D1/H4/H1This script is a custom indicator written in Pine Script, designed for use on TradingView. It combines multiple technical analysis tools to analyze market conditions across three different timeframes: daily (D1), 4-hour (H4), and 1-hour (H1). The indicator focuses on three main technical indicators: MACD, RSI, and EMA.
Key Functions:
1. MACD (Moving Average Convergence Divergence):
• The script calculates the MACD line and its signal line. It detects whether the MACD is moving upwards (bullish) or downwards (bearish) by comparing the current and previous values.
2. RSI (Relative Strength Index):
• RSI is calculated for each timeframe, and it indicates whether the market is overbought (>50, bullish) or oversold (<50, bearish).
3. EMA (Exponential Moving Average):
• The script calculates the 20, 50, and 200-period EMAs. It checks whether the short-term EMA (20) is above the medium (50) and long-term EMA (200), which would signal a bullish market. The opposite would signal a bearish market.
Timeframes:
• The indicator calculates values for D1, H4, and H1 timeframes.
Logic for Strong and Weak Signals:
• Strong Buy: All timeframes (D1, H4, H1) show a bullish trend (MACD > 0, RSI > 50, and bullish EMA conditions).
• Weak Buy: Either D1 or H4 or H1 shows a bullish trend (but not all).
• Strong Sell: All timeframes show a bearish trend.
• Weak Sell: Either D1 or H4 or H1 shows a bearish trend.
• Wait: No clear signal is present.
Table:
The results of the analysis are presented in a table at the bottom right of the TradingView chart, showing:
• MACD direction (with arrows indicating whether the MACD is bullish or bearish).
• RSI values (with arrows showing whether it’s above or below 50).
• EMA state (with arrows showing whether the market is in a bullish, bearish, or neutral state).
• Signal: The overall recommendation (strong/weak buy/sell or wait), along with the corresponding color.
This script helps traders to quickly visualize the trend strength across multiple timeframes and make more informed trading decisions based on a combination of MACD, RSI, and EMA signals.
EMA, Hacim ve Volatilite StratejisiStrateji temel olarak EMA, Hacim ve Volatilite'yi kullanarak al-sat alarmları üretir.
Belirlenen EMA uzunluğunda, son X bar penceresinde, EMA'nın yukarısında kapatılan bar sayısının, aşağıda kapatılan bar sayısından fazla ve son bar kapanışı EMA'nın yukarısındaysa ve bu, hacim ile destekleniyorsa al sinyali üretir. Ayrıca piyasanın volatilitesine (atr ile) bakılarak da ek bir konfirmasyon eklenmiştir.
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. 🚀
MTF Moving Averages (only EMA)MTF Moving Averages (only EMA)
This script provides a Multi-Timeframe (MTF) Exponential Moving Average (EMA) indicator for traders to visualize multiple EMAs across different timeframes directly on a single chart.
The indicator dynamically calculates and plots up to four EMAs per timeframe (15-minute, 30-minute, 1-hour, and Daily) with user-defined lengths, offering valuable insight into price trends and potential entry or exit points.
Key Features:
Multiple Timeframe Support: The script allows you to view EMAs from different timeframes simultaneously. This is especially useful for traders who follow trends across different timeframes to make more informed decisions.
Customizable Lengths: For each timeframe, the lengths of the EMAs are fully customizable. You can adjust the length of up to four EMAs per timeframe to suit your strategy.
EMA Calculation: The Exponential Moving Average (EMA) is used, which gives more weight to recent prices and reacts faster to price changes compared to the simple moving average (SMA).
Timeframe Flexibility: The indicator supports the following timeframes:
15-minute: Ideal for short-term traders and scalpers.
30-minute: For intraday trading with a slightly longer perspective.
1-hour: Suitable for swing traders and those who prefer a more medium-term view.
Daily: Great for longer-term trend-following strategies.
Interactive and User-Friendly: You can toggle the visibility of each EMA on each timeframe, allowing you to choose exactly which EMAs you wish to display, depending on your trading strategy.
Color-Coded for Clarity: The script uses distinct colors for each EMA on the chart:
Blue: EMA1
Green: EMA2
Red: EMA3
Purple: EMA4
Line Width Customization: Each plotted EMA line has a customizable width for better visual clarity.
Use Case:
Traders who use multiple timeframes for analysis (e.g., those using the "multi-timeframe analysis" technique) will find this script particularly useful. For example, a trader may look at the 15-minute chart to catch short-term movements, the 30-minute chart for intraday trends, the 1-hour chart for swing positions, and the Daily chart for identifying the overarching market trend. The script enables them to view the EMAs for all these timeframes in one glance without having to manually switch between them.
By observing the relationships between EMAs across multiple timeframes, traders can gain valuable insights into market conditions such as:
Crossovers: When a shorter-term EMA crosses above or below a longer-term EMA, it can signal a potential trend reversal or continuation.
Trend Strength: Multiple EMAs in alignment across different timeframes can indicate strong trend strength.
Support and Resistance: EMAs can act as dynamic support and resistance levels, guiding traders on price action levels to watch for potential price reversals.
Instructions:
Enable/Disable EMAs: Toggle on or off the EMAs for each timeframe (15-min, 30-min, 1-hour, Daily) using the script’s settings.
Adjust EMA Lengths: Change the default lengths for each EMA to match your preferred settings for different timeframes.
Monitor Key Levels: Watch how price interacts with the plotted EMAs to spot potential trading signals based on your strategy.
This indicator is designed to enhance your multi-timeframe analysis and help make more informed, data-driven trading decisions.
EMA Cross Alert (5m EMA, 2m Opposite Candle)EMA Cross Alert (5m EMA, 2m Opposite Candle)
Alert for entry based off 2m. Visually seeing the 5m chart
Multi EMA Buy & Sell SignalHow It Works:
✅ BUY Alert (🔼 UP arrow below candle) – When HIGH & LOW are above all EMAs AND CLOSE is above the previous candle
✅ SELL Alert (🔽 DOWN arrow above candle) – When HIGH & LOW are below all EMAs AND CLOSE is below the previous candle
✅ Background turns GREEN for BUY & RED for SELL
Multiple Moving Averages5 days Moving Averages
20 days Moving Averages
60 days Moving Averages
120 days Moving Averages
Candle Colorido com EMAs e VolumeO candle será pintado de verde lime se o preço estiver acima de todas as EMAs (EMA9, EMA20, EMA55, EMA100).
O candle será pintado de vermelho se o preço estiver abaixo de todas as EMAs (EMA9, EMA20, EMA55, EMA100).
Para outras condições, o candle será pintado de amarelo claro.
O candle será pintado de azul escuro se o volume for o maior dos últimos 50 candles.
APROVEITE - FELIPE MENDONCA
EMA Trend & Trigger StrategyThis Pine Script strategy, titled "EMA Trend & Trigger Strategy," is designed to trade based on the interaction of Exponential Moving Averages (EMAs) on two timeframes: 1D (daily) and 1H (hourly). Here's a summary of how it works:
Key Components:
EMA Lengths:
1D (Daily): Short EMA with a period of 5, and long EMA with a period of 30.
1H (Hourly): Short EMA with a period of 12, and long EMA with a period of 26.
Trend Identification (1D):
The trend is considered uptrend when the short EMA is above the long EMA, and downtrend when the short EMA is below the long EMA.
Trade Triggers (1H):
Buy Signal: A buy signal is triggered when the short EMA crosses above the long EMA on the 1H chart and the trend is up (based on the 1D EMAs).
Sell Signal: A sell signal is triggered when the short EMA crosses below the long EMA on the 1H chart and the trend is down (based on the 1D EMAs).
Volatility-based Triggers:
The strategy looks for high volatility (price change of more than 5%) during uptrend or downtrend to trigger buy or sell actions, respectively.
Stop Loss Calculation:
Local Bottom: The lowest point in the last 10 bars is used as the stop for long positions.
Local Peak: The highest point in the last 10 bars is used as the stop for short positions.
Execution:
Long Entry: Executed when there is a buy signal or high volatility during an uptrend.
Short Entry: Executed when there is a sell signal or high volatility during a downtrend.
The positions are exited when the price reaches the respective local bottom or peak.
Plotting:
The script plots the 1D short and long EMAs in blue and red, and the 1H short and long EMAs in green and orange on the chart.
In summary, this strategy combines trend-following with EMA crossovers, volatility filtering, and dynamic stop loss calculation to manage entries and exits for both long and short positions.