Scalping Strategy with DCA - V2Strategy Overview
This advanced scalping strategy combines technical analysis with strategic Dollar Cost Averaging (DCA) for short-term crypto trading. It utilizes multiple indicators to identify high-probability entry points and implements a structured approach to position management with predefined risk controls.
Key Features
Multi-indicator confirmation system using EMA 48, RSI 14, MACD, and Bollinger Bands
Smart entry detection based on trend changes, price action, and divergence patterns
Fixed risk management limiting exposure to 1-3% of total account per trade
Structured DCA approach with 1-2-6 ratio for averaging down
Higher timeframe confirmation to avoid false signals
Preset take-profit levels at 0.5% and 1% for partial profit taking
Dynamic stop-loss adjustment with breakeven protection after securing profits
Trading Conditions
The strategy enters trades when all of the following conditions align:
Price crosses the EMA 48 in the intended direction
RSI confirms strength (>60 for longs, <40 for shorts)
MACD line crosses above/below signal line confirming momentum
Price is near previous support/resistance zones
RSI shows divergence at the 5th peak/trough
Higher timeframe confirms this is the 2nd pivot point
Risk Management
Initial risk limited to 1-3% of account
Position sizing follows 1-2-6 DCA ratio for averaging down
Stop loss set at 1-3% from entry, calculated in monetary terms
After full DCA deployment, stop loss updated to 1.3% from entry
Take profit at 0.5% (close 25%) and 1% (close 50%)
Stop loss moves to breakeven after second take profit hit
Best Trading Conditions
Use only on cryptocurrencies with large market capitalization
Trade coins with holder percentage above 7%
Best results in trending markets with clear support/resistance
Optimal on 5-minute to 1-hour timeframes for scalping
Implementation Notes
This strategy is designed for precision scalping in crypto markets. It combines volatility controls with trend-following techniques and systematic position management to maximize reward while strictly limiting risk exposure.
Indicateurs et stratégies
Dkoderweb repainting issue fix indicator# Harmonic Pattern Trading Indicator for TradingView
This indicator, called "Dkoderweb repainting issue fix indicator," is designed to identify and trade harmonic chart patterns in financial markets. It uses Fibonacci relationships between price points to detect various patterns like Bat, Butterfly, Gartley, Crab, Shark, and others.
## Key Features:
- **Pattern Recognition**: Automatically identifies over a dozen harmonic patterns including standard and anti-patterns
- **Customizable Settings**: Options to use Heikin Ashi candles and alternate timeframes
- **Fibonacci Levels**: Configurable display of key Fibonacci retracement levels
- **Entry and Exit Signals**: Clear buy/sell signals with visual triangles above/below bars
- **Trade Management**: Automatic take-profit and stop-loss levels based on Fibonacci relationships
- **Visual Aids**: Color-coded backgrounds to highlight active trade zones
- **Alert System**: Customizable alert messages for trade entries and exits
## How It Works:
The indicator uses a zigzag function to identify significant price pivots, then analyzes the relationships between these pivots to detect specific harmonic patterns. When a valid pattern forms and price reaches the entry zone (defined by a Fibonacci level), the indicator generates a trade signal.
Each pattern has specific Fibonacci ratio requirements between its points, and the indicator continuously scans for these relationships. Trade management is handled automatically with predefined take-profit and stop-loss levels.
This version specifically addresses repainting issues that are common in pattern-detection indicators, making it more reliable for both backtesting and live trading.
furs Inside Bar FailureAs it says. If an inside bar breakout fails and closes back inside, target the other side of the Inside Bar.
SMC + ICT Strategy | 5-Min | No Repaint | TP/SL LinesSmc+ Ict clear signal with no repaint also in 5 min perfect for intraday
Delta Volume[integral]Delta Volume – Visualizing Accumulated Candle Dominance
This indicator measures and accumulates the net difference between bullish and bearish candle volumes over a user-defined range of bars. It integrates the volume dominance over time, offering traders a unique view into how buying or selling pressure has been distributed.
🔍 Concept & Logic
Delta Volume Calculation
For each bar, the script looks x to y bars back in time (e.g., from 10 bars ago to 5 bars ago) and:
Adds volume for bullish candles (close > open)
Subtracts volume for bearish candles (close < open)
This gives us a snapshot of volume dominance for that range.
What is Integration in This Context?
Integration, in this script, refers to the accumulation (summation) of these dominance differences over a period.
Much like integrating a function in calculus (i.e., area under the curve), here we are integrating the "net advantage" of buyers vs. sellers.
Over time, this builds a cumulative picture of directional pressure, showing whether buyers (positive integration) or sellers (negative integration) are in control.
Why It Matters
Unlike simple volume charts, this tool filters noise by focusing on who is dominating the market—buyers or sellers—and tracks that dominance over time.
It gives a macro-level view of pressure buildup, which can precede major breakouts or reversals.
📊 Visual Features
Buy Volume (green columns): Sum of volumes from bullish candles.
Sell Volume (red columns): Sum of volumes from bearish candles.
Candle Difference (white line): Net dominance difference (Buy - Sell).
Integrated Dominance Difference: Cumulative label showing the total buyer-seller dominance over the defined integration period.
Zero Line (dashed): Balance point.
🧠 Use Case
Detect divergences between price and cumulative volume pressure.
Confirm trend strength when integrated delta volume aligns with price movement.
Spot accumulation or distribution phases invisible on price action alone.
⚠️ If you're applying this to symbols with no volume data (e.g., certain Forex or indices), the script will stop with an error message.
5ADR @nothingveryrealThis script calculates the average daily range for the last 5 complete days (excluding today) and displays it as on‑chart text. It lets you switch between showing the value as a raw price difference or as pips/points, with an editable pip conversion factor (for example, 10000 for most pairs or 100 for JPY pairs).
CCI Divergence Indicatorthis is the cci indicator. we add some more options for it and now you can see the divergence on it and set alert for that . you can set the options for chandelles and timeframes.
Trigger Candle Sweep Strategy - Bearish & BullishIdentifying Trigger Candle sweeps. Sweeps of liquidity with momentum
Dual RSIHello everyone! I want to show you my version of the RSI indicator. As you may have noticed, in this indicator I decided to use 2 RSI at once, and here's why. I discovered that crossovers between fast and slow RSI can generate good signals. Very often we can determine an entry point with it, and it works just as well as RSI versions with divergences.
So, all you need to do is configure the timeframe from which the RSI will be displayed. For example, when I work on an hourly timeframe, I enable both hourly and four-hour RSI. When the hourly RSI crosses the four-hour RSI from above, it signals that you should look for a short entry point. Conversely, if the hourly RSI crosses the four-hour RSI from below, you should look for a long entry point.
Overall, everyone can choose these settings for themselves. You can also adjust the overbought and oversold zones to increase or decrease the frequency of signals.
This indicator can be a good addition to your strategy. Good luck!
Altseason Index (Top 10)### Altseason Index (Top 10)
#### Overview
The "Altseason Index (Top 10)" indicator identifies whether the market is in an altseason (altcoins outperforming Bitcoin) or a Bitcoin season. It analyzes the performance of 9 top altcoins (ETH, BNB, ADA, XRP, SOL, DOT, AVAX, SHIB, LINK) against Bitcoin over 90 days, inspired by the Blockchain Center Altcoin Season Index.
#### How It Works
- Calculates the 90-day price change for BTC and 9 altcoins.
- Counts how many altcoins outperform BTC.
- Index = (number of outperforming altcoins / 9) * 100.
- >75%: Altseason (green zone).
- <25%: Bitcoin season (red zone).
- 25–75%: Neutral.
#### Visualization
- Blue line: Index value (0–100).
- Green line at 75: Altseason threshold.
- Red line at 25: Bitcoin season threshold.
- Green/red background fill for altseason/BTC season zones.
#### Usage
Add to your chart and interpret:
- Above 75: Consider altcoin investments.
- Below 25: Focus on Bitcoin.
Ensure tickers match your exchange (e.g., "BTCUSD" or "BINANCE:BTCUSDT").
#### Notes
- Limited to 9 altcoins due to TradingView's request.security() limit.
- Best on daily charts but adaptable to other timeframes.
KC Outside Close – X MarkerThis indicator helps visually highlight when the price moves outside the Keltner Channel. Users can choose from different marker styles for signaling, and both the ATR period and the multiplier values are adjustable.
Previous OHLC Levels with Lines, Labels & AlertsThis indicator displays the Previous Day, Previous Week, and Previous Month OHLC (Open, High, Low, Close) levels directly on your chart — complete with customizable horizontal lines, clean labels, and real-time alerts.
Each level can be toggled on or off and fully customized:
• Line color, thickness, style (solid, dashed, dotted)
• Label text color, size, and placement (left, center, right)
• Adjustable line length so they don’t clutter your chart
• Built-in price cross alerts for each level (manual and automatic support)
Ideal for traders who rely on:
• Support and resistance zones
• Price reaction levels
• Key breakout or rejection points
• Historical price action context
Works seamlessly across any timeframe and instrument.
Whether you’re trading intraday, swing, or even long-term — this tool keeps your charts clean, informative, and alert-ready.
Puts vs Longs vs Price Oscillator SwiftEdgeWhat is this Indicator?
The "Low-Latency Puts vs Longs vs Price Oscillator" is a custom technical indicator built for TradingView to help traders visualize buying and selling activity in a market without access to order book data. It displays three lines in an oscillator below the price chart:
Green Line (Longs): Represents the strength of buying activity (bullish pressure).
Red Line (Puts): Represents the strength of selling activity (bearish pressure).
Yellow Line (Price): Shows the asset’s price in a scaled format for direct comparison.
The indicator uses price movements, volume, and momentum to estimate when buyers or sellers are active, providing a quick snapshot of market dynamics. It’s optimized for fast response to price changes (low latency), making it useful for both short-term and longer-term trading strategies.
How Does it Work?
Since TradingView doesn’t provide direct access to order book data (which shows real-time buy and sell orders), this indicator approximates buying and selling pressure using commonly available data: price, volume, and a momentum measure called Rate of Change (ROC). Here’s how it combines these elements:
Price Movement: The indicator checks if the price is rising or falling compared to the previous candlestick. A rising price suggests buying (longs), while a falling price suggests selling (puts).
Volume: Volume acts as a "weight" to measure the strength of these price moves. Higher volume during a price increase boosts the green line, while higher volume during a price decrease boosts the red line. This mimics how large orders in an order book would influence the market.
Rate of Change (ROC): ROC measures how fast the price is changing over a set period (e.g., 5 candlesticks). It adds a momentum filter—strong upward momentum reinforces buying signals, while strong downward momentum reinforces selling signals.
These components are calculated for each candlestick and summed over a short lookback period (e.g., 5 candlesticks) to create the green and red lines. The yellow line is simply the asset’s closing price scaled down to fit the oscillator’s range, allowing you to compare buying/selling strength directly with price action.
Why Combine These Elements?
The combination of price, volume, and ROC is intentional and synergistic:
Price alone isn’t enough—it tells you what happened but not how strong the move was.
Volume adds context by showing the intensity behind price changes, much like how order book volume indicates real buying or selling interest.
ROC ensures the indicator captures momentum, filtering out weak or random price moves and focusing on significant trends, similar to how aggressive order execution might appear in an order book.
Together, they create a balanced picture of market activity that’s more reliable than any single factor alone. The goal is to simulate the insights you’d get from an order book—where you’d see buy/sell imbalances—using data available in TradingView.
How to Use It
Setup:
Add the indicator to your chart via TradingView’s Pine Editor by copying and pasting the script.
Adjust the inputs to suit your trading style:
Lookback Period: Number of candlesticks (default 5) to sum buying/selling activity. Shorter = more responsive; longer = smoother.
Price Scale Factor: Scales the yellow price line (default 0.001). Increase for high-priced assets (e.g., 0.01 for indices like DAX) or decrease for low-priced ones (e.g., 0.0001 for crypto).
ROC Period: Candlesticks for momentum calculation (default 5). Shorter = faster response.
ROC Weight: How much momentum affects the signal (default 0.5). Higher = stronger momentum influence.
Volume Threshold: Minimum volume multiplier (default 1.5) to boost signals during high activity.
Reading the Oscillator:
Green Line Above Yellow: Strong buying pressure—price is rising with volume and momentum support. Consider this a bullish signal.
Red Line Above Yellow: Strong selling pressure—price is falling with volume and momentum support. Consider this a bearish signal.
Green/Red Crossovers: When the green line crosses above the red, it suggests buyers are taking control. When the red crosses above the green, sellers may be dominating.
Yellow Line Context: Compare green/red lines to the yellow price line to see if buying/selling strength aligns with price trends.
Trading Examples:
Bullish Setup: Green line spikes above yellow after a price breakout with high volume (e.g., DAX opening jump). Enter a long position if confirmed by other indicators.
Bearish Setup: Red line rises above yellow during a price drop with increasing volume. Look for a short opportunity.
Reversal Warning: If the green line stays high while price (yellow) flattens or drops, it could signal overbought conditions—be cautious.
What Makes It Unique?
Unlike traditional oscillators like RSI or MACD, which focus solely on price momentum or trends, this indicator blends price, volume, and momentum into a three-line system that mimics order book dynamics. Its low-latency design (short lookback and no heavy smoothing) makes it react quickly to market shifts, ideal for volatile markets like DAX or forex. The visual separation of buying (green) and selling (red) against price (yellow) offers a clear, intuitive way to spot imbalances without needing complex data.
Tips and Customization
Volatile Markets: Use a shorter lookback (e.g., 3) and ROC period (e.g., 3) for faster signals.
Stable Markets: Increase lookback (e.g., 10) for smoother, less noisy lines.
Scaling: If the green/red lines dwarf the yellow, adjust Price Scale Factor up (e.g., 0.01) to balance them.
Experiment: Test on your asset (stocks, crypto, indices) and tweak inputs to match its behavior.
Fractal Timeframe Alignment: Expansion FTA ✨This script focuses on Fractal Time Frame Alignment to spot Expansion phases on small as well as HTFs.
Its shows regular as well as heikin ashi candle data.
There is an option to select data feed from the penultimate candle.
Trade the Trend. Happy Trading
m7sere signalsbye and sell signals for London session only
.
.
,
,
,
,
,
,
,
,
bye and sell signals for London session only
SMC+The "SMC+" indicator is a comprehensive tool designed to overlay key Smart Money Concepts (SMC) levels, support/resistance zones, order blocks (OB), fair value gaps (FVG), and trap detection on your TradingView chart. It aims to assist traders in identifying potential areas of interest based on price action, swing structures, and volume dynamics across multiple timeframes. This indicator is fully customizable, allowing users to adjust lookback periods, colors, opacity, and sensitivity to suit their trading style.
Key Components and Functionality
1. Key Levels (Support and Resistance)
This section plots horizontal lines representing support and resistance levels based on highs and lows over three distinct lookback periods, plus daily nearest levels.
Short-Term Lookback Period (Default: 20 bars)
Plots the highest high (short_high) and lowest low (short_low) over the specified period.
Visualized as dotted lines with customizable colors (Short-Term Resistance Color, Short-Term Support Color) and opacity (Short-Term Resistance Opacity, Short-Term Support Opacity).
Adjustment Tip: Increase the lookback (e.g., to 30-50) for less frequent but stronger levels on higher timeframes, or decrease (e.g., to 10-15) for scalping on lower timeframes.
Long-Term Lookback Period (Default: 50 bars)
Plots broader support (long_low) and resistance (long_high) levels using a solid line style.
Customizable via Long-Term Resistance Color, Long-Term Support Color, and their respective opacity settings.
Adjustment Tip: Extend to 100-200 bars for swing trading or major trend analysis on daily/weekly charts.
Extra-Long Lookback Period (Default: 100 bars)
Identifies significant historical highs (extra_long_high) and lows (extra_long_low) with dashed lines.
Configurable with Extra-Long Resistance Color, Extra-Long Support Color, and opacity settings.
Adjustment Tip: Use 200-500 bars for monthly charts to capture macro-level key zones.
Daily Nearest Resistance and Support Levels
Dynamically calculates the nearest resistance (daily_res_level) and support (daily_sup_level) based on the current day’s price action relative to historical highs and lows.
Displayed with Daily Resistance Color and Daily Support Color (with opacity options).
Adjustment Tip: Works best on intraday charts (e.g., 15m, 1h) to track daily pivots; combine with volume profile for confirmation.
How It Works: These levels update dynamically as new highs/lows form, providing a visual guide to potential reversal or breakout zones.
2. SMC Inputs (Smart Money Concepts)
This section identifies swing structures, order blocks, fair value gaps, and entry signals based on SMC principles.
SMC Swing Lookback Period (Default: 12 bars)
Defines the period for detecting swing highs (smc_swing_high) and lows (smc_swing_low).
Adjustment Tip: Increase to 20-30 for smoother swings on higher timeframes; reduce to 5-10 for faster signals on lower timeframes.
Minimum Swing Size (%) (Default: 0.5%)
Filters out minor price movements to focus on significant swings.
Adjustment Tip: Raise to 1-2% for volatile markets (e.g., crypto) to avoid noise; lower to 0.2-0.3% for forex pairs with tight ranges.
Order Block Sensitivity (Default: 1.0)
Scales the size of detected order blocks (OBs) for bullish reversal (smc_ob_bull), bearish reversal (smc_ob_bear), and continuation (smc_cont_ob).
Visuals include customizable colors, opacity, border thickness, and blinking effects (e.g., SMC Bullish Reversal OB Color, SMC Bearish Reversal OB Blink Thickness).
Adjustment Tip: Increase to 1.5-2.0 for wider OBs in choppy markets; keep at 1.0 for precision in trending conditions.
Minimum FVG Size (%) (Default: 0.3%)
Sets the minimum gap size for Fair Value Gaps (fvg_high, fvg_low), displayed as boxes with Fair Value Gap Color and FVG Opacity.
Adjustment Tip: Increase to 0.5-1% for larger, more reliable gaps; decrease to 0.1-0.2% for scalping smaller inefficiencies.
How It Works:
Bullish Reversal OB: Detects a bearish candle followed by a bullish break, marking a potential demand zone.
Bearish Reversal OB: Identifies a bullish candle followed by a bearish break, marking a supply zone.
Continuation OB: Spots strong bullish momentum after a prior high, indicating a continuation zone.
FVG: Highlights bullish gaps where price may retrace to fill.
Entry Signals: Plots triangles (SMC Long Entry) when price retests an OB with a liquidity sweep or break of structure (BOS).
3. Trap Inputs
This section detects potential bull and bear traps based on price action, volume, and key level rejections.
Min Down Move for Bear Trap (%) (Default: 1.0%)
Sets the minimum drop required after a bearish OB to qualify as a trap.
Visualized with Bear Trap Color, Bear Trap Opacity, and blinking borders.
Adjustment Tip: Increase to 2-3% for stronger traps in trending markets; lower to 0.5% for ranging conditions.
Min Up Move for Bull Trap (%) (Default: 1.0%)
Sets the minimum rise required after a bullish OB to flag a trap.
Customizable with Bull Trap Color, Bull Trap Border Thickness, etc.
Adjustment Tip: Adjust similarly to bear traps based on market volatility.
Volume Lookback for Traps (Default: 5 bars)
Compares current volume to a moving average (avg_volume) to filter low-volume traps.
Adjustment Tip: Increase to 10-20 for confirmation on higher timeframes; reduce to 3 for intraday sensitivity.
How It Works:
Bear Trap: Triggers when price drops significantly after a bearish OB but reverses up with low volume or support rejection.
Bull Trap: Activates when price rises after a bullish OB but fails with low volume or resistance rejection.
Boxes highlight trap zones, resetting when price breaks out.
4. Visual Customization
Line Width (Default: 2)
Adjusts thickness of support/resistance lines.
Tip: Increase to 3-4 for visibility on cluttered charts.
Blink On (Default: Close)
Sets whether OB/FVG borders blink based on Open or Close price interaction.
Tip: Use "Open" for intraday precision; "Close" for confirmed reactions.
Colors and Opacity: Each element (OBs, FVGs, traps, key levels) has customizable colors, opacity (0-100), border thickness (1-5 or 1-7), and blink effects for dynamic visualization.
How to Use SMC+
Setup: Apply the indicator to any chart and adjust inputs based on your timeframe and market.
Key Levels: Watch for price reactions at short, long, extra-long, or daily levels for potential reversals or breakouts.
SMC Signals: Look for entry signals (triangles) near OBs or FVGs, confirmed by liquidity sweeps or BOS.
Traps: Avoid false breakouts by monitoring trap boxes, especially near key levels with low volume.
Notes:
This indicator is a visual aid and does not guarantee trading success. Combine it with other analysis tools and risk management strategies.
Performance may vary across markets and timeframes; test settings thoroughly before use.
For optimal results, experiment with lookback periods and sensitivity settings to match your trading style.
The default settings are optimal for 1 minute and 10 second time frames for small cap low float stocks.
Continuation OB are Blue.
Bullish Reversal OB color is Green
Bearish Reversal OB color is Red
FVG color is purple
Bear Trap OB is red with a green border and often appears with a Bearish Reversal OB signaling caution to a short position.
Bull trap OB is green with a Red border signaling caution to a long position.
All active OB area are highlighted and solid in color while other non active OB area are dimmed.
My personal favorite setups are when we have an active bullish reversal with an active FVG along with an active Continuation OB.
Another personal favorite is the Bearish reversal OB signaling an end to a recent uptrend.
The Trap OB detection are also a unique and Original helpful source of information.
The OB have a white boarder by default that are colored black giving a simulated blinking effect when price is acting in that zone.
The Trap OB border are colored with respect to direction of intended trap, all of which can be customized to personal style.
All vaild OB zones are shown compact in size ,a unique and original view until its no longer valid.
ZVOL — Z-Score Volume Heatmapⓩ ZVOL transforms raw volume into a statistically calibrated heatmap using Z-score thresholds. Unlike classic volume indicators that rely on fixed MA comparisons, ZVOL calculates how many standard deviations each volume bar deviates from its mean. This makes the reading adaptive across timeframes and assets, in order to distinguish meaningful crowd behavior from random volatility.
📊 The core display is a five-zone histogram, each encoded by color and statistical depth. Optional background shading mirrors these zones across the entire pane, revealing subtle compression or structural rhythm shifts across time. By grounding the volume reading in volatility-adjusted context, ZVOL inhibits impulsive trading tactics by compelling the structure, not the sentiment, to dictate the signal.
🥵 Heatmap Coloration:
🌚 Suppressed volume — congestion, coiling phases
🩱 Stable flow — early trend or resting volume
🏀 High activity — emerging pressure
💔 Extreme — possible climax or institutional print
🎗️ A dynamic Fibonacci-based 21:34-period EMA ribbon overlays the histogram. The fill area inverts color on crossover, providing a real-time read on tempo, expansion, or divergence between price structure and crowd effort.
💡 LTF Usage Suggestions:
• Confirm breakout legs when orange or red zones align with range exits
• Fade overextended moves when red bars appear into resistance
• Watch for rising EMAs and orange volume to front-run impulsive moves
• Combine with volatility suppression (e.g. ATR) to catch compression → expansion transitions
🥂 Ideal Pairings:
• OBVX Conviction Bias — to confirm directional intent behind volume shifts
• SUPeR TReND 2.718 — for directional filters
• ATR Turbulence Ribbon — to detect compression phases
👥 The OBVX Conviction Bias adds a second dimension to ZVOL by revealing whether crowd effort is aligning with price direction or diverging beneath the surface. While ZVOL identifies statistical anomalies in raw volume, OBVX tracks directional commitment using cumulative volume and moving average cross logic. Use them together to spot fake-outs, anticipate structure-confirmed breakouts, or time pullbacks with volume-based conviction.
🔬 ZVOL isn’t just a volume filter — it’s a structural lens. It reveals when crowd effort is meaningful, when it's fading, and when something is about to shift. Designed for structure-aware traders who care about context, not noise.
NR_VersatilitiesLibrary "NR_Versatilities"
Versatilities (aka, Versatile Utilities) includes:
- Seventeen Price Variants returned as a tuple,
- Eight Smoothing functions rolled into one,
- Pick any Past Value from any series with offset,
- Or just the previous value from any series.
pastVal(src, len)
Fetches past value from src that came len distance ago
Parameters:
src (float) : source series
len (int) : lookback distance - (optional) default is 1
Returns: latest src if len <= 0, else src
previous(src)
Fetches past value from src that came len distance ago
Parameters:
src (float) : source series
Returns: previous value in the series if found, else current value
price_variants()
Computes Several different averages using current and previous OHLC values
Returns: Seventeen Uncommon Average Price Combinations
dynamic_MA(matyp, masrc, malen, lsmaoff, almasgm, almaoff, almaflr)
Dynamically computes Eight different MAs on-demand individually, or an average of all taken together
Parameters:
matyp (string) : pick one of these MAs - ALMA, EMA, HMA, LSMA, RMA, SMA, SWMA, WMA, ALL
masrc (float) : source series to compute MA
malen (simple int) : lookback distance for MA
lsmaoff (simple int) : optional LSMA offset - default is 0
almasgm (simple float) : optional ALMA sigma - default is 5
almaoff (simple float) : optional ALMA offset - default is 0.5
almaflr (simple bool) : optional ALMA floor flag - default is false
Returns: MA series for chosen type or, an average of all of them, if chosen so
OneTrend EMAThis strategy uses exponential moving averages (EMA) to define market trend direction and employs a dynamic ATR-based threshold adjusted by a custom ADX calculation to generate bullish (blue) and bearish (pink) zones. It enters long positions when the fast EMA exceeds the threshold (blue zone) and exits when it falls below the threshold (pink zone), providing clear, rule-based signals for trend-following trades. Pros include adaptive thresholding that reflects market volatility and trend strength, while cons are potential lag in sideways or choppy markets and susceptibility to whipsaws in volatile conditions.