Indicator

Multi EMA Ribbon (8 Lines) - Style Zone & Labels### Overview
The **Multi EMA Ribbon (8 Lines) with Trend Dashboard** is an all-in-one trend analysis tool designed to give traders both visual chart intuition and real-time quantitative metrics.
By combining an 8-period Exponential Moving Average (EMA) ribbon with a real-time status dashboard, this script helps you quickly identify trend directions, momentum shifts, volatility squeezes, and dynamic support/resistance levels without cluttering your chart.
---
### Key Features
* **8 Fully Customizable EMAs:** Pre-configured with widely used default lengths (10, 20, 50, 100, 200, 400, 600, 800) to cover micro-scalping up to macro-trend levels.
* **Integrated Real-time Dashboard Table:**
* Displays exact price levels for all 8 EMAs.
* Shows real-time status (`BULL 🠅` or `BEAR 🠇`) based on price position relative to each EMA.
* Features an **Overall Trend Score** (e.g., 8/8 Bull = Strong Trend) for instant high-level bias confirmation.
* Fully customizable position (Top Right, Bottom Left, etc.) and text size.
* **Visual Fill Zones (Ribbon Effect):** Smooth background fills between adjacent EMAs allow you to instantly spot trend expansion, compression (squeezes), and reversals.
* **Fully Configurable in Style Tab:** All filled background zones are native plots, meaning you can toggle them individually or adjust their colors and transparency directly in the "Style" settings.
* **Clean & Dynamic Labels:** Clean numerical period tags project to the right of the current bar (with adjustable offset) to keep the chart clutter-free.
---
### How to Use
#### 1. Visual Chart Ribbon Analysis
* **Bullish Alignment:** When shorter EMAs (10, 20) are layered above longer EMAs (200, 800) and expanding outward, the market is in a strong uptrend.
* **Bearish Alignment:** When shorter EMAs are layered below longer EMAs, the market is in an established downtrend.
* **Compression / Squeeze:** When EMA lines converge tightly, volatility is dropping—often signaling an impending breakout.
* **Dynamic Support/Resistance:** During pullbacks in strong trends, price often tests specific EMA zones (e.g., EMA 20–50 or EMA 200) before resuming the primary trend.
#### 2. Dashboard Table
* **Quick Health Check:** Look at the **Overall Score** row at the bottom of the table:
* **6/8 to 8/8 Bullish (`STRONG`):** High probability long conditions / strong uptrend momentum.
* **0/8 to 2/8 Bullish (`WEAK`):** High probability short conditions / strong downtrend momentum.
* **3/8 to 5/8 (`MIXED`):** Consolidation, choppy market, or transition period.
---
### Inputs & Configuration
* **EMA Settings (Length and Color):** Adjust individual lengths, visibility, and line colors.
* **Display Settings:**
* `Show discreet EMA labels on the right`: Toggle right-side period tags.
* `Label offset to the right (bars)`: Adjust spacing of labels from the last bar.
* `Price Source`: Choose price input (Default: `Close`).
* **Dashboard Table Settings:**
* `Show EMA Dashboard Table`: Enable or disable the table.
* `Table Position`: Choose screen alignment (Top Right, Bottom Right, Top Left, Bottom Left).
* `Table Size`: Select display size (Tiny, Small, Normal).
---
### Disclaimer
This script is created for educational and analytical purposes only. Moving averages are lagging indicators and should always be combined with proper risk management, market structure, and volume analysis. Indicator

Indicator

Indicator

Indicator

Strategy

OminousLine EMAs (13/21/55/200)
OminousLine EMAs (13/21/55/200)
OminousLine EMAs is a clean and customizable trend-following indicator that combines four Exponential Moving Averages — EMA 13, 21, 55, and 200 — in a single chart overlay.
The indicator is designed to provide a clear visual overview of short-, medium-, and long-term market trends while keeping the chart simple and easy to read.
EMA Structure
The four default moving averages represent different layers of market momentum:
EMA 13 — Fast-moving EMA for short-term price action and momentum.
EMA 21 — Short-term trend reference that provides a slightly smoother view of price movement.
EMA 55 — Intermediate trend indicator that helps filter short-term market noise.
EMA 200 — Long-term trend reference commonly used to evaluate the broader market direction.
Trend Alignment
The relationship between the four EMAs can help visualize the current market structure.
A bullish EMA alignment may occur when:
EMA 13 > EMA 21 > EMA 55 > EMA 200
When the averages are aligned and separating upward, it can indicate increasing bullish momentum.
A bearish EMA alignment may occur when:
EMA 13 < EMA 21 < EMA 55 < EMA 200
When the averages are aligned and separating downward, it can indicate increasing bearish momentum.
When the EMAs begin moving closer together, it may indicate consolidation or weakening directional momentum.
Dynamic Support & Resistance
Moving averages can also act as dynamic reference areas during trending markets.
Price reactions around the EMA 13, 21, 55, or 200 can provide additional context when analyzing pullbacks, trend continuation, or changes in market structure.
These areas should not be considered fixed support or resistance levels.
Customization
OminousLine EMAs is fully customizable.
For each EMA, users can independently adjust:
EMA length
Visibility
Line color
Line width
Default configuration:
EMA 13 — Orange
EMA 21 — Cyan
EMA 55 — Amber
EMA 200 — Purple
The default colors are designed to provide clear visual separation, particularly on dark chart backgrounds.
How to Use
OminousLine EMAs can be used to help analyze:
Short-, medium-, and long-term trend direction
Bullish and bearish EMA alignment
Changes in momentum
EMA crossovers
EMA compression and expansion
Price interaction with moving averages
Potential dynamic support and resistance areas
The indicator can be used across different markets and timeframes. Traders can customize the EMA periods and appearance to suit their own analysis and trading methodology.
Important Notice
OminousLine EMAs is a visual trend-analysis tool and does not automatically generate buy or sell signals.
EMA alignment, crossovers, and price interactions should not be interpreted as guaranteed trading opportunities. The indicator is intended to complement other forms of technical analysis, market structure analysis, and appropriate risk management.
For informational and educational purposes only. Not financial advice. Indicator

cpr&ema TLTOverview
This indicator combines Daily Central Pivot Range (CPR), previous day high and low levels, Camarilla pivot levels, configurable moving averages, and Bollinger Bands into a single charting tool.
The purpose of combining these components is to provide a structured view of intraday price location, trend context, volatility, and important support and resistance areas without requiring multiple separate indicators.
How it works
The indicator calculates the previous trading day's CPR values and displays the Central Pivot (PP), Top Central (TC), Bottom Central (BC), and selected support and resistance levels.
Previous day high and low levels can also be displayed to provide additional reference points for intraday price action.
Camarilla H3, H4, L3, and L4 levels are calculated from the previous trading day's range and closing price. These levels can be used as additional reference areas when evaluating potential continuation or reversal zones.
The moving-average section provides configurable EMA periods of 5, 20, 50, 100, and 200. Users can enable or disable the EMA group depending on their analysis.
The Bollinger Band section provides a configurable basis, upper band, and lower band for evaluating price volatility and deviation from the selected moving average.
How to use
Users can enable only the components required for their analysis.
CPR can be used to understand the daily pivot structure and price location.
Previous day high and low can be used as important reference levels.
Camarilla levels can be used to identify additional intraday support and resistance areas.
The EMA group can provide trend context, while Bollinger Bands can provide additional volatility context.
These components are intended to be used together as a market-analysis framework rather than as standalone trade signals.
Important
This indicator does not guarantee profitable trades. Market conditions can change and all levels may fail. Users should perform their own analysis and apply appropriate risk management before making trading decisions. Indicator

