1min Specific Time Swing time concept
if you know PO3 of time in 5min candles
you should know manipulation times
this indicator shows manipulation times and swing high/lows!
Enjoy!
사이클
Enhanced Forex Trading SignalsEnhanced Forex Trading Strategy - Usage Instructions
Overview
This improved Pine Script strategy provides clear buy and sell signals for forex trading. The script has been enhanced to offer:
Signal Strength Calculation - A numerical value (0-100%) indicating the strength of buy/sell signals
Visual Dashboard - Real-time display of key trading indicators and current signal
Clear Visual Signals - Large triangles for buy/sell signals and background color changes
Multiple Technical Indicators - Combines moving averages, RSI, MACD, and price position analysis
Key Improvements
The original script has been enhanced with the following improvements:
Signal Strength System: Instead of binary yes/no signals, the strategy now calculates a strength percentage for both buy and sell signals
Signal Filtering: Only generates signals when strength exceeds your chosen threshold
Visual Dashboard: Shows all key information in one place for quick decision making
Clearer Visual Indicators: Background color changes and larger signal markers
Additional Technical Indicators: Added MACD and RSI divergence detection
Smoother Signals: Signal smoothing to reduce false signals and whipsaws
How to Use
Step 1: Load the Script in TradingView
Open TradingView and create a new Pine Script
Copy and paste the entire code from improved_forex_strategy.pine
Click "Save" and then "Add to Chart"
Step 2: Configure Settings
The script includes several customizable parameters:
Moving Average Periods: Adjust short and long MA periods based on your trading timeframe
Signal Threshold: Set the minimum signal strength (0-100) required to generate buy/sell signals
RSI Settings: Customize overbought/oversold levels
Stop Loss/Take Profit: Set your risk management parameters
Dashboard Settings: Enable/disable the dashboard and choose its location
Step 3: Interpreting Signals
Buy Signal (Green Triangle Up)
A buy signal is generated when:
Buy signal strength exceeds your threshold (default 70%)
Buy strength is greater than sell strength
A green triangle appears below the price bar
Background turns light green
Sell Signal (Red Triangle Down)
A sell signal is generated when:
Sell signal strength exceeds your threshold (default 70%)
Sell strength is greater than buy strength
A red triangle appears above the price bar
Background turns light red
Dashboard Information
The dashboard provides at-a-glance information:
Current buy and sell signal strengths (0-100%)
Overall market trend (Bullish/Bearish/Neutral)
RSI status (Overbought/Oversold/Neutral)
Price position relative to 52-week range
Current signal recommendation (Buy/Sell/No Signal)
Signal Strength Calculation
The signal strength is calculated based on multiple factors:
Buy Signal Strength Factors
Trend is up (short MA > long MA): +20%
Bullish MA crossover: +30%
RSI oversold condition: +15%
MACD bullish cross: +15%
MACD line positive: +10%
Price near 52-week low: +15%
Positive sentiment (volume surge with upward momentum): +10%
RSI bullish divergence: +15%
Sell Signal Strength Factors
Trend is down (short MA < long MA): +20%
Bearish MA crossover: +30%
RSI overbought condition: +15%
MACD bearish cross: +15%
MACD line negative: +10%
Price near 52-week high: +15%
Negative sentiment (volume surge with downward momentum): +10%
RSI bearish divergence: +15%
The final strength is smoothed over several periods to reduce noise and false signals.
Recommended Settings for Different Timeframes
Short-term Trading (1h, 4h charts)
Short MA: 5-10
Long MA: 20-30
Signal Threshold: 60-70
RSI Period: 14
Signal Line Period: 3-5
Medium-term Trading (Daily chart)
Short MA: 10-20
Long MA: 30-50
Signal Threshold: 70-80
RSI Period: 14
Signal Line Period: 5-7
Long-term Trading (Weekly chart)
Short MA: 20-30
Long MA: 50-100
Signal Threshold: 80-90
RSI Period: 14
Signal Line Period: 7-10
Best Practices
Adjust the Signal Threshold: Start with 70% and adjust based on your risk tolerance. Lower values generate more signals but include more false positives.
Confirm with Multiple Timeframes: For stronger confirmation, check if signals align across different timeframes.
Use the Dashboard: Pay attention to all information in the dashboard, not just the final signal.
Monitor Signal Strength Trends: Watch how signal strength builds up or fades over time.
Customize for Your Pairs: Different forex pairs may require different settings. Test and adjust accordingly.
Troubleshooting
Too Many Signals: Increase the signal threshold or increase the signal smoothing period
Too Few Signals: Decrease the signal threshold or decrease the signal smoothing period
Delayed Signals: Decrease the moving average periods
False Signals: Increase the signal threshold and ensure you're using an appropriate timeframe for your trading style
SMC + ZigZag + Auto FiboSmart Money Concepts revolve around key institutional trading theories such as BOS (Break of Structure), CHoCH (Change of Character), order blocks, fair value gaps, and more. This script automatically identifies and marks these structure changes on the chart, highlighting potential shifts in market bias.
The ZigZag portion connects major swing points with lines, providing a clearer visual for the overall swing structure. It helps you see higher highs/lows in uptrends and lower highs/lows in downtrends.
When enabled, the script automatically draws Fibonacci retracements/fans or Gann retracements/fans between important swing extremes identified by the script’s trailing structure. This helps you spot potential support/resistance or supply/demand levels based on well-known fib or Gann ratios.
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.
ADR Actual en RecuadroADR data in a separate box. Shows a visualization of the average "market limit".
Buy and Sell Signal xNawaf (SMA)
"A new indicator, customizable for future adjustments. Thank you all!"
xNawaf
Nawaf aLOtaibi
thank you all
Custom Daily % Levels Table📘 Indicator Description
"Custom Daily % Levels – table" is a dynamic and customizable tool designed to help traders visualize daily percentage-based price ranges and key metrics in a compact, table-style format.
🧩 Key Features:
📐 Custom Percent Levels: Automatically calculates upper and lower price levels based on a user-defined base percentage and number of levels, relative to the previous daily close.
🟢🔴 Color Gradient Highlighting: Positive levels are shown with a green gradient, negative levels with red, and the level labels with a neutral tone for easy reference.
📊 Live Asset Info: Displays the current symbol, percentage change from the previous daily close, and 14-period RSI, all color-coded for quick interpretation.
⚙️ Header Control: Toggle the visibility of the main info headers and level headers independently.
📌 Position Customization: Choose where the table appears on your chart (top/bottom, left/right, center).
📈 Clean Layout: Makes it easy to visually track price movement relative to daily expected ranges.
This indicator is especially useful for intraday traders, scalpers, or anyone needing a clear visual of short-term price expansion and contraction based on predefined volatility zones.
Transient Impact Model [ScorsoneEnterprises]This indicator is an implementation of the Transient Impact Model. This tool is designed to show the strength the current trades have on where price goes before they decay.
Here are links to more sophisticated research articles about Transient Impact Models than this post arxiv.org and arxiv.org
The way this tool is supposed to work in a simple way, is when impact is high price is sensitive to past volume, past trades being placed. When impact is low, it moves in a way that is more independent from past volume. In a more sophisticated system, perhaps transient impact should be calculated for each trade that is placed, not just the total volume of a past bar. I didn't do it to ensure parameters exist and aren’t na, as well as to have more iterations for optimization. Note that the value will change as volume does, as soon as a new candle occurs with no volume, the values could be dramatically different.
How it works
There are a few components to this script, so we’ll go into the equation and then the other functions used in this script.
// Transient Impact Model
transient_impact(params, price_change, lkb) =>
alpha = array.get(params, 0)
beta = array.get(params, 1)
lambda_ = array.get(params, 2)
instantaneous = alpha * volume
transient = 0.0
for t = 1 to lkb - 1
if na(volume )
break
transient := transient + beta * volume * math.exp(-lambda_ * t)
predicted_change = instantaneous + transient
math.pow(price_change - predicted_change, 2)
The parameters alpha, beta, and lambda all represent a different real thing.
Alpha (α):
Represents the instantaneous impact coefficient. It quantifies the immediate effect of the current volume on the price change. In the equation, instantaneous = alpha * volume , alpha scales the current bar's volume (volume ) to determine how much of the price change is due to immediate market impact. A larger alpha suggests that current volume has a stronger instantaneous influence on price.
Beta (β):
Represents the transient impact coefficient.It measures the lingering effect of past volumes on the current price change. In the loop calculating transient, beta * volume * math.exp(-lambda_ * t) shows that beta scales the volume from previous bars (volume ), contributing to a decaying effect over time. A higher beta indicates a stronger influence from past volumes, though this effect diminishes with time due to the exponential decay factor.
Lambda (λ):
Represents the decay rate of the transient impact.It controls how quickly the influence of past volumes fades over time in the transient component. In the term math.exp(-lambda_ * t), lambda determines the rate of exponential decay, where t is the time lag (in bars). A larger lambda means the impact of past volumes decays faster, while a smaller lambda implies a longer-lasting effect.
So in full.
The instantaneous term, alpha * volume , captures the immediate price impact from the current volume.
The transient term, sum of beta * volume * math.exp(-lambda_ * t) over the lookback period, models the cumulative, decaying effect of past volumes.
The total predicted_change combines these two components and is compared to the actual price change to compute an error term, math.pow(price_change - predicted_change, 2), which the script minimizes to optimize alpha, beta, and lambda.
Other parts of the script.
Objective function:
This is a wrapper function with a function to minimize so we get the best alpha, beta, and lambda values. In this case it is the Transient Impact Function, not something like a log-likelihood function, helps with efficiency for a high iteration count.
Finite Difference Gradient:
This function calculates the gradient of the objective function we spoke about. The gradient is like a directional derivative. Which is like the direction of the rate of change. Which is like the direction of the slope of a hill, we can go up or down a hill. It nudges around the parameter, and calculates the derivative of the parameter. The array of these nudged around parameters is what is returned after they are optimized.
Minimize:
This is the function that actually has the loop and calls the Finite Difference Gradient each time. Here is where the minimizing happens, how we go down the hill. If we are below a tolerance, we are at the bottom of the hill.
Applied
After an initial guess, we optimize the parameters and get the transient impact value. This number is huge, so we apply a log to it to make it more readable. From here we need some way to tell if the value is low or high. We shouldn’t use standard deviation because returns are not normally distributed, an IQR is similar and better for non normal data. We store past transient impact values in an array, so that way we can see the 25th and 90th percentiles of the data as a rolling value. If the current transient impact is above the 90th percentile, it is notably high. If below the 25th percentile, notably low. All of these values are plotted so we can use it as a tool.
Tool examples:
The idea around it is that when impact is low, there is room for big money to get size quickly and move prices around.
Here we see the price reacting in the IQR Bands. We see multiple examples where the value above the 90th percentile, the red line, corresponds to continuations in the trend, and below the 25th percentile, the purple line, corresponds to reversals. There is no guarantee these tools will be perfect, that is outlined in these situations, however there is clearly a correlation in this tool and trend.
This tool works on any timeframe, daily as we saw before, or lower like a two minute. The bands don’t represent a direction, like bullish or bearish, we need to determine that by interpreting price action. We see at open and at close there are the highest values for the transient impact. This is to be expected as these are the times with the highest volume of the trading day.
This works on futures as well as equities with the same context. Volume can be attributed to volatility as well. In volatile situations, more volatility comes in, and we can perceive it through the transient impact value.
Inputs
Users can enter the lookback value.
No tool is perfect, the transient impact value is also not perfect and should not be followed blindly. It is good to use any tool along with discretion and price action.
Reversal Detection Indicator / Pro Panel EditionThe Reversal Detection Indicator – Pro Panel Edition is a powerful technical analysis tool designed to help traders identify high-probability market reversal zones with precision and confidence. Whether you're day trading, swing trading, or scalping, this indicator enhances your decision-making process by combining real-time price action analysis with dynamic visual alerts.
Baby Pips Forex SessionsThis indicator visually maps the major Forex trading sessions based on the session times provided by BabyPips Forex Market Hours Tool.
It highlights the four primary trading sessions:
Tokyo: 09:00 – 18:00 (Asia/Tokyo)
London: 08:00 – 17:00 (Europe/London)
New York: 08:00 – 17:00 (America/New_York)
Sydney: 17:00 – 02:00 (GMT-4)*
Each session is shown with customizable colors and can display:
Session name
Open and close lines
Tick range (optional)
Average price (optional)
Use this tool to easily identify overlapping sessions and potential periods of increased market volatility.
Note: Timezones and session hours align with BabyPips' tool for accuracy and consistency. Ensure your chart is set to an intraday timeframe for the indicator to work correctly.
HinduTime Choghadiya(Dynamic Day & Night)🕉️ HinduTime Choghadiya (Dynamic Day & Night) — Visualize real-time Choghadiya Muhurat across global timezones with dynamic sunrise/sunset-based day & night cycles. Perfect for astrology-based or Vedic timing strategies.
How to Use:
Add to Chart: Click "Add to chart" from the TradingView script panel.
Select Your Timezone: Use the dropdown to choose your local timezone (e.g., Asia/Kolkata).
Customize Sunrise/Sunset:
Set "Day Start Hour" (typically 6 AM).
Set "Night Start Hour" (typically 6 PM).
Visual Choghadiya Overlay:
Background color represents the current Choghadiya (e.g., Amrit, Shubh, Rog).
Adjusts dynamically by weekday and day/night period.
Use for Timing Entries:
Favorable: Amrit, Shubh, Labh
Neutral: Chal
Avoid: Rog, Kal, Udveg
SECTORSSP500 Sector indicator relative to each other. Sectors above 50 buy and less than 50 is sell signal.
JACK Pivot Breakout StrategyThis script is quite robust and includes comprehensive logic for pivot breakouts, EMA analysis, and support/resistance breaks.
Apply this script to TradingView or similar charting platforms to visualize pivot points, EMAs, and support/resistance lines.
Adjust the parameters (slPips, tpPips, etc.) to suit your trading style and risk tolerance.
Monitor the generated alerts for actionable trading opportunities.
High and Low DayHigh and Low Day
This indicator automatically tracks and displays the daily high and low of the current trading session directly on your chart.
Each new day, it resets the levels and plots horizontal lines:
Green Line for the daily high
Red Line for the daily low
It also adds labels (“High Day” and “Low Day”) for easy visual reference.
The levels update in real time as new highs or lows are formed throughout the day.
You can toggle the visibility of these lines and labels using the "Mostrar Linhas do Dia Atual" (Show Current Day Lines) setting.
Perfect for intraday traders looking to keep track of key support and resistance levels during the trading day.
XLEVEL RISK ON/OFFThis is a risk on/off indicator .
SHOWS all macro indicators like
VIX,SP500,DXY, US10Y, OIL, GOLD .
If the background color is red its risk off.
If the background color is blue its risk on.
If gray and its mixed.
It helps me a lot with trade decisions.
XLevel%W52This is a simple yet very helpful indicator.
On the top fuchsia color is % change from 52 weeks low.
In the middle yellow line is %change from last year close. Year to date % change.
On the bottom aqua color is % pull back from 52 weeks high. Which I use for entries to trends.
XLevel% PULL BACKThis is simple pull back indicator plotted to your chart . 10% - 70% and it will alert you when price is crossing from those levels.
Previous Day Regression with Trading Setups (EUR/USD)Previous Day Regression with Trading Setups (EUR/USD)
This indicator is designed specifically for trading the EUR/USD pair during the London session only. It uses a regression line based on the previous day's price action to identify high-probability trade setups.
Core Strategy
The indicator executes only one trade per session — either long or short, not both.
If a trade is triggered and Stop Loss (SL) is hit, a reverse trade is triggered once price revisits the original entry level.
For example, if a long trade is stopped out, a short trade will be initiated once the price pulls back to the original long entry.
This reversal mechanism is designed to help recover from initial losses and potentially turn the session profitable.
Trade Management
Take Profit (TP): 130 points
Stop Loss (SL): 73 points
Previous Day Regression with Trading Setups (EUR/USD)Previous Day Regression with Trading Setups (EUR/USD)
This indicator is designed specifically for trading the EUR/USD pair during the London session only. It uses a regression line based on the previous day's price action to identify high-probability trade setups.
Core Strategy
The indicator executes only one trade per session — either long or short, not both.
If a trade is triggered and Stop Loss (SL) is hit, a reverse trade is triggered once price revisits the original entry level.
For example, if a long trade is stopped out, a short trade will be initiated once the price pulls back to the original long entry.
This reversal mechanism is designed to help recover from initial losses and potentially turn the session profitable.
Trade Management
Take Profit (TP): 130 points
Stop Loss (SL): 73 points
...
SuperTrend & MTF [vivekm8955]The SuperTrend MTF is made out of SuperTrend with new level of accuracy. This indicator allows you to select different moving averages, apply it to various chart types, and fine-tune every key parameter without repainting issues, avoiding signal distortions.
Multi-MA SuperTrend:
customizable SuperTrend calculation by choosing from different moving averages:
Multiple Chart Types:
Different chart format support
If you find this indicator useful every feedback helps to continuously improve the tool.
Just for sample - there are >80% of trade successfully executed having good profit accuracy. Better back test the indicator and use based on your own will of timeframe.
Previous Day Regression with Trading Setups (EUR/USD)Previous Day Regression with Trading Setups (EUR/USD)
This indicator is designed specifically for trading the EUR/USD pair during the London session only. It uses a regression line based on the previous day's price action to identify high-probability trade setups.
Core Strategy
The indicator executes only one trade per session — either long or short, not both.
If a trade is triggered and Stop Loss (SL) is hit, a reverse trade is triggered once price revisits the original entry level.
For example, if a long trade is stopped out, a short trade will be initiated once the price pulls back to the original long entry.
This reversal mechanism is designed to help recover from initial losses and potentially turn the session profitable.
Trade Management
Take Profit (TP): 130 points
Stop Loss (SL): 73 points
Previous Day Regression with Trading Setups (EUR/USD)Green Means long
Red Means Short
.........................
if the price cross the long signal and you took a SL then wait until the price pull back to the line and take another trade with the direction .
Bullish/Bearish Reversal Bars Indicator [ik]To address the issue where the labels (BULL and BEAR) were not appearing, the following corrections and improvements have been made to the Pine Script code:
Corrected the Money Flow Index (MFI) Calculation: The original MFI calculation was incorrect. It has been replaced with the standard MFI formula using the typical price and Wilder's moving average (RMA).
Fixed AO Conditions: The conditions involving the Awesome Oscillator (AO) were reversed. Bullish reversal now requires AO to be rising (diff > 0), and bearish reversal requires AO to be falling (diff < 0).
Adjusted Label Management: Ensured labels are only removed when invalidation conditions are met, preventing premature deletion.
Shan AlertsKey Features:
ATR-Based Trailing Stop:
Uses Average True Range (ATR) to determine stop distance
Adjustable multiplier (1.0 by default) for sensitivity
Configurable ATR period (10 by default)
Flexible Price Source:
Can use either regular candles or Heikin-Ashi candles
Toggle with the "Use Heikin-Ashi Candles" input
Visual Elements:
Plots the trailing stop line in orange
Shows BUY/SELL labels (configurable)
Colors bars green/red based on position
Trading Signals:
Generates BUY signals when price crosses above the trailing stop
Generates SELL signals when price crosses below the trailing stop
Includes alert conditions for both signals
Debug Information:
Shows current stop value and position on the last bar