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

Moving Average MTF**Moving Average MTF (Multi-Timeframe)**
This indicator plots three fully customizable moving averages, each calculated from an independent timeframe of your choice. Instead of being limited to the timeframe of your chart, each MA pulls data directly from its assigned timeframe — giving you a layered view of trend across multiple time horizons simultaneously.
By default the three MAs are set to 15 minutes, 1 hour, and 4 hours, all using a 50-period SMA. This makes the indicator best suited for use on a 5-minute chart, where all three timeframes sit above your chart and give you a clear short, medium, and macro trend stack in a single view.
---
**Settings**
Each of the three MAs has its own independent group of controls:
- **Show MA** — Toggles the MA line on or off without removing it from the settings.
- **Show Label** — Toggles the end-of-line label that appears to the right of the last candle. The label displays the MA type, length, timeframe, and current value.
- **Length** — The number of candles used to calculate the MA, based on its assigned timeframe. Default is 50 for all three.
- **Timeframe** — The timeframe the MA is calculated from, regardless of what timeframe your chart is on. You can type any valid timeframe directly into this field.
- **Type** — The moving average algorithm. Choose from SMA, EMA, WMA, VWMA, RMA, or HMA.
- **Line Style** — Choose between Solid, Stepline, or Circles.
- **Line Thickness** — Controls the width of the line from 1 to 10.
- **Color** — Full color picker to set each MA to any color you prefer.
---
**How to Use**
Keep your chart timeframe at or below the lowest MA timeframe you have set. With the defaults of 15min, 1h, and 4h, running the indicator on a 5-minute chart gives you the most meaningful read. When all three MAs are stacked and sloping in the same direction, trend is aligned across all three timeframes — the highest conviction environment for a trade. When they are tangled or conflicting, the market is in an indecisive state and it is generally best to wait for clarity.
---
**Important Note**
If your chart timeframe is higher than any of the MA timeframes you have set, that MA will still display but the value will not be meaningful. The indicator will not produce errors — it is purely a logical consideration. Always ensure your chart timeframe sits below your lowest MA timeframe for accurate results. Indicator

6 Moving Averages (SMA, WMA, EMA etc.)6 Moving Averages is a simple and flexible overlay indicator that lets you plot up to six moving averages on the price chart. Each moving average can be customized by type (SMA, EMA, WMA, etc.), length, color, and visibility, making it ideal for trend analysis, dynamic support and resistance, and moving-average confluence across any market or timeframe. Indicator

Indicator

Guppy MMA [Alpha Extract]A sophisticated trend-following and momentum assessment system that constructs dynamic trader and investor sentiment channels using multiple moving average groups with advanced scoring mechanisms and smoothed CCI-style visualizations for optimal market trend analysis. Utilizing enhanced dual-group methodology with threshold-based trend detection, this indicator delivers institutional-grade GMMA analysis that adapts to varying market conditions while providing high-probability entry and exit signals through crossover and extreme value detection with comprehensive visual mapping and alert integration.
🔶 Advanced Channel Construction
Implements dual-group architecture using short-term and long-term moving averages as foundation points, applying customizable MA types to reduce noise and score-based averaging for sentiment-responsive trend channels. The system creates trader channels from shorter periods and investor channels from longer periods with configurable periods for optimal market reaction zones.
// Core Channel Calculation Framework
maType = input.string("EMA", title="Moving Average Type", options= )
// Short-Term Group Construction
stMA1 = ma(close, st1, maType)
stMA2 = ma(close, st2, maType)
// Long-Term Group Construction
ltMA1 = ma(close, lt1, maType)
ltMA2 = ma(close, lt2, maType)
// Smoothing Application
smoothedavg = ma(overallAvg, 10, maType)
🔶 Volatility-Adaptive Zone Framework
Features dynamic score-based averaging that expands sentiment signals during strong trend periods and contracts during consolidation phases, preventing false signals while maintaining sensitivity to genuine momentum shifts. The dual-group averaging system optimizes zone boundaries for realistic market behavior patterns.
// Dynamic Sentiment Adjustment
shortTermAvg = (stScore1 + stScore2 + ... + stScore11) / 11
longTermAvg = (ltScore1 + ltScore2 + ... + ltScore11) / 11
// Dual-Group Zone Optimization
overallAvg = (shortTermAvg + longTermAvg) / 2
allMAAvg = (shortTermAvg * 11 + longTermAvg * 11) / 22
🔶 Step-Like Boundary Evolution
Creates threshold-based trend boundaries that update on smoothed average changes, providing visual history of evolving bullish and bearish levels with performance-optimized threshold management limited to key zones for clean chart presentation and efficient processing.
🔶 Comprehensive Signal Detection
Generates buy and sell signals through sophisticated crossover analysis, monitoring smoothed average interaction with zero-line and thresholds for high-probability entry and exit identification. The system distinguishes between trend continuation and reversal patterns with precision timing.
🔶 Enhanced Visual Architecture
Provides translucent zone fills with gradient intensity scaling, threshold-based historical boundaries, and dynamic background highlighting that activates upon trend changes. The visual system uses institutional color coding with green bullish zones and red bearish zones for intuitive market structure interpretation.
🔶 Intelligent Zone Management
Implements automatic trend relevance filtering, displaying signals only when smoothed average proximity warrants analysis attention. The system maintains optimal performance through smart averaging management and historical level tracking with configurable MA periods for various market conditions.
🔶 Multi-Dimensional Analysis Framework
Combines trend continuation analysis through threshold crossovers with momentum detection via extreme markers, providing comprehensive market structure assessment suitable for both trending and ranging market conditions with score-normalized accuracy.
🔶 Advanced Alert Integration
Features comprehensive notification system covering buy signals, sell signals, strong bull conditions, and strong bear conditions with customizable alert conditions. The system enables precise position management through real-time notifications of critical sentiment interaction events and zone boundary violations.
🔶 Performance Optimization
Utilizes efficient MA smoothing algorithms with configurable types for noise reduction while maintaining responsiveness to genuine market structure changes. The system includes automatic visual level cleanup and performance-optimized visual rendering for smooth operation across all timeframes.
This indicator delivers sophisticated GMMA-based market analysis through score-adaptive averaging calculations and intelligent group construction methodology. By combining dynamic trader and investor sentiment detection with advanced signal generation and comprehensive visual mapping, it provides institutional-grade trend analysis suitable for cryptocurrency, forex, and equity markets. The system's ability to adapt to varying market conditions while maintaining signal accuracy makes it essential for traders seeking systematic approaches to trend trading, momentum reversals, and sentiment continuation analysis with clearly defined risk parameters and comprehensive alert integration.
Indicator