Indicator

RibbonFlux MA - Adaptive Flow [AFD]
Your averages are stacked and pointing the same way - but is that move widening, just holding, or already compressing?
Every MA ribbon on the shelf draws the same two or three lines and floods the gap with one colour at one opacity. So a ribbon that has pulled four ATR apart and is still separating looks exactly like a ribbon that has collapsed onto itself. The fill never tells you anything the lines didn't, which is why most people end up reading the lines and ignoring the shading entirely.
RibbonFlux makes the space between the lines carry the information. The gap is measured against ATR, ranked against its own recent history, and the shading answers to that: it deepens while the legs separate in agreement, and drains to a restrained neutral the moment they compress or lose their order. Same averages you already read - the space between them now states which of four conditions it is in.
WHY IT MATTERS
Separation and compression are the two things an MA ribbon actually knows, and the standard ribbon throws both away by drawing them identically. RibbonFlux spends its whole visual budget on that one distinction. It describes geometry already on your chart - never a prediction of what comes next, and never an instruction to act.
AT A GLANCE
Three independent averages - Lead, Base, and an optional Third. Each picks its own method, length (2-250) and price source, and a single enabled average still draws on its own.
Eight methods per slot - EMA, SMA, WMA, VWMA, HMA, RMA (Wilder), McGinley Dynamic, Fibonacci EMA Composite. Mixed freely: an HMA Lead over an EMA Base over an RMA Third is a valid setup.
Seven price sources per slot - Open, High, Low, Close, HL2, HLC3, OHLC4. Set per average rather than globally, and always on the chart timeframe.
The Flow Phase Engine - four conditions drive the fill's colour and depth: coherent expansion, stable flow, compression, mixed structure. Display only, and they never touch the MA values.
Each leg measured separately - Lead/Base and Base/Third are scored independently, so one fill can be compressing while the other expands. A single-opacity ribbon cannot show that.
Twelve palettes - Ocean, Indigo, Ember, Mono, Forest, Gold, Violet, Orderflow, Midnight, Copper, Arctic, Carbon. Or set Line color mode to Custom for a fixed colour per average, independent of the flow.
Line width and line style - 1 to 4 pixels, and Solid, Stepped, Dotted or Crosses. Applied to every core line and both halo tiers together, so the whole system thins or thickens as one.
Optional flow candles - bodies, wicks and borders take the relationship colour. Off by default, and under Adaptive dynamics they turn neutral during compression along with the ribbon.
Deliberately quiet - seven plots, two fills, one optional candle overlay. No alerts, no arrows, no dashboard, no labels, no boxes, no trendlines, nothing else drawn.
THE FOUR FLOW PHASES
Each leg of the ribbon is classified on every bar, and its own fill responds. Nothing here produces an event, and no phase ranks, scores or grades the market.
Coherent expansion - the enabled averages are in order, sloping the same way, and that leg is widening. Deepest shading: the phase factor is 1.00.
Stable flow - in order and sloping together, but the leg is not widening. Held back at 0.75.
Compression - the leg's ATR-normalized spacing sits in the bottom fifth of its own last 100 bars. Restrained neutral colour, and a phase factor of 0.00, which leaves depth at its 0.35 floor.
Mixed structure - the ordering or the slope agreement has broken. Restrained neutral colour, minimal shading at 0.25.
Compression uses a deadband, not a single threshold: a leg enters compression at a percent rank of 20 or below and only leaves it at 30 or above, so a leg hovering near one number does not flicker between two appearances. Before 100 bars of history exist, no leg is classified as compressed.
THE MECHANICS, STATED PLAINLY
ATR spacing = abs(faster average - slower average) / max(ATR(14), one tick)
leg depth = 0.35 + 0.65 x clamp(ATR spacing, 0, 1) x phase factor, then EMA-smoothed over the Flow response length
compression: enter at percent rank <= 20 over 100 bars, leave at >= 30
ordered: Lead > Base (> Third), or Lead < Base (< Third)
Flow response sets one number used three ways - the slope lookback, the expansion lookback, and the smoothing length: Quick is 2 bars, Balanced 3, Smooth 5. Setting Ribbon dynamics to Fixed bypasses the engine and holds each fill at the opacity you selected.
HOW IT DIFFERS FROM A STANDARD MA RIBBON
The fill is measured, not decorative - opacity is a function of ATR-normalized spacing and phase, recomputed every bar. A conventional ribbon fills the gap at a constant tone however wide or narrow it is.
Both legs are scored on their own terms - the Lead/Base fill and the Base/Third fill can disagree, so compression in the inner leg does not mute the outer one, or the reverse.
Compression is relative to the instrument, and sticky - a percent rank of its own history with a 20/30 deadband, not a fixed price or tick distance. It travels across symbols and timeframes without retuning.
Two methods a ribbon rarely offers - McGinley Dynamic and a Fibonacci EMA Composite. The composite is the equal-weight mean of five EMAs at Fibonacci-scaled periods; McGinley scales its own step by the fourth power of the price ratio.
The arithmetic ships with an independent open-source reference implementation - every documented formula is reproducible rather than asserted. A trust signal, not the pitch: what you are here for is the ribbon, not the tests.
THE VISUALS
Lead and Base - a crisp core line plus two restrained halo tiers each. At the default width of 2 the Lead halos are 6 and 4 pixels and the Base halos 5 and 3; Line width scales all of it together.
Glow - Off, Soft, Balanced, Rich, with opacity following Lead/Base spacing independently of the ribbon. So the lines themselves brighten as the pair separates, with a floor so they never vanish.
Ribbon shading - Off, Soft, Balanced, Rich sets the maximum depth the Flow Phases then modulate. Off removes both fills and leaves the lines.
A valid Third MA - one crisp line plus its own Base-to-Third shade. It also joins the ordering and slope tests, so enabling it makes coherence a three-line condition.
Line style - Stepped holds each value until the next bar. Dotted and Crosses place one mark per bar, so spacing follows bar width and opens up as you zoom in. Pine's plot() has no stroked dotted or dashed line, and this script uses no drawing objects to fake one.
Layering - the lines and fills draw in front of the candles, not behind them. Deliberate, so the optional flow candles can colour wicks and borders as well as bodies; if it reads heavy, Line width 1 or Glow Soft thins it.
HOW TO USE IT
Start with the defaults - Close EMA 9 over Close EMA 21, Ocean, Balanced glow and shading, Adaptive dynamics. Chosen for readability, not tuned as trading parameters.
Enable the Third MA for slower context - it defaults to Close EMA 50. Ordering then requires all three in sequence, a stricter condition than two.
Reach for Flow response first - Quick if the shading feels sluggish, Smooth if it feels twitchy. It is the one control that changes how fast the appearance reacts.
Set Ribbon dynamics to Fixed to switch the engine off - a plain constant-opacity ribbon, for comparing against what you ran before. Everything else, from palette to custom colours to width, style, glow and candle colouring, is taste: set it once and leave it.
WHAT IT DELIBERATELY DOES NOT DO
It issues no alerts and has no alert conditions at all. It draws no arrows, entries, retests, setup zones, targets or labels, keeps no dashboard or readout, and ranks, scores and grades nothing. It makes no accuracy, reliability, profitability, probability or future-result claim of any kind. Moving averages are lagging transformations of price that has already printed: visible separation, alignment or colour establishes neither future direction nor the quality of any trade. Educational chart context only - not financial advice.
DATA, TIMEFRAMES, AND WHAT TO CHECK YOURSELF
Everything is computed on your chart's own timeframe and data - there are no higher-timeframe requests anywhere in the source, so there is no lookahead argument to disclose and no second feed to reconcile against your chart.
Any MA moves while its bar is still forming , and two parts of this script also carry state from bar to bar: the McGinley recursion and the compression deadband. That describes the mechanism. Confirm it with the bar-replay tool on your own symbol and timeframe before relying on it - a description of mechanism is not that check, and nothing here claims to be.
The averages read chart OHLC - on Heikin Ashi, Renko, Range or similar they average those synthetic values, not traded prices. Use standard time-based candles if you want the averages to describe real prices.
VWMA needs usable volume, and the Fibonacci EMA Composite needs a length of 8 or more - each is simply unavailable otherwise. A selected calculation that cannot be produced stays unavailable: the script never silently substitutes another method.
McGinley seeds from an SMA of its own length, then advances by previous + (source - previous) / (0.6 x length x ratio^4). If its source or recurrence goes invalid the line goes unavailable and reseeds only after the next contiguous valid window.
Identical Lead and Base settings leave nothing to read - both lines still draw, but the ribbon and flow candles switch off and the lines fall back to neutral. A Third duplicating Lead or Base likewise draws its line while taking no shade and no phase depth.
ORIGINALITY AND CREDIT
Ribbon indicators are old ground; what is new here is that the fill is a measurement rather than a decoration - ATR-normalized leg spacing, a relative compression rank with hysteresis, and per-leg depth, all resolved into colour and opacity and nothing else. The engine is deliberately confined to display, and the surface is deliberately small.
Open source under the Mozilla Public License 2.0. (c) Auction Foundry LLC.
This indicator describes the geometry of averages computed from your chart's own price history. It is not a forecast, not a signal, and not financial advice. Indicator

