Futures Forward Price [NeoButane]In futures markets, the theoretical value of a futures contract can be derived from its underlying price and cost of carry. By baking in the costs and potential yields, the theoretical forward price then be used in basis against futures prices in place of the underlying spot price.
Usage
The script creates plots on the main chart and a separate window pane. Both are meant to be used to visualize dislocations in the market.
By using a futures vs. forward basis instead of futures vs. spot basis, discounts in the market are clearer.
Last month, the gold futures market GCZ2025 traded >1% above forward price when tariffs were announced and fell back in line once the tariffs were verbally retracted.
View roll spreads over a back-adjusted continuous chart. I guess. I don't think spread traders only look at one chart. This is as educational for me as it is you.
Configuration
The underlying reference needs to be changed to match the futures contract you are using.
The Risk-Free Rate defaults to FRED:SOFR. I found the contract month matched 3-Month SOFR Futures to be the closest for forward price.
Risk-Free Rate: The interest rate source for forward price.
Constant Risk-Free Rate: a static interest rate that can be used in advance of future changes in risk-free rate.
Underlying Reference: spot or index price. Some examples include TVC:SPX, TVC:GOLD, CRYPTO:BTCUSD, TVC:USOIL.
Forward Price Compounding: determines which formula to use. They're similar and become closer as the contract matures.
Alternative Contract: enable and select a futures contract to use it on a chart different than the main.
Storage Cost and Yield: for use with commodities. I haven't found a proper use for them yet but enabling is simple if you are able to.
The following are meant to be used with the continuous formula as they are compounded. However the rate sources don't differ much for the purpose of futures prices.
3-Month CME SOFR Futures
3-Month ICEEUR SONIA Futures
3-Month Osaka TONA Futures
The other rate sources are either meant for futures contracts shorter than quarterly such as monthly crypto futures or were meant to help myself understand how different rates would align with futures prices, like inflation.
What this script does
It uses the cost of carry formula to output the forward price (red line). The underlying reference (green line) is plotted alongside and a futures-derived reference (blue line) can be displayed to see how it looks next to the real reference price.
The data pane displays either the nominal difference or percentage difference between the real futures price and the calculated forward price.
Further reading
www.investopedia.com
www.cmegroup.com
www.oxfordenergy.org
www-2.rotman.utoronto.ca
www.cmegroup.com
3-month rate futures
www.cmegroup.com
www.ice.com
www.bankofengland.co.uk
www.jpx.co.jp
Educational
Alpha Trend ProThe Alpha Trend Pro indicator is a trend-following tool designed to capture market direction using ATR-based dynamic thresholds and smoothing.
✨ Key Features:
ATR-based calculation: Uses Average True Range (ATR) with a multiplier to define bullish and bearish zones.
Adaptive trend line: Plots a dynamic line that shifts according to price movement, turning green for bullish trends and red for bearish trends.
Buy & Sell signals: Generates signals when the trend direction changes (from bearish to bullish or vice versa).
Background highlighting: Optionally colors the chart background to quickly visualize bullish (green) or bearish (red) conditions.
Customizable inputs: Traders can adjust ATR period, multiplier, smoothing factor, and source (close, hl2, etc.).
Alerts ready: Includes built-in alerts for buy signals, sell signals, and trend continuation (bullish or bearish).
📊 How to use it:
Look for BUY signals when the indicator flips from bearish to bullish.
Look for SELL signals when the indicator flips from bullish to bearish.
Use background shading and the trend line color for confirmation of ongoing market direction.
This makes Alpha Trend Pro a powerful yet simple tool for spotting trend reversals and managing trades with confidence.
Chartlense Dashboard (Data, Trend & Levels)Chartlense Dashboard (Data, Trend & Levels)
Overview
The Chartlense Dashboard is a compact overlay that consolidates key data points from multiple indicators into a single, clean table on your chart. Its primary function is to reduce indicator clutter and provide essential, at-a-glance information about the current market conditions.
This dashboard is designed for traders who want a clear and organized view of the key data without having to load and manage numerous separate indicators.
chartlense.com
Key Features & Functionality
📊 Consolidated Data Panel: Displays real-time values from essential indicators, including RSI, MACD, and multiple EMAs. This saves screen space and simplifies your analysis workflow.
🎯 Automatic Key Levels: The script automatically identifies and displays the nearest important support and resistance levels, adapting as the price moves.
📐 Flexible Layouts (Vertical & Horizontal): Choose the layout that best fits your workspace. Dock the dashboard vertically to the left of your chart or arrange it horizontally along the bottom via the settings menu.
✨ Minimalist Design: Engineered for maximum information with a minimal footprint to keep your main chart area clean and readable.
⚙️ Fully Customizable: Users can show or hide any data point. This allows you to tailor the dashboard to display only the information relevant to your specific trading strategy.
How to Use
Click 'Add to favorite indicators'.
Open any chart and add the "Chartlense Dashboard" from your favorite indicators list.
Customize the displayed data in the Settings (⚙️) to fit your needs.
vertical layout (left of chart)
horizontal layout (bottom of chart)
The Next Step in Your Analysis 🚀
About This Indicator & ChartLense
This dashboard is a free, stand-alone tool provided by ChartLense. It is designed to work alongside our primary product, the ChartLense Chrome Extension.
The purpose of this indicator is to provide a clean overview of market data. The purpose of the Chrome Extension is to perform a comprehensive analysis of the chart's structure. It identifies specific trading setups, calculates a risk score, and suggests precise entry and exit levels.
If you find this dashboard useful for organizing data, you may find the extension useful for a more in-depth analysis. You can learn more at chartlense.com
Disclaimer: This script is for informational purposes only and does not constitute investment advice. Always make your trading decisions based on your own analysis and risk assessment.
MACD Fading Bullish MomentumMACD fading bullish momentum (early alert). I have designed this indicator as an early alert system for fading bullish momentum. The indicator will fire on the second consecutive histogram bar with decreasing bullish momentum (light green bars). My thought process is that it should provide traders with an earlier alert than a typical (MACD line crossing below Signal line) alert available on Trading View. However, this is not a sell indicator! It's an early alert system. My trading technique is heavily based on where the 9/20/50/100/200 EMAs are compared to one another, on the hourly timeframe and the daily timeframe. I plan to use this indicator alongside technical analysis to give me a better idea if i should exit my long swing trades. Cheers.
James
Hunt+FVG+AlertA gift to my best friend Sina creator of Solar.
This indicator is designed to mark previous day high and low and to give alert when these lines are hunted and bullish or bearish FVGs are created.
MACD Momentum Shift MACD momentum shift (alert system). I have designed this indicator as an early alert system for momentum shifts. The indicator will fire on the second consecutive histogram bar with decreasing bearish momentum (light pink bars). My thought process is that it should provide traders with an earlier alert than a typical (MACD line crossing Signal line) alert available on Trading View. However, this is not a buy indicator! It's an early alert system. My trading technique is heavily based on where the 9/20/50/100/200 EMAs are compared to one another, on the hourly timeframe and the daily tiemframe. I plan to combine this alert system with technical analysis to make better trades. Cheers.
James
huzaifa iqbal pakistanthis is custum only for mazaq //@version=6
strategy("UT Bot Long Only Strategy", overlay=true, pyramiding=0, initial_capital=10000, currency=currency.USD)
// Parameters for ATR-based trailing stop (UT Bot logic)
var int atrLength = 10 // ATR period length
var float atrMult = 5.0 // ATR multiplier for trailing stop
// Calculate ATR and the ATR-based stop distance (nLoss)
atrValue = ta.atr(atrLength)
nLoss = atrMult * atrValue
// ATR Trailing Stop logic (UT Bot)
// Using persistent variable 'trailingStop' to maintain state across bars
var float trailingStop = na
if na(trailingStop )
// Initialize trailing stop on first bar
trailingStop := close - nLoss
else if (close > trailingStop and close > trailingStop )
// Price is above trailing stop and was above it in previous bar -> uptrend continues
trailingStop := math.max(trailingStop , close - nLoss)
else if (close < trailingStop and close < trailingStop )
// Price is below trailing stop and was below it in previous bar -> downtrend continues
trailingStop := math.min(trailingStop , close + nLoss)
else if (close > trailingStop )
// Price crossed from below to above the trailing stop -> trend flips up (new long setup)
trailingStop := close - nLoss
else
// Price crossed from above to below the trailing stop -> trend flips down
trailingStop := close + nLoss
// Long entry signal: when price crosses above the trailing stop from below
bool longSignal = (close < trailingStop and close > trailingStop )
// Enter long position on UT Bot buy signal (price crossing above trailing stop)
if (longSignal)
strategy.entry("Long", strategy.long, comment="UT Bot Buy Signal")
// Exit conditions: take-profit at +10% and stop-loss at -0.10% from entry price
// We hold until TP or SL is hit; no early exit on UT Bot sell signals
if (strategy.position_size > 0)
// Calculate profit target and stop loss based on entry price
float entryPrice = strategy.position_avg_price
float takeProfit = entryPrice * 1.10 // +//@version=6
strategy("UT Bot Long Only Strategy", overlay=true, pyramiding=0, initial_capital=10000, currency=currency.USD)
// Parameters for ATR-based trailing stop (UT Bot logic)
var int atrLength = 10 // ATR period length
var float atrMult = 5.0 // ATR multiplier for trailing stop
// Calculate ATR and the ATR-based stop distance (nLoss)
atrValue = ta.atr(atrLength)
nLoss = atrMult * atrValue
// ATR Trailing Stop logic (UT Bot)
// Using persistent variable 'trailingStop' to maintain state across bars
var float trailingStop = na
if na(trailingStop )
// Initialize trailing stop on first bar
trailingStop := close - nLoss
else if (close > trailingStop and close > trailingStop )
// Price is above trailing stop and was above it in previous bar -> uptrend continues
trailingStop := math.max(trailingStop , close - nLoss)
else if (close < trailingStop and close < trailingStop )
// Price is below trailing stop and was below it in previous bar -> downtrend continues
trailingStop := math.min(trailingStop , close + nLoss)
else if (close > trailingStop )
// Price crossed from below to above the trailing stop -> trend flips up (new long setup)
trailingStop := close - nLoss
else
// Price crossed from above to below the trailing stop -> trend flips down
trailingStop := close + nLoss
// Long entry signal: when price crosses above the trailing stop from below
bool longSignal = (close < trailingStop and close > trailingStop )
// Enter long position on UT Bot buy signal (price crossing above trailing stop)
if (longSignal)
strategy.entry("Long", strategy.long, comment="UT Bot Buy Signal")
// Exit conditions: take-profit at +10% and stop-loss at -0.10% from entry price
// We hold until TP or SL is hit; no early exit on UT Bot sell signals
if (strategy.position_size > 0)
// Calculate profit target and stop loss based on entry price
float entryPrice = strategy.position_avg_price
//@version=6
strategy("UT Bot Long Only Strategy", overlay=true, pyramiding=0, initial_capital=10000, currency=currency.USD)
// Parameters for ATR-based trailing stop (UT Bot logic)
var int atrLength = 10 // ATR period length
var float atrMult = 5.0 // ATR multiplier for trailing stop
// Calculate ATR and the ATR-based stop distance (nLoss)
atrValue = ta.atr(atrLength)
nLoss = atrMult * atrValue
// ATR Trailing Stop logic (UT Bot)
// Using persistent variable 'trailingStop' to maintain state across bars
var float trailingStop = na
if na(trailingStop )
// Initialize trailing stop on first bar
trailingStop := close - nLoss
else if (close > trailingStop and close > trailingStop )
// Price is above trailing stop and was above it in previous bar -> uptrend continues
trailingStop := math.max(trailingStop , close - nLoss)
else if (close < trailingStop and close < trailingStop )
// Price is below trailing stop and was below it in previous bar -> downtrend continues
trailingStop := math.min(trailingStop , close + nLoss)
else if (close > trailingStop )
// Price crossed from below to above the trailing stop -> trend flips up (new long setup)
trailingStop := close - nLoss
else
// Price crossed from above to below the trailing stop -> trend flips down
trailingStop := close + nLoss
// Long entry signal: when price crosses above the trailing stop from below
bool longSignal = (close < trailingStop and close > trailingStop )
// Enter long position on UT Bot buy signal (price crossing above trailing stop)
if (longSignal)
strategy.entry("Long", strategy.long, comment="UT Bot Buy Signal")
// Exit conditions: take-profit at +10% and stop-loss at -0.10% from entry price
// We hold until TP or SL is hit; no early exit on UT Bot sell signals
if (strategy.position_size > 0)
// Calculate profit target and stop loss based on entry price
float entryPrice = strategy.position_avg_price
float takeProfit = entryPrice * 1.10 // +10%
float stopLoss = entryPrice * 0.999 // -0.10%
strategy.exit("ExitLong", "Long", limit=takeProfit, stop=stopLoss)
// Plot the ATR-based trailing stop for visualization (green when trend is up, red when down)
plot(trailingStop, "Trailing Stop", color = close >= trailingStop ? color.lime : color.red, style=plot.style_line)
float stopLoss = entryPrice * 0.999 // -0.10%
strategy.exit("ExitLong", "Long", limit=takeProfit, stop=stopLoss)
// Plot the ATR-based trailing stop for visualization (green when trend is up, red when down)
plot(trailingStop, "Trailing Stop", color = close >= trailingStop ? color.lime : color.red, style=plot.style_line)
10%
float stopLoss = entryPrice * 0.999 // -0.10%
strategy.exit("ExitLong", "Long", limit=takeProfit, stop=stopLoss)
// Plot the ATR-based trailing stop for visualization (green when trend is up, red when down)
plot(trailingStop, "Trailing Stop", color = close >= trailingStop ? color.lime : color.red, style=plot.style_line)
Time ZonesThis indicator plots Horizontal lines for specific time on the chart as per the time selected and then trade accordingly
EMA 200 MultiTF G/R + Cross Alerts by LifeHack Trader1. Indicator Setup
The script starts by defining the version of Pine Script (v5) and creating an indicator called "EMA 200 MultiTF G/R + Cross Alerts by LifeHack Trader."
The overlay=true parameter ensures that the indicator is plotted directly on the price chart.
2. Function to Get EMA200
A custom function getEma200 is defined to retrieve the 200-period Exponential Moving Average (EMA) for a specified timeframe (tf).
This function uses the request.security function to fetch the close price's EMA from different timeframes.
3. Calculate EMA200 for Multiple Timeframes
The script calculates the EMA200 for four timeframes: 15 minutes ("15"), 1 hour ("60"), 4 hours ("240"), and 1 day ("D").
These values are stored in variables (ema15, ema1h, ema4h, ema1d) and represent the EMA for each timeframe.
4. Determine Price Above or Below EMA200 (G/R)
For each timeframe, the script checks whether the closing price is above or below the EMA200.
It uses boolean checks to determine if the price is above the EMA200, assigning the status "G" (Green) for above and "R" (Red) for below.
5. Cross Signal Detection (Up/Down)
The script detects crossovers and crossunders between the price and EMA200 for each timeframe.
A crossover signal is detected when the price crosses above the EMA200 (bullish), and a crossunder signal is detected when the price crosses below the EMA200 (bearish).
These signals are stored in separate variables (crossUp, crossDown).
6. Display a Table with G/R Status and Cross Alerts
A table is created and displayed in the top-right corner of the chart. The table shows the status (G or R) for each timeframe and the cross signal (▲ for crossover, ▼ for crossunder, or - for no cross event).
The table is updated with the respective values for each timeframe every time a new bar is formed.
7. Alert Conditions
The script defines alert conditions based on the crossovers and crossunders.
When a price crosses above the EMA200 (cross-up), an alert is triggered for a potential buy opportunity. When the price crosses below the EMA200 (cross-down), an alert is triggered for a potential sell opportunity.
Alerts are configured for each timeframe (15 minutes, 1 hour, 4 hours, and 1 day).
This script provides a comprehensive system for monitoring price action relative to the EMA200 on multiple timeframes, highlighting crossovers, and delivering visual feedback and alerts based on the price's relationship with the EMA.
Futures Position Size CalculatorIt will calculate and display how many contracts you can take based on your account balance, risk %, stop size, and instrument.
Normalized Volume Z-Score
The Normalized Volume Z-Score indicator measures how unusual the current trading volume is compared to its recent history.
It calculates the z-score of volume over a user-defined lookback period (default: 50 bars), optionally using log-volume normalization.
A z-score tells you how many standard deviations today’s volume is away from its mean:
Z = 0 → volume is at its average.
Z > 0 → volume is higher than average.
Z < 0 → volume is lower than average.
Threshold lines (±2 by default) highlight extreme deviations, which often signal unusual market activity.
How to Trade with It
High positive Z-score (> +2):
Indicates abnormally high volume. This often happens during breakouts, strong trend continuations, or capitulation events.
→ Traders may look for confirmation from price action (e.g., breakout candle, strong trend bar) before entering a trade.
High negative Z-score (< –2):
Indicates unusually low volume. This may signal lack of interest, consolidation, or exhaustion.
→ Traders may avoid entering new positions during these periods or expect potential reversals once volume returns.
Cross back inside thresholds:
When z-score returns inside ±2 after an extreme spike, it may suggest that the abnormal activity has cooled down.
Tips
Works best when combined with price structure (support/resistance, demand/supply zones).
Can be applied to crypto, stocks, forex, futures – anywhere volume is meaningful.
Log normalization helps reduce distortion when some days have extremely large volumes.
RSI Dual Smoothed MAs + Trend color+ Alerts + MTFFeatures Implemented:
RSI with selectable source (OHLC/HL2/HLC3/OHLC4).
timeframe dropdown (tf) so you can select 1m, 3m, 5m, 15m, 30m, 1h, 3h, 4h, 1D, 1W, 1M
Two customizable MAs with selectable type (SMA, EMA, WMA, RMA, VWMA).
MA slope-based coloring (green = rising, red = falling, gray = flat).
Background shading (green = bullish, red = bearish).
Alerts for:
Bullish MA crossover
Bearish MA crossover
RSI Overbought (>70)
RSI Oversold (<30)
Range Grid From Two Levels (with intermediate lines)Range Grid From Two Levels of Initial Balance (works great with next day levels)
Range Grid From Two LevelsRange Grid From Two Levels of Initial Balance (works great with next day levels)
Alpha Trend IndicatorThe Alpha Trend Indicator is a custom-built trend-following tool designed to help traders identify market direction, trend strength, and potential reversal points with high accuracy. It combines multiple technical concepts—ATR (Average True Range), CCI (Commodity Channel Index), and either MFI (Money Flow Index) or RSI (Relative Strength Index)—to create a dynamic trend detection system.
🔑 Key Features:
Adaptive Trend Line – Uses ATR and CCI logic (similar to Trend Magic) to plot an Alpha Trend line that adjusts to volatility.
MFI / RSI Flexibility – Option to switch between MFI (volume-based momentum) or RSI (price-based momentum) for more tailored analysis.
Alpha Trend Offset – Plots a 2-bar shifted reference line to detect changes in price momentum.
Buy & Sell Signals – Automatically detects bullish and bearish crossovers between Alpha Trend and its offset line, marking potential entries and exits.
Visual Trend Zones – Fills the space between Alpha Trend and its offset with green (bullish) or red (bearish) highlights, making trend direction easy to see at a glance.
Alerts – Built-in alert conditions for Buy and Sell signals so traders never miss an opportunity.
📊 How It Works:
Trend Detection –
When CCI > 0, the Alpha Trend line is set below recent lows minus volatility (ATR).
When CCI < 0, it shifts above recent highs plus volatility.
Momentum Confirmation –
MFI/RSI adds an extra confirmation layer to avoid false signals.
Trading Signals –
Buy Signal: When Alpha Trend crosses above its offset line.
Sell Signal: When Alpha Trend crosses below its offset line.
⚡ Best Use:
Works on all timeframes (scalping, swing trading, long-term analysis).
Suitable for Forex, Crypto, Stocks, and Commodities.
Can be combined with support/resistance or volume analysis for even stronger setups.
AlphaTrend Pro — Trend & Momentum Indicator📌 AlphaTrend Pro — Trend & Momentum Indicator
The AlphaTrend Pro is a professional trend-following & momentum confirmation tool designed to identify high-probability buy and sell signals in any market (Forex, Crypto, Indices, Commodities).
🔎 How It Works
AlphaTrend Bands (EMA ± ATR):
Dynamic support/resistance zones based on volatility.
Trend Detection:
✅ Price above Alpha Upper Band → Bullish Trend (BUY Zone).
❌ Price below Alpha Lower Band → Bearish Trend (SELL Zone).
⚪ Price between bands → Neutral (No Trade).
RSI Filter (Optional):
Prevents false entries in ranging markets.
Confirms momentum before signals.
📊 Features
Clear BUY/SELL signals with arrows on chart.
Trend-colored candles for quick visual bias.
Built-in alerts for automation (works with bots, Telegram, webhooks).
On-screen dashboard showing live trend status.
Works on all timeframes & markets (Scalping, Swing, Position Trading).
⚡ Best Use
Use on higher timeframes (1H, 4H, Daily) for trend confirmation.
Enter on lower timeframes for precise entries.
Combine with price action or support/resistance for maximum accuracy.
CQ_Historical Candle Color Changer🎯 Purpose
This indicator visually distinguishes candles based on how old they are—specifically within a user-defined range (e.g., 1 to 7 days old). It helps traders quickly isolate recent price action from older data, making it easier to interpret overlays like moving averages, volume profiles, or momentum indicators.
⚙️ Key Features
- User-Defined Age Range: Set minimum and maximum age in days (e.g., highlight candles that are 1–7 days old).
- Custom Colors: Choose highlight colors for candles within the range.
- Timeframe Awareness: Works across any chart timeframe (1m, 1h, 1D, etc.), calculating candle age based on actual time elapsed.
- Non-Intrusive Display: Candles outside the range retain their default appearance, preserving overall chart readability.
📐 How It Works
- The script calculates the age of each candle by comparing its timestamp to the current time.
- If the candle falls within the user-defined age range, it’s recolored using the selected style.
- Candles older or newer than the range are left untouched.
🧠 Use Cases
- Trend Isolation: Focus on recent price action without losing sight of broader context.
Zarattini Intra-day Threshold Bands (ZITB)This indicator implements the intraday threshold band methodology described in the research paper by Carlo Zarattini et al.
papers.ssrn.com
Overview:
Plots intraday threshold bands based on daily open/close levels.
Supports visualization of BaseUp/BaseDown levels and Threshold Upper/Lower bands.
Optional shading between threshold bands for easier interpretation.
Usage Notes / Limitations:
Originally studied on SPY (US equities), this implementation is adapted for NSE intraday market timing, specifically the NIFTY50 index.
Internally, 2-minute candles are used if the chart timeframe is less than 2 minutes.
Values may be inaccurate if the chart timeframe is more than 1 day.
Lookback days are auto-capped to avoid exceeding TradingView’s 5000-bar limit.
The indicator automatically aligns intraday bars across multiple days to compute average deltas.
For better returns, it is recommended to use this indicator in conjunction with VWAP and a volatility-based position sizing mechanism.
Can be used as a reference for Open Range Breakout (ORB) strategies.
Customizations:
Toggle plotting of base levels and thresholds.
Toggle shading between thresholds.
Line colors and styles can be adjusted in the Style tab.
Author:
Gokul Ramachandran – software architect, engineer, programmer. Interested in trading and investment. Currently trading and researching strategies that can be employed in NSE (Indian market).
Contact: (mailto:gokul4trading@gmail.com)
LinkedIn: www.linkedin.com
Intended for educational and research purposes only.
Bollinger Bands with Trend-Colored Middle Band & CandlesUpper & Lower Bands = semi-transparent blue.
Middle Band =
🟢 Green when rising
🔴 Red when falling
⚪ Gray when flat.
Candles automatically change color to follow the trend direction of the middle band.
RSI with Dual Smoothed MAs + Trend Background + Alerts✅ RSI with selectable source (open, high, low, close, hl2, hlc3, ohlc4)
✅ Two smoothed MAs (SMA, EMA, WMA, RMA, VWMA)
✅ Slope-based MA colors (Green = rising, Red = falling, Gray = flat)
✅ Background shading (Green = bullish, Red = bearish)
✅ Alerts:
Bullish MA crossover
Bearish MA crossover
RSI Overbought (>70)
RSI Oversold (<30)
ICC Indicator V6An adjustable Pine Script v6 “ICC” indicator that detects Indication → Correction → Continuation market structure across timeframes with optional volume confirmation, plots swing levels and zones, shows editable labels and toggleable yellow buy/sell triangle signals, and includes debug tools for tuning.
by A.Alasfoor RSI + Stochastic Alert with Doji Confirmationa buy and sell signals upon :
1- Sell : red hammer break (lower body) of 5min , ensure the wick is equal to or longer than the red body range.
2- Buy: Green hammer (upper body) break of 5min , ensure the wick is equal to or longer than the red body range.
Trigger buy/sell upon the break clean at 1min of the body closing level, risking (SL) the earlier 1 min tops/lows.
Credits to Ahmed Alasfoor & Zakariya Hamad AlJulandani by Sumou Oman