6 Moving Averages Difference TableIndicator Summary: 6 Moving Averages Difference Table (6MADIFF)
This PulseWire indicator calculates and plots up to six distinct moving averages (MAs) directly on the price chart. Users have extensive control over each MA, allowing selection of:
Type: SMA, EMA, WMA, VWMA, HMA, RMA
Length: Any positive integer
Color: User-defined
Visibility: Can be toggled on/off
A core feature is the on-chart data table, designed to provide a quick overview of the relationships between the MAs and the price. This table displays:
$-MA Column: The absolute difference between the user-selected Input Source (e.g., Close, Open, HLC3) and the current value of each MA.
MA$ Column: The actual calculated price value of each MA for the current bar.
MA vs. MA Matrix: A grid showing the absolute difference between every possible pair of the calculated MAs (e.g., MA1 vs. MA2, MA1 vs. MA3, MA2 vs. MA5, etc.).
Customization Options:
Input Source: Select the price source (Open, High, Low, Close, HL2, HLC3, OHLC4) used for all MA calculations and the price difference column.
Table Settings: Control the table's visibility, position on the chart, text size, decimal precision for displayed values, and the text used for the column headers ("$-MA" and "MA$").
Purpose:
This indicator is useful for traders who utilize multiple moving averages in their analysis. The table provides an immediate, quantitative snapshot of:
How far the current price is from each MA.
The exact value of each MA.
The spread or convergence between different MAs.
This helps in quickly assessing trend strength, potential support/resistance levels based on MA clusters, and the relative positioning of short-term versus long-term averages. Indicator

Indicator