Indicator

Ang MTF Clouds + BarCount v2Merges Ripster's EMA Clouds and MTF Clouds into one workspace and adds the execution layer around them: five higher-timeframe clouds (daily + hourly), five clouds on the chart timeframe, opening-range breakout, premarket high/low, a 10:00 ET marker, bar counting from the open, auto-spaced cloud labels, and a Chop/Trend verdict panel.
The panel is the reason this exists. Cloud systems are trend-day tools that get chopped up in ranges, so the first question is whether the day is tradeable at all — price trapped inside the premarket range with no 10:00 breakout is a "size down" day regardless of what color the clouds are.
Entries at cloud rejections/reclaims, stops at the cloud edge, targets at the next cloud (MTF magnet). Designed for SPY on a 10-minute chart.
Note: higher-timeframe clouds repaint intraday (standard request.security behavior), so replay-based backtests will overstate performance. Cloud concept © @ripster47, MPL 2.0. Indicator

Efficiency Ratio Adaptive Moving Average (ERAMA)Efficiency Ratio Adaptive Moving Average (ERAMA)
Efficiency Ratio Adaptive Moving Average (ERAMA) is a smooth adaptive moving average that uses Kaufman's Efficiency Ratio to shift between fast and slow EMA behavior. It then applies WMA and EMA smoothing followed by length-adjusted lag reduction.
The objective is to combine three useful properties in one line: adapt to the directional efficiency of recent price movement, maintain a visually stable baseline, and recover part of the delay introduced by smoothing. ERAMA adjusts the balance between smoothness and responsiveness using current and historical data.
How ERAMA Is Calculated
1. Efficiency Ratio
ERAMA first measures how efficiently the selected Source has moved over the ER Length:
Change = |Source − Source from ER Length bars ago|
Volatility = Sum of |Source − Previous Source| over the ER Length
ER = Change ÷ Volatility
The Efficiency Ratio is bounded between 0 and 1:
• ER near 1 — most movement contributed to net progress in one direction
• ER near 0 — price traveled back and forth with little net progress
Because both Change and Volatility scale with price movement, ER is independent of the instrument's nominal price level.
2. Efficiency-Adaptive EMA Blend
The Fast and Slow lengths create two conventional EMAs of the selected Source:
Fast EMA = EMA(Source, Fast Length)
Slow EMA = EMA(Source, Slow Length)
ERAMA blends these two lines using the current Efficiency Ratio:
Adaptive = Slow EMA + ER × (Fast EMA − Slow EMA)
When ER is high, Adaptive moves closer to the Fast EMA. When ER is low, it stays closer to the Slow EMA. Intermediate ER values produce a proportional blend between the two.
This construction uses Kaufman's Efficiency Ratio as an adaptive weight, but it is not the standard recursive Kaufman Adaptive Moving Average (KAMA) formula.
3. WMA and EMA Smoothing
The adaptive blend passes through two smoothing stages:
WMA Base = WMA(Adaptive, WMA Smooth Length)
Smoothed = EMA(WMA Base, EMA Smooth Length)
The WMA gives greater weight to recent observations. The following EMA softens residual variation and determines the main output horizon. Higher values create a steadier line but also introduce more delay.
4. Length-Adjusted Lag Reduction
ERAMA compares the Smoothed line with an EMA-smoothed version of itself:
Responsiveness Scale = Min(1, 50 ÷ EMA Length)^Responsiveness Length Decay
Effective Responsiveness = Responsiveness × Responsiveness Scale
ERAMA = Smoothed + Effective Responsiveness ×
The difference between Smoothed and EMA(Smoothed) acts as a DEMA-style lag correction. A Responsiveness value of 0 disables this correction. A value of 1 applies the full correction before length scaling.
For EMA lengths of 50 or less, Responsiveness Scale equals 1. Above 50, the scale decreases gradually according to Responsiveness Length Decay. This keeps one Responsiveness setting practical across short and long EMA lengths. A decay value of 0 disables length-based scaling.
The Mathematical Idea
ERAMA separates adaptation, smoothing, and lag reduction into distinct stages.
The Efficiency Ratio controls the position between two already-defined EMA responses. WMA and EMA then create a stable output baseline. Finally, a partial DEMA-style correction restores part of the response lost to smoothing. The correction is reduced progressively for longer EMA lengths, where the distance between a line and its second EMA can otherwise become disproportionately large.
This is a causal construction: every stage uses only current and past data. The lag-reduction term can increase turning sensitivity and may create overshoot at aggressive settings, but the Responsiveness and Responsiveness Length Decay controls make that tradeoff explicit.
Characteristics and Advantages
• Efficiency-based adaptation using a bounded 0-to-1 ratio
• Interpretable Fast and Slow EMA anchors
• WMA and EMA smoothing for a stable visual baseline
• Adjustable partial-DEMA lag reduction
• Automatic responsiveness scaling for longer EMA lengths
How to Read ERAMA
Read ERAMA through its slope, its position relative to price, and the behavior of price around the line.
Slope
A rising ERAMA indicates that the smoothed adaptive baseline is moving higher. A falling ERAMA indicates that it is moving lower. A flattening line suggests weaker directional progress or a transition between trend phases.
Price Position
Price holding above a rising ERAMA supports a bullish directional interpretation. Price holding below a falling ERAMA supports a bearish interpretation. Repeated crossings often occur when price is rotating around the adaptive baseline or directional control is weak.
Distance and Reversals
A widening distance between price and ERAMA can reflect strong momentum or extension from the baseline. The lag-reduction stage helps ERAMA respond sooner when the smoothed path turns.
Understanding the Settings
Source
Selects the price series used by ERAMA. The default is HLCC4: the average of High, Low, Close, and Close.
ER Length
Controls the period used to measure directional efficiency. Lower values react to recent path changes sooner. Higher values evaluate efficiency over a broader window.
Fast Length
Sets the Fast EMA used by the adaptive blend. Lower values make the high-efficiency response faster. Fast Length must be lower than Slow Length.
Slow Length
Sets the Slow EMA used by the adaptive blend. Higher values make the low-efficiency response more conservative. Slow Length must be higher than Fast Length.
Responsiveness
Controls the strength of the lag-reduction term. A value of 0 uses the fully smoothed line. Higher values reduce more lag but can increase turning sensitivity and overshoot.
Responsiveness Length Decay
Controls how strongly Responsiveness decreases for EMA lengths above 50. Higher values apply more reduction to long-period lines. A value of 0 uses the same Responsiveness at every EMA length.
WMA Smooth Length
Controls the first smoothing stage. Higher values produce a steadier line with more delay.
EMA Smooth Length
Controls the primary output horizon and the period used by the lag-reduction EMA. Higher values create a smoother, slower baseline.
Default Configuration
Source: HLCC4
ER Length: 10
Fast Length: 2
Slow Length: 30
Responsiveness: 0.88
Responsiveness Length Decay: 0.15
WMA Smooth Length: 12
EMA Smooth Length: 20
Practical Use
ERAMA can serve as an adaptive trend baseline, directional filter, pullback reference, or trade-management guide. It is intended for traders who prefer to interpret slope and price structure directly.
Responsiveness can be tuned to emphasize steadier trend tracking or earlier reactions to short-term changes. The settings can be adapted to the instrument, timeframe, and intended holding period.
---
Efficiency Ratio Adaptive Moving Average (ERAMA)
Efficiency Ratio Adaptive Moving Average(效率比率自適應移動平均線)是一條平滑的自適應移動平均線。它利用考夫曼效率比率(Efficiency Ratio),在快速與慢速 EMA 之間調整,再依次套用 WMA、EMA 平滑及按長度調整的延遲縮減。
ERAMA 的目標,是在一條線內結合三項特性:根據近期價格移動的方向效率作出適應、維持視覺穩定的基準,以及追回部分平滑所造成的延遲。ERAMA 使用目前及歷史資料,調整平滑度與反應速度之間的平衡。
ERAMA 如何計算
1. 效率比率
ERAMA 先衡量所選 Source 在 ER Length 期間內的移動效率:
變化 = |目前 Source − ER Length 之前的 Source|
波動 = ER Length 內每根 K 線之 |Source − 前一個 Source| 總和
ER = 變化 ÷ 波動
效率比率保持在 0 至 1 之間:
• ER 接近 1 — 大部分移動形成單一方向的淨進展
• ER 接近 0 — 價格反覆來回,總路徑較長但淨進展有限
由於變化與波動都會隨價格移動幅度同比例改變,因此 ER 不受商品名義價格水平影響。
2. 效率自適應 EMA 混合
Fast 與 Slow 長度會從所選 Source 建立兩條傳統 EMA:
Fast EMA = EMA(Source,Fast Length)
Slow EMA = EMA(Source,Slow Length)
ERAMA 使用目前的效率比率混合兩條線:
Adaptive = Slow EMA + ER ×(Fast EMA − Slow EMA)
ER 偏高時,Adaptive 會靠近 Fast EMA;ER 偏低時,則靠近 Slow EMA。介乎兩者之間的 ER 會按比例混合兩條 EMA。
這個結構使用考夫曼效率比率作為自適應權重,但並不是標準的遞迴考夫曼自適應移動平均線(KAMA)公式。
3. WMA 與 EMA 平滑
自適應混合結果會通過兩層平滑:
WMA Base = WMA(Adaptive,WMA Smooth Length)
Smoothed = EMA(WMA Base,EMA Smooth Length)
WMA 對較近期數值給予更高權重,後續 EMA 則柔化剩餘變化,並決定主要輸出週期。較高數值會令線條更穩定,但亦會增加延遲。
4. 按長度調整的延遲縮減
ERAMA 會比較 Smoothed 與其 EMA 平滑版本:
Responsiveness Scale = Min(1,50 ÷ EMA Length)^Responsiveness Length Decay
Effective Responsiveness = Responsiveness × Responsiveness Scale
ERAMA = Smoothed + Effective Responsiveness ×
Smoothed 與 EMA(Smoothed)之間的差值形成 DEMA 式延遲修正。Responsiveness 設為 0 會停用修正;設為 1 則代表在長度縮放前套用完整修正。
EMA Length 為 50 或以下時,Responsiveness Scale 等於 1。高於 50 後,縮放值會按照 Responsiveness Length Decay 逐步下降,令同一組 Responsiveness 設定可以較合理地跨越短期及長期 EMA 使用。Decay 設為 0 會停用按長度縮放。
數學設計
ERAMA 把自適應、平滑及延遲縮減分成三個獨立階段。
效率比率控制結果在兩條既定 EMA 反應之間的位置;WMA 與 EMA 形成穩定輸出基準;最後的部分 DEMA 式修正,追回一部分因平滑而失去的反應速度。對較長 EMA 而言,線條與其第二層 EMA 之間的差距可能較大,因此修正會隨長度逐步降低。
整個結構只使用目前及過往資料。延遲縮減可提高轉向靈敏度,較進取的設定亦可能產生超調;Responsiveness 與 Responsiveness Length Decay 讓這項取捨可以直接調整。
特性與優點
• 使用 0 至 1 有界效率比率作出適應
• Fast 與 Slow EMA 具有清晰可解釋的反應界線
• WMA 與 EMA 平滑形成穩定視覺基準
• 可調整的部分 DEMA 式延遲縮減
• 長週期 EMA 自動降低反應修正
如何閱讀 ERAMA
閱讀 ERAMA 時,應觀察線條斜率、價格相對位置,以及價格在線條附近的行為。
斜率
ERAMA 上升表示平滑後的自適應基準正在提高;ERAMA 下跌表示基準正在降低。線條逐漸走平,通常代表方向進展減弱,或市場正處於趨勢轉換階段。
價格位置
價格維持在上升 ERAMA 之上,可支持偏多方向判斷;價格維持在下降 ERAMA 之下,可支持偏空判斷。價格反覆穿越 ERAMA,通常出現在價格圍繞自適應基準旋轉,或方向控制偏弱的市況。
距離與轉向
價格與 ERAMA 的距離擴大,可能反映動能增強或價格已偏離基準。延遲縮減讓 ERAMA 在平滑路徑轉向時較早反應。
設定說明
Source
選擇 ERAMA 使用的價格序列。預設為 HLCC4,即 High、Low、Close、Close 的平均值。
ER Length
控制衡量方向效率的期間。較低數值會更快反映近期路徑變化;較高數值則在較廣時間範圍內評估效率。
Fast Length
設定自適應混合使用的 Fast EMA。較低數值會加快高效率市況下的反應。Fast Length 必須低於 Slow Length。
Slow Length
設定自適應混合使用的 Slow EMA。較高數值會令低效率市況下的反應更保守。Slow Length 必須高於 Fast Length。
Responsiveness
控制延遲縮減項的強度。設為 0 時使用完整平滑後的線條;較高數值會追回更多延遲,但亦可能提高轉向靈敏度及超調。
Responsiveness Length Decay
控制 EMA Length 高於 50 後,Responsiveness 隨長度下降的幅度。較高數值會對長週期線條施加更大降幅;設為 0 則所有 EMA Length 使用相同 Responsiveness。
WMA Smooth Length
控制第一層平滑。較高數值會形成更穩定但延遲更多的線條。
EMA Smooth Length
控制主要輸出週期,以及延遲縮減 EMA 所使用的週期。較高數值會形成更平滑、較慢的基準。
預設設定
Source:HLCC4
ER Length:10
Fast Length:2
Slow Length:30
Responsiveness:0.88
Responsiveness Length Decay:0.15
WMA Smooth Length:12
EMA Smooth Length:20
實際應用
ERAMA 可作為自適應趨勢基準、方向過濾器、回調參考或交易管理線,適合希望直接解讀斜率及價格結構的交易者。
Responsiveness 可用來偏向更穩定的趨勢跟隨,或更早反映短期變化。設定可按商品、時間週期及預計持倉時間調整。
---
Efficiency Ratio Adaptive Moving Average (ERAMA)
Efficiency Ratio Adaptive Moving Average(効率比適応型移動平均線)は、カウフマンの効率比(Efficiency Ratio)を利用して速いEMAと遅いEMAの挙動を動的に切り替える、滑らかな適応型移動平均線です。WMA(加重移動平均)とEMA(指数移動平均)による平滑化を行った後、期間長に連動したラグ(遅延)削減処理を適用します。
ERAMAの目的は、3つの有用な特性を1本のラインに統合することです。すなわち、近年の価格値動きの方向性効率に適応すること、視覚的に安定したベースラインを維持すること、そして平滑化によって生じる遅延の一部を取り戻すことです。ERAMAは、現在および過去のデータを用いて平滑性と応答性のバランスを調整します。
ERAMA の計算方法
1. 効率比(Efficiency Ratio)
ERAMAはまず、選択された Source が ER Length 期間内にどれほど効率的に動いたかを測定します。
変化量 = |現在の Source − ER Length 本前の Source|
変動量 = ER Length 期間内の各バーにおける |Source − 前回の Source| の総和
効率比(ER)= 変化量 ÷ 変動量
効率比(ER)は 0 から 1 の範囲に収まります。
• ERが 1 に近い — 値動きの大半が一定方向への純粋な推進に寄与している
• ERが 0 に近い — 価格が反覆移動を繰り返し、総移動距離に対して純推進がほとんどない
変化量と変動量の双方が価格の移動規模に応じてスケールするため、ERは銘柄固有の価格水準(呼び値)に依存しません。
2. 効率適応型 EMA ブレンド
Fast Length と Slow Length のパラメータにより、選択した Source から2つの従来の EMA を作成します。
Fast EMA = EMA(Source, Fast Length)
Slow EMA = EMA(Source, Slow Length)
ERAMAは、現在の効率比(ER)を用いてこれら2つのラインをブレンドします。
Adaptive = Slow EMA + ER ×(Fast EMA − Slow EMA)
ERが高いとき、Adaptiveは Fast EMA に近づきます。ERが低いとき、Slow EMA の近くにとどまります。中間のER値では、2つのEMA間で比例的なブレンドが行われます。
この構造はカウフマンの効率比を適応型ウェイトとして使用していますが、標準的な再帰型カウフマン自適応移動平均線(KAMA)の計算式とは異なります。
3. WMA および EMA による平滑化
自適応ブレンド(Adaptive)は、2段階の平滑化処理を通過します。
WMA Base = WMA(Adaptive, WMA Smooth Length)
Smoothed = EMA(WMA Base, EMA Smooth Length)
WMAは直近のデータに高い重みを置きます。続くEMAは残留変動をなめらかにし、主要な出力周期(時間軸)を決定します。数値を高く設定するほどラインは安定しますが、遅延も大きくなります。
4. 期間長に応じたラグ(遅延)削減
ERAMAは、Smoothed ラインと、それをさらにEMA平滑化したラインを比較します。
Responsiveness Scale = Min(1, 50 ÷ EMA Length)^Responsiveness Length Decay
Effective Responsiveness = Responsiveness × Responsiveness Scale
ERAMA = Smoothed + Effective Responsiveness ×
Smoothed と EMA(Smoothed)の差分は、DEMA(二重指数移動平均)スタイルのラグ補正として機能します。Responsiveness を 0 に設定するとこの補正は無効になり、1 に設定すると期間長のスケーリングが適用される前の完全な補正が行われます。
EMA Length が 50 以下のケースでは、Responsiveness Scale は 1 となります。50 を超えると、Responsiveness Length Decay に従ってスケーリング値が徐々に低下します。これにより、短期から長期のEMA期間まで同一の Responsiveness 設定を合理的に運用できます。Decay を 0 に設定すると、期間長に基づくスケーリングが無効になります。
数学的概念と設計思想
ERAMAは「適応」「平滑化」「ラグ削減」を独立した段階として明確に分離しています。
効率比(ER)が、あらかじめ定義された2つのEMA応答の間の位置を制御します。次にWMAとEMAが安定した出力ベースラインを形成します。最後に、部分的なDEMAスタイル補正によって、平滑化で失われた応答速度の一部を取り戻します。長期間のEMAでは、ラインとその2次EMAの間の乖離が過大になる可能性があるため、補正量は長さに応じて段階的に削減されます。
これは完全な因果的構造であり、すべての段階で現在および過去のデータのみを使用します。ラグ削減機能は転換の感度を高める一方で、アグレッシブな設定ではオーバーシュートを引き起こす可能性がありますが、Responsiveness と Responsiveness Length Decay のコントロールにより、このトレードオフを明示的に調整できます。
特徴とメリット
• 0〜1 の有界な効率比に基づく自適応性
• 明確に解釈可能な Fast および Slow EMA アンカー
• 安定した視覚的ベースラインを形成する WMA および EMA 平滑化
• 調整可能な部分 DEMA スタイル・ラグ削減
• 長期 EMA 期間におけるレスポンス補正の自動スケーリング
ERAMA の読み方・分析方法
ERAMAを読み解く際は、ラインの傾き、価格の相対位置、そしてライン周辺での価格の挙動に着目します。
傾き(スロープ)
ERAMAの上昇は、平滑化された自適応ベースラインが切り上がっていることを示します。ERAMAの下降は、ベースラインが切り下がっていることを示します。ラインの平坦化は、方向性の勢いの減衰、またはトレンドの移行期を示唆します。
価格の位置関係
価格が上昇するERAMAの上方で推移している場合は強気(ブル)の方向性を支持し、下降するERAMAの下方で推移している場合は弱気(ベア)の方向性を支持します。ERAMAとの頻繁な交差(クロスオーバー)は、価格がベースライン付近で保ち合いを形成しているか、方向性の主導権が弱い状態によく見られます。
乖離と反転
価格とERAMAとの距離が拡大している場合は、強力なモメンタムまたはベースラインからの乖離を反映しています。ラグ削減ステージにより、平滑化された軌跡が反転する際、ERAMAはより早期に反応することができます。
設定パラメータの理解
Source
ERAMAで使用する価格シリーズを選択します。デフォルトは HLCC4(High, Low, Close, Close の平均値)です。
ER Length
方向性の効率(Efficiency Ratio)を測定する期間を制御します。値が小さいほど直近の値動きの変化に素早く反応し、値が大きいほど広い期間で効率性を評価します。
Fast Length
適応ブレンドで使用する Fast EMA を設定します。値が小さいほど、高効率相場での反応が速くなります。Fast Length は Slow Length より小さく設定する必要があります。
Slow Length
適応ブレンドで使用する Slow EMA を設定します。値が大きいほど、低効率相場での反応が控えめになります。Slow Length は Fast Length より大きく設定する必要があります。
Responsiveness
ラグ削減項の強度を制御します。0 に設定すると完全に平滑化されたラインを使用します。高い値を設定するほどラグが解消されますが、転換時の感度やオーバーシュートが増加する場合があります。
Responsiveness Length Decay
EMA Length が 50 を超えた際に、Responsiveness が減衰する度合いを制御します。高い値を設定するほど長期ラインへの減衰が強く適用されます。0 に設定すると、すべての EMA Length で同じ Responsiveness が適用されます。
WMA Smooth Length
第1段階の平滑化期間を制御します。値が大きいほど、より遅延のある安定したラインを生成します。
EMA Smooth Length
主要な出力周期およびラグ削減用 EMA の期間を制御します。値が大きいほど、より平滑で緩やかなベースラインを生成します。
デフォルト設定
Source: HLCC4
ER Length: 10
Fast Length: 2
Slow Length: 30
Responsiveness: 0.88
Responsiveness Length Decay: 0.15
WMA Smooth Length: 12
EMA Smooth Length: 20
実戦での活用方法
ERAMAは、自適応型のトレンドベースライン、方向性フィルター、押し目・戻りの参照線、あるいはトレード管理ガイドとして活用できます。ラインの傾きや価格構造を直接解釈することを好むトレーダーに適しています。
Responsiveness をチューニングすることで、安定したトレンド追従を重視するか、短期的な変化への早期反応を重視するかを調整できます。設定は取引銘柄、時間軸、および想定する保有期間に応じて最適化することが可能です。
Indicator

