Aufwärtstrend (EMA Crossover + Close > EMA20)Aufwärtstrend (EMA Crossover + Close > EMA20)
📈 EMA Crossover Uptrend Indicator with Alert Function
This script identifies potential uptrends based on an EMA crossover strategy, and provides a simple way to set alerts for trend shifts.
🔍 Indicator Logic:
Two Exponential Moving Averages (EMAs) are calculated:
EMA 8 (fast)
EMA 20 (slow)
An uptrend is detected when:
EMA 8 crosses above EMA 20 (bullish crossover), and
the closing price is above EMA 20.
📌 Features:
Plots both EMAs on the chart (optional).
A green "↑" label is displayed below the bar when an uptrend is detected.
Alert conditions:
"Uptrend": When both crossover and close-above-EMA20 conditions are met.
"Downtrend": When those conditions are not met.
🔔 How to Use Alerts:
After adding the script to your chart, go to “Create Alert” and choose between the two alert conditions. The alert messages are:
"Uptrend detected: EMA8 crossed above EMA20 and Close is above EMA20"
"Downtrend detected: Uptrend conditions not met"
💡 Use Cases:
Early identification of bullish market conditions.
Useful for timing long entries.
Can be combined with other tools for trend confirmation.
Indicatori e strategie
SH Vertical LinesSH Vertical Lines for specific of the day which is 2am, 6am, 10am, 2pm, 6pm, and 10pm
8/21 EMA Crossover + VWAP + 200 EMA8/21 EMA crossover with VWAP and slow moving average confirmation
RTH Session Range Position (0-100) with EMAA Pine Script indicator designed to help traders understand where the current price is located within the Regular Trading Hours (RTH) session range, from 0 (session low) to 100 (session high). It also plots a smoothed EMA of this position to provide insight into momentum or trend during the RTH session.
What the Indicator Does
Defines RTH (Regular Trading Hours):
Start: 9:30 AM
End: 4:00 PM
These are typical US equity market hours.
Tracks the session's high and low during RTH:
sessionHigh and sessionLow update only during RTH.
Calculates position of the current price within the RTH range:
Formula: ((close - sessionLow) / (sessionHigh - sessionLow)) * 100
Result is a percentage:
0 = at session low
100 = at session high
50 = middle of session range
Calculates an EMA of that position (posEMA):
Smooths out the raw position to help visualize momentum within the range.
Plots and table:
Plots pos and posEMA on a separate chart pane.
Adds horizontal lines at key levels (0, 30, 50, 70, 100).
Table shows current values for Position, EMA, and Range.
Visual cues:
bgcolor highlights when pos crosses over or under the EMA — potential momentum shifts.
Alerts:
Cross above/below 50 (session midpoint).
Cross above/below EMA.
How to Use It Effectively
1. Session Strength & Momentum
Position above 70: Price is near session highs — strong upward momentum.
Position below 30: Price is near session lows — strong downward momentum.
Use the EMA of position to filter out noise and identify trends.
2. Breakout or Reversal Detection
Cross above EMA: Momentum may be turning bullish.
Cross below EMA: Momentum may be turning bearish.
These crosses (especially near mid-levels like 50) can hint at session trend shifts.
3. Range Context for Entries
If you're a mean-reversion trader, look for:
Price > 70 + turning down below EMA → possible short.
Price < 30 + turning up above EMA → possible long.
For breakout traders, you might wait for:
Crosses above 70 with EMA support.
Crosses below 30 with EMA resistance.
4. Confirmation Tool
Use this indicator alongside others to confirm:
Whether price action has strength within the day.
Whether breakouts have real momentum or are extended already.
Open-Based Percentage Levelsv2
This is an updated version of my original script.
Changes:
I took off the displacement levels since there served no purpose on this script.
I also fixed it to where the percentage level lines are visible continually throughout the entire trading day. Old version had these lines disappearing.
I also updated the name to better reflect its purpose.
Now only works on 30 min and below as the higher time frames are meaningless. The older version allow higher time frames and the code is open source to adjust as desired
FVG [%]An indicator showing the value of a FVG in percentage (%).
Reason behind this indicator is to find the most logical FVG in term of SMC concept by its value.
MA20 & MA200 EOD MonitorHere’s your updated TradingView Pine Script (v5) that:
Works on the 15-minute chart
Focuses only on Regular Trading Hours (RTH): 9:30 AM to 4:00 PM (Eastern Time)
Identifies the last 15-minute bar of the session (3:45 PM)
Checks if both MA20 and MA200 are within that candle’s high-low range
Plots an ORANGE “MONITOR” label below the candle
Adaptive Multi-TF Indicator Table with Presets giua64📌 Script Name:
Adaptive Multi-Timeframe Indicator Table with Presets — giua64
📄 Description:
This script displays an adaptive multi-timeframe dashboard that summarizes the signals of three key technical indicators:
Moving Averages (MAs), Relative Strength Index (RSI), and MACD.
It provides a fast and visually intuitive overview of market conditions across five timeframes (5m, 15m, 30m, 1h, 4h), helping traders quickly identify potential directional biases (e.g., bullish, bearish, or neutral) based on either predefined presets or fully manual settings.
🧰 Preset Configurations:
You can choose between four trading styles, each with optimized indicator parameters:
Scalping
• MAs: 5 / 10 (Fast), 20 / 50 (Slow)
• RSI: 7 periods | Overbought: 70 | Oversold: 30
• MACD: 5 / 13 | Signal: 3
Intraday
• MAs: 9 / 21 (Fast), 50 / 100 (Slow)
• RSI: 14 periods | Overbought: 60 | Oversold: 40
• MACD: 12 / 26 | Signal: 9
Swing
• MAs: 10 / 20 (Fast), 50 / 200 (Slow)
• RSI: 14 periods | Overbought: 65 | Oversold: 35
• MACD: 12 / 26 | Signal: 9
Manual
• Full custom control over all indicator settings.
🛠️ All settings can be customized manually from the options panel, including the exact MA periods, RSI thresholds, and MACD structure.
🧠 How It Works:
For each timeframe, the script evaluates:
MA crossover status (two levels):
The first symbol refers to the crossover of the fast MAs
The second symbol refers to the crossover of the slow MAs
🟢 = Bullish crossover
🔴 = Bearish crossover
➖ = Flat or no clear signal
RSI Direction:
↑ = RSI above upper threshold (potential overbought)
↓ = RSI below lower threshold (potential oversold)
→ = RSI in neutral range
MACD Line vs Signal Line:
↑ = MACD line is above signal line (bullish)
↓ = MACD line is below signal line (bearish)
→ = Flat or neutral signal
Each signal is assigned a numerical score. These are aggregated per timeframe to compute a combined score that reflects the directional bias for that specific time window.
🧠 Adaptive Logic by Asset:
This script is designed to be universally compatible across all asset types — including forex, crypto, stocks, indices, and commodities.
Thanks to its multi-timeframe nature and flexible indicator presets, the script automatically adjusts its behavior based on the asset selected, ensuring relevant analysis without requiring manual recalibration.
🧾 Summary Table Output:
At the bottom of the dashboard, a combined sentiment is displayed for:
3TF → 5m, 15m, 30m
4TF → Adds 1h
5TF → Adds 4h
Each row shows:
Signal → LONG / SHORT / NEUTRAL
Confidence (%) → Based on score aggregation and signal consistency
📌 Customization Options:
Table Position: Left, Right, or Center
Text Size: Small, Normal, or Large
Full Manual Configuration: All MA, RSI, and MACD parameters can be adjusted as needed
⚠️ Disclaimer:
This script is for educational and analytical purposes only.
It does not constitute financial advice or guarantee any trading results.
Always do your own research and apply responsible risk management.
End-of-Day MA Monitor with AlertHere's a TradingView Pine Script (v5) that does exactly what you described:
Works on the 15-minute chart
Uses Regular Trading Hours (RTH) (default 9:30 AM – 4:00 PM ET)
Detects if the last 15-minute bar of the trading day includes MA20 or MA200
If MA20 or MA200 is within the bar's high/low range, it plots a yellow “MONITOR” label under the candle
SuperBuy/TrendFollowingThis indicator can mark buy and sell points. There are comments in the code, and you can enable the secondary buy and sell point function yourself.
خط موحدA good daily indicator for the overall avrageA good daily indicator for the overall average.A good daily indicator for the overall average.
CANX SMC Levels, Traps & MS © CanxStixTrader
This indicator helps spot inducements and Smart Money Traps as well as basic support and resistance levels on your chosen time frame. Updated to include market structure to help identify valid zones and when to place your trades.
Using four of the most significant points in price action
1. Breakouts
2. False Breakouts (Traps)
3. Back Checks
4. Market Structure
I always go on about price action on my channels because this alone can help identify valid and invalid positions. If these three points are properly identified they can be some of the most significant points of movement in the price and bring significant gains to traders.
Breakouts
Breakouts can bring significant moves in price as the market swings after key levels are breached. This entry type can bring large moves and if momentum is on your side at those key levels.
False Breakouts
Also known as a bull trap or a bear trap, false breakouts can lead to swift and significant reversal of what looks like a key area break then becomes a large and sudden move to the opposite side. When a key level breakout fails to hold, parties entering to capitalize on the breakout can get left holding or forcing them to exit at a loss, which can double the force of pressure on the move to the opposite side.
Back Checks
Back checks are pull backs in trend that find middle ground to the two areas already described. Both momentum and entry price are decent, but risk is defined as a key level has flipped offering entry with stops below demand, or above supply.
Market Structure
Helps to identify the market direction and potential trend reversals so you have more clarity when placing your trade
-----------------------------------
Combining these four methods will helps to diversify risk, understand trend development. This script helps to identify these points to traders with analysis of key levels, price structure, and trend direction.
Enjoy,
© CanxStixTrader
Keep it simple
CANX SMC Levels, Traps & MS © CanxStixTrader
This indicator helps spot inducements and Smart Money Traps as well as basic support and resistance levels on your chosen time frame. Updated to include market structure to help identify valid zones and when to place your trades.
Using four of the most significant points in price action
1. Breakouts
2. False Breakouts (Traps)
3. Back Checks
4. Market Structure
I always go on about price action on my channels because this alone can help identify valid and invalid positions. If these three points are properly identified they can be some of the most significant points of movement in the price and bring significant gains to traders.
Breakouts
Breakouts can bring significant moves in price as the market swings after key levels are breached. This entry type can bring large moves and if momentum is on your side at those key levels.
False Breakouts
Also known as a bull trap or a bear trap, false breakouts can lead to swift and significant reversal of what looks like a key area break then becomes a large and sudden move to the opposite side. When a key level breakout fails to hold, parties entering to capitalize on the breakout can get left holding or forcing them to exit at a loss, which can double the force of pressure on the move to the opposite side.
Back Checks
Back checks are pull backs in trend that find middle ground to the two areas already described. Both momentum and entry price are decent, but risk is defined as a key level has flipped offering entry with stops below demand, or above supply.
Market Structure
Helps to identify the market direction and potential trend reversals so you have more clarity when placing your trade
-----------------------------------
Combining these four methods will helps to diversify risk, understand trend development. This script helps to identify these points to traders with analysis of key levels, price structure, and trend direction.
Enjoy,
© CanxStixTrader
Keep it simple
Arjun'BHRAMASTRA: 21 EMA (5-min)//@version=5
indicator("NQ Scalping Signal: 21 EMA (5-min)", overlay=true)
// === INPUTS ===
emaLength = input.int(21, title="EMA Length")
// === EMA on Higher Timeframe (5-min) ===
ema5 = request.security(syminfo.tickerid, "5", ta.ema(close, emaLength))
// === CONDITIONS ===
// Sell when price is below 5-min EMA
sellSignal = close < ema5 and close >= ema5
// Buy when price is above 5-min EMA
buySignal = close > ema5 and close <= ema5
// === PLOT SIGNALS ===
plotshape(sellSignal, title="Sell Signal", location=location.abovebar, color=color.red, style=shape.triangledown, size=size.small, text="SELL")
plotshape(buySignal, title="Buy Signal", location=location.belowbar, color=color.green, style=shape.triangleup, size=size.small, text="BUY")
// === OPTIONAL: Plot the EMA for visual reference ===
plot(ema5, title="5-min EMA", color=color.orange)
SOFR Spread (proxy: FEDFUNDS - US03MY)📊 SOFR Spread (Proxy: FEDFUNDS - US03MY) – Monitoring USD Money Market Liquidity
In 2008, the spread exhibits a sharp vertical spike, signaling a severe liquidity dislocation: investors rushed into short-term U.S. Treasuries, pushing their yields down dramatically, while the FEDFUNDS rate remained relatively high.
This behavior indicates extreme systemic stress in the interbank lending market, preceding massive Federal Reserve interventions such as rate cuts, emergency liquidity operations, and the launch of quantitative easing (QE).
Description:
This indicator plots the spread between the Effective Federal Funds Rate (FEDFUNDS) and the 3-Month US Treasury Bill yield (US03MY), used here as a proxy for the SOFR spread.
It serves as a simple yet powerful tool to detect liquidity dislocations and stress signals in the US short-term funding markets.
Interpretation:
🔴 Spread > 0.20% → Possible liquidity stress: elevated repo rates, cash shortage, interbank distrust.
🟡 Spread ≈ 0% → Normal market conditions, balanced liquidity.
🟢 Spread < 0% → Excess liquidity: strong demand for T-Bills, “flight to safety”, or distortion due to expansionary monetary policy.
Ideal for:
Monitoring Fed policy impact
Anticipating market-wide liquidity squeezes
Correlation with DXY, SPX, VIX, MOVE Index, and risk sentiment
🧠 Note: As SOFR is not directly available on TradingView, FEDFUNDS is used as a reliable proxy, closely tracking the same trends in most macro conditions.
Distance % from SMAMeasures distance from the moving average. You can tune it for length and visuals.
Borring unfilld (Blue Highlight)//@version=5
indicator("Wick Dominant Candles (Blue Highlight)", overlay=true)
// Candle measurements
bodySize = math.abs(close - open)
upperWick = high - math.max(open, close)
lowerWick = math.min(open, close) - low
totalWick = upperWick + lowerWick
// Condition: Wick is larger than body
wickDominant = totalWick > bodySize
// Plot candle coloring
barcolor(wickDominant ? color.blue : na)
Scalping Sessions + RSI + MACD + Breakout Boxes [UK Time]//@version=5
indicator("Scalping Sessions + RSI + MACD + Breakout Boxes ", overlay=true)
// === Session Settings (UK Time BST) ===
inLondon = time(timeframe.period, "0800-1000")
inNY = time(timeframe.period, "1430-1600")
inAsia = time(timeframe.period, "0000-0300")
bgcolor(inLondon ? color.new(color.green, 85) : na, title="London Session")
bgcolor(inNY ? color.new(color.blue, 85) : na, title="NY Session")
bgcolor(inAsia ? color.new(color.orange, 90) : na, title="Asia Session")
// === RSI Settings ===
rsiLength = input.int(3, title="RSI Length")
rsiOB = input.int(80, title="RSI Overbought")
rsiOS = input.int(20, title="RSI Oversold")
rsi = ta.rsi(close, rsiLength)
// === MACD Settings ===
macdFast = input.int(12, "MACD Fast EMA")
macdSlow = input.int(26, "MACD Slow EMA")
macdSignal = input.int(9, "MACD Signal")
= ta.macd(close, macdFast, macdSlow, macdSignal)
macdCrossUp = ta.crossover(macdLine, signalLine)
macdCrossDown = ta.crossunder(macdLine, signalLine)
// === Breakout Boxes ===
var float londonHigh = na
var float londonLow = na
if (inLondon and na(londonHigh))
londonHigh := high
londonLow := low
if (inLondon)
londonHigh := math.max(londonHigh, high)
londonLow := math.min(londonLow, low)
if (not inLondon)
londonHigh := na
londonLow := na
plot(londonHigh, color=color.green, title="London High", linewidth=1)
plot(londonLow, color=color.red, title="London Low", linewidth=1)
// === Scalping Signals ===
longSignal = (rsi < rsiOS and macdCrossUp and inLondon)
shortSignal = (rsi > rsiOB and macdCrossDown and inNY)
plotshape(longSignal, title="BUY Signal", location=location.belowbar, color=color.green, style=shape.labelup, text="BUY")
plotshape(shortSignal, title="SELL Signal", location=location.abovebar, color=color.red, style=shape.labeldown, text="SELL")
// === Optional Take-Profit Line (mid BB or RR target) — user-defined later if needed
Ema CriptoMiltsIndicator showing EMA crossovers with the corresponding directionality.
The EMA price can be modified as desired.