MPA AI v4 Adaptive Volatility-Based Trend Strategy# 🔍 MPA AI v4 – Adaptive Volatility-Based Trend Strategy
> Invite-Only | Designed for 15m Crypto Perpetuals | Dynamic TP/SL | Real-Time Market Structure Engine
---
## 📘 What Is MPA AI v4?
**MPA AI v4** is an advanced invite-only strategy specifically designed for trading crypto perpetual futures on 15-minute charts. It intelligently adapts to market conditions in real-time using a blend of volatility measurements, structural logic, and multi-layered trend confirmation.
Unlike conventional static systems, MPA AI v dynamically reconfigures all its core parameters—including EMAs, ADX thresholds, SL/TP levels, and Fibonacci extensions—based on the current volatility regime. It is built for intraday traders who seek precision, control, and intelligent trade automation.
---
## ⚙️ Core Mechanics and Logic
MPA AI v4 is composed of several synchronized modules:
| Module | Role |
| ------------------- | ---------------------------------------------------------- |
| EMA Short/Long | Dynamically determines trend direction and momentum |
| EMA Slope | Filters out weak or sideways markets |
| ADX (dynamic) | Confirms valid directional strength |
| Volatility Ratio | Drives regime switching for all key parameters |
| ATR + Fib Extension | Dual logic for conservative TP placement |
| Time-Based Exit | Ensures all trades close within 24 hours to limit exposure |
All modules respond to volatility conditions in real time, dynamically adjusting their thresholds, behavior, and interactions with one another on a per-candle basis. This ensures the strategy is not just adaptive in name, but functionally reactive to live market shifts—modifying entries, exits, risk profiles, and even filtering sensitivity as the volatility regime changes.
---
## 📊 Volatility Engine: Market Regime Classifier
The strategy classifies market volatility using the formula:
```pine
volatility = ta.atr(14) / ta.sma(ta.atr(14), 40)
```
This creates a dynamic ratio that segments market states into three regimes:
| Regime | Ratio Range | System Behavior |
| ---------- | ----------- | ---------------------------------------------------------------------- |
| High Vol | > 1.5 | Fast EMAs (5/20), wider SL (2.5%), aggressive Fib level (0.5), RR bias |
| Normal Vol | 0.8 - 1.5 | Balanced config (7/24 EMAs, SL \~2.0%, Fib level \~0.4) |
| Low Vol | < 0.8 | Slow EMAs (10/30), tighter SL, conservative TP via Fib (0.3) |
Each regime causes the system to adjust a wide array of parameters including risk thresholds, EMA lengths, ADX sensitivity, and even Fibonacci projection logic. In high volatility, the system prioritizes speed and broader stops, whereas in low volatility, it shifts to tighter risk controls and more conservative entry conditions. This ensures each trade setup is finely tuned to the prevailing market environment, minimizing false signals and optimizing profitability potential across regimes.
---
## 📊 Multi-Stage Trend Validation
Before entering a position, the strategy verifies three simultaneous conditions to ensure high-probability setups and avoid entries during noisy or uncertain price action:
### 1. EMA Alignment
* Price must cross above (or below) a volatility-adjusted short EMA
* Price must remain above (for long) or below (for short) the long EMA
* This ensures that both short-term and medium-term directional bias support the potential trade
### 2. EMA Slope
* Measured slope of the short EMA must exceed a minimum dynamic threshold that adjusts with volatility
* This condition removes false setups in sideways markets and prioritizes trades in trending phases
* The slope threshold itself is scaled relative to price movement and volatility level, making it flexible across market conditions
### 3. ADX Confirmation
* The ADX must be above a dynamic floor (ranging from 22 in low-volatility regimes to 55 in high-volatility)
* This confirms that the trend has sufficient directional energy to warrant an entry
* ADX filtering reduces the chance of entering during choppy, low-momentum phases
Only if **all three filters** are satisfied within the same candle context does the strategy allow a position to be opened. This conservative entry gating significantly reduces overtrading and increases signal reliability.
---
## 🌟 Entry and Exit Logic
| Signal Type | Conditions |
| ----------- | ----------------------------------------------------------- |
| Long | Price > EMA short & long, EMA slope > threshold, ADX valid |
| Short | Price < EMA short & long, EMA slope < -threshold, ADX valid |
These entry signals are only triggered when all conditions are met simultaneously within the same candle context, ensuring trend alignment, directional bias, and strength confirmation are all present. This reduces the chance of entering on noise, fakeouts, or uncertain reversals. By requiring confirmation from price position, EMA angle, and trend strength (ADX), MPA AI v4 filters out low-conviction setups and ensures strategic capital deployment.
### TP Calculation:
* Computes **Fibonacci-based extension** from recent HH/LL range, reflecting structure-based potential
* Calculates **ATR-based projection** using live volatility to estimate expansion capacity
* Selects the more conservative value between the two to avoid overextending profit targets
* This dual-confirmation approach helps maintain a favorable reward/risk profile while avoiding unrealistic expectations
### SL Calculation:
* SL is determined as a volatility-adjusted percentage of entry price (ranging from 2.0% to 2.5%)
* The SL adapts in real-time based on the prevailing volatility regime to maintain proportional risk control
* This dynamic approach reduces overexposure during unpredictable phases
### 24-Hour Exit:
* Any trade left open for more than 24 hours is forcibly closed to avoid indefinite exposure
* A timeout label is plotted on the chart to show that a duration-based exit was executed
* This mechanism acts as a safety net against stagnating trades and unexpected market drift
---
## 📊 Visual Feedback on Chart
| Element | Purpose |
| ------------- | -------------------------------------------------- |
| EMA Lines | Visual trend confirmation (dynamic) |
| TP/SL Labels | Shows price and percent values in real time |
| RR Label | Displays calculated Risk/Reward ratio |
| Info Box | Shows all TP/SL/RR info when a position is active |
| Timeout Label | Indicates when a position closed due to 24h expiry |
---
## 🔮 Recommended Backtest Settings
| Parameter | Value | Rationale |
| --------------- | ----------- | ----------------------------------------- |
| Initial Capital | 100,000 | Reasonable for retail testing |
| Commission | 0.04% | Reflects Binance taker fee |
| Slippage | 2 ticks | Models realistic trade latency |
| Order Size | 100% equity | Full exposure trade per signal |
| Pyramiding | 1 | Prevents overlapping entries |
| Timeframe | 15m | Balances speed and statistical relevance |
| Sample Size | 100+ trades | Meets TradingView's statistical standards |
---
## 🔒 Invite-Only Justification
MPA AI v4 incorporates:
* A real-time volatility modeling engine
* Adaptive EMA/ADX/Fib/ATR interaction
* Smart TP/SL pairing using multi-method projections
* Market structure targeting without repainting
* Controlled time-exposure logic with visual transparency
Unlike typical scripts that simply combine a few public indicators, this strategy constructs a responsive, modular system that recalibrates every major decision dynamically based on changing volatility. Each component—including entries, filters, and exits—communicates and adapts in real time, producing a system that behaves more like a trading engine than a fixed-rule indicator.
Furthermore, its dual TP projection system (Fibonacci + ATR) with volatility-governed decision logic adds sophistication that cannot be achieved by combining open-source tools. The structure-aware, time-limited exits paired with RR-labeled info overlays create a tool that is as visual and instructional as it is operational.
These combined features create an edge that cannot be reproduced via indicator mashups or templates.
Therefore, the Invite-Only model is appropriate and justified under TradingView’s Vendor rules.
---
## ✅ House Rules Compliance Summary
| Criterion | Compliant | Notes |
| --------------------------- | --------- | ----------------------------------------------------- |
| English Description | ✅ Yes | Full technical documentation included |
| No External References | ✅ Yes | All logic explained inside script |
| Realistic Backtest Settings | ✅ Yes | Proper capital, fees, slippage modeled |
| No Misleading Claims | ✅ Yes | No unrealistic returns or guarantees |
| Clear Visual Output | ✅ Yes | RR/TP/SL/Timeout visuals shown during trades |
| Original, Valuable Strategy | ✅ Yes | Multi-layer adaptive engine not replicable via mashup |
---
Indicators and strategies
% BoxShow 4 Days % Change Like ,
1 Days Ago % Change ,
2 Days Ago % Change ,
3 Days Ago % Change ,
4 Days Age % Change .
FVG Zones (Remove Filled) + AlertA powerful TradingView indicator that automatically identifies Fair Value Gap (FVG) zones, removes them once price “fills” the gap, and sends you crystal-clear alerts specifying Bull or Bear zones—so you never miss a market imbalance.
🔍 Key Features
Automatic FVG Detection
Spots three-candle imbalance patterns (low > high for Bull, high < low for Bear) and draws colored boxes on your chart.
Auto-Remove Filled Zones
Once price enters a gap, the corresponding box is deleted—keeping your chart clutter-free.
Dedicated Alerts
Two separate alert conditions with constant messages:
“Price filled Bull FVG zone”
“Price filled Bear FVG zone”
On-Chart Labels
Enable debugging to display Bull FVG or Bear FVG tags above the triggering candle.
Performance-Tuned
Supports up to 500 active zones without slowing down your chart.
⚙️ Inputs & Customization
Show Alert Labels (Boolean) – Toggle on-chart text labels.
Max Boxes Count (Integer) – Control the maximum number of zones displayed.
🚀 Stay Connected
Love the indicator? Have suggestions or questions? Let’s connect on Twitter:
👉 @BoaBias
Follow for more trading insights, indicator updates, and pro tips!
VWAP + EMA Cross + MACD Signal + POC & Trailing Stop AlertThis indicator combines several key trading signals into one visual tool for intraday and swing trading:
VWAP (Volume Weighted Average Price): Plotted as an orange line to track fair value and intraday trend.
EMA 9/21 Crossovers: Plots BUY/SELL signals based on bullish or bearish EMA crossovers, shown with green and red labels.
MACD Crossovers: Displays MACD↑ and MACD↓ triangle markers to identify momentum shifts.
POC (Point of Control): User-defined static level (default: 56.52) plotted as a blue horizontal line to mark key support/resistance.
Trailing Stop Line: Dynamically trails from the recent high, with a customizable offset. Helps visualize stop-loss levels.
Built-in Alerts: Automatically triggers alerts for:
EMA + MACD crossover confluence (Strong Buy/Sell)
Price crossing above POC
Price falling below the trailing stop
This tool is designed to help traders spot confluence-based entries, momentum shifts, and logical exit zones — all in one overlay indicator.
8/21 EMA Crossover + VWAP + 200 EMA8/21 EMA crossover with VWAP and slow moving average confirmation
RTH Session Range Position (0-100) with EMAA Pine Script indicator designed to help traders understand where the current price is located within the Regular Trading Hours (RTH) session range, from 0 (session low) to 100 (session high). It also plots a smoothed EMA of this position to provide insight into momentum or trend during the RTH session.
What the Indicator Does
Defines RTH (Regular Trading Hours):
Start: 9:30 AM
End: 4:00 PM
These are typical US equity market hours.
Tracks the session's high and low during RTH:
sessionHigh and sessionLow update only during RTH.
Calculates position of the current price within the RTH range:
Formula: ((close - sessionLow) / (sessionHigh - sessionLow)) * 100
Result is a percentage:
0 = at session low
100 = at session high
50 = middle of session range
Calculates an EMA of that position (posEMA):
Smooths out the raw position to help visualize momentum within the range.
Plots and table:
Plots pos and posEMA on a separate chart pane.
Adds horizontal lines at key levels (0, 30, 50, 70, 100).
Table shows current values for Position, EMA, and Range.
Visual cues:
bgcolor highlights when pos crosses over or under the EMA — potential momentum shifts.
Alerts:
Cross above/below 50 (session midpoint).
Cross above/below EMA.
How to Use It Effectively
1. Session Strength & Momentum
Position above 70: Price is near session highs — strong upward momentum.
Position below 30: Price is near session lows — strong downward momentum.
Use the EMA of position to filter out noise and identify trends.
2. Breakout or Reversal Detection
Cross above EMA: Momentum may be turning bullish.
Cross below EMA: Momentum may be turning bearish.
These crosses (especially near mid-levels like 50) can hint at session trend shifts.
3. Range Context for Entries
If you're a mean-reversion trader, look for:
Price > 70 + turning down below EMA → possible short.
Price < 30 + turning up above EMA → possible long.
For breakout traders, you might wait for:
Crosses above 70 with EMA support.
Crosses below 30 with EMA resistance.
4. Confirmation Tool
Use this indicator alongside others to confirm:
Whether price action has strength within the day.
Whether breakouts have real momentum or are extended already.
Open-Based Percentage Levelsv2
This is an updated version of my original script.
Changes:
I took off the displacement levels since there served no purpose on this script.
I also fixed it to where the percentage level lines are visible continually throughout the entire trading day. Old version had these lines disappearing.
I also updated the name to better reflect its purpose.
Now only works on 30 min and below as the higher time frames are meaningless. The older version allow higher time frames and the code is open source to adjust as desired
teyo_knn_machine_learningThis library is for creating KNN Machine Learning Signals with different Indicators
VThis is a forecast indicator for internal members only, which can predict the rise and fall trends in advance.
EMA ATR bandsDraws upper and lower bands N-ATR above and below the EMA of length of your choosing. Helpful for seeing if prices are running away from an average.
RTH Session Highs & LowsA Pine Script indicator designed to track and plot the Regular Trading Hours (RTH) session highs and lows on a chart, typically for U.S. equity markets (e.g., S&P 500, Nasdaq, etc.), which operate from 9:30 AM to 4:00 PM Eastern Time.
Session High & Low Lines:
During the RTH session, the indicator draws green and red horizontal lines that represent the highest and lowest price seen so far within that trading session.
These levels help traders identify intraday support (low) and resistance (high) levels.
New High/Low Markers:
Small triangle markers are placed:
Above the bar when a new intraday high is made (green triangle).
Below the bar when a new intraday low is made (red triangle).
This visually flags when momentum may be building or reversing.
Intraday Strategy Support:
Use the session high/low as dynamic support/resistance for scalping or breakout strategies.
For example:
Breakouts above session highs may indicate bullish strength.
Breakdowns below session lows may suggest bearish momentum.
Mean Reversion Tactics:
Prices approaching these lines and then rejecting can be used for mean reversion setups.
Combine with volume or candlestick patterns for confirmation.
Risk Management:
Set stops or targets relative to session highs/lows.
For instance, use session high as a stop-loss level in a short position.
Volatility Gauge:
Tracking how frequently new highs/lows are formed can help assess intraday volatility or range expansion.
Complement with Indicators:
Combine this with our "McGinley Dynamic Channel with Directional Shading" indicator or our "EMA Crossover with Shading" indicator to add context to breakouts or rejections.
SY_Quant_AI_StrategyDescription:
This is a trend-following quantitative trading strategy that combines Supertrend, multiple EMAs, and MACD indicators to identify optimal entry and exit points. It uses the 88-period SMA as a major trend filter and a 15-period EMA as a noise filter to reduce false signals. Entry signals are generated when price and trend indicators align for bullish or bearish momentum.
Stop-loss is dynamically set using Supertrend, and trailing stop-loss protects profits. MACD signal crosses provide additional take-profit alerts. The strategy supports configurable parameters for MACD cycles, trailing stops, and position sizing, allowing users to tailor risk and performance.
Suitable for swing trading on mid to long-term timeframes across various markets including crypto, stocks, and futures. Designed to reduce noise and capture medium-term trends effectively while managing risk within sustainable levels.
Pi Cycle Gap (SMA Convergence, Normalized Option)This indicator visualizes the “gap” between the classic Pi Cycle Top moving averages, used for Bitcoin cycle analysis: the 111-day Simple Moving Average (SMA) and 2 × 350-day SMA.
Histogram Bars: Show the distance between these lines, highlighting when the cycle is healthy (green), near a historic “top” (orange), or at a rare crossover (red).
Normalization Option: You can view the gap as either:
Percent of 2 × 350-day SMA (recommended for multi-cycle analysis)
— This is the default.
Absolute USD difference (classic mode)
Orange bars warn when the gap is within a configurable proximity to zero (cycle convergence).
Red triangle marks the rare actual crossover event, historically correlated with market cycle tops.
Settings:
Fast MA Length (SMA): Default 111
Slow MA Length (SMA): Default 350 (doubled internally)
Proximity Warning (%): How close (as percent) to flag convergence
Show Normalized Gap (%): Toggle between percent and absolute USD
How to Use:
Green bars: Market is safely in “bull cycle mode”—top is not near
Orange bars: Approaching cycle convergence (potential top)
Red: Actual crossover—historically a signal of major cycle tops
🪄 10 in 1MACD RSI Stochastic volume CCI MFI Momentum ADX
You can have all the indicators listed above together.
Pivotes 5x5 Alcistas y Bajistas (funcional)Description v1.0
This indicator identifies advanced pivot points based on a symmetrical candle analysis. It evaluates a window of 11 candles (5 previous, 1 center, and 5 forward), marking a bullish pivot when the center candle's close is lower than all others in the window—suggesting a potential upward reversal. Conversely, it marks a bearish pivot when the center candle's close is higher than all surrounding candles, signaling a possible downward movement or trend shift. This method avoids common false signals by ensuring that pivots are significant relative to their context. It also includes filtering logic to prevent multiple nearby signals in congested market zones. Green upward-pointing triangles indicate potential buy zones, while red downward-pointing triangles mark potential sell or profit-taking areas. Due to the use of future candles for confirmation, signals are plotted with an automatic offset to align with the correct bar. This tool is ideal for traders seeking clean, price-action-based entries without relying on additional lagging indicators.
VWAP + EMA Cross + MACD Signal + POC & Trailing Stop AlertThis indicator by AUinvestor is a comprehensive, multi-signal trading tool designed to identify high-probability trade setups and manage risk with clarity. It combines trend, momentum, price structure, and alerting into a single, easy-to-use overlay.
🔍 Core Features:
VWAP (Volume Weighted Average Price): Displays the session's fair value to assess bullish or bearish intraday bias.
EMA Crossovers (9 & 21): Plots “BUY” and “SELL” signals when short-term and mid-term trends align.
MACD Momentum Crosses: Highlights bullish (MACD↑) and bearish (MACD↓) momentum shifts with triangle markers.
POC (Point of Control): A user-defined horizontal level to represent key support/resistance or volume concentration.
Trailing Stop Line: Automatically tracks the most recent high minus a customizable offset, helping with dynamic exit planning.
Alerts Included: Get notified when:
EMA + MACD cross in the same direction (Strong Buy/Sell)
Price crosses the POC level
Price falls below the trailing stop
🛠️ Customization Options:
Adjust the POC level to match your analysis
Modify the Trailing Stop Offset to suit your risk tolerance
This script is ideal for intraday traders, scalpers, and swing traders who want a compact but powerful confirmation tool with automated alerts.
Open-Based Adjustable LevelsThis indicator gives signals for levels where the buy or sell volume is above adjustable levels (ex, volume at 100,000). And these levels will only signal after the price has gone above/below a certain 'adjustable' percentage of the stocks opening price.
Example: Signal sell when the price action is 0.7% above market opening price and when sell volume is above 120,000
or
Signal buy when buy volume is above 80,000 and the price is 0.5% below market opening price.
Great for day trading and detecting potential swings in the market. Above image is on a 3min chart.
Doesn't work as well on daily time frames or above.
Should be combined with other indicators like buy/sell channels, for the best confirmations
miskomisko feed comparator🔎 Compare the same symbol across multiple exchanges in real time.
This tool shows you the top 10 closest prices (by absolute delta) between your manually entered reference price (e.g. from EverTrader or futures data) and the real-time feed from major exchanges.
🧠 What is it for?
Spot arbitrage monitoring (track price differences across Binance, Coinbase, Kraken, etc.)
Detect slow or inaccurate feeds
Compare spot vs. futures vs. index data
⚙️ How to use it:
Set your desired timeframe (15m is ideal for comparing close prices).
Enter your reference price in the “EverTrader price” field.
Choose data type: spot / futures / index.
(Optional) Enable the checkbox to manually enter a symbol (e.g. BTCUSD.P or symbols with suffixes).
📊 The output appears as a table in the bottom-left corner:
✅ Green = closest price
🟡 Yellow = 2nd and 3rd closest
🔴 Red = missing or unavailable data
🧩 Works without forced refresh – values update only when inputs change or you switch timeframes.
⚠️ Pine Script limits dynamic requests to 40 exchanges. You can reduce or expand this in the settings.
👨💻 Built by @miskomisko – free to use, remix, and extend.
Feedback welcome!
MACD COM PONTOS//@version=5
indicator(title="MACD COM PONTOS", shorttitle="MACD COM PONTOS")
//Plot Inputs
res = input.timeframe("", "Indicator TimeFrame")
fast_length = input.int(title="Fast Length", defval=12)
slow_length = input.int(title="Slow Length", defval=26)
src = input.source(title="Source", defval=close)
signal_length = input.int(title="Signal Smoothing", minval = 1, maxval = 999, defval = 9)
sma_source = input.string(title="Oscillator MA Type", defval="EMA", options= )
sma_signal = input.string(title="Signal Line MA Type", defval="EMA", options= )
// Show Plots T/F
show_macd = input.bool(true, title="Show MACD Lines", group="Show Plots?", inline="SP10")
show_macd_LW = input.int(3, minval=0, maxval=5, title = "MACD Width", group="Show Plots?", inline="SP11")
show_signal_LW= input.int(2, minval=0, maxval=5, title = "Signal Width", group="Show Plots?", inline="SP11")
show_Hist = input.bool(true, title="Show Histogram", group="Show Plots?", inline="SP20")
show_hist_LW = input.int(5, minval=0, maxval=5, title = "-- Width", group="Show Plots?", inline="SP20")
show_trend = input.bool(true, title = "Show MACD Lines w/ Trend Color", group="Show Plots?", inline="SP30")
show_HB = input.bool(false, title="Show Highlight Price Bars", group="Show Plots?", inline="SP40")
show_cross = input.bool(false, title = "Show BackGround on Cross", group="Show Plots?", inline="SP50")
show_dots = input.bool(true, title = "Show Circle on Cross", group="Show Plots?", inline="SP60")
show_dots_LW = input.int(5, minval=0, maxval=5, title = "-- Width", group="Show Plots?", inline="SP60")
//show_trend = input(true, title = "Colors MACD Lines w/ Trend Color", group="Show Plots?", inline="SP5")
// MACD Lines colors
col_macd = input.color(#FF6D00, "MACD Line ", group="Color Settings", inline="CS1")
col_signal = input.color(#2962FF, "Signal Line ", group="Color Settings", inline="CS1")
col_trnd_Up = input.color(#4BAF4F, "Trend Up ", group="Color Settings", inline="CS2")
col_trnd_Dn = input.color(#B71D1C, "Trend Down ", group="Color Settings", inline="CS2")
// Histogram Colors
col_grow_above = input.color(#26A69A, "Above Grow", group="Histogram Colors", inline="Hist10")
col_fall_above = input.color(#B2DFDB, "Fall", group="Histogram Colors", inline="Hist10")
col_grow_below = input.color(#FF5252, "Below Grow", group="Histogram Colors",inline="Hist20")
col_fall_below = input.color(#FFCDD2, "Fall", group="Histogram Colors", inline="Hist20")
// Alerts T/F Inputs
alert_Long = input.bool(true, title = "MACD Cross Up", group = "Alerts", inline="Alert10")
alert_Short = input.bool(true, title = "MACD Cross Dn", group = "Alerts", inline="Alert10")
alert_Long_A = input.bool(false, title = "MACD Cross Up & > 0", group = "Alerts", inline="Alert20")
alert_Short_B = input.bool(false, title = "MACD Cross Dn & < 0", group = "Alerts", inline="Alert20")
// Calculating
fast_ma = request.security(syminfo.tickerid, res, sma_source == "SMA" ? ta.sma(src, fast_length) : ta.ema(src, fast_length))
slow_ma = request.security(syminfo.tickerid, res, sma_source == "SMA" ? ta.sma(src, slow_length) : ta.ema(src, slow_length))
macd = fast_ma - slow_ma
signal = request.security(syminfo.tickerid, res, sma_signal == "SMA" ? ta.sma(macd, signal_length) : ta.ema(macd, signal_length))
hist = macd - signal
// MACD Trend and Cross Up/Down conditions
trend_up = macd > signal
trend_dn = macd < signal
cross_UP = signal >= macd and signal < macd
cross_DN = signal <= macd and signal > macd
cross_UP_A = (signal >= macd and signal < macd) and macd > 0
cross_DN_B = (signal <= macd and signal > macd) and macd < 0
// Condition that changes Color of MACD Line if Show Trend is turned on..
trend_col = show_trend and trend_up ? col_trnd_Up : trend_up ? col_macd : show_trend and trend_dn ? col_trnd_Dn: trend_dn ? col_macd : na
//Var Statements for Histogram Color Change
var bool histA_IsUp = false
var bool histA_IsDown = false
var bool histB_IsDown = false
var bool histB_IsUp = false
histA_IsUp := hist == hist ? histA_IsUp : hist > hist and hist > 0
histA_IsDown := hist == hist ? histA_IsDown : hist < hist and hist > 0
histB_IsDown := hist == hist ? histB_IsDown : hist < hist and hist <= 0
histB_IsUp := hist == hist ? histB_IsUp : hist > hist and hist <= 0
hist_col = histA_IsUp ? col_grow_above : histA_IsDown ? col_fall_above : histB_IsDown ? col_grow_below : histB_IsUp ? col_fall_below :color.silver
// Plot Statements
//Background Color
bgcolor(show_cross and cross_UP ? col_trnd_Up : na, editable=false)
bgcolor(show_cross and cross_DN ? col_trnd_Dn : na, editable=false)
//Highlight Price Bars
barcolor(show_HB and trend_up ? col_trnd_Up : na, title="Trend Up", offset = 0, editable=false)
barcolor(show_HB and trend_dn ? col_trnd_Dn : na, title="Trend Dn", offset = 0, editable=false)
//Regular Plots
plot(show_Hist and hist ? hist : na, title="Histogram", style=plot.style_columns, color=color.new(hist_col ,0),linewidth=show_hist_LW)
plot(show_macd and signal ? signal : na, title="Signal", color=color.new(col_signal, 0), style=plot.style_line ,linewidth=show_signal_LW)
plot(show_macd and macd ? macd : na, title="MACD", color=color.new(trend_col, 0), style=plot.style_line ,linewidth=show_macd_LW)
hline(0, title="0 Line", color=color.new(color.gray, 0), linestyle=hline.style_dashed, linewidth=1, editable=false)
plot(show_dots and cross_UP ? macd : na, title="Dots", color=color.new(trend_col ,0), style=plot.style_circles, linewidth=show_dots_LW, editable=false)
plot(show_dots and cross_DN ? macd : na, title="Dots", color=color.new(trend_col ,0), style=plot.style_circles, linewidth=show_dots_LW, editable=false)
//Alerts
if alert_Long and cross_UP
alert("Symbol = (" + syminfo.tickerid + ") TimeFrame = (" + timeframe.period + ") Current Price (" + str.tostring(close) + ") MACD Crosses Up.", alert.freq_once_per_bar_close)
if alert_Short and cross_DN
alert("Symbol = (" + syminfo.tickerid + ") TimeFrame = (" + timeframe.period + ") Current Price (" + str.tostring(close) + ") MACD Crosses Down.", alert.freq_once_per_bar_close)
//Alerts - Stricter Condition - Only Alerts When MACD Crosses UP & MACD > 0 -- Crosses Down & MACD < 0
if alert_Long_A and cross_UP_A
alert("Symbol = (" + syminfo.tickerid + ") TimeFrame = (" + timeframe.period + ") Current Price (" + str.tostring(close) + ") MACD > 0 And Crosses Up.", alert.freq_once_per_bar_close)
if alert_Short_B and cross_DN_B
alert("Symbol = (" + syminfo.tickerid + ") TimeFrame = (" + timeframe.period + ") Current Price (" + str.tostring(close) + ") MACD < 0 And Crosses Down.", alert.freq_once_per_bar_close)
//End Code
[BMS] - Scalper PRO - 5mLooking for that crucial edge in trading? Imagine an indicator specifically designed for the fast-paced rhythm of scalping on 5-minute charts, a tool that whispers the market's secrets into your ear. It doesn't get sidetracked by the noise of other timeframes; its focus is surgical, capturing quick and precise movements.
This isn't an indicator that tries to predict the future, but rather an ally that deciphers the dominant trend, guiding your entries. It identifies when the market is moving with conviction in one direction and positions you to ride that wave. Instead of fighting the current, you'll always be going with it, maximizing the potential of each trade.
Whether you're an experienced scalper or looking to optimize your short-term strategies, this tool offers a unique perspective. Its intelligence lies in filtering out the chaos and presenting clear opportunities, always aligned with the main price flow. Get ready for more decisive trades, where speed and precision go hand-in-hand with the strength of the trend.
Buy/Sell Confirmation by Jalisa RanaeThis custom-built TradingView indicator combines the power of Heikin Ashi candle clarity, smart money concepts, and institutional-level timing tools to help you identify high-probability trade entries with confidence and consistency.
What It Does:
✅ Buy/Sell Signals — Clean, visual markers based on price direction and filtered volatility using a refined range filter
✅ Heikin Ashi Candles — Smooths out market noise to reveal dominant trends and accurate price flow
✅ Power of 3 ICT Zones — Automatically highlights Accumulation, Manipulation, and Distribution phases based on NY session timing — a foundational Smart Money framework
✅ Order Blocks Detection — Automatically plots bullish and bearish order blocks as they form, allowing you to identify institutional footprints and key supply/demand zones
💡 Why This Matters for Day Trading:
Institutional traders move in patterns — accumulation, manipulation, and distribution. Retail traders often get caught in the manipulation phase, entering too late or exiting too early. This script helps you:
✅ Time entries with the market makers, not against them
✅ Avoid emotional trades by giving you visual confirmation zones
✅ Focus only on high-probability setups rooted in real market logic
Whether you're scalping NASDAQ futures or trading Forex pairs, this indicator gives you a powerful visual edge by simplifying complex smart money concepts into actionable signals — all in real time.
📈 Ready to level up your intraday trading precision? Add this tool to your chart, combine it with strong risk management, and step confidently into trades backed by logic, not guesswork.