EMA 21/55/100/200EMA 8/21/55/100/200 均线组
一个简洁实用的多周期 EMA 均线系统:将 EMA 8、21、55、100、200 五条指数移动平均线整合到一张图上,帮助快速识别趋势方向、支撑压力位与关键均线突破。适用于股票、指数、外汇、加密货币等品种与任意周期。
与其他均线指标的不同之处
1. EMA 8 智能显隐:默认隐藏;手动开启后,仅在非加密货币市场显示,在加密货币市场中自动隐藏,避免短线均线干扰。
2. 显示长度控制:默认只绘制最近 25 根 K 线内的均线,一键切换全部长度,图表更清爽。
3. 末端数值标签:最后一根 K 线自动标注各均线当前数值,EMA 8 和 EMA 21 额外显示与现价的偏离百分比,方便快速判断乖离。
4. 五档独立警报:价格分别触及 EMA 8、21、55、100、200 时触发提醒。
设置说明
1. 周期:自定义五条均线的周期。
2. 显示长度:是否显示全部长度、最近显示 K 线根数。
3. EMA 开关:各均线的显示开关(EMA 8 智能显隐)。
4. 标签:字号、缩写、差值百分比、标签颜色。
5. 线条颜色与粗细在"样式"页调整。
使用建议
1. 趋势跟随:价格站上 EMA 21/55 且均线多头排列时顺势看多;跌破关键均线时注意风险。
2. 乖离预警:EMA 8 或 EMA 21 偏离现价过大(如超过 1%)时,警惕短线回撤。
3. 支撑压力:EMA 55、100、200 常作为中期与长期支撑压力参考。
风险提示
本指标仅用于技术分析参考,不构成任何投资建议。市场有风险,交易需谨慎。
====================================
EMA 8/21/55/100/200 Moving Average Group
A clean and practical multi-timeframe EMA system that combines five exponential moving averages (8, 21, 55, 100, 200) on one chart, helping you quickly identify trend direction, support/resistance levels, and key moving-average breakouts. Works across stocks, indices, forex, crypto, and any timeframe.
What makes it different
1. Smart EMA 8: hidden by default; when enabled, it only appears on non-crypto markets and auto-hides on crypto charts to reduce noise.
2. Display length control: by default, MAs are drawn only over the most recent 25 bars; one click switches to full length for a cleaner chart.
3. Last-bar value labels: the latest bar shows each MA's current value, with EMA 8 and EMA 21 also showing the % distance from price for quick overextension checks.
4. Five independent alerts: get notified when price touches EMA 8, 21, 55, 100, or 200.
Settings
1. Periods: customize each EMA period.
2. Display length: show full length or limit to recent bars.
3. EMA switches: show/hide each EMA (EMA 8 smart show/hide).
4. Labels: size, abbreviation, % difference and label colors.
5. Line colors and widths are adjusted in the Style tab.
Usage tips
1. Trend following: price above EMA 21/55 with bullish MA alignment suggests an uptrend; watch risk below key MAs.
2. Overextension warning: if EMA 8 or EMA 21 deviates too far from price (e.g. more than 1%), be alert to short-term pullbacks.
3. Support and resistance: EMA 55, 100, and 200 often act as medium- and long-term support/resistance references.
Disclaimer
This indicator is for technical analysis reference only and does not constitute investment advice. Trade at your own risk. Indicator