@tk · fractal emas█ OVERVIEW
This script is an indicator that plots short, medium and long moving averages for multiple fractals. This script was based on sharks EMAs by rlvs indicator, that plots multiple rays for each fractals into the chart. The main feature of this indicator is the customizability. The calculation itself is simple as moving average.
█ MOTIVATION
The trader can customize all aspects of the plotted data. The text size, extended line length, the moving average type — exponential, simple, etc... — the length of fractal rays, line style, line width and visibility. To keep minimalist, this indicator simplifies the logic of line colors based on the purpose of each moving averages. To prevent overnoise the chart with multiple lines with multiple colors for each fractal timefraes, the trader needs to keep in mind that the all lines with the "short" moving average color for example, will represents the short moving averages lines for all fractals. This logic is applied for medium and long moving averages either.
█ CONCEPT
The trading concept to use this indicator is to make entries on uptrend or downtrend pullbacks when the asset price reaches the short, medium or long moving averages price levels. But this strategy don't works alone. It needs to be aligned together with others indicators like RSI, Chart Patterns, Support and Resistance, and so on... Even more confluences that you have, bigger are your chances to increase the probability for a successful trade. So, don't use this indicator alone. Compose a trading strategy and use it to improve your analysis.
█ CUSTOMIZATION
This indicator allows the trader to customize the following settings:
GENERAL
Text size
Changes the font size of the labels to improve accessibility.
Type: string
Options: `tiny`, `small`, `normal`, `large`.
Default: `small`
SHORT
Type
Select the Short Moving Average calculation type.
Type: string
Options: `EMA`, `SMA`, `HMA`, `VWMA`, `WMA`.
Default: `EMA`
Length
Changes the base length for the Short Moving Average calculation.
Type: int
Default: 12
Source
Changes the base source for the Short Moving Average calculation.
Type: float
Default: close
Color
The base color that will represent the Short Moving Average.
Type: color
Default: color.rgb(255, 235, 59) (yellow)
Fractal Style
The fractal ray line style.
Type: string
Options: `dotted`, `dashed`, `solid`.
Default: `dotted`
Fractal Width
The fractal ray line width.
Type: string
Options: `1px`, `2px`, `3px`, `4px`.
Default: `1px`
Fractal Ray Length
The fractal ray line length.
Type: int
Default: 12
MEDIUM
Type
Select the Medium Moving Average calculation type.
Type: string
Options: `EMA`, `SMA`, `HMA`, `VWMA`, `WMA`.
Default: `EMA`
Length
Changes the base length for the Medium Moving Average calculation.
Type: int
Default: 26
Source
Changes the base source for the Medium Moving Average calculation.
Type: float
Default: close
Color
The base color that will represent the Short Moving Average.
Type: color
Default: color.rgb(0, 230, 118) (lime)
Fractal Style
The fractal ray line style.
Type: string
Options: `dotted`, `dashed`, `solid`.
Default: `dotted`
Fractal Width
The fractal ray line width.
Type: string
Options: `1px`, `2px`, `3px`, `4px`.
Default: `1px`
Fractal Ray Length
The fractal ray line length.
Type: int
Default: 12
LONG
Type
Select the Long Moving Average calculation type.
Type: string
Options: `EMA`, `SMA`, `HMA`, `VWMA`, `WMA`.
Default: `EMA`
Length
Changes the base length for the Long Moving Average calculation.
Type: int
Default: 200
Source
Changes the base source for the Long Moving Average calculation.
Type: float
Default: close
Color
The base color that will represent the Short Moving Average.
Type: color
Default: color.rgb(255, 82, 82) (red)
Fractal Style
The fractal ray line style.
Type: string
Options: `dotted`, `dashed`, `solid`.
Default: `dotted`
Fractal Width
The fractal ray line width.
Type: string
Options: `1px`, `2px`, `3px`, `4px`.
Default: `1px`
Fractal Ray Length
The fractal ray line length.
Type: int
Default: 12
VISIBILITY
Show Fractal Rays · (Short)
Shows short moving average fractal rays.
Type: bool
Default: true
Show Fractal Rays · (Medium)
Shows short moving average fractal rays.
Type: bool
Default: true
Show Fractal Rays · (Long)
Shows short moving average fractal rays.
Type: bool
Default: true
█ FUNCTIONS
The script contains the following functions:
`fn_labelizeTimeFrame`
Labelize timeframe period in minutes and hours.
Parameters:
tf: (string) Timeframe period to be labelized.
Returns: (string) Labelized timeframe string.
`fn_builtInLineStyle`
Converts simple string to built-in line style variable value.
Parameters:
lineStyle: (string) The line style simple string.
Returns: (string) Built-in line style string value.
`fn_builtInLineWidth`
Converts simple pixel string to line width number value.
Parameters:
lineWidth: (string) The line width pixel simple string.
Returns: (string) Built-in line width number value.
`fn_requestFractal`
Requests fractal data based on `period` given an expression.
Parameters:
period: (string) The period timeframe of fractal.
expression: (series float) The expression to retrieve data from fractal.
Returns: (mixed) A result determined by `expression`.
`fn_plotRay`
Plots line after chart bars.
Parameters:
y: (float) Y axis line position.
label: (string) Label to be ploted after line.
color: (color) Line and label color.
length: (int) Line length.
show: (bool) Flag to display the line. (default: `true`)
lineStyle: (string) Line style to be applied. (default: `line.style_dotted`)
lineWidth: (int) Line width. (default: `1`)
Returns: void
`fn_plotEmaRay`
Plots moving average line for a specific period.
Parameters:
period: (simple string) Period of fractal to retrieve
expression: (series float) The expression to retrieve data from fractal.
color: (color) Line and label color.
length: (int) Line length. (default: `12`)
show: (bool) Flag to display the line. (default: `true`)
lineStyle: (string) Line style to be applied. (default: `line.style_dotted`)
lineWidth: (string) Line width. (default: `1px`)
Returns: void
`fn_plotExtendedEmaRay`
Draws extended line for current timeframe moving average.
Parameters:
coordY: (float) Extended line Y axis position.
textValue: (simple string) Extended line label text.
textColor: (color) Extended line text color.
length: (int) Extended length. (default: `5`)
Returns: void Indicator

