(US) Historical Trade WarsHistorical U.S. Trade Wars Indicator
Overview
This indicator visualizes major U.S. trade wars and disputes throughout modern economic history, from the McKinley Tariff of 1890 to recent U.S.-China tensions. This U.S.-focused timeline is perfect for macro traders, economic historians, and anyone looking to understand how America's trade conflicts correlate with market movements.
Features
Comprehensive U.S. Timeline: Covers 130+ years of U.S.-centered trade disputes with historically accurate dates.
Color-Coded Events:
🔴 Red: Marks the beginning of a U.S. trade war or major dispute.
🟡 Yellow: Highlights significant events within a trade conflict.
🟢 Green: Shows resolutions or ends of trade disputes.
Global Partners/Rivals: Tracks U.S. trade relations with China, Japan, EU, Canada, Mexico, Brazil, Argentina, and others.
Country Flags: Uses emoji flags for easy visual identification of nations in trade relations with the U.S.
Major Trade Wars Covered:
McKinley Tariff (1890-1894)
Smoot-Hawley Tariff Act (1930-1934)
U.S.-Europe Chicken War (1962-1974)
Multifiber Arrangement Quotas (1974-2005)
Japan-U.S. Trade Disputes (1981-1989)
NAFTA and Softwood Lumber Disputes
Clinton and Bush-Era Steel Tariffs
Obama-Era China Tire Tariffs
Rare Earth Minerals Dispute (2012-2014)
Solar Panel Dispute (2012-2015)
TPP and TTIP Negotiations
U.S.-China Trade War (2018-present)
Airbus-Boeing Dispute
Usage
Analyze how markets historically responded to trade war initiations and resolutions.
Identify patterns in market behavior during periods of trade tensions.
Use as an overlay with price action to examine correlations.
Perfect companion for macro analysis on daily, weekly, or monthly charts.
About
This indicator is designed as a historical reference tool for traders and economic analysts focusing on U.S. trade policy and its global impact. The dates and events have been thoroughly researched for accuracy. Each label includes emojis to indicate the U.S. and its trade partners/rivals, making it easy to track America's evolving trade relationships across time.
Note: This indicator works best on larger timeframes (daily, weekly, monthly) due to the historical span covered.
المؤشرات والاستراتيجيات
Bright Future Enhanced v2"Bright Future Enhanced v2" Scalping Indicator
This sophisticated Pine Script indicator combines 12+ technical tools for 5-minute scalping, featuring multi-timeframe confirmation, adaptive filters, and professional risk management. Here's the breakdown:
Core Components
Core Components
EWO Hybrid Oscillator
Dual MA ratio (3/21 EMAs or 5/34 SMAs)
Signal line with adjustable delay (3 periods)
Requires 0.05 gap threshold for valid crossover
Trend Quad-Filter System
ADX (6-period) with 25+ strength threshold
Heikin Ashi Smoothed Bias (30-period EMA)
Higher TF ADX alignment (15-min timeframe)
MA Filter (20-period EMA/SMA price position)
Momentum Confirmation
RSI (6-period) with 75/25 thresholds
CCI (6-period) with 75-level cross
Rate of Change (5-period)
Awesome Oscillator (5/34 differential)
Smart Risk Management
ATR-Based Stops
profitTarget = 1.5 * ATR(10) | stopLoss = 1 * ATR(10)
Volatility Filter
Allows trades only when ATR is between 0.3-1.2x of 14-period average
Signal Reset Logic
Cancels opposite positions on counter-signals
TFT-Price-PluseTFT Price Pluse is a multi-purpose trend analysis and momentum confirmation indicator designed for intraday and swing traders. It combines well-known trading tools—EMAs, RSI, and a multi-timeframe dashboard—with a custom-built logarithmic regression channel that adapts to price behavior dynamically.
This tool helps traders quickly assess market conditions, spot trend reversals or continuation zones, and identify dynamic support/resistance using layered confluence — all in one visual system.
🔧 Main Components & Logic
📉 Trend Structure (EMAs & SMA)
8 EMA (short-term)
21 EMA (intermediate-term)
50 SMA (medium-term)
200 EMA (long-term baseline)
Triangle markers are plotted when the 8 EMA crosses the 21 EMA — commonly used as trend-change signals.
🔁 Multi-Timeframe RSI Table
Displays RSI(14) values across six timeframes:
1m, 3m, 5m, 10m, 15m, and 30m.
Color-coded cells:
Green = RSI > 50 (bullish momentum)
Red = RSI < 50 (bearish momentum)
This feature helps traders gauge market momentum across multiple granular timeframes at a glance.
📊 Custom Log Regression Channel (Original Component)
Uses a logarithmic transformation of price and time to fit a regression line.
Calculates standard deviation from the regression line to build dynamic upper and lower deviation bands.
Displays R-squared value, a statistical measure of trend strength.
This feature acts like an adaptive trend channel with built-in volatility measurement.
🔍 Unlike simple linear regression, this model tracks exponential behavior in trending markets, making it more suitable for crypto, futures, and other fast-moving instruments.
🎯 How to Use It
1. Spot Trends with EMA Crossovers
Bullish setup: 8 EMA crosses above 21 EMA while price is above 50 SMA and 200 EMA.
Bearish setup: opposite conditions.
2. Confirm with RSI Table
All RSI cells green = higher-probability long setup.
All red = potential short trend confirmation.
Mixed RSI = trend indecision or consolidation.
3. Use Log Regression Bands
Price bouncing from lower band with bullish EMA cross = potential long entry.
Price rejecting upper band with bearish cross = potential short entry.
R² above 0.8 = strong directional conviction.
4. Alerts (optional)
Alerts can be enabled for:
EMA crossovers
RSI overbought/oversold thresholds
🧩 Attribution & Open-Source Acknowledgement
This indicator includes adapted and integrated logic from several open-source scripts published on TradingView by the community.
Features such as the RSI table, moving average crossovers, and regression math were inspired by public scripts and documentation. These components were modified and enhanced to work together as a cohesive system.
The log regression channel is uniquely implemented, combining log(price) and log(time) transformations for a statistically calculated dynamic channel.
This version is published open-source to support learning, transparency, and community improvement. You are free to study, customize, and build upon it — just credit if reused.
🚀 Who This Is For
Intraday traders needing fast visual confirmation
Futures/crypto traders wanting trend/momentum filtering
Strategy builders looking for a reliable confluence tool
Coders studying advanced regression modeling in Pine Script
💬 Tips
Works best on 1m–15m charts for active setups.
Set alerts on RSI/EMA events for automation.
Use in combination with price action or volume tools if desired.
❤️ Final Note
If you find this script helpful, follow my profile for future updates and tools.
Feedback, forks, and enhancements are welcome — let's build better together.
Pullback Long Screener - Bougie Verte 4h
This script is designed to be used within a Pullback Long Screener on TradingView.
It identifies cryptocurrencies currently displaying a green 4-hour candle (i.e., when the close is higher than the open).
The goal is to quickly detect assets in a potential bullish move, which is particularly useful for scalping.
This script is configured to work exclusively on cryptocurrencies listed on Binance as perpetual futures contracts.
The green circles displayed below the candles indicate a valid green 4-hour candle condition.
EMA Cloud with Custom MAs and RSI [deepakks444]EMA Cloud with Custom MAs and RSI
Overview
A simple yet very effective tool, this indicator combines three essential elements to help you analyze the market with ease, using inputs to customize settings like MA types, lengths, and RSI periods. It includes an EMA Cloud to identify trends, two customizable Moving Averages (MAs) to confirm those trends, and a simple RSI (Relative Strength Index) to measure momentum. The EMA Cloud creates a colored area on your chart to show the trend direction at a glance, the MAs act as a second layer of confirmation, and the RSI, displayed in a separate pane, helps you understand the strength of the price movement. This setup is perfect for traders who want a clear, straightforward way to spot trends and gauge momentum without extra complexity.
Features
EMA Cloud:
The EMA Cloud is a shaded area on your chart that makes trend spotting easy. It’s created using two 3-period EMAs (Exponential Moving Averages): one based on the candle’s high price (called the High EMA) and one based on the candle’s low price (called the Low EMA). These EMAs track the recent highs and lows over the last three candles, forming a cloud-like area between them that moves with the price.
The cloud changes color based on where the candle is compared to these EMAs, giving you a quick visual of the trend:
Green: The candle is in a strong uptrend. This happens when the candle’s highest point (its high) touches or goes above the High EMA, and its lowest point (its low) stays above the Low EMA. In simple terms, the price is climbing higher and isn’t dropping below the recent lows, which shows strong bullish momentum and suggests the price might keep going up.
Red: The candle is in a strong downtrend. This happens when the candle’s lowest point (its low) touches or goes below the Low EMA, and its highest point (its high) stays below the High EMA. This means the price is falling lower and isn’t spiking above the recent highs, showing strong bearish momentum and suggesting the price might keep going down.
Yellow: The trend isn’t clear. This happens when the candle doesn’t fit the Green or Red conditions. For example, the candle might be stuck between the two EMAs, or it might be outside them but not showing a strong bullish or bearish move. A Yellow cloud tells you the market is in a neutral state, often during sideways movement or choppy price action, so it’s a sign to wait for a clearer trend before acting.
The cloud is overlaid directly on the price chart, so you can see the trend while watching the candles. It’s designed to be fast and responsive, thanks to the short 3-period EMAs, making it great for short-term trading.
Custom Moving Averages:
This indicator includes two Moving Averages (MAs) that you can customize to match your trading style. These MAs act as a backup to the EMA Cloud, helping you confirm the trend and spot potential entry or exit points.
You can choose the type of MA from a list: SMA (Simple Moving Average, which gives equal weight to all prices), EMA (Exponential Moving Average, which focuses more on recent prices), WMA (Weighted Moving Average, which gives more weight to recent prices in a linear way), HMA (Hull Moving Average, which is smoother and faster), RMA (Running Moving Average, often used in momentum indicators), or VWMA (Volume Weighted Moving Average, which factors in trading volume). Each type has its own strengths, so you can pick the one that suits your strategy best.
The default lengths are 20 for the first MA (shorter, faster) and 50 for the second MA (longer, slower), but you can adjust these lengths to make the MAs more or less sensitive. For example, a shorter length like 10 will react faster to price changes, while a longer length like 100 will show the bigger trend.
The MAs are plotted on the price chart in blue (for the first MA) and black (for the second MA). You can use them to see how the price is moving compared to the trend shown by the EMA Cloud, and they’re especially helpful for spotting crossovers (when the shorter MA crosses the longer MA), which can signal a change in trend.
RSI for Momentum:
The RSI (Relative Strength Index) is a simple momentum indicator that shows how strong the price movement is. It’s displayed in a separate pane below the chart, so it doesn’t get in the way of your price view.
This is a default 14-period RSI, meaning it looks at the last 14 candles to calculate momentum. You can adjust the period if you want it to be more or less sensitive—for example, a shorter period like 7 will react faster, while a longer period like 21 will be slower and smoother.
The RSI ranges from 0 to 100. A higher RSI (closer to 100) means the price is moving up with strong momentum, while a lower RSI (closer to 0) means the price is moving down with strong momentum. For example, if the RSI is rising and heading toward 70, it shows the price is gaining upward momentum, which can support a Green cloud signal. If the RSI is falling and heading toward 30, it shows the price is gaining downward momentum, which can support a Red cloud signal.
You can also use the RSI to see if momentum is slowing down. For example, if the price is going up but the RSI starts to flatten or drop, it might mean the uptrend is losing steam, even if the cloud is still Green. This can help you prepare for a potential trend change.
Settings
EMA Cloud:
Fixed at 3-period EMAs.
Additional MAs:
MA1 Length and MA1 Type: Set the first MA (default: 20, SMA).
MA2 Length and MA2 Type: Set the second MA (default: 50, SMA).
RSI Settings:
RSI Length: Default 14, adjustable.
Source: Default close, adjustable.
Usage
Spot Trends with the Cloud:
A Green cloud means the price is trending up, which can be a good time to buy or hold a position if you’re trading with the trend. It shows the price is moving higher with strength.
A Red cloud means the price is trending down, which can be a good time to sell or short if you’re looking for bearish opportunities. It shows the price is dropping with strength.
A Yellow cloud means the price isn’t showing a clear trend, so it’s often better to wait for a stronger signal before making a move. This helps you avoid getting caught in choppy or sideways markets.
Confirm with MAs:
The two MAs help you confirm the trend shown by the EMA Cloud. For example, if the cloud is Green (uptrend) and the shorter MA (blue) crosses above the longer MA (purple), it’s a stronger sign to buy, as both the cloud and the MAs agree the trend is up. If the cloud is Red (downtrend) and the shorter MA crosses below the longer MA, it’s a stronger sign to sell, as both tools confirm the downtrend.
You can also use the MAs to spot trend changes. If the price breaks above both MAs while the cloud turns Green, it’s a good sign a new uptrend is starting. If the price breaks below both MAs while the cloud turns Red, it’s a sign a new downtrend might be starting.
Check Momentum with RSI:
Use the RSI to see how strong the price movement is. If the RSI is rising, it means the price is gaining momentum, which can support a Green cloud (uptrend) or warn you if the momentum is slowing down in a Red cloud (downtrend). If the RSI is falling, it means the price is losing momentum, which can support a Red cloud or warn you if the momentum is slowing in a Green cloud.
For example, if the cloud is Green and the RSI is rising toward 60, it shows strong upward momentum, giving you more confidence in the uptrend. If the cloud is Red and the RSI is falling toward 40, it shows strong downward momentum, supporting the downtrend.
You can also watch for changes in momentum. If the cloud is Green but the RSI starts to drop, it might mean the uptrend is weakening, even if the price is still going up. This can help you prepare for a potential reversal or pullback.
Accuracy
The EMA Cloud is designed to catch trends by looking at the candle’s full range (high and low prices), not just the close. This makes it more sensitive to real price movements, helping it accurately show when the price is trending up (Green), trending down (Red), or stuck in a neutral zone (Yellow). The 3-period EMAs are short and fast, so the cloud reacts quickly to price changes, which is ideal for short-term trading but might give more signals in choppy markets. The custom MAs add reliability by confirming the trend over a longer period, helping you avoid false signals from the cloud alone. The RSI provides a clear view of momentum, showing you how strong the trend is and whether it’s gaining or losing steam. Together, these tools create a balanced system for trend and momentum analysis, but you should always test it on your specific market and timeframe to see how well it works for your trading style.
Notes
The EMA Cloud uses the candle’s high and low prices to catch the full price movement, making it more accurate for spotting trends.
The cloud colors have a bit of transparency so you can still see the candles clearly.
The RSI sits in its own pane below the chart, while the cloud and MAs are on the price chart.
Credits
To Creators of Original Indicators Used in this Indictor.
Disclaimer
This indicator is for educational purposes only. Trading involves risks, and you should use this tool at your own risk. Always conduct your own analysis and backtest the indicator before using it in live trading. The creators are not responsible for any financial losses incurred.
Mar 28
Release Notes
Added option to select Source of MAs.
This update introduces an advanced crossover confirmation feature to the indicator by leveraging the existing user-defined moving averages (MA1 and MA2). It enhances flexibility and visual feedback through customizable source selection and dynamic color changes based on crossover events. Below are the details of this addition:
Customizable Source Selection:
Users now have the ability to define the price source for each moving average independently through the MA1 Source and MA2 Source input options. Available choices include open, close, high, low, or other price data points, enabling tailored analysis based on specific price behaviors.
Crossover Confirmation Mechanism:
The feature detects crossovers between MA1 and MA2 to provide additional confirmation signals:
A bullish crossover occurs when MA1 crosses above MA2, signaling potential bullish momentum.
A bearish crossover occurs when MA1 crosses below MA2, indicating possible bearish momentum.
These events are identified using precise Pine Script functions (ta.crossover() and ta.crossunder()), ensuring reliable detection of trend shifts.
Dynamic Color Response:
Post-crossover, the visual representation of both MAs adapts to reflect the market condition:
After a bullish crossover (MA1 > MA2), both MA1 and MA2 lines change to green, visually reinforcing an upward trend.
After a bearish crossover (MA1 < MA2), both lines shift to red, highlighting a downward trend.
Prior to any crossover, the MAs default to gray, maintaining neutrality until a significant event occurs. The color persists until the opposite crossover takes place, offering sustained feedback.
Practical Examples for Customization:
MA 3 vs. MA 3 Configuration: Set MA1 to a length of 3 with source open and MA2 to a length of 3 with source close. This fast-moving pair leverages the difference between opening and closing prices, with crossovers providing rapid confirmation signals for short-term traders.
MA 9 vs. MA 20 Crossover: Configure MA1 with a length of 9 and MA2 with a length of 20 (both defaulting to close). This setup captures short-term trends against a medium-term baseline, a popular choice for swing trading.
MA 20 vs. MA 50 Crossover: Assign MA1 a length of 20 and MA2 a length of 50. This classic combination tracks medium-term versus long-term trends, ideal for identifying broader market shifts.
The flexibility of length and source inputs allows users to experiment with countless other pairings tailored to their strategies.
Purpose and Integration:
This crossover functionality enhances the indicator’s utility by offering a clear, visual confirmation tool alongside the existing EMA Cloud and RSI components. It empowers users to monitor momentum shifts with greater confidence, using MA1 and MA2 as a dynamic duo within the broader analytical framework.
Critical User Guidance:
Disclaimer: While this indicator provides valuable insights, it is not a standalone solution for trading decisions. All technical indicators, including this one, merely suggest potential price movements without offering guarantees. To maximize effectiveness and minimize risk, users must complement crossover signals with additional confirmations, such as:
Candlestick Formations: Patterns like doji, engulfing, or hammer candles to validate reversals or continuations.
Support and Resistance Levels: Key price zones to assess the strength of a trend or breakout.
Trendline Breakouts: Confirmation of trend direction through breaches of established lines.
Combining these elements ensures a more robust trading approach, aligning with sound risk management principles.
Previous Candle Range Split into ThirdsThis script plots two horizontal lines over the previous candle to divide its total range (high to low) into three equal parts. The first line marks 33% of the range from the low, and the second marks 66%. This helps users visually identify whether the previous candle closed in the lower, middle, or upper third of its range, providing context on potential buyer or seller dominance during that session.
Users can customize the color, width, and style (solid, dotted, dashed) of each line, as well as toggle their visibility from the script's input settings.
This indicator is designed as a discretionary analysis tool and does not generate buy or sell signals.
SMA 12 26 50 200 / BB / KAIRIThe SMA 12 26 50 200 / BB / KAIRI is a comprehensive technical analysis tool designed for traders who rely on various moving averages and indicators to inform their market decisions. This custom-built indicator includes:
Multiple Simple Moving Averages (SMA):
The script includes four simple moving averages (SMA) with customizable periods:
SMA 12 (Short-Term)
SMA 26 (Medium-Term)
SMA 50 (Mid-Term)
SMA 200 (Long-Term)
These moving averages help identify potential trends and market direction based on varying timeframes, allowing traders to analyze short, medium, and long-term price movements.
Bollinger Bands (BB):
The Bollinger Bands indicator is included to measure market volatility. The indicator consists of:
The middle band, which is a 20-period simple moving average.
The upper and lower bands, which are calculated using standard deviations to show potential overbought or oversold conditions.
Kairi Oscillator:
The Kairi Oscillator is a unique tool for identifying price divergence from the SMA 25. The oscillator creates two lines, an upper and lower level based on a percentage of price deviation from the SMA. Alerts are generated when the price crosses these levels, providing buy or sell signals.
Alerts and Signals:
Possible Buy Alert: An alert is triggered when the price touches the 50-period SMA or 200-period SMA, signaling potential buying opportunities.
Buy and Sell Signals: The script includes built-in logic for buy and sell signals based on the crossing of the Kairi Oscillator, helping traders make informed decisions in real-time.
Customizable Parameters:
Users can adjust the periods of the SMAs and the Kairi Oscillator directly within the script settings to align with their preferred trading strategy.
This indicator is particularly useful for trend-following traders who want to visualize multiple timeframes and use volatility measures to make strategic decisions. The combination of SMAs, Bollinger Bands, and the Kairi Oscillator helps traders spot market opportunities and manage risk effectively.
This description covers the main features and functionalities of the Pine Script indicator, highlighting its flexibility and utility for traders who use moving averages, Bollinger Bands, and the Kairi Oscillator. Let me know if you'd like to adjust or add any specific features to the description!
Price Up and Down Percentage NACHOMIXCRYPTOThis Pine Script indicator, titled "Price Up and Down Percentage NACHOMIXCRYPTO", is designed to calculate and display the percentage increase and decrease of the price for a given day. Here’s how it works:
1. Indicator Purpose
The indicator tracks the highest and lowest price points of the day.
It calculates the percentage price increase from the lowest price to the current closing price.
It also calculates the percentage price decrease from the highest price to the current closing price.
Additionally, it shows the average change and the combined percentage of both movements.
2. Key Features
Customizable Visuals:
You can adjust the line colors, widths, label colors, and text alignment.
Labels for percentage changes are displayed near the current price.
Daily Highs and Lows:
The indicator resets the lowest and highest price at the start of a new day.
Percentage Calculations:
PriceRise: The percentage change from the day’s lowest price to the current close.
PriceDrop: The percentage change from the day’s highest price to the current close.
AvgChange: The average of the rise and drop percentages.
Total+-: The sum of the price rise and drop, providing a combined market movement view.
3. Visual Representation
Lines:
A green line represents the upward movement (from the lowest price to the current price).
A red line represents the downward movement (from the highest price to the current price).
Labels:
The percentage increase is labeled in green, and the percentage decrease is labeled in red.
The labels are positioned with an adjustable offset for clarity.
Table Display:
A table in the bottom-right corner displays all the calculated values for quick reference.
4. Practical Use
Trend Analysis: Helps identify if the market has shown significant upward or downward movement during the day.
Volatility Assessment: Traders can evaluate the volatility based on the total percentage movement.
Decision Support: Provides a clear indication of how much the price has moved relative to its daily high and low.
Overall, this indicator is useful for intraday traders to monitor price movements and make informed trading decisions.
EMA Distance OscillatorI was inspired to make this because I rely on ema trading in my SPY day trading strategy.
## 📈 **EMA Distance Oscillator**
**Author:** *Your Name or Alias*
**Category:** Trend Strength / Momentum
**Timeframes:** Optimized for 1–5min, works on all
---
### 🔍 **What It Does**
The **EMA Distance Oscillator** is a dual-purpose tool that helps visualize **momentum shifts**, **trend strength**, and **EMA divergence/convergence** in real time.
It plots two separate signals:
#### 1. 🟩 Histogram Bars
A zero-centered histogram that shows the **difference between two EMAs** (default: EMA 48 and EMA 200).
- Color-coded based on:
- Whether the EMA spread is **above or below zero**
- Whether the spread is **increasing or decreasing**
- Helps visualize **trend acceleration** or **loss of momentum**
#### 2. 📉 Delta Line
A smooth line showing the **difference between a second EMA pair** (default: EMA 13 and EMA 48).
- Color-coded:
- **White** when rising (spread widening)
- **Gray** when falling (spread tightening)
---
### ⚙️ **Customizable Inputs**
You have full control over:
- EMA lengths for **both histogram and line**
- Smoothing for each plot
- Colors for each bar state and line condition
- Momentum thresholds (±1 by default, adjustable)
---
### 🧠 **How to Use It**
- Use the **bar histogram** to quickly spot moments when short-term and long-term EMAs are diverging or converging
- Use the **delta line** to track smoother shifts in short-term momentum
- Look for:
- Expanding green bars = uptrend gaining strength
- Shrinking bars = potential reversals or cooldowns
- Line crossing zero = EMA crossover (fast vs slow)
- **Threshold lines** at +1 / -1 help mark **high-momentum zones** (fully customizable)
---
### 🧭 **Pro Tips**
- Try with EMA 13/48 for the line and EMA 48/200 for the histogram on 1–5min charts
- Add alerts (optional) for when:
- Histogram changes color (momentum flip)
- Line crosses zero
- Threshold levels are breached
---
Let me know if you want me to help prep alert conditions or auto-generate different versions (e.g., strategy version, simplified mode, mobile-friendly layout, etc).
Multi-Timeframe RSI Overbought/Oversold Stackmakes a small GUI that shows RSI levels for 5min, 15min, 1hr, 4hr and 1day. if over sold or over bought.
Multi-TF Fibonacci Divergence StrategyChart Beast 3
The 1 hour and 4 hour time frame must be above the 200 Exponential Moving average for buy trades, and below the 200 Exponential Moving Average for sell trades.
Price on the previous day's daily candle must have closed above the candle before its body and wick for buys and below it for sells. (Example: Today is Monday and price has not yet closed, fridays daily candle closed above the thursday candles body and wick for buys and below it for sells)
Price on The 15 minute time frame must retrace past the 50% level on the fibonacci indicator. Price must not close beyond the 78.6% level on the fibonacci indicator. (on the 5 minute time frame, 15 minute time frame, 1 hour time frame, 4 hour time frame.)
Price on the 15 minute time frame must have retraced to the -27% or -61.8 levels on the fibonacci indicator. (Price must not close beyond the 78.6% fibonacci level on the hourly time frame)
Price on the 15 minute time frame or the 5 minute time frame must show bullish divergence once price has touched the -27% or -61.8% fibonacci level for buys and bearish divergence for sells.
Provide alerts when these conditions have been met. (ONLY in the session of the asset that's being traded)
Do not add lines to the chart, provide an option to turn on and off the past alerts that meet these conditions.
Make it visually appealing on the charts and easy to understand.
Multi TF Fibonacci Divergence StrategyTake 2
The 1 hour and 4 hour time frame must be above the 200 Exponential Moving average for buy trades, and below the 200 Exponential Moving Average for sell trades.
Price on the previous day's daily candle must have closed above the candle before its body and wick for buys and below it for sells. (Example: Today is Monday and price has not yet closed, fridays daily candle closed above the thursday candles body and wick for buys and below it for sells)
Price on The 15 minute time frame must retrace past the 50% level on the fibonacci indicator. Price must not close beyond the 78.6% level on the fibonacci indicator. (on the 5 minute time frame, 15 minute time frame, 1 hour time frame, 4 hour time frame.)
Price on the 15 minute time frame must have retraced to the -27% or -61.8 levels on the fibonacci indicator. (Price must not close beyond the 78.6% fibonacci level on the hourly time frame)
Price on the 15 minute time frame or the 5 minute time frame must show bullish divergence once price has touched the -27% or -61.8% fibonacci level for buys and bearish divergence for sells. (This only applies to the 1 hour time frame retraced market structure on the 15 minute and 5 minute time frame only)
BTCUSDT MACD Bullish/Bearish Alerts [3-min]Description:
This TradingView Pine Script indicator titled "BTCUSDT MACD Bullish/Bearish Alerts " analyzes the BTCUSDT pair on a 3-minute chart using the MACD (Moving Average Convergence Divergence) strategy. It provides visual plots and configurable alerts for potential bullish or bearish market conditions based on MACD line behavior.
🔧 Key Features:
MACD Configuration:
Fast Length: 12
Slow Length: 26
Signal Smoothing: 9
Custom Thresholds:
Bullish Alert Trigger: When the MACD line crosses above the signal line and exceeds a value of 5.
Bearish Alert Trigger: When the MACD line crosses below the signal line and falls below a value of -10.
📈 Chart Elements:
Lines:
Blue: MACD Line
Orange: Signal Line
Histogram: Green (positive), Red (negative)
Shapes:
Green Triangle Up: Bullish crossover point
Red Triangle Down: Bearish crossover point
🚨 Alerts Available:
MACD Bullish Crossover – When the MACD line crosses above the signal line.
MACD Bullish Rising – When the MACD line is above the signal line and exceeds the bullish threshold.
MACD Bearish Crossover – When the MACD line crosses below the signal line.
MACD Bearish Falling – When the MACD line is below the signal line and below the bearish threshold.
Multi TF Fibonacci Divergence Strategy✅ Buy Trade Conditions
Trend Confirmation:
The 1-hour and 4-hour charts must be above the 200 EMA.
Daily Candle Confirmation:
The previous daily candle must have closed above the body and wick of the candle before it (e.g., Friday's candle must close above Thursday’s for a buy).
Fibonacci Retracement:
On the 15-minute chart, price must:
Retrace past the 50% level of a Fibonacci drawn from recent swing high/low.
Not close beyond the 78.6% level.
Fibonacci Extension Target:
Price must touch either the -27% or -61.8% extension level (based on the same swing).
It must not close beyond the 78.6% retracement level on higher timeframes.
Bullish Divergence:
Bullish RSI divergence on the 15-minute chart, confirmed by structure on the 1-hour chart.
Session Filter:
Trade signals only trigger during the asset's active trading session (user-defined).
❌ Sell Trade Conditions
All the above are mirrored in the opposite direction:
Below 200 EMA on 1H & 4H
Daily candle closes below prior candle’s body and wick
Fibonacci retrace above 50%, no close beyond 78.6%
Target hit at -27% or -61.8%
Bearish RSI divergence
In-session signal
SignalX Market Snapshot Exporter
✅ SignalX Daily Bias + Timing Engine (Reusable Routine)
Inputs:
1-day CSV (5min or 1min timeframe)
Columns: open, high, low, close, volume, HMA10, HMA30, SMA10–200, Up/Down Trend, Engulfing, Doji, Pin Bar
Outputs:
1. 🎯 Directional Bias (Long / Short / Neutral)
Based on:
Price relative to 10/20/50 SMAs
HMA10 > HMA30 (bullish slope), or reverse
Up/Down Trend Flags (majority)
Volume confirmation (trending day vs low-vol chop)
2. 🕒 High-Probability Trade Times
Spots times with:
Volume Spike + Trend alignment
Shape pattern confirmation (engulfing, pin bar)
SMA breakout zones
3. 📊 Trade Setup Template
Direction
Entry time (window)
Suggested SL = recent swing ± buffer
TP = SL × 2 (adjustable)
✅ Why This File Works for Bias + Time Planning
You’ve included:
Price action: OHLC (Open/High/Low/Close)
Trend indicators: Up Trend, Down Trend, HMA10/30, SMA10/20/50/100/200
Volume & spikes
Candlestick patterns: Engulfings, Doji, Pin Bar
Trend flags: Up Trend Flag, Down Trend Flag
This gives me everything needed to:
Determine directional bias for the day (Long / Short / Neutral)
Identify high-probability time zones (based on volume spikes + trend alignment)
Suggest SL/TP-friendly zones based on structure
Multi-Timeframe ATR MonitorThis indicator displays a table of ATR values across multiple user-defined timeframes (1m, 3m, 5m, 15m, 60m, daily by default) and tracks the session range since 18:00. Customize the timeframes and ATR length via inputs.
TP/SL Percentage & RR Visual Tool📊 TP/SL Percentage & RR Visual Tool
This advanced trading indicator is designed to enhance your decision-making process by visually displaying dynamic risk-to-reward (RR) levels, trend conditions, and market signals directly on your chart. Whether you're scalping or swing trading, this tool gives you real-time insight into trade opportunities with built-in logic from the UT Bot.
🧠 Key Features:
TP/SL Levels: Automatically plots up to 3 customizable take-profit and stop-loss levels based on percentage.
Risk-to-Reward Visualization: Clearly displayed entry, TP, and SL zones to help manage risk and improve trade planning.
UT Bot Alerts Logic: Smart entry and exit signals using UT Bot crossover logic with optional Heikin Ashi candle filtering.
Trend Strength Meter: Detects market structure and trend direction using multi-timeframe EMAs (20 vs 50 EMA).
Volatility Indicator: Shows high or low volatility zones using ATR with a 100-period average benchmark.
Session Dashboard: Includes real-time trend analysis across 5m, 15m, 1h, 4h, and 1D timeframes.
Price Action Signals: Detects bullish and bearish engulfing patterns.
Customizable EMA Overlay: Plot EMA 20, 50, 100, and 200 directly on the chart.
Dynamic Table Display: Summarizes all key data points in a fixed-position, Excel-style table for quick reference.
🔧 Fully Customizable:
TP/SL percentages and line styles
EMA lengths and colors
Table placement
Heikin Ashi logic toggle
Volatility and trend sensitivity
OPR 14h30-14h45 amélioré avec options avancées + MA200OPR 14h30-14h45 amélioré avec options avancées + MA200
MA Candle Color with Buy/Sell Alerts & Reference LinesMA Candle Color with Buy/Sell Alerts & Reference Lines
Timed Reversion Markers (Custom Session Alerts)This script plots vertical histogram markers at specific intraday time points defined by the user. It is designed for traders who follow time-based reversion or breakout setups tied to predictable market behavior at key clock times, such as institutional opening moves, midday reversals, or end-of-day volatility.
Unlike traditional price-action indicators, this tool focuses purely on time-based triggers, a technique often used in time cycle analysis, market internals, and volume-timing strategies.
The indicator includes eight fully customizable time inputs, allowing users to mark any intraday minute with precision using a decimal hour format (for example, 9.55 for 9:55 AM). Each input is automatically converted into hour and minute format, and a visual histogram marker is plotted once per day at that exact time.
Example use cases:
Mark institutional session opens (e.g., 9:30, 10:00, 15:30)
Time-based mean reversion or volatility windows
Backtest recurring time-based reactions
Highlight algorithmic spike zones
The vertical plots serve as non-intrusive, high-contrast visual markers for scalping setups, session analysis, and decision-making checkpoints. All markers are displayed at the top of the chart without interfering with price candles.
Trade Sniperz 200 EMA with Triangle SignalsThis versatile moving average tool combines:
A 200-period EMA that toggles between line/cross display
Color-changing visual trend identification
Triangle signals at crossovers
Customizable display options
Key Features
Feature Description Visual Example
200 EMA Display Shows as crosses by default (toggle to line) Colored + or × marks
Trend Colors Green when price > EMA (bullish), Red when price < EMA (bearish) Dynamic color change
Triangle Signals Green ▲ below bar (bullish cross), Red ▼ above bar (bearish cross) Clear entry/exit markers
Customization Toggle between line/cross display in settings Flexible viewing options
Recommended Usage
1. Trend Identification
Bullish Market: When price is above green EMA crosses/line
Bearish Market: When price is below red EMA crosses/line
Strong Trend Confirmation: Consistent crosses maintaining color
2. Trading Signals
Signal Type Condition Action
Buy Signal Green ▲ triangle appears + price crosses above EMA Consider long positions
Sell Signal Red ▼ triangle appears + price crosses below EMA Consider short positions
Trend Filter Only trade in direction of EMA color (green=longs, red=shorts) Increases win rate
3. Display Options
pinescript
Copy
showAsLine = input(false, "Display as Line (uncheck for crosses)")
✔ Checked: Shows traditional EMA line
✖ Unchecked: Shows EMA as crosses (default)
Pro Tips
Combine with Support/Resistance: Use crosses near key levels for higher probability trades
Timeframe Flexibility: Works on all timeframes (1min - monthly charts)
Volume Confirmation: Increase position size when crosses align with high volume
Cross Density: More frequent crosses indicate choppy markets (caution needed)
Input Parameters
Parameter Default Description
Length 200 EMA period (recommend keeping at 200)
Display as Line Off Toggle between crosses/line display
Visual Example
Copy
PRICE CHART:
▲ (Red triangle) - Bearish signal
× × × (Red crosses) - Price below EMA
- - - - - - - - -
● ● ● (Price bars)
- - - - - - - - -
+ + + (Green crosses) - Price above EMA
▲ (Green triangle) - Bullish signal
This indicator provides a clean, customizable way to track the important 200 EMA while getting clear visual signals for potential trend changes. The crosses make the EMA more visible on crowded charts, while the color-coding helps instantly identify trend direction.
CME Price Limits (Futures Prop Firm Rule)This indicator shows the CME Price Limit, combined with a safety distance that is used by several futures prop firms. Trading in the highlighted area means a rule violation for many Futures prop firm accounts.
The levels are calculated from the "Settlement as close" closing price of the previous daily candle.
JPMorgan Collar LevelsThis indicator visualizes the current JPMorgan Hedging Collar strategy commonly used by institutional funds like JHEQX. It plots three key levels:
– Short Call strike (upper bound)
– Long Put strike (protection level)
– Short Put strike (cost reduction)
The area between the long put and short call is shaded to represent the active hedging zone. This setup is updated quarterly and can influence SPX market behavior near expiration dates.
Inputs are customizable to reflect the latest collar configuration. Useful for traders tracking institutional hedging flows or analyzing market structure near key option expirations.
Multi-Timeframe Price LevelsThis indicator displays key price levels from multiple timeframes on your chart, helping you identify important support and resistance zones.
## Features
- **Multiple Timeframes**: View price levels from 4H, Daily, 3-Day, Weekly, and Monthly charts simultaneously
- **Customizable Price Types**: Choose to display Open, Close, High, and Low prices
- **Color-Coded**: Each timeframe has its own color for easy identification
- **Fully Customizable**: Enable/disable specific timeframes and price types as needed
## How to Use
1. Add the indicator to your chart
2. Use the input options to select which timeframes and price types you want to display
3. Look for areas where multiple price levels converge - these often act as strong support/resistance zones
## Color Guide
- **Red**: 4-Hour timeframe
- **Blue**: Daily timeframe
- **Green**: 3-Day timeframe
- **Purple**: Weekly timeframe
- **Orange**: Monthly timeframe
For each timeframe, the transparency varies by price type:
- Open: 70% transparency
- Close: 50% transparency
- High: 30% transparency
- Low: 10% transparency (most visible)
## Trading Applications
- Identify key support and resistance levels
- Spot multi-timeframe confluences for stronger trade setups
- Plan entries and exits based on historical price reactions
- Set stop losses and take profit targets at significant levels
This indicator works best when combined with your existing trading strategy to confirm important price zones.