EMA 9/20/50/100/200A clean multi-timeframe EMA indicator that plots five exponential moving averages on your chart: 9, 20, 50, 100, and 200 periods.
These are among the most widely followed EMAs in technical analysis. The shorter EMAs (9, 20) track near-term momentum, the 50 marks the intermediate trend, and the 100 and 200 act as major long-term trend and support/resistance levels. When the fast EMAs cross above the slow ones, it signals bullish momentum; crosses below signal bearish momentum. Alignment of all five in order often confirms a strong trend.
Each EMA is color-coded and weighted for easy reading, so you can quickly gauge trend direction and spot potential crossovers, pullbacks, and dynamic support/resistance zones across any timeframe or asset.
Feel free to adjust the periods and colors to fit your own strategy. Indicator

Indicator

Strategy

Single Timeframe Multi-EMA Trend Table### Overview
The **Single Timeframe Multi-EMA Trend Table** displays the directional bias of 7 customizable Exponential Moving Averages (EMAs) calculated from a single, higher timeframe of your choice.
This allows traders working on lower execution timeframes (e.g., 1-minute or 5-minute charts) to effortlessly monitor macro trend alignment and EMA support/resistance zones from higher timeframes (e.g., 15m, 1h, or 4h) without switching charts.
---
### Key Features
* **Selectable Target Timeframe:** Choose any timeframe (1m, 5m, 15m, 1h, 4h, 1D, etc.) to fetch EMA data from.
* **7 Customizable EMAs:** Define 7 individual EMA lengths (e.g., EMA 9, 20, 50, 100, 150, 200, 800) to monitor full trend structure.
* **Consolidation Detection:** Identifies when price is compressing or trading close to a specific EMA line, marking it as a **RANGE 🟡** state.
* **Clean UI:** Displays chosen timeframe in the table header alongside active EMA lengths and clear color-coded statuses.
---
### How to Use
1. **Set Target Timeframe:** In the settings, choose the macro timeframe you want to base your analysis on (e.g., 15m).
2. **Configure EMAs:** Input your preferred EMA lengths.
3. **Gauge Trend Strength:**
* **Full Bullish Alignment:** All or most EMAs show `BULLISH 🟢`.
* **Compression/Ranging:** Multiple EMAs show `RANGE 🟡`, warning of choppy price action. Indicator