+ Multi-timeframe Multiple Moving Average LinesThis is a pretty simple script that plots lines for various moving averages (what I think are the most commonly used across all markets) of varying lengths of timeframes of the user's choosing. Timeframes range from 5 minutes up to one month, so regardless if you're a scalper or a swing trader there should be something here for you.
There are 8 lines (that can be turned on/off individually), which may seem like a lot, but if you use two averages and want to display four different timeframes for each, you can do that. The nice thing is that because the lines start plotting from the current bar they won't clutter up the screen. And obviously having moving averages from different timeframes on your chart makes price action more difficult to read (I mean sure, you can make them invisible, but who wants to do that all the time).
For each line there are two labels. One with the moving average type, and the other with its specific timeframe. I can't include the moving average length because it's not a string input. If anyone has a workaround for this, let me know, otherwise I would simply recommend setting different colors depending on the length, or if you only use one or two lengths and one or two moving averages this shouldn't be an issue. I had to use two labels because for the label text I couldn't include more than one string input, this is why there is an input for the 'moving average type label distance.'' You will want to adjust this depending on if you are trading crypto, futures, or forex because in some cases there may still be label overlap.
Pretty much everything else is self-explanatory.
I've added alerts. I might need to modify them if I can, because it would be nice for them to state the name and timeframe of the moving average. But I think this will do for now.
Enjoy! Indicator

Indicator

Indicator

Hx 9 Moving AveragesThis script is designed to handle and provide quick and easy access to up to 9 different moving averages in one indicator and one tab.
Basically, it leverages the 'inline' and 'group' arguments of the 'input' function to provide you with a simple and straightforward way to:
- define your favorite moving averages by choosing type, length, source and color in the same tab and
- decide which moving averages to display in one click on a checkbox.
I do not like to have to select the color of an indicator in another tab. So, I put everything in the Inputs tab.
In addition, I like to "linewidth code" my moving averages so that a sma has a different thickness than an ema for example.
To do so, just define the line width that you want to associate with a moving average type in the "LINE WIDTH" section.
Once parameters are set to your liking, just check / uncheck the moving averages you want to display / hide (and save your settings as default).
This script handles 9 different moving averages and implements sma, wma, ema, vwma, rma (RSI) and hma (Hull).
It can easily be modified to change the number of available moving averages or include other types of moving averages.
The default settings provide an example of commonly used moving averages with associated colors ranked from Hot (more nervous) to Cold (less nervous) with the exception of Hull moving average displayed in gray.
These settings are just an example and are NOT meant to be used as a trading system! DYOR!
Hope it will be useful.
Enjoy and please let me know what you think in the comments. Indicator

+ Rate of Change (and OBV)The Rate of Change, or RoC, is a momentum indicator that measures the percentage change in price between the current period and the price n periods ago. It oscillates above and below a zeroline, basically showing positive or negative momentum. I applied the OBV's calculation to it, but without the inclusion of volume (also added a lookback period) to see what would happen.
Actually what happened was I was looking at hot-rodding the OBV indicator, but then wondered if I could apply the cumulative calculation to another indicator to see what would happen. Not sure why I chose the Rate of Change, but it seemed a neat idea. And it worked! And so I called it the "Cumulative Rate of Change." I only recently realized that this is actually just the OBV without volume, HOWEVER the OBV does not have a lookback period, and its source is the close of each period. Basically, when you look at the calculation for the OBV you'll notice that it's a cumulative measure of the "change" of the closing price against the previous close times the volume. The Rate of Change is basically that measurement over more than one period, excluding the volume, and is not cumulative. Thus the "Cumulative Rate of Change" is basically an OBV without the volume but with the capability to adjust the lookback period.
Anyway, after days and weeks of playing with the indicator pretty infrequently I did decide that I actually really liked it, especially with the addition of moving averages and bollinger bands. So I decided to play with it a bit more.
I added a drop-down menu to include the standard Rate of Change indicator, and then thought I may as well add the OBV too, in case someone might like to compare that to the C-RoC, or just wants an OBV with myriad moving averages and bollinger bands.
By default I have the indicator set to the "C-RoC" and the lookback is set to 1, but play with longer settings (this is pretty much necessary if using the traditional RoC, which is by default set to 10 in PulseWire, and is nigh on useless at 1).
I also recommend playing with the source. 'Close' is nice, but 'ohlc4' provides some very nice signals as well, as it follows the price flow for each period completely, filtering the noisiness of 'close' as source.
Hope you guys like this. With the bollinger bands and your preferred moving average settings this can be a powerful tool for re-entering trades in trend, taking profits, determining momentum swings.
Indicator

Indicator

Indicator

Indicator

Indicator

Indicator

Indicator

Indicator

Indicator

Indicator

Indicator
