NA GPT - TTM Squeeze Strategy**NA GPT - TTM Squeeze Strategy**” transforms the well-known TTM Squeeze indicator into a back-testable, long-only strategy.
It combines **volatility compression** (Bollinger Bands inside Keltner Channels) with **momentum confirmation** to catch powerful bullish breakouts and then trails positions with a simple 21-period moving-average stop.
---
## 1. Core Concepts & Calculations
| Component | What it measures | How it works |
| ---------------------- | ------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Squeeze State** | Volatility contraction vs. expansion | • Calculate a 20-period Bollinger Band (BB). • Calculate a 20-period Keltner Channel (KC). • **Squeeze ON** when the entire BB is *inside* the KC (narrow volatility). |
| **Momentum Histogram** | Direction & strength of pressure building inside the squeeze | • Compute the midpoint of the recent high/low range and the 20-period SMA of close. • Take the price’s deviation from that blended average. • Fit a **20-period linear regression** to that deviation to produce the histogram. • Color logic: ↗ increasing green/lime for strengthening bulls, ↘ red/maroon for bears. |
| **Blue-Dot Theme** | Visual cue of squeeze state | • **Navy-blue dot** = Squeeze ON (ready to pop). • **Steel-blue dot** = Squeeze just released. • **Sky-blue dot** = Neutral (no squeeze). |
---
## 2. Trade Logic
| Step | Condition | Rationale |
| ---------------- | ------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
| **Entry (Long)** | Three consecutive navy-blue dots (i.e., **3 bars with Squeeze ON in a row**) *inside the user-defined date window*. | Requires sustained volatility compression before committing capital, filtering out one-bar “fake” squeezes. |
| **Exit (Flat)** | Close price **crosses below** the 21-period Simple Moving Average. | A classic trailing stop that lets profits run while cutting momentum failures. |
| **Positioning** | Long-only, one trade at a time. No short sales. | Focuses on bullish breakouts, keeps strategy simple and margin-friendly. |
---
## 3. Inputs & Customisation
| Input | Default | Purpose |
| -------------------------- | ------------------------ | ---------------------------------------------- |
| **BB Length / Multiplier** | 20 / 2.0 | Adjust sensitivity of Bollinger Bands. |
| **KC Length / Multiplier** | 20 / 1.5 | Adjust Keltner Channel width. |
| **Use True Range (KC)** | ✔ | Pick *True Range* vs. *High-Low* for KC width. |
| **Trade Window** | 1 Jan 2022 → 31 Dec 2069 | Back-test only the period you care about. |
| **Commission** | 0.01 % | Embedded in `strategy()` header. |
| **Slippage (Ticks)** | 3 | Models real-world order fill uncertainty. |
---
## 4. Visual Outputs
* **Momentum Histogram** (green / lime / red / maroon).
* **Zero Line** colored by squeeze state (blue / dark navy / grey).
* **Blue-Dot Row** at the chart bottom showing squeeze timing.
The visuals are **identical** to the original indicator, letting you correlate back-test trades with familiar chart cues.
---
## 5. How to Use
1. **Add to chart**, choose your symbol & timeframe (works on anything from 1-minute to weekly).
2. **Tune the BB/KC/ATR settings** to match instrument volatility.
3. **Adjust the date window** for focused walk-forward testing.
4. Run the “**Strategy Tester**” to inspect historical performance, P\&L; curves, drawdowns, and trade list.
5. Use the plotted dots & histogram to visually validate why each trade fired.
6. Combine with your own risk-management (position sizing, portfolio filters, etc.) before going live.
---
## 6. Practical Notes
* Designed for educational/back-testing purposes—**not financial advice**.
* Long-only by design; add your own short logic if desired.
* Because exits rely on the 21-SMA, extremely low-volume instruments or illiquid intraday timeframes may experience wider drawdowns.
* Commission/slippage values are easily editable in the first line of the script.
Médias Móveis
Trend ShaderThis simple but useful indicator automatically detects whether you’re on a 1 minute, 5 minute, or 15 minute chart (with sensible, pre-tuned EMA settings), and shades the chart background green when the trend is bullish, or red when it’s bearish. On any other timeframe it falls back to user-specified “manual” EMA lengths. The short and long EMA lengths are configurable on all timeframes. Really useful when you want to trade in the direction of the overall trend.
The color doesn't change until the trend is confirmed by a reasonable number of bars in the same direction so it doesn't just flip-flop with market noise. The confirmation bar count for each timeframe is also configurable.
Avg Volatility IndexThis indicator calculates the asset’s logarithmic volatility and overlays a 14-day moving average. It is designed for pair trading to compare the relative volatility of two assets and determine risk-balanced position sizing. Higher volatility implies a smaller recommended position weight.
Vortex Pivot Strategy (VPS)Strategy Overview:
This custom indicator is designed around a powerful contrarian trading philosophy: capitalize on market-wide pessimism among both short-term and mid-term traders, and enter positions at historically high-probability bounce zones using pivot levels.
The setup combines three core ideas:
A clear downtrend structure, where short- and mid-term participants are in loss.
Entry at S3 pivot support, which statistically represents extreme oversold zones.
A quick, rational exit at the central pivot level, minimizing holding time and maximizing reward-to-risk efficiency.
📈 Conditions for Entry (Buy Setup):
50-day SMA above 20-day SMA, which is above the current price.
This sequence implies that mid-term traders (50-day SMA) are in loss, short-term traders (20-day SMA) are in loss, and price has dropped below both — indicating peak pessimism and fear.
Price must touch or dip below the S3 pivot level (from the Pivot Points Standard - Weekly).
S3 is considered an extreme support zone. When price touches it while the SMA structure confirms maximum bearish sentiment, it sets up a high-probability bounce scenario.
🎯 Exit Strategy (Target):
The central Pivot Point (P) becomes your exit level.
Since the price is entering from a deeply oversold region, a reversion to the weekly pivot is statistically probable.
This ensures the trade remains quick, directional, and avoids greed-based exits.
💡 Why This Works (Psychology & Edge):
This is a player-versus-player game. When you buy during a setup like this, you're essentially buying when the majority of active traders are in pain:
Mid-term traders (50 SMA) are holding positions at higher levels — they’re sitting in drawdown.
Short-term traders (20 SMA) are also underwater.
Panic is widespread. Volume dries up. Selling is largely exhausted.
Meanwhile, you're entering a fundamentally strong stock at a deeply discounted price, and aiming for a modest reversion — not an unrealistic uptrend continuation. That gives you both psychological and statistical edge.
You're not trying to predict a reversal — you're positioning against fear and riding the natural bounce that follows.
🔧 How to Use This Indicator:
Add this indicator to a Daily timeframe chart of fundamentally strong stocks (you should do your own fundamental screening).
Wait for the condition:
SMA stack = 50 > 20 > Price AND price touches S3.
The script will automatically draw a horizontal line at the entry (S3) and the target (Pivot).
Once triggered, take the trade and exit around the Pivot level.
Optional: you can use manual averaging or position sizing based on your risk strategy since fundamentally strong stocks typically revert over time.
Trend Blend
Trend blend is my new indicator. I use it to identify my bias when trading and filter out fake setups that are going in the wrong direction.
Trend blend utilises the 9 EMA (Red), 21 EMA (Black), and if you trade futures or Bitcoin, you can also use the VWAP (Blue).
There is also a table at the top right that displays the chart time frame bias
I prefer to use the 1-hour time frame for bias and execute the trades on 5-minute charts, mainly, and sometimes on the 1-minute for a smaller stoploss.
Here's an example of the trade I took during the London session on XAU/USD
1 hour bias was Bearish
Price broke out of the range
I waited for the London session to open, where I ended up taking a short on the 5-minute time frame as we broke out of the pre-London range
Entry was at the Fair Value Gap (5-minute bias was also Bearish as price traded into the FVG)
Stoploss was at the last high
Take Profit was the next major support level
Another set that I like to trade with the Trend blend is when price is trending bullish and price trades inside the 9 and 21 EMA, and there is a bullish candle closer above the 9 EMA with Stoploss below the low of the bullish candle and Take profit between 1-2 Risk to Reward
Same when there's a bearish trend, I wait for price to trade inside the 9 and 21 EMA, and I'll take sells when a bearish candle closes below the 9 EMA.
This setup works best in strong trends, or it can be used to enter a trade on a pullback or to scale into an existing trade.
Fibo_Ma with Toggleable 200 EMA FilterPlease keep in mind, I use this indicator most with my TV_ MCDX.
If you use it in lower Timeframe like 15sec, 1min, use a Higher Background Timeframe like 15min or 1H
📈 Fibo_Ma with Toggleable 200 EMA Filter
Fibo_MA is a comprehensive multi-functional indicator designed to enhance your trend analysis, breakout detection, and signal confirmation strategy.
🔍 Core Logic Overview
📊 Background Color Highlights
The script dynamically colors the chart background based on price action relative to a customizable smoothing line (smooth1).
🟩 Green background appears when the open price is above the smooth1, signaling potential bullish conditions.
🟥 Red background shows when the open price is below the smooth1, suggesting bearish pressure.
📏 200 EMA Filter
A built-in 200-period Exponential Moving Average (EMA) acts as a long-term trend filter.
The 200 EMA line changes color to reflect momentum:
🟢 Green when trending upward
🔴 Red when trending downward
🎯 Signal Alerts
Receive buy alerts when the open crosses above smooth1.
Receive sell alerts when the open crosses below smooth1.
Alert conditions are filterable and customizable for precise notifications.
⚙️ Custom Features and Flexibility
Choose from various moving average types for smooth1: EMA, SMA, WMA, VWMA, ALMA, SWMA, and even VWAP.
Configure alert conditions for:
EMA 200 crossovers with smoothing line
Trend crossovers using Fibonacci-based EMA selections
Breakout and breakdown formations with custom pivot logic
Optional ATR and Volume filters for refining entry quality.
Built-in VWAP, EMA 14 (color-coded), and multi-timeframe support for high-precision analysis.
🔔 Alerts Included
✅ Price crosses above or below smoothing line (smooth1)
✅ Breakout and breakdown patterns
✅ EMA 200 crossovers
✅ Custom trend-following EMA cross labels
This script is ideal for traders who want to combine trend strength, volume confirmation, and technical breakouts with intuitive visual cues. Perfect for intraday or swing trading strategies.
ℹ️ Use this tool in conjunction with your trading strategy. Always backtest before live trading.
Fin Viraj Setup - Clean ArrowsSimple to use
Useful for Nifty & Bank Nifty
5 min & 15 min time frame
Best to Short CE or PE than buying them
10 Moving AveragesHere's a comprehensive description for your TradingView indicator:
# 10 Moving Averages Indicator
A versatile technical analysis tool that displays 10 customizable moving averages on your chart. This indicator combines multiple types of moving averages to help traders identify trends, support/resistance levels, and potential trading opportunities.
### Features:
- 10 fully customizable moving averages
- Support for multiple MA types: SMA, EMA, RMA, WMA, VWMA, SMMA, HullMA, DEMA, TEMA, and VWAP
- Individual color settings for each moving average
- Adjustable source data and length for each MA
- Default configuration optimized for trend analysis:
- MA1-5: EMAs (10, 20, 30, 50, 100)
- MA6-10: SMAs (150, 200, 250, 300, 350)
### Available Moving Average Types:
- SMA (Simple Moving Average)
- EMA (Exponential Moving Average)
- RMA (Rolling Moving Average)
- WMA (Weighted Moving Average)
- VWMA (Volume Weighted Moving Average)
- SMMA (Smoothed Moving Average)
- HullMA (Hull Moving Average)
- DEMA (Double Exponential Moving Average)
- TEMA (Triple Exponential Moving Average)
- VWAP (Volume Weighted Average Price)
### Usage:
This indicator is particularly useful for:
- Multiple timeframe analysis
- Trend identification
- Support and resistance levels
- Price action confirmation
- Trading strategy development
### Customization:
Each moving average can be individually customized with:
- Source data (close, open, high, low, hl2, hlc3, ohlc4)
- MA type
- Length
- Color
### Note:
The default color scheme follows a rainbow pattern for easy visual distinction, starting with red for the fastest MA and ending with gray for the slowest MA.
Feel free to adjust the settings to match your trading strategy and preferences.
Trend System - Bands (H1)Band indicator to help identify trends on H1. Note turn off signals and just use band as is
Trend System - Bands (H4)A band indicator on the h4 timeframe designed to assist with catchig h4 trend moves
Multiple timeframe SMAThe goal of this script is to give a quick overview of the SMA line in multiple timeframes.
Default SMA length is 200 but can be changed.
The 6 timeframes can also be adapted.
The result is shown in the bottom left corner as a table with red (bearish SMA) or green (bullish SMA) cells for each timeframe.
The SMA of the current timeframe is also plotted for your convenience.
EMA x4📌 Indicator: EMA x4
Author:
Script Type: Overlay (draws on price chart)
Language: Pine Script™ v6
License: Mozilla Public License 2.0
📖 Overview
EMA x4 is a minimalist technical indicator designed to display four customizable Exponential Moving Averages (EMAs) directly on the chart. It offers a clear view of short-, medium-, long-, and extra-long-term trends to support trend-following and momentum-based trading strategies.
This tool is ideal for traders who rely on moving average crossovers, dynamic support/resistance, or need to confirm market bias with multiple time-frame alignment.
⚙️ Input Parameters
Users can modify each EMA's length to match their strategy preferences:
Short EMA: Fastest EMA for short-term by default its value is 35
Middle EMA: Medium-term EMA by default its value is 75
Large EMA: Long-term EMA by default its value is 100
XL - EMA: Extra-long-term trend filter by default its value is 200
📊 Visual Representation
The script plots each EMA using distinct colors and consistent line thickness:
EMA1: Color Blue Short-term EMA (35)
EMA2: Color Orange Mid-term EMA (75)
EMA3: Color Green Long-term EMA (100)
EMA4: Color Red Extra-long-term EMA (200)
All lines are rendered with a linewidth of 2 for enhanced visibility on any chart.
🧠 Typical Use Cases
Trend Identification: Watch for the EMAs stacking in order (e.g., EMA1 above EMA2, etc.) to confirm bullish or bearish trends.
Crossover Signals: Look for EMA crossovers to generate entry/exit signals.
Support & Resistance: EMAs often act as dynamic zones of support/resistance during trending markets.
Multi-timeframe Confirmation: Combine this overlay with higher timeframe charts to confirm trend alignment.
✅ Key Benefits
Fully customizable EMA lengths for all trading styles.
Clean design, ideal for visually-driven traders.
Lightweight code – no lag or performance impact.
Can be used in confluence with other indicators or strategies.
🚀 How to Use
Add the indicator to any TradingView chart.
Configure the EMA lengths based on your preference (swing, day trading, long-term).
Analyze price interactions with the EMAs and look for confluences or crossovers.
Supply/Demand Zones (Synthetic SMA Candles)Supply/Demand Zones (Synthetic SMA Candles)
Created by The_Forex_Steward
This indicator highlights institutional-style supply and demand zones using synthetic SMA-based candles rather than raw price data. It provides a smoother, more refined view of price action to help identify key imbalance areas where price is likely to react.
Features:
- Uses SMA-smoothed synthetic candles to detect bullish and bearish engulfing structures
- Draws demand zones after bullish breakouts and supply zones after bearish breakouts
- Zones are persistent for a customizable number of bars
- Mitigated zones can optionally be removed from the chart
- Includes alerts for breakout and mitigation events
- Optional plotting of synthetic candles over price for visual clarity
How It Works:
When a synthetic candle closes above the high of a previous bearish candle, a bullish engulfing is detected, and a demand zone is created from that bearish candle’s high and low. Conversely, when price closes below the low of a previous bullish candle, a supply zone is formed. These zones stay on the chart for the user-defined duration or until they are mitigated by price, at which point they can be removed automatically.
How to Use:
- Adjust the SMA Length to control how smooth the synthetic candles appear
- Enable or disable Show Supply Zones and Show Demand Zones as needed
- Set the Zone Duration to control how long each zone persists
- Use Delete Mitigated Zones to automatically remove zones when price returns to them
- Optionally enable Show Synthetic SMA Candles to see the candle logic used in detection
- Use the built-in alerts to stay notified of new zone creation or mitigation
Note: This tool is most effective when combined with structure or trend-based strategies for confirmation.
First EMA 9 & 21 Breakout SignalThis will give indiacation on the bars that close below and above 9 and 21
Simple MA AI Strategy + All Pattern Recognition (Reversed)just try m1 chart only 111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
Multi EMA with Smoothing & BBMulti EMA with Smoothing & BB
────────────────────────────
This script overlays **four exponential moving averages**—fully adjustable (defaults 20/30/40/50)—to give an instant read on trend direction via “EMA stacking.”
• When the faster lines (short lengths) sit above the slower ones, the market is in up-trend alignment; the opposite stack signals down-trend momentum.
┌─ Optional Smoothing Engine
│ The 4th EMA (slowest) can be run through a second moving-average filter to cut noise:
│ ─ SMA ─ EMA ─ SMMA/RMA ─ WMA ─ VWMA ─ None
│ You choose both the type and length (default 14).
│ This smoothed line often acts as dynamic support/resistance for pull-back entries.
└───────────────────────────
┌─ Built-in Bollinger Bands
│ If you pick **“SMA + Bollinger Bands,”** the script wraps the smoothed EMA with upper/lower bands using a user-set standard-deviation multiplier (default 2.0).
│ • Band expansion ⇒ rising volatility / breakout potential.
│ • Band contraction ⇒ consolidation / squeeze conditions.
└───────────────────────────
Extra Utilities
• **Offset** (±500 bars) lets you shift every plot forward or backward—handy for visual back-testing or screenshot aesthetics.
• Selectable data *source* (close, HLC3, etc.) for compatibility with custom feeds.
• Transparent BB fill improves chart readability without hiding price.
Typical Uses
1. **Trend Confirmation** – Trade only in the direction of a clean EMA stack.
2. **Dynamic Stops/Targets** – Trail stops along the smoothed EMA or take profit at opposite BB.
3. **Volatility Filter** – Enter breakout strategies only when BB width begins to widen.
Parameter Summary
• EMA Lengths: 1–500 (defaults 20 | 30 | 40 | 50)
• Smoothing Type: None / SMA / EMA / SMMA / WMA / VWMA / SMA + BB
• Smoothing Length: 1–500 (default 14)
• BB StdDev: 0.001–50 (default 2.0)
• Offset: -500…+500 bars
No repainting – all values calculated on fully closed candles.
Script written in Pine Script v6. Use at your own discretion; not financial advice.
EMA 52W 65-80% Down ShiftShifted EMA 52W. Useful in identifying the low points of medium- and long-term trends on altcoins. EMA 52 W - Annual Trend A 65-75% downward shift relative to the current position potentially indicates deep drawdowns for most investor participants and can serve as an approximate zone for a medium-term rebound or trend reversal.
5 EMAs 200, 55, 50, 21, 9This indicator combines 5 EMAs
200 EMA => shows larger trend
9 EMA => fast
21 => medium, Fibonacci number
50 => Slow, Fibonacci number
55 => Slow, frequently used in the market
when the 9 crossed 21 to the upside, signals uptrend
when 21 crosses 55 => stronger uptrend
when the 9 crossed 21 to the downside, signals downtrend
when 21 crosses 55 => stronger downtrend
SMA & EMA Combo (10/20/50/200)How This Works
Inputs: Four separate input fields let you adjust each moving average’s period from the indicator’s settings panel.
Calculation: Uses ta.sma for SMAs and ta.ema for EMAs, both calculated on the close price.
Plotting: Each moving average is plotted with a distinct color and label for clarity.
How to Use
Open TradingView, go to the Pine Script editor.
Paste the code above.
Add the script to your chart.
You’ll see four lines: 10 SMA (purple), 20 SMA (green), 50 EMA (red), 200 EMA (blue). You can adjust the periods in the indicator’s settings.
CHN TAB# CHN TAB - Technical Analysis Bot
## Overview
The TAB (Technical Analysis Bot) indicator is a comprehensive trading signal system that combines Simple Moving Average (SMA) crossovers with MACD momentum analysis to identify high-probability entry and exit points. This indicator provides both immediate and delayed signal detection with built-in risk management through automatic Take Profit (TP) and Stop Loss (SL) calculations.
## Key Features
- **Dual Signal Detection**: Combines SMA(50) price action with MACD momentum
- **Smart Signal Timing**: Offers both immediate and delayed signal recognition
- **Automatic Risk Management**: Calculates TP and SL levels using ATR (Average True Range)
- **Visual Feedback**: Color-coded candles and filled zones for easy identification
- **Comprehensive Alerts**: Three distinct alert conditions for different trading needs
## How It Works
### Buy Signals
**Immediate Buy Signal:**
- Price crosses above SMA(50) (open < SMA50 and close > SMA50)
- MACD crosses above zero line simultaneously
**Delayed Buy Signal:**
- Previous candle crossed above SMA(50)
- Previous MACD was ≤ 0, current MACD > 0
- Current candle remains above SMA(50)
### Sell Signals
**Immediate Sell Signal:**
- Price crosses below SMA(50) (open > SMA50 and close < SMA50)
- MACD crosses below zero line simultaneously
**Delayed Sell Signal:**
- Previous candle crossed below SMA(50)
- Previous MACD was ≥ 0, current MACD < 0
- Current candle remains below SMA(50)
### Risk Management
- **Take Profit**: Entry price ± 1.0 × ATR(14)
- **Stop Loss**: Entry price ± 1.5 × ATR(14)
- **Risk-Reward Ratio**: Automatic 1:1.5 setup
## Visual Elements
- **Green Candles**: Buy signal triggered
- **Red Candles**: Sell signal triggered
- **Orange Line**: Entry price level (displayed for 10 bars)
- **Green Fill**: Take profit zone
- **Red Fill**: Stop loss zone
## Alert System
1. **TAB Buy Signal**: Triggers only on buy signals
2. **TAB Sell Signal**: Triggers only on sell signals
3. **TAB Buy & Sell Signal**: Triggers on any signal (buy or sell)
## Best Practices
- Use on trending markets for better signal quality
- Combine with higher timeframe analysis for confirmation
- Consider market volatility when interpreting ATR-based levels
- Backtest on your preferred timeframes before live trading
## Technical Parameters
- **SMA Period**: 50
- **MACD Settings**: 12, 26, 9 (Fast, Slow, Signal)
- **ATR Period**: 14
- **Signal Display**: 10 bars duration
## Timeframe Recommendations
- Works on all timeframes
- Best performance on 15M, 1H, and 4H charts
- Higher timeframes provide more reliable signals
## Risk Disclaimer
This indicator is for educational and informational purposes only. Trading involves substantial risk of loss and is not suitable for all investors. Past performance does not guarantee future results. Always conduct your own analysis and consider your risk tolerance before making trading decisions.
---
**Version**: 6.0
**Overlay**: Yes
**Category**: Trend Following, Momentum
**Suitable For**: Forex, Stocks, Crypto, Commodities
Fixed Market Path Predictionthis indicator is a line that is used to predict the way the market moves, if you combine it with my other indicator its better, go check it out.
Zero Lag Trend Strategy (MTF)🧠 Strategy Overview
The Zero Lag Trend Signals Strategy (MTF) is a high-precision, multi-timeframe trend-following system designed for traders seeking early trend entries and intelligent exits. Built around ZLEMA-based signal detection, based on the original indicator Zero Lag Trend Signals (MTF) from AlgoAlpha, now built as a strategy with several improvements for Exit Criteria include RR, ATR Stop Loss, Trailing stop loss, etc. See below.
This momentum strategy works much better for higher timeframes, typically 4 hours or higher. This particular combination only contains 57 trades because this captures larger trend moves. The dataset contains realistic commission and slippage. You can try to run this on a smaller timeframe, but you will need to try different combinations of length, band multiplier, risk-reward ratios, and other stop loss criteria.
🔍 Key Components
1️⃣ ZLEMA Trend Engine
ZLEMA (Zero-Lag EMA) forms the foundation of the trend signal system.
Detects bullish and bearish momentum by analyzing price action crossing custom ZLEMA bands.
Optional confirmation using 5-bar ZLEMA slope filters (up/down trends) ensures high-conviction entries.
2️⃣ Volatility-Based Signal Bands
Dynamic bands are calculated using ATR (volatility) stretched over 3× period length.
These bands define entry zones (outside the bands) and trend strength.
Price crossing above/below the bands triggers trend change detection.
3️⃣ Entry Logic
Primary long entries occur when price crosses above the upper ZLEMA band.
Short entries (optional) trigger on downside cross under the lower band.
Re-entry logic allows continuation trades during strong trends.
Filters include date range, ZLEMA confirmation, and previous position state.
4️⃣ Exit Logic & Risk Management
Supports multiple customizable exit mechanisms:
🔺 Stop-Loss & Take-Profit
ATR-Based SL/TP: Uses ATR multipliers to dynamically set levels based on volatility.
Fixed Risk-Reward TP: Targets profit based on predefined RR ratios.
Break-Even Logic: Automatically moves SL to entry once a threshold RR is hit.
EMA Exit: Optional trailing exit based on price vs. short EMA.
🔀 Trailing Stop
Follows price action using a trailing ATR-based buffer that tightens with trend movement.
🔁 Trend-Based Exit
Automatically closes positions when the detected trend reverses.
5️⃣ Multi-Option Trade Filtering
Enable/disable short trades, ZLEMA confirmations, re-entries, etc.
Time-based backtesting filters for isolating performance within custom periods.
6️⃣ Visual Feedback & Annotations
Trend shading overlays: Green for bullish, red for bearish zones.
Up/Down triangle markers show when ZLEMA is rising/falling for 5 bars.
Stop-loss, TP, trailing lines drawn dynamically on the chart.
Floating stats table displays live performance (PnL, win %, GOA, drawdown, etc.).
Trade log labels annotate closed trades with entry/exit, duration, and reason.
7️⃣ CSV Export Integration
Seamless export of trade data including:
Entry/exit prices
Bars held
Encoded exit reasons
Enables post-processing or integration with external optimizers.
⚙️ Configurable Parameters
All key elements are customizable:
Entry band length and multiplier
ATR lengths, multipliers, TP/SL, trailing stop, break-even
Profit target RR ratio
Toggle switches for confirmations, trade types, and exit methods
Moving Average RespectSimple script that looks at the 10 SMA, 21 EMA & 50 SMA moving averages and looks back to see which one price respects the most. Provides the moving averages and a table to show which of those are respected within a definable proximity (editable).
Sarjana Crypto TrendMaster + EMA 20/50/100/200It combines moving averages, a custom SuperTrend, and Heikin Ashi smoothing to help you spot trend direction and filter clean buy/sell signals.
This tool doesn’t predict — it reacts smartly to trend changes.
It's ideal for traders who want clear, filtered signals backed by trend logic and EMAs.