Multi-Timeframe Trend & Consolidation Table### Overview
The **Multi-Timeframe Trend & Consolidation Table** is a lightweight dashboard indicator designed to give traders a quick, multi-timeframe overview of the market trend and consolidation status directly on their chart.
Instead of switching between multiple timeframes or cluttering your chart with dozens of moving averages, this tool consolidates trend data across 10 different timeframes into a clean, customizable table.
---
### Key Features
* **Multi-Timeframe Analysis:** Monitors **1m, 3m, 5m, 10m, 15m, 1h, 4h, 1D, 1W, and 1M** timeframes simultaneously.
* **Customizable EMA Periods:** Set unique Exponential Moving Average (EMA) lengths for every individual timeframe (e.g., EMA 10 for 1m, EMA 50 for 1h, EMA 200 for 1D).
* **Consolidation Detection:** Built-in threshold logic identifies when price is hovering extremely close to the EMA line, signaling potential range-bound/chop market conditions.
* **Dynamic Table UI:** Displays the specific EMA length assigned to each timeframe directly inside the table for clear tracking. Fully customizable position (Top Right, Bottom Left, etc.) and text sizes.
---
### How It Works
The indicator compares the price of each timeframe against its assigned EMA line:
1. **BULLISH 🟢:** Current close price is above the timeframe's EMA (outside the consolidation zone).
2. **BEARISH 🔴:** Current close price is below the timeframe's EMA (outside the consolidation zone).
3. **RANGE 🟡:** Price percentage difference from the EMA is smaller than the set threshold (e.g., within 0.15%), indicating market consolidation or flat movement.
---
### How to Use
1. **Trend Alignment:** Look for timeframes aligning in the same direction (e.g., 1h, 4h, and 1D all green) to trade with the macro trend.
2. **Avoiding Chop:** When lower timeframes show `RANGE 🟡`, it indicates low volatility or moving average compression, warning you to avoid breakout trades or wait for confirmation.
3. **Execution Timeframes:** Tune lower timeframes (1m, 3m, 5m) to fast EMAs for scalp setups, while keeping higher timeframes (1D, 1W) on key levels like the 200 EMA.
---
### Settings & Inputs
* **EMA Lengths per Timeframe:** Set custom EMA periods for all 10 available timeframes.
* **Enable Consolidation Detection:** Toggle range detection on or off based on your strategy preference.
* **Consolidation Threshold (%):** Adjust the distance percentage between close price and EMA to define a range zone (default is 0.15%).
* **Table Display:** Adjust table placement on your screen and text font size. Indicator

