Hophop Ichimoku Cloud with Fibonacci RetracementThis indicator automatically draws Fibonacci retracement levels on top of the Ichimoku Cloud indicator
There are plenty of great Auto Fib generator indicators, particularly
by KIVANCfr3762 is the one I like a lot.
However if you use Ichimoku Cloud strategy with Fibonacci levels for the cloud settings this indicator will be quite handy on saving the hassle of adjusting the look back period of the auto fib with baseline of Ichimoku,
and also it will save you from using 1 indicators per chart limit which may be an issue for free plan users
BTC Tip: 39bwXN1chms1yHskBaYwz76UhDakc7grJ7
LTC Tip: MGD3U9dBCBVctwnoCa1grU8ompxG6hUhMk
ETH Tip: 0xEE9684a5aceE85036527aB48E596DeE4627bD84b
Bu indikator Ichimoku Cloud indikatoru uzerinde otomatik olarak Fibonacci retracement degerlerini cizmektedir,
Eger sadece otomatik Fibonacci retracement indikatoru ariyorsaniz, KIVANCfr3762 a ait olan indikatorunu cok basarili buluyorum ve onu kullanmanizi tavsiye ederim
Ancak siklikla Ichimoku Cloud ve Fibonacci Retracement kullaniyor iseniz her seferinde iki indikatorun ayarlarini degistirmekten kacinmak ve ayrica grafik uzerindeki indikator limitinden tasarruf etmek isterseniz bu indikatorun isinize yarayacagini dusunuyorum
Bu indikatorden faydalaniyor ve benzerleri uzerinde calismam icin destek olmak isterseniz
BTC Bahsis: 39bwXN1chms1yHskBaYwz76UhDakc7grJ7
LTC Bahsis: MGD3U9dBCBVctwnoCa1grU8ompxG6hUhMk
ETH Bahsis: 0xEE9684a5aceE85036527aB48E596DeE4627bD84b
Pesquisar nos scripts por "fib"
Fibonacci Indicator ⓙAutomatic Daily Fibonacci (by JustUncle) upgraded.
This update is a correction on the way the Fib Zero line is calculated. Previously it was just based on the source of the previous day, which is Ok as long as the Fiblength was set to 2. The new version calculates the Fib Zero from the average of the specified source over the Fiblength, so if Fiblength is now something other than 2 the Fibonacci Zero and other support and resistant levels should calculate correctly.
Hullfib-trailingso I add a trialing function based on volume pf the bars
this will ,ake the system more easy for the trader
1. Hull mean avreage with color changes (green -red that show the trend )
2. signal prouduce by Hull and bollinger fibs
3.signal prouduce by trailing volume bars (B , S)
4. upper and lower daily fibs
togetther you can make good combination when you bet on bitmex
have fun
EdgeAnalysisGroup: Yume Wave 2.0This is a upgraded version of the wave with modified parameters for a higher success rate. 3 New Lengths and 75 more lines of code added to the overall algorithm. Also included are 2 sublevel signals based on the Fib MA and pattern trading.
The Wave:
+ The Yume is the Fast length
+ The Akume is the Slow length
+ The Miaku is a median weighted length
+ The Upper Limit is an overbought asset indication
+ The Lower Limit is an oversold asset indication
+ The Wave is the spread between Yume and Miaku
Bullish Indications:
+ The Yume is above the Akume
+ The Yume is above the Miaku
+ The Yume is below the Lower Limit
Bearish Indications:
+ The Yume is below the Akume
+ The Yume is below the Miaku
+ The Yume is above the Upper Limit
Signal Strength Weights:
+ 50 = Yume Wave crossed a Limit Line
+ 100 = Yume Wave crossed a Limit Line + Close to a Fib Moving Average
+ 100 = Edge's Market Bottom/Top Algorithm is marked 'True'
Setting up Signals (Based on a 100 Signal Height):
+ Set the "Bull Signal" to be at 50 or 100
+ Set the "Bear Signal" to be at 50 or 100
+ 50 is Agressive, 100 is Conservative.
+ Bull/Bear are separate so you can play conservative bull with aggressive bear.
Vegas Tunnel V1.0Step 1: Create a 1 hour chart on whatever currency pairs interest. I personally use MT4 platform on Oanda to follow my trades. Overlay 3 time periods: 169 EMA, 144 EMA and a 12 period EMA ( all 1 hour.) The 144 and 169 EMA’s create the tunnel. The 12 EMA is the filter and crossover indicator.
Step 2. Fibonacci numbers are very crucial to trading with the tunnel especially 55,89,144, 233, and 377.
Step 3. Wait for the market to come into the tunnel “area”. When it breaks above the upper tunnel boundary, you go long. When it breaks below the lower tunnel boundary you go short.
Step 4. Stops and reverses are placed on the other side of the tunnel.
Step 5. As the market trades in your direction, you take partial profits at the successive Fib numbers. The final portion of your position is left on until one of the following conditions occur: 1) market hits the last Fib number 377 pips from the EMA’s or 2) the market eventually comes back to the tunnel and violates the other side.
Vegas used the following moving averages, as filters:
5-period Simple Moving Average (SMA)
12-period Exponential Moving Average (EMA)
21-period Exponential Moving Average (EMA)
NGRN BALANCE ALLOCATION INDICATOR v1NGRN BALANCE ALLOCATION INDICATOR - Version 1
Overview
This indicator can be used to determine trade quantities as the market ebb and flows. Deeper red histogram values would indicate more funds allocated to the buy/long condition, and higher green histogram values would indicate a larger percentage of funds to sell or short. Uses volume weighted moving average as the basis for Fibonacci bands where candle crosses/touches are measured.
Features
Length indicator to control period of time to evaluate VWMA basis
Option to use open, close, high, low, hl2, hlc3, ohlc3 as source for VWMA
Option to option to specify the type of contact on fib bands
Option to specify the multiplier for the fib bands
Clean/Simple UI - Facilitating ease of use.
Access
Access to use is FREE however the source code is protected .
zibi fib3This is major update to Zibifi2 with addition of vwma fibs in order to remove issue that can happen with regular daily fibs (they sometime send bad signals)
in this version the addition will help to eliminate that effect
major buy points in green and red
minor buy and sell points are in lime and orange
have fun
zibi fib1So lets make thing smarter:)
ZIBI is volume indicator that i created which calculate prive volume per candle
it set buy point when it cross low fib =green
sell point when it cross down high fib
have fun
alerts inside
Fibonacci+MA+RSI indicator v2Buy Signal: Black traingle upward
Sell Signal: Black traingle downward
Works best on 15min chart. Performance numbers are really good for indices.( Need to change timeframe and values to work for forex or CFDs).
This script generates the fibonacci bars on the fly based on the length of previous candles(user input available).
(1,0.618,0.5,0.382,0 levels are used).
Buy or sell signals are generated only when:
the price nears specific fibonacci levels
and
if RSI is favorable
and
if moving averages are favorable
Almost all the options are user customizable. Default settings are the ones with most profitable %.
Risk points : Number of points to use as stop loss
Contracts, Lots : Order Quantity.
RR Ratio : Risk to Reward Ratio for order limit and stop levels.
RSI High and Low: Used in conjunction with Fib levels and Moving averages ( sma used)(To prevent a buy when RSI is overbought and vice versa)
use MA : To usemoving averages for signal generation. Lengths for short,medium and long term MAs are customizable
Fib length : Number of hours to consider. Internally this is multiplied by 4 to generate signals for 15min charts.
ATR % : % of ATR to consider when price is in proximity (For example fibLevel+atr% and fibLevel-atr% are considered when looking for a crossover with price). Set to minimum to ignore this.
FollowReversal : Enabling will wait for 1 confirmation candle to generate the signal.
Tested on Nifty -0.19% , Dow , S&P 0.20% etc. indices.
Please let me know if you have further questions and suggestions. I am learning to script, any help would be really appreciated.
May make the script public once I am happy with the performance.
Fibonacci Retracement (S)-Silver
The Automatic Fib Retracement - Silver -0.24% script indicates the 50-61.8% pullback region.
The lines of the upper and lower pivots, the support and resistance areas are also highlighted.
Customisable Fib Length - Time period over which max and min pivots are chosen.
Offsetfib - Automatically offsets the pivots and sell zone as your entry position
will be some time after the upper and lower pivots are set.
Works well when used in combination with an oscillator which highlights Divergence.
A strategy based off buying the 50-618 with a defined stop loss and target can be the basis of your strategy.
This tool will automatically plot those points but a defined Risk Management strategy will always be needed.
Works best in Bearish trends but will work on all timeframes (Bearish correction in an uptrend also possible).
Previous pivots shown but be careful to identify which of the several pivots you are using.
Start at a larger timeframe and move down. (Entries consistent on several timeframes are golden)
Pivots and retracements are dynamic. Be sure to note your entry and targets.
Multiple Moving AverageThis EMA script has multiple EMA's in one - 4 at the key Fibonacci levels (8,13,21,55) and 2 additional at 100 & 200 period counts. I've found this script to be extremely helpful to determine when to open or close positions - mostly using the 55 EMA as they key indicator and watching for the other 3 Fib MA's to cross over the 55 as a signal of a market shift. The 100 & 200 give additional Support & Resistance indications. The FIB MA's (hard to see on above chart) work better at lower levels for day trading where as the larger 3 lines work at all intervals.
WhereAreWe - WAWShows the current price in relation to yesterday's High/Low values which create the top/middle/bottom. Add the fibs for a better S/R.
If MA Length > 1 it will use a moving average calculation instead of actual H/L to smooth the lines.
Check "Plot Fibs" to plot the fibonacci levels for S/R.
Works on intraday charts(less than 1D).
RSX FracticalityA little project I was working on to avoid studying for finals. Using LazyBear's RSX code for a smoother RSI, then taking the RSX of fib number lengths. Take the average of that, then the JMA of that from the same fib numbers. The average of that is then treated as the trend, take the average of the trend values from the main time frames, the script calls pretty far back so adding a W or M TF I think would throw the calculations off. Then I smoothed that value using the jma's to create the overall trend. I got the idea from Ehler's Empirical Mode Decomposition about identifying peaks and valleys and creating an average of that to create a range. The idea is that if the trend is above the Average Peak then it is a bull trend, less than the average valley it's a bear trend, in between it's ranging. It looks like it turned out alright, I'll be working on this idea of fractals a lot this summer to see if I can improve it or build something better off of the idea.
Fibonacci Commodity Stenth IndexFibonacci Commodity Strength Value tells us about the strength and weakness of bull or bear market.
The main focus in this is too be done at reversal. It can also be used for identifying fake ups/downs.
If all the 4 lines moves upward after a huge up spike, then notice the values of all 4 values. If red fib is smaller than green fib then it is a fake trend. If its more then its uptrend and same for bear movement. ;)
It also represents cci (in terms of values) and rsi (in terms of waves).
Enjoy !!!!!
Automatic Daily Fibonacci v0.3 by JustUncleLThis update is a correction on the way the Fib Zero line is calculated. Previously it was just based on the source of the previous day, which is Ok as long as the Fiblength was set to 2. The new version calculates the Fib Zero from the average of the specified source over the Fiblength, so if Fiblength is now something other than 2 the Fibonacci Zero and other support and resistant levels should calculate correctly.
Vegas TunnelThis indicator adds and subtracts fib levels from the moving average. I suppose profits are meant to be taken at certain levels. Additionally, it may help in finding tops and bottoms. There's more info here: www.forexstrategiesresources.com
The fib levels should be changed depending on time frame:
short) 5, 8, 13, 21
intermediate) 34, 55, 89, 144
long) 55, 89, 144, 233
Indicators: 6 RSI variationsAs we all know, as published by Wilder, RSI makes use of "CLOSE" values. You probably have experimented changing the input to hl2 or hlc3 . I have included many other RSI variations in this chart. Refer to the developers section below to learn how you can use this code in your scripts.
1) RSI with Volume
---------------------------------------------
Suggested by Morris, this idea adds volume to the RSI indicator. Because volume offers one means of determining whether money is entering or leaving a market, this would provide additional information with which to make trading decisions.
2) RSI using last Open
---------------------------------------------
This is RSI with yesterday's open, This basically compares two full days of price action and in the process produces a smoother RSI line.
RSI of today's close is used as a signal (blue line).
3) RSI using SMA
---------------------------------------------
Wilder used his own MA for calculating RSI (check my post on Wilders MA here - -- This closely resembles EMA). One of Morris's suggestion is to try out SMA.
Compared to normal RSI, you will see more squiggles here.
4) RSI using EMA
---------------------------------------------
Same idea as above, but using EMA.
5) RSI with Fibs
---------------------------------------------
How much does RSI retrace? This makes it easy to determine that :)
6) RSI of MACD
---------------------------------------------
As I mentioned earlier, RSI is a pluggable formula. You can substitute "close" with any data series to derive an index out of it.
This shows RSI of MACD. Note that this is range bound.
More info on RSI variations:
drive.google.com
For Pinescript developers:
---------------------------------------------
You can substitute your favorite indicator in the RSI function. I have made the RSI calculation a separate function in all the indicators above.
Following are the reusable functions (simply copy to your script and call with proper arguments):
* WiMA(src, length)
* calc_rsi(fv, length): This is equivalent to stock rsi() in TV.
* calc_rsi_volume(fv, length)
* calc_rsi_sma(fv, length)
* calc_rsi_ema(fv, length)
* calc_rsi_lastopen(fv, length)
* calc_macd(src, fast, slow)
You can also pick up fibs drawing code and put in on any indicator.
Harmonic Patterns (Experimental) [Kodexius]Harmonic Patterns (Experimental) is a multi pattern harmonic geometry scanner that automatically detects, validates, and draws classic harmonic structures directly on your chart. The script continuously builds a pivot map (swing highs and swing lows), then evaluates the most recent pivot sequence against a library of harmonic ratio templates such as Gartley, Bat, Deep Bat, Butterfly, Crab, Deep Crab, Cypher, Shark, Alt Shark, 5-0, AB=CD, and 3 Drives.
Unlike simple “pattern exists / pattern doesn’t exist” indicators, this version scores candidates by accuracy . Each pattern includes “ideal” ratio targets, and the script computes a total error score by measuring how far the observed ratios deviate from the ideal. When multiple patterns could match the same pivot structure, the script selects the best match (lowest total error) and displays that one. This reduces clutter and makes the output more practical in real market conditions where many ratio ranges overlap.
The end result is a clean, information rich visualization of harmonic opportunities that is:
-Pivot based and swing aware
-Ratio validated with configurable tolerance
-Direction filtered (bullish, bearish, or both)
-Ranked by accuracy to prefer higher quality matches
Note: This is an experimental pattern engine intended for research, confluence and chart study. Harmonic patterns are probabilistic and can fail often. Always combine with your own risk management and confirmation tools.
🔹 Features
🔸Pivot Detection
The script uses pivot functions to detect structural turning points:
-Pivot Left Bars controls how many bars must exist on the left of the pivot
-Pivot Right Bars controls confirmation delay on the right (smaller value reacts faster)
Additionally, a Min Swing Distance (%) filter can ignore tiny swings to reduce noise. Pivots are stored separately for highs and lows and capped by Max Pivots to Store to keep the script efficient.
🔸Pattern Library (XABCD and Beyond)
Supported structures include:
-Gartley, Bat, Deep Bat, Butterfly, Crab, Deep Crab
-Cypher (uses XC extension and CD retracement logic)
-Shark and Alt Shark (0-X-A-B-C mapping)
-5-0 (AB and BC extensions with CD retracement)
-AB=CD (symmetry and proportionality checks)
-3 Drives (6 point structure, drive and retracement ratios)
Each pattern is defined by ratio ranges and also “ideal” ratio targets used for scoring.
🔸 Pattern Fibonacci Rules (Detailed Ratio Definitions)
This script validates each harmonic template by measuring a small set of Fibonacci relationships between the legs of the pattern. All measurements are computed using absolute price distance (so the ratios are direction independent), and then a directional sanity check ensures the geometry is positioned correctly for bullish or bearish cases.
How ratios are measured
Most patterns in this script use the standard X A B C D harmonic structure. Four ratios are evaluated:
1) XB retracement of XA
This measures how much price retraces from A back toward X when forming point B .
xbRatio = |B - A| / |A - X|
2) AC retracement of AB
This measures how much point C retraces the AB leg.
acRatio = |C - B| / |B - A|
3) BD extension of BC
This measures the “drive” from C into D relative to the BC leg.
bdRatio = |D - C| / |C - B|
4) XD retracement of XA
This is the most important “completion” ratio in many patterns. It measures where D lands relative to the original XA swing.
xdRatio = |D - A| / |A - X|
Important: the script applies a user defined Fibonacci Tolerance to each accepted range, meaning the pattern can still pass even if ratios are slightly off from the textbook values.
🔸 XABCD Pattern Ratio Templates
Below are the exact ratio rules used by the templates in this script.
Gartley
-XB must be ~0.618 of XA
-AC must be between 0.382 and 0.886 of AB
-BD must be between 1.272 and 1.618 extension of BC
-XD must be ~0.786 of XA
In practice, Gartley is a “non extension” structure, meaning D usually remains inside the X boundary .
Bat
-XB between 0.382 and 0.50 of XA
-AC between 0.382 and 0.886 of AB
-BD between 1.618 and 2.618 of BC
-XD ~0.886 of XA
Bat patterns typically complete deeper than Gartley and often create a sharper reaction at D.
Deep Bat
-XB ~0.886 of XA
-AC between 0.382 and 0.886 of AB
-BD between 1.618 and 2.618 of BC
-XD ~0.886 of XA
Deep Bat uses the same completion zone as Bat, but requires a much deeper B point.
Butterfly
-XB ~0.786 of XA
-AC between 0.382 and 0.886 of AB
-BD between 1.618 and 2.618 of BC
-XD between 1.272 and 1.618 of XA
Butterfly is an extension pattern . That means D is expected to break beyond X (in the completion direction).
Crab
-XB between 0.382 and 0.618 of XA
-AC between 0.382 and 0.886 of AB
-BD between 2.24 and 3.618 of BC
-XD ~1.618 of XA
Crab is also an extension pattern . It often produces a very deep D completion and a strong reaction zone.
Deep Crab
-XB ~0.886 of XA
-AC between 0.382 and 0.886 of AB
-BD between 2.0 and 3.618 of BC
-XD ~1.618 of XA
Deep Crab combines a deep B point with a strong XA extension completion.
🔸 Cypher Fibonacci Rules (XC Based)
Cypher is not validated with the same four ratios as XABCD patterns. Instead it uses an XC based completion model:
1) B as a retracement of XA
xb = |B - A| / |A - X| // AB/XA
Must be between 0.382 and 0.618 .
2) C as an extension from X relative to XA
xc = |C - X| / |A - X| // XC/XA
Must be between 1.272 and 1.414 .
3) D as a retracement of XC
xd = |D - C| / |C - X| // CD/XC
Must be ~ 0.786 .
This makes Cypher structurally different: the “completion” is defined as a retracement of the entire XC leg, not XA.
🔸 Shark and Alt Shark Fibonacci Rules (0-X-A-B-C Mapping)
Shark patterns are commonly defined as 0 X A B C . In this script the pivots are mapped like this:
0 = pX, X = pA, A = pB, B = pC, C = pD
So the final pivot (stored as pD) is labeled as C on the chart.
Three ratios are validated:
1) AB relative to XA
ab_xa = |B - A| / |A - X|
Must be between 1.13 and 1.618 .
2) BC relative to AB
bc_ab = |C - B| / |B - A|
Must be between 1.618 and 2.24 .
3) OC relative to OX
oc_ox = |C - 0| / |X - 0|
For Shark it must be between 0.886 and 1.13 .
For Alt Shark it must be between 1.13 and 1.618 (a deeper / more extended completion).
🔸 5-0 Fibonacci Rules
5-0 is validated as a sequence of extensions and then a fixed retracement:
1) AB extension of XA
ab_xa = |B - A| / |A - X|
Must be between 1.13 and 1.618 .
2) BC extension of AB
bc_ab = |C - B| / |B - A|
Must be between 1.618 and 2.24 .
3) CD retracement of BC
cd_bc = |D - C| / |C - B|
Must be approximately 0.50 .
Note that for 5-0 the script does not rely on an XA completion ratio like 0.786 or 1.618. The defining completion is the 0.5 retracement of BC.
🔸 AB=CD Fibonacci Rules
AB=CD is a symmetry pattern and is treated differently from the harmonic templates:
1) AB and CD length symmetry
The script checks if CD is approximately equal to AB within tolerance.
2) BC proportion
BC/AB is expected to fall in a common Fibonacci retracement zone:
-approximately 0.618 to 0.786 (with a looser tolerance in code)
3) CD/BC expansion
CD/BC is expected to be an expansion ratio:
-approximately 1.272 to 1.618 (also with a looser tolerance)
This allows the script to capture both classic equal leg AB=CD and common “expanded” variations.
🔸 3 Drives Fibonacci Rules (6 Point Structure)
3 Drives is a 6 point structure and is validated using retracement ratios and extension ratios:
Retracement rules
Retracement 1 must be between 0.618 and 0.786 of Drive 1
Retracement 2 must be between 0.618 and 0.786 of Drive 2
Extension rules
Drive 2 must be between 1.272 and 1.618 of Retracement 1
Drive 3 must be between 1.272 and 1.618 of Retracement 2
This pattern is meant to capture rhythm and proportional repetition rather than a single XA completion ratio.
🔸 Why the script can show “ratio labels” on legs
If you enable Show Fibonacci Values on Legs , the script prints the measured ratios near the midpoint of each leg (or diagonal, depending on pattern type). This makes it easy to visually confirm:
-Which ratios caused the pattern to pass
-How close the structure is to ideal harmonic values
-Why one template was preferred over another via the accuracy score
🔸 Fibonacci Tolerance Control
All ratio checks use a single tolerance input (percentage). This tolerance expands or contracts the acceptable ratio ranges, letting you decide whether you want:
-Tight, high precision matches (lower tolerance)
-Broader, more frequent matches (higher tolerance)
🔸 Direction Filter (Bullish Only / Bearish Only / Both)
You can restrict scanning to bullish patterns, bearish patterns, or allow both. This is useful if you are aligning with higher timeframe bias or only trading one side of the market.
🔸 Best Match Selection (Anti Clutter Logic)
When a new pivot confirms, the script evaluates all enabled patterns against the latest pivot sequence and keeps the one with the smallest total error score. This is especially helpful because many harmonic templates overlap in real time. Instead of drawing multiple conflicting labels, you get one “most accurate” candidate.
🔸 Clean Visual Rendering and Optional Details
The drawing system can display:
-Main structure lines (X-A-B-C-D or special mappings)
-Dashed diagonals for geometric context (XB, AC, BD, XD)
-Pattern fill to visually highlight the structure zone
-Point labels (X,A,B,C,D or 0..5 for 3 Drives, 0-X-A-B-C for Shark)
-Leg Fibonacci labels placed around midpoints for fast ratio reading
All colors (bullish and bearish line and fill) are configurable.
🔸 Pattern Spacing and Display Limits
To keep charts readable, the script includes:
-Max Patterns to Display to limit on-chart drawings
-Min Bars Between Patterns to avoid repeated signals too close together in the same direction
Older patterns are automatically deleted once the display limit is exceeded.
🔸 Alerts
When enabled, alerts trigger on new confirmed detections:
-Bullish Pattern Detected
-Bearish Pattern Detected
Alerts fire once per bar when a new pattern is confirmed by a fresh pivot.
🔹 Calculations
This section summarizes the core logic used under the hood.
1) Pivot Detection and Swing Filtering
The script confirms pivots using right side confirmation, then optionally filters them by minimum swing distance relative to the last opposite pivot.
// Pivot detection
float pHigh = ta.pivothigh(high, pivotLeftBars, pivotRightBars)
float pLow = ta.pivotlow(low, pivotLeftBars, pivotRightBars)
// Example swing distance filter (conceptual)
abs(newPivot - lastOppPivot) / lastOppPivot >= minSwingPercent
Pivots are stored in capped arrays (high pivots and low pivots), ensuring performance and stable memory usage.
2) Ratio Measurements (Retracement and Extension)
The engine measures harmonic ratios using two core helpers:
Retracement measures how much the third point retraces the previous leg.
Extension measures how much the next leg extends relative to the previous leg.
// Retracement: (p3 - p2) compared to (p2 - p1)
calcRetracement(p1, p2, p3) =>
float leg = math.abs(p2.price - p1.price)
float retr = math.abs(p3.price - p2.price)
leg != 0 ? retr / leg : na
// Extension: (p4 - p3) compared to (p3 - p2)
calcExtension(p2, p3, p4) =>
float leg = math.abs(p3.price - p2.price)
float ext = math.abs(p4.price - p3.price)
leg != 0 ? ext / leg : na
For a standard XABCD pattern the script evaluates:
-XB retracement of XA
-AC retracement of AB
-BD extension of BC
-XD retracement of XA
3) Tolerance Based Range Check
Ratio validation uses a flexible range check that expands min and max by the tolerance percent:
isInRange(value, minVal, maxVal, tolerance) =>
float tolMin = minVal * (1.0 - tolerance)
float tolMax = maxVal * (1.0 + tolerance)
value >= tolMin and value <= tolMax
This means even “fixed” ratios (like 0.786) still allow a user controlled deviation.
4) Positional Sanity Check for D (Beyond X or Not)
Some harmonic patterns require D to remain within X (non extension patterns), while others require D to break beyond X (extension patterns). The script enforces that using a boolean flag in each template.
Conceptually:
-If the pattern is an extension type, D should cross beyond X in the expected direction
-If the pattern is not extension type, D should stay on the correct side of X
This prevents visually incorrect “ratio matches” that violate the intended geometry.
5) Template Definitions (Ranges + Ideal Targets)
Every pattern includes ratio ranges plus ideal values. The ideal values are used only for scoring quality, not for pass/fail. Example concept:
-Ranges determine validity
-Ideal targets determine ranking
6) Accuracy Scoring (Total Error)
When a candidate passes all validity checks, the script computes an accuracy score by summing absolute deviations from ideal ratios:
calcError(value, ideal) =>
math.abs(value - ideal)
// Total error is the sum of the four leg errors (as available for the pattern)
totalError =
calcError(xbRatio, xbIdeal) +
calcError(acRatio, acIdeal) +
calcError(bdRatio, bdIdeal) +
calcError(xdRatio, xdIdeal)
Lower score means closer to the “textbook” harmonic proportions.
7) Best Match Resolution (Choosing One Winner)
When multiple enabled patterns match the same pivot structure, the script selects the one with the lowest totalError:
updateBest(currentBest, newCandidate) =>
result = currentBest
if not na(newCandidate)
if na(currentBest) or newCandidate.totalError < currentBest.totalError
result := newCandidate
result
This is a major practical feature because it reduces clutter and highlights the highest quality interpretation.
8) Bullish and Bearish Scanning Logic
The scanner runs when pivots confirm:
-Bullish patterns are evaluated on a newly confirmed pivot low (potential D)
-Bearish patterns are evaluated on a newly confirmed pivot high (potential D)
From that D pivot, the script searches backward through stored pivots to build a valid pivot sequence (X,A,B,C,D). If 3 Drives is enabled, it also attempts to find the extra preceding point needed for the 6 point structure.
9) Rendering: Lines, Fill, Labels, and Leg Fib Text
After detection the script draws:
-Primary legs with thicker lines
-Geometric diagonals with dashed lines (for XABCD types)
-Optional fill between selected legs to emphasize the structure area
-A summary label showing direction, pattern name, and ratios
-Optional point labels and leg ratio labels placed near midpoints
To avoid overlapping with candles, the script offsets labels using ATR:
float yOff = math.max(ta.atr(14) * 0.15, syminfo.mintick * 10)
10) Pattern Lifecycle and Cleanup
To respect chart limits and keep visuals clean, the script deletes old drawings once the maximum visible patterns threshold is exceeded. This includes lines, fills, and labels.
Indicator for the best FINDING GOLDEN ZONES by OeZKAN 🌟 FIBONACCI FX ALARM PRO (V13): Precision Pullback & Reversal SystemThe FIBONACCI FX ALARM PRO (V13) is a sophisticated, single-overlay indicator designed for the tactical trader who masters high-probability pullback and reversal entries. By fusing key Multi-Timeframe (MTF) structural analysis with validated Fibonacci levels and momentum confirmation, this system provides crystal-clear Entry, Take Profit (TP), and Stop Loss (SL) targets.This is your ultimate tool for trading Mean Reversion and Retracement strategies, providing the exact levels needed for disciplined execution.
🔥 Key System Features & Core Logic1.
⚙️ Multi-Timeframe Structural MappingThe system maps the dominant structural context from a higher timeframe onto your current chart, ensuring your trades align with the institutional flow:Dynamic Supply & Demand Zones: Automatic calculation and visualization of the highest high (Supply) and lowest low (Demand) over the last 100 bars on a user-defined MTF (e.g., 60m, 240m). These zones act as highly reliable reversal and breakout levels.Structural Breakouts: Clear alerts and labels notify you the moment the price decisively breaches the main Supply or Demand boundaries, signaling potential trend continuation.2.
🎯 Fibonacci Precision (The Golden Trade Zone)At the core of the strategy is the intelligent use of Fibonacci Retracements, automatically anchored to the MTF High/Low:The Golden Ratio (61.8%): This is the Primary Entry Trigger. The system is optimized to generate a Buy or Sell signal when the price crosses the $61.8\%$ level, confirming a deep, high-value retracement.TP1 / TP2 Targets: Built-in profit targets are automatically set at the $50.0\%$ (TP1 Long) and $38.2\%$ (TP2 Long) levels for Long trades, and the $70.5\%$ (TP1 Short) and $78.6\%$ (TP2 Short) levels for Short trades, ensuring disciplined profit-taking.SL Placement: The initial Stop Loss is strategically placed at the deep $78.6\%$ (Long) or $38.2\%$ (Short) level, providing wide protection against volatility before the target is hit.3.
🚦 RSI Momentum ConfirmationMomentum is crucial for timing successful reversals. The indicator integrates the Relative Strength Index (RSI) for powerful confirmation:Oversold/Overbought Signals: Clear labels (OVERBOUGHT (SELL) / OVERSOLD (BUY)) are generated directly on the price chart when the RSI crosses the critical $70$ and $30$ levels, respectively.Dual Visibility: You get both a visual arrow/text on the main chart (governed by the show_rsi_indicator toggle) and independent alarms to confirm the momentum shift coinciding with a structural level.
🔔 FX ALARM System: Never Miss an OpportunityThe robust alert system ensures you are instantly notified of high-probability events, even when away from your screen:GOLDEN ENTRY ALARM: Triggers when price crosses the crucial $61.8\%$ Golden Ratio, signaling a potential trade setup.STRUCTURAL BREAKOUT ALARMS: Instant notification when Supply (Highest High) or Demand (Lowest Low) zones are breached.TP HIT ALARMS: Alerts for Long TP1 (50.0%) and Short TP1 (70.5%) hits, vital for managing partial exits and moving your stop loss to breakeven.
🔑 How to Use This Indicator for Disciplined TradingSet Your Context: Select a higher Timeframe for Zones & Fib (e.g., "D" or "240") than your execution timeframe (e.g., 5m or 15m).Wait for the Setup: Wait for the price to retrace and approach the $61.8\%$ Golden Ratio.Confirm & Execute: Confirm the setup with a concurrent RSI Oversold/Overbought signal. If the price crosses $61.8\%$, the system instantly plots the E (Entry), TP1/TP2, and SL levels for a disciplined trade.Elevate your strategy with the FIBONACCI FX ALARM PRO (V13). Precision, structure, and momentum—all in one powerful tool.
👉 Add it to your favorites now and start executing high-confidence trades!
able FRVP Reversal# able FRVP Reversal - Complete User Guide
## 📌 Overview
**able FRVP Reversal** is a professional-grade Volume Profile indicator with an integrated reversal detection system. It combines Fixed Range Volume Profile (FRVP) analysis with a confluence-based reversal scoring system to identify high-probability turning points at key volume levels.
---
## ✨ Key Features
| Feature | Description |
|---------|-------------|
| **Session-Based Volume Profile** | Automatically resets at the beginning of each regular trading session |
| **POC (Point of Control)** | Highest volume price level - strongest support/resistance |
| **VAH (Value Area High)** | Upper boundary of the 70% value area - resistance zone |
| **VAL (Value Area Low)** | Lower boundary of the 70% value area - support zone |
| **Confluence Scoring System** | 5-point scoring system for reversal detection |
| **Smart Cooldown** | Prevents signal spam with customizable cooldown period |
| **Real-time Info Table** | Displays all key metrics in a retro-style dashboard |
---
## 🔧 Installation
1. Open TradingView and go to **Pine Editor**
2. Delete any existing code and paste the indicator code
3. Click **"Add to Chart"**
4. Configure settings as needed
---
## ⚙️ Settings Explained
### 📊 Volume Profile Settings
| Setting | Default | Description |
|---------|---------|-------------|
| **Number of Rows** | 50 | Resolution of the volume profile (more rows = finer detail) |
| **Value Area %** | 70 | Percentage of volume to include in Value Area (industry standard: 70%) |
| **Profile Width** | 40 | Visual width of the histogram on chart |
| **Show Histogram** | ✓ | Display volume histogram bars |
| **Show POC/VAH/VAL** | ✓ | Display the three key levels |
| **Show Labels** | ✓ | Display price labels for each level |
| **Extend Lines** | ✓ | Extend levels to the right of current price |
| **Extend Length** | 100 | How far to extend the lines (in bars) |
### 🔄 Reversal Detection Settings
| Setting | Default | Description |
|---------|---------|-------------|
| **Enable Reversal Detection** | ✓ | Turn reversal signals on/off |
| **Min Confluence Score** | 3 | Minimum score required to trigger signal (1-5) |
| **Cooldown Bars** | 10 | Minimum bars between signals to prevent spam |
#### Understanding Min Confluence Score:
- **Score 1-2**: Very sensitive, many signals (not recommended)
- **Score 3**: Balanced - good for most traders ⭐ Recommended
- **Score 4**: Conservative - fewer but higher quality signals
- **Score 5**: Very strict - only strongest reversals
### 🎨 Color Settings
All colors are fully customizable:
- **POC Line**: Default Gold (#FFD700)
- **VAH Line**: Default Coral Red (#FF6B6B)
- **VAL Line**: Default Teal (#4ECDC4)
- **Bullish Reversal**: Default Green (#00E676)
- **Bearish Reversal**: Default Red (#FF5252)
---
## 📖 How to Read the Indicator
### Volume Profile Histogram
```
█████████████ ← High volume = Strong S/R
████████ ← Medium volume
████ ← Low volume = Weak S/R
██
```
- **Darker/Longer bars** = More trading activity at that price
- **Inside Value Area** = Colored based on session direction (Bull/Bear)
- **Outside Value Area** = Muted gray color
### Key Levels
| Level | Color | Meaning |
|-------|-------|---------|
| **POC** | Yellow | Price with highest volume - Strongest magnet |
| **VAH** | Red | Upper resistance - Look for bearish reversals |
| **VAL** | Teal | Lower support - Look for bullish reversals |
---
## 🔄 Reversal Detection System
### How the Scoring System Works
The indicator uses a **5-point confluence scoring system**. Each condition adds 1 point:
#### 🟢 Bullish Reversal Score (at VAL)
| Condition | Points | Description |
|-----------|--------|-------------|
| Price at VAL Zone | +1 | Price is within VAL ± 0.2 ATR |
| Bullish Candle | +1 | Close > Open (green candle) |
| RSI Oversold | +1 | RSI < 35 |
| Rejection Wick | +1 | Lower wick > 1.5× body size |
| Failed Breakdown | +1 | Touched below VAL but closed above |
#### 🔴 Bearish Reversal Score (at VAH)
| Condition | Points | Description |
|-----------|--------|-------------|
| Price at VAH Zone | +1 | Price is within VAH ± 0.2 ATR |
| Bearish Candle | +1 | Close < Open (red candle) |
| RSI Overbought | +1 | RSI > 65 |
| Rejection Wick | +1 | Upper wick > 1.5× body size |
| Failed Breakout | +1 | Touched above VAH but closed below |
### Signal Quality Ratings
| Score | Rating | Meaning |
|-------|--------|---------|
| 5/5 | ★★★ | Excellent - Highest probability |
| 4/5 | ★★ | Good - High probability |
| 3/5 | ★ | Acceptable - Moderate probability |
| <3 | - | No signal triggered |
---
## 📋 Info Table Explained
```
╔═ able-REV ═╗ 15 ████████ SCR
─────────────────────────────────────
ZONE UPPER VA ▒▒▓▓████ ▲
POC 4272.680 ██████·· ▲
VAH 4322.745 ████···· ·
VAL 4264.977 ██████·· ·
═ SCORE ═════════════════════════════
BULL 0/5 ········ ·
BEAR 1/5 ░······· ·
RSI 49 ▒▒▓▓···· ·
◄SIGNAL► WAIT ········ ·
```
| Row | Description |
|-----|-------------|
| **ZONE** | Current price position relative to Value Area |
| **POC/VAH/VAL** | Price levels with distance indicators |
| **BULL Score** | Current bullish confluence score |
| **BEAR Score** | Current bearish confluence score |
| **RSI** | RSI value with OB/OS status |
| **SIGNAL** | Current signal status (BUY/SELL/WAIT) |
### Zone Types
| Zone | Meaning | Bias |
|------|---------|------|
| ABOVE VAH | Price broke above resistance | Bullish (but watch for rejection) |
| ⚠ AT VAH | Price testing resistance | Watch for bearish reversal |
| UPPER VA | Price in upper value area | Slight bullish bias |
| LOWER VA | Price in lower value area | Slight bearish bias |
| ⚠ AT VAL | Price testing support | Watch for bullish reversal |
| BELOW VAL | Price broke below support | Bearish (but watch for rejection) |
---
## 📈 Trading Strategies
### Strategy 1: VAH Rejection (Bearish Reversal)
**Setup:**
1. Price approaches or touches VAH (red dashed line)
2. BEAR score reaches 3+ (or your minimum setting)
3. REV signal appears above the candle
**Entry:**
- Enter SHORT on signal candle close
- Or wait for confirmation candle
**Stop Loss:**
- Above the signal candle high
- Or above VAH + 0.5 ATR
**Take Profit:**
- First target: POC (yellow line)
- Second target: VAL (teal line)
---
### Strategy 2: VAL Bounce (Bullish Reversal)
**Setup:**
1. Price approaches or touches VAL (teal dashed line)
2. BULL score reaches 3+ (or your minimum setting)
3. REV signal appears below the candle
**Entry:**
- Enter LONG on signal candle close
- Or wait for confirmation candle
**Stop Loss:**
- Below the signal candle low
- Or below VAL - 0.5 ATR
**Take Profit:**
- First target: POC (yellow line)
- Second target: VAH (red line)
---
### Strategy 3: POC Bounce
**Setup:**
1. Price pulls back to POC after trending
2. POC acts as support/resistance
3. Watch for reversal candle patterns
**Entry:**
- Long if bullish candle at POC from below
- Short if bearish candle at POC from above
**Stop Loss:**
- Other side of POC ± buffer
---
## ⚠️ Important Notes
### When Signals Work Best
✅ **High Probability Setups:**
- Score 4-5 with clear rejection wick
- RSI confirms (oversold for long, overbought for short)
- First test of VAH/VAL in the session
- Clear trend before reversal
❌ **Low Probability Setups:**
- Score barely meeting minimum (3/5)
- Multiple tests of same level (level weakening)
- Low volume/choppy market
- News events pending
### Risk Management Rules
1. **Never risk more than 1-2% per trade**
2. **Always use stop loss** - place beyond the level
3. **Wait for candle close** - don't enter on wick touches
4. **Respect the cooldown** - avoid overtrading
5. **Consider the trend** - counter-trend reversals are riskier
---
## 🔔 Alerts
The indicator includes built-in alerts:
| Alert | Trigger |
|-------|---------|
| VAL Bullish Reversal | BULL score meets minimum at VAL |
| VAH Bearish Reversal | BEAR score meets minimum at VAH |
### Setting Up Alerts:
1. Right-click on the chart
2. Select "Add Alert"
3. Choose "able FRVP Reversal" as condition
4. Select desired alert type
5. Configure notification method
---
## 💡 Pro Tips
1. **Combine with trend analysis** - Reversals in trend direction are more reliable
2. **Watch for confluence with other S/R** - If VAH/VAL aligns with round numbers, previous highs/lows, or fib levels, the level is stronger
3. **Volume confirmation** - Higher volume on reversal candle = stronger signal
4. **Time of day matters** - Reversals during active trading hours are more reliable
5. **Adjust sensitivity by market** - Volatile assets may need higher Min Confluence Score
6. **Use multiple timeframes** - Check if reversal level aligns with higher timeframe levels
---
## 🔧 Recommended Settings by Trading Style
| Style | Min Confluence | Cooldown | Best For |
|-------|----------------|----------|----------|
| Scalping | 3 | 5-7 | Quick trades, more signals |
| Day Trading | 3-4 | 10-15 | Balanced approach |
| Swing Trading | 4-5 | 20+ | Fewer, higher quality signals |
---
## ❓ Troubleshooting
| Issue | Solution |
|-------|----------|
| No signals appearing | Lower Min Confluence Score or check if market is ranging |
| Too many signals | Increase Min Confluence Score or Cooldown Bars |
| Levels not showing | Enable Show POC/VAH/VAL in settings |
| Histogram too wide/narrow | Adjust Profile Width setting |
---
## 📞 Support
For questions, suggestions, or bug reports, please contact the developer.
---
**Version:** 1.0
**Last Updated:** 2024
**Platform:** TradingView (Pine Script v6)
Daily Auto-Fib Zones (Custom Colors)This indicator automatically draws daily Fibonacci-based zones using the current session’s high and low. The levels update dynamically as new price action forms and include optional visual regions for several commonly referenced retracement percentages.
Features include:
• Automatic detection of the daily high and low
• Real-time updates throughout the session
• Optional zones for 0.11–0.17, 0.5, and 0.618–0.786 levels
• Custom color inputs for every line and zone
• Dynamic boxes that expand with the day’s range
• Lightweight visual layout with toggleable components
The tool is intended purely for chart visualization. It does not provide signals or trade recommendations.
Weekly Auto-Fib Zones (Custom Colors) This script automatically plots weekly Fibonacci-based zones using the current week’s high and low. It updates dynamically as new price action forms and provides optional visual regions for key retracement areas.
The indicator includes:
• Weekly high/low anchor lines
• Optional 0.11–0.17 zones
• Optional 0.5 midpoint (premium/discount)
• Optional 0.618–0.786 retracement band
• Customizable colors for each level
• Dynamic boxes that expand as the week progresses
It is designed as a visual aid for identifying weekly ranges, contextual zones, and potential areas of interest based solely on Fibonacci percentages. No signals, alerts, or trading recommendations are included.
FANBLASTERFANBLASTER
Methodology & Rules (Live Trading Version)
Purpose
Catch the exact moment the market flips from chop into a high-conviction trending move using a clean, stacked Fib EMA ribbon + volatility + volume confirmation.
Core Idea
When the 5-8-13-21-34-55 EMA stack suddenly “fans out” in perfect order with significant separation, a real trend is being born. Most retail traders chase late – FANBLASTER alerts you on the very first bar the fan opens.
What Triggers a “FAN BLAST” Alert
Perfect EMA Alignment
Bullish: 5 > 8 > 13 > 21 > 34 > 55
Bearish: 5 < 8 < 13 < 21 < 34 < 55
(Has to flip from NOT aligned on the previous bar → aligned on this bar)
Significant Separation
Distance between EMA 5 and EMA 55 ≥ 1.3 × ATR(14)
(1.3 is the ES sweet spot – filters fake little wiggles)
Trend Strength Confirmation
ADX(14) ≥ 22
(Ensures the move isn’t just noise; ES trends explode while ADX is still climbing)
Volume Conviction
Current volume > 1.4 × 20-period EMA of volume
(Real moves have real participation)
When ALL FOUR conditions are true on the same bar → you get the green or red circle + phone alert.
How to Trade It (Live Rules)
Alert fires → look at the chart immediately
If price is pulling back to the 8 or 13 EMA in the direction of the fan → enter on touch or close above/below
Initial stop: opposite side of the fan (below the 55 for longs, above the 55 for shorts)
Target: 2–4 R minimum, trail with the 21 or 34 once in profit
No alert = stay flat. This is a “trend birth” sniper, not a scalping tool.
Best Instruments & Timeframes (2025)
ES & NQ futures
2 min, 5 min, 15 min (all work with the exact same settings)
Works on MES/MNQ too (same params)
Bottom Line
FANBLASTER sits silent 90 % of the day and only screams when the market is actually about to run 20–100+ points.
One alert = one high-probability trend. That’s it.
Lock it, load it, and let the phone do the hunting.
Good luck, stay disciplined, and stack those points.
— Your edge is now live.






