EMA 25/68 BIST30 Futures# EMA 25/68 BIST30 Futures
I developed this strategy to test a straightforward and easy-to-understand moving average system on the 15-minute chart of the BIST30 futures contract.
The system monitors crossovers between EMA 25 and EMA 68. A crossover alone is not sufficient to open a position. For a long setup, the highest price of the crossover candle is recorded. For a short setup, the lowest price of the crossover candle is recorded. The signal is confirmed only if price breaks this level within the following four bars. If confirmation does not occur within four bars, the setup is cancelled.
EMA 160 is used solely as a directional filter. Long positions are opened above EMA 160, while short positions are opened below EMA 160. The purpose of this filter is to avoid taking short- and medium-term moving average crossovers against the broader market trend.
If a position has not been stopped out before the end of the session, it is closed at the close of the 17:45 bar, which corresponds to the 18:00 session price. A new position, including one in the opposite direction, cannot be opened on the same bar in which an existing position is closed.
The strategy has been designed so that different parameter settings can be tested for educational and research purposes. Users can change the EMA lengths, the number of confirmation bars, the directional filter and the trailing stop percentage to examine how these variables affect the number of trades, win rate, profit factor and maximum drawdown.
When evaluating parameter changes, users should not focus solely on the highest net profit. It is also important to examine whether neighbouring parameter values produce similar results and whether performance remains consistent across different market periods.
The code avoids calculation methods that could introduce look-ahead bias. The entire entry bar is not treated as price movement that occurred after the position was opened. The trailing stop is calculated using data from a completed bar and becomes active no earlier than the following bar.
Commission and tax on commission are displayed as separate settings. By default, the strategy assumes a commission rate of 0.020% per order leg and a 5% tax applied to the commission. Together, these produce an effective cost of 0.021% per order leg.
If the commission or tax settings are changed, the effective cost per order leg displayed in the table at the top-right corner of the chart must also be entered under Strategy Settings → Properties → Commission.
The strategy was developed for the XU030D1! symbol on a 15-minute chart. Similar results should not be expected on different markets or timeframes. The data source, continuous contract settings, commission, slippage and Bar Magnifier preferences may all affect backtest results.
This strategy is shared for educational and research purposes only. Past performance does not guarantee similar results in the future and should not be used as the sole basis for making investment decisions.
EMA 25/68 BİST30 VADELİ
Bu stratejiyi BIST30 vadeli kontratın 15 dakikalık grafiğinde, mümkün olduğunca sade ve anlaşılır bir hareketli ortalama sistemi denemek için hazırladım.
Sistem EMA 25 ile EMA 68’in kesişmesini takip ediyor. Kesişim tek başına işlem açmak için yeterli değil. Long tarafta cross mumunun en yüksek, short tarafta ise en düşük fiyatı kaydediliyor. Fiyatın bu seviyeyi sonraki dört bar içinde geçmesi halinde sinyal teyit edilmiş sayılıyor. Dört bar içinde teyit gelmezse aday iptal ediliyor.
EMA 160 yalnızca yön filtresi olarak kullanılıyor. Long işlemler EMA 160’ın üzerinde, short işlemler EMA 160’ın altında açılıyor. Amaç, kısa ve orta vadeli ortalama kesişimlerini daha geniş trendin tersine kullanmamak.
Pozisyon seans sonuna kadar stop olmadıysa 17:45 barının kapanışında, yani 18:00 seans fiyatında kapatılır. Pozisyonun kapandığı bar içinde ters yönde yeni pozisyon açılmaz.
Strateji, eğitim ve araştırma amacıyla farklı parametrelerin sonuçlar üzerindeki etkisini incelemeye uygun olacak şekilde ayarlanabilir hazırlanmıştır. EMA uzunlukları, teyit barı sayısı, yön filtresi ve trailing stop oranı değiştirilerek işlem sayısı, kazanma oranı, kâr faktörü ve maksimum düşüş gibi ölçümlerin nasıl değiştiği karşılaştırılabilir. Parametreler değerlendirilirken yalnızca en yüksek net kâra odaklanmak yerine, komşu değerlerde de benzer sonuçların oluşup oluşmadığı ve farklı dönemlerde performansın korunup korunmadığı ayrıca incelenmelidir.
Kodda geleceği görmeye yol açabilecek hesaplama seçenekleri kullanılmadı. Giriş barının tamamı, pozisyon açıldıktan sonra oluşmuş bir fiyat hareketi gibi kabul edilmez. Trail seviyesi tamamlanan barın verileriyle hesaplanır ve en erken sonraki barda çalışır.
Komisyon ve komisyon vergisi ayarlarda ayrı ayrı gösterilir. Varsayılan olarak bacak başına yüzde 0,020 komisyon ve komisyon üzerinden yüzde 5 vergi kabul edilmiştir. Bu ikisinin efektif bacak maliyeti yüzde 0,021’dir. PulseWire’in yerleşik komisyon alanı Pine kodunda dinamik bir inputa bağlanamadığı için bu değer değiştirildiğinde, Strateji Ayarları > Özellikler bölümündeki komisyon oranının da tabloda gösterilen efektif oranla aynı yapılması gerekir.
Strateji XU030D1! üzerinde 15 dakikalık grafik için hazırlanmıştır. Farklı piyasalarda veya zaman aralıklarında aynı sonucu vermesi beklenmemelidir. Bar Magnifier kullanımı, veri kaynağı, sürekli vade ayarları, komisyon ve kayma tercihleri backtest sonuçlarını değiştirebilir.
Bu çalışma eğitim ve araştırma amacıyla paylaşılmıştır. Geçmiş performans gelecekte aynı sonucun alınacağını göstermez ve tek başına yatırım kararı için kullanılmamalıdır.
Strategy

Indicator

Bionic -- EMA Crossover with Target Price Levels & EMAs [FREE] Here is the complete writeup, ready to post:
Bionic - EMA Crossover with Target Price Levels & EMAs
This indicator combines a two-EMA crossover signal system with automatically projected price targets and a configurable stack of up to eight additional EMAs. The goal is a single overlay that identifies trend shifts, quantifies where price has historically traveled after those shifts, and keeps your key moving averages labeled on the chart.
Crossover Signals
The core signal engine watches two EMAs (default 9 and 21, both configurable). When the fast EMA crosses above the slow EMA, a green up arrow prints below the bar. When the fast EMA crosses below the slow EMA, a red down arrow prints above the bar. Both arrow colors are configurable, and alert conditions are included for each direction so you can route signals to PulseWire notifications.
Target Price Levels
At each confirmed crossover, the indicator projects two horizontal target lines. These targets are derived from your chart's recent history: the script scans a configurable lookback window (default 500 bars), measures how far price has typically extended beyond prior crossover points in that window, and anchors half-move and full-move projections from the open of the signal bar.
Bullish crossovers produce Bull Target 1 (half of the historical extension) and Bull Target 2 (the full historical extension) above the entry area.
Bearish crossunders produce Bear Target 1 and Bear Target 2 below the entry area.
An optional label setting displays the exact price of each target on the chart.
Two behaviors are by design and worth understanding before use. First, target levels reflect the state of the lookback window at the moment the signal fires. Because the window rolls forward with each bar, the same historical crossover can show different target values depending on when the chart is loaded. Targets are calculated on confirmed bars and do not repaint after placement, but they are snapshots of recent statistics rather than fixed structural levels. Second, only the most recent signal's targets remain on the chart. Each new crossover deletes the prior target lines and labels, so the display always represents the active signal.
Targets are statistical references drawn from past behavior on the current symbol and timeframe. They are context for planning exits, not guarantees.
EMA Shading
The area between the two signal EMAs is shaded by market posture: bullish coloring when price holds above both EMAs, bearish coloring when price sits below both, neutral coloring when price is between them, and distinct crossover and crossunder colors at the moment of a signal. All five colors are configurable, and the shading can be disabled entirely.
Multiple EMAs
Beyond the signal pair, the indicator plots up to eight independent EMAs (defaults include 9, 21, 34, 55, and an optional 400, with four slots off by default). Each EMA has its own length, color, and enable toggle. Each line carries a floating label at its right edge showing the EMA length and, optionally, its live price. Label distance and line width are globally configurable.
Global Toggles
Top-level switches let you disable all EMAs, disable shading, or suppress bullish or bearish target lines independently, so you can strip the display down to only the elements you trade with.
Settings Summary
EMA Cross Configuration: signal EMA lengths, lookback window for target calculation, target label toggle
Arrow Color Configuration: up and down arrow colors
Shading Settings: five posture colors
Multiple EMAs: eight configurable EMA slots plus global label and width controls
This indicator is a decision-support tool. It does not constitute financial advice. Test it on your instrument and timeframe before trading live. Indicator

OBV+OBV+
OBV+ tracks On Balance Volume against a moving average of itself and turns
that relationship into a directional state, then gates entries behind a
statistical trend test and manages the trade with a chandelier stop that only
ever moves in your favor.
HOW THE STATE WORKS
The indicator plots OBV with a configurable moving average (EMA, SMA, WMA,
RMA, or HMA). The distance between the two is ranked as a percentile against
its own recent history, so a strong OBV move is defined relative to what this
symbol has actually been doing rather than by a fixed number that means
something different on every chart. When that strength clears your threshold,
the state turns bullish or bearish and stays there until a qualifying move
flips it the other way. A minimum bar spacing keeps the state from
oscillating.
HOW ENTRIES WORK
A state flip on its own does not open a trade. The flip arms an entry window,
and within that window a linear regression on price must independently confirm
that a trend exists in the same direction, measured by the t statistic of the
regression slope. If the trend test agrees, the trade opens. If the window
closes without confirmation, the flip expires and prints a small gray circle
so you can see exactly which signals were passed over. The next entry then
waits for a fresh flip.
Price bars are colored by the gate rather than by raw OBV, so bars show green
or red only where both conditions are satisfied and gray everywhere else. You
can see at a glance which parts of the chart the indicator considers
tradeable.
HOW EXITS WORK
The stop arms immediately on the entry bar, placed beyond that bar's range so
a wide entry candle cannot take you out on the next bar. From there it trails
from the highest high reached since entry (or lowest low when short) at a
configurable ATR multiple, and it is hard clamped so it can only tighten. In a
long it never moves down. It tightens as volatility contracts and holds its
ground when volatility expands. The stop line is drawn directly on price
alongside entry triangles and exit crosses.
The trailing stop is the only exit by default. Opposite states are ignored
while a position is open, so a brief counter signal that does not reach your
stop leaves the trade running. If you would rather have state changes close
and reverse the position, there is a switch for it.
INPUTS
MA type and length, strength lookback and minimum percentile, minimum bars
between flips, regression lookback, minimum absolute t statistic, confirmation
window length, ATR length and chandelier multiple, plus a flip reverses
position toggle. Display options cover the fill, the trail, trade markers, and
bar coloring, with configurable bull, bear, and neutral colors. An optional
pane mode swaps OBV for the signed strength percentile with the threshold
lines drawn, which makes it easy to see which moves clear the bar.
ALERTS
Separate alert conditions for long entry, short entry, and exit, plus a single
combined alert carrying the ticker, timeframe, strength percentile, t
statistic, and current stop level.
NOTES
Because the signal is built from volume, results depend on the volume series
your data feed provides, and the same symbol can behave differently across
exchanges. Signals evaluate on bar close. Settings are deliberately open
ended: a low strength percentile with a short regression lookback produces
frequent, permissive signals, while raising the percentile and the t threshold
narrows it toward fewer and more selective ones. This is for informational purposes
only and isn't meant as financial advice. Indicator
