OPEN-SOURCE SCRIPT
Geometry Academy

# geometry academy — projection, levels and market timing
geometry academy is an educational indicator dedicated to market geometry, price levels, projections and timing.
it combines several classical methods inside a single interface:
* fibonacci retracements and extensions
* golden pocket
* ab=cd projection
* double top and double bottom
* ichimoku system
* andrews pitchfork
* session vwap
* anchored vwap
* approximate volume profile
* poc, vah and val
* linear regression channel
* cycle interval estimation
* relative strength against a benchmark
* confluence scanner
* educational lessons
* reference curriculum
* built-in glossary
the objective is not to generate automatic entries or promise a result. the indicator is designed to explain where important zones are located, why they exist and how several independent methods can converge around the same area.
a single line represents one piece of information. several independent levels grouped in the same area form a confluence zone worth studying.
---
## general operation
geometry academy uses confirmed pivots to build its geometry.
a pivot high or pivot low becomes available only after the number of bars defined in the “swing · right bars” setting has closed.
this means a swing is never known exactly when it forms. it is confirmed several bars later and then displayed on its original bar.
this behavior prevents an unfinished high or low from being treated as a definitive pivot.
rolling tools such as vwap, volume profile, regression and relative strength naturally continue to update as new bars are added.
---
# indicator modules
## fibonacci retracement
the fibonacci module measures the retracement depth of the latest confirmed leg.
the available levels are:
* 0.0
* 0.236
* 0.382
* 0.5
* 0.618
* 0.786
* 1.0
on a bullish leg, the levels help study pullback zones below the latest high.
on a bearish leg, they help study rebound zones above the latest low.
the levels are not buy or sell signals. they only identify areas where a reaction may become relevant.
## golden pocket
the golden pocket is the zone between the 0.618 and 0.65 retracement levels.
it is displayed as a zone rather than a precise line because market reactions do not always occur at one exact price.
a trade should not be decided only because price touches this area. price reaction, structure and other nearby levels must also be studied.
## fibonacci extensions
the 1.272, 1.618 and 2.0 extensions project targets beyond the reference leg.
they are mainly intended for studying potential objectives after the original movement resumes.
an extension is generally more useful when it aligns with:
* a previous high or low
* a vah or val
* a poc
* a pitchfork median
* an ab=cd projection
* a regression band
## ab=cd projection
the ab=cd model studies symmetry between two price legs.
the distance from a to b is projected from point c to estimate a potential point d.
point d is a mathematical completion zone. it does not guarantee a reversal.
a projection becomes more relevant when:
* bc is a coherent retracement of ab
* cd moves in the same direction as ab
* point d aligns with another important zone
* the duration of cd remains close to the duration of ab
* price shows a confirmed reaction around d
## double top and double bottom
the module looks for structures such as:
* high, low, high for a double top
* low, high, low for a double bottom
the tolerance between the two highs or two lows is calculated with atr.
the second high or low only creates the initial structure.
a double top is confirmed when price closes below the neckline.
a double bottom is confirmed when price closes above the neckline.
before the neckline breaks, the pattern remains a possibility rather than a confirmed setup.
## ichimoku kinko hyo
the ichimoku system is displayed with:
* tenkan-sen
* kijun-sen
* senkou span a
* senkou span b
* kumo
* chikou span
simplified interpretation:
* price above the kumo: bullish regime
* price below the kumo: bearish regime
* price inside the kumo: neutral or uncertain regime
* tenkan above kijun: positive short-term momentum
* tenkan below kijun: negative short-term momentum
the cloud is intentionally projected forward. chikou is intentionally shifted backward. these displacements are part of the standard ichimoku construction.
a tenkan and kijun cross must always be interpreted within context. a bullish cross below a bearish cloud does not carry the same meaning as a bullish cross above a bullish cloud.
## andrews pitchfork
the pitchfork is built from three alternating confirmed pivots.
the median line begins at the first pivot and passes through the midpoint of the next two pivots.
the two outer lines are parallel to the median.
the pitchfork helps study:
* the geometric direction of the swing
* returns toward the median
* acceleration toward an outer line
* structural weakness after a breakout
* areas where the median aligns with another level
the pitchfork depends directly on the quality of the three selected pivots. when a new significant swing is confirmed, the geometry may be recalculated.
## session vwap
vwap represents the session’s volume-weighted average price.
simplified interpretation:
* price above a rising vwap: intraday advantage for buyers
* price below a falling vwap: intraday advantage for sellers
* return toward vwap: return toward the session’s weighted average
* loss and reclaim of vwap: potential intraday control change
vwap is especially useful on markets with meaningful volume data.
## anchored vwap
anchored vwap begins its calculation from the selected date.
it can be used to study the volume-weighted average price since a specific event:
* origin of a movement
* breakout
* important high or low
* monthly open
* asset launch
* fundamental event
* regime change
anchored vwap does not reveal the exact price paid by every market participant. it represents a weighted average from the selected anchor.
the quality of the level therefore depends directly on the relevance of the selected date.
## volume profile
the volume profile distributes the lookback volume across several price zones.
it provides:
* poc
* vah
* val
* an optional horizontal histogram
the poc represents the profile row that received the largest allocated volume.
the vah is the upper boundary of the value area.
the val is the lower boundary of the value area.
simplified interpretation:
* price near poc: potential high-acceptance zone
* price between vah and val: price located inside the value area
* price above vah: price above the studied value zone
* price below val: price below the studied value zone
this profile is an approximation calculated from the ohlcv data available on the chart. it does not replace a native profile built from more detailed intrabar data.
## linear regression channel
the center line represents the best-fit linear trend over the selected period.
the bands are calculated using the dispersion of residuals around that line.
the module helps study:
* the statistical direction of price
* the distance between price and its central trend
* periods of extension
* returns toward the mean
* slope changes
a band touch is not automatically a reversal signal.
in a strong trend, price may remain close to an outer band for several bars.
## cycle projection
the cycle module measures the intervals between several confirmed swing lows.
it uses their average spacing to project a potential future time window.
this projection represents an area of attention rather than a guaranteed reversal date.
cycles may contract, expand or disappear during a regime change.
price level must always be studied separately from timing.
## relative strength
relative strength compares the chart symbol with a benchmark.
it is calculated using the ratio:
asset divided by benchmark
simplified interpretation:
* rising ratio: the asset is outperforming the benchmark
* falling ratio: the asset is underperforming the benchmark
* bullish turn in the ratio: improving relative performance
* bearish turn in the ratio: weakening relative performance
this relative strength measure is not the rsi oscillator.
for an altcoin, btc may be used as the benchmark. for a stock, a sector index or broad market index may be more appropriate.
---
# explanation of every input
## anchors
### swing · left bars
defines the number of bars located to the left of the pivot.
a higher value selects more significant swings and reduces the number of detected pivots.
a lower value detects more minor movements.
### swing · right bars
defines the number of bars required after the pivot before it becomes confirmed.
a higher value produces more stable geometry but increases confirmation delay.
a lower value reacts faster but includes more market noise.
---
## fibonacci
### auto-fibonacci on the active leg
enables or disables the automatic fibonacci drawn on the latest confirmed leg.
### extension targets
enables the 1.272, 1.618 and 2.0 projections.
### highlight the golden pocket
displays the area between 0.618 and 0.65.
### 0.0
displays the reference end of the movement.
### 0.236
displays a shallow retracement, mainly useful in strong trends.
### 0.382
displays a moderate retracement.
### 0.5
displays the midpoint of the movement. this is not a pure fibonacci ratio, but it is widely used.
### 0.618
displays the retracement related to the inverse golden ratio.
### 0.786
displays a deep retracement near the full invalidation of the leg.
---
## ab=cd symmetry
### project the ab=cd completion
enables or disables the point d projection based on the latest compatible pivots.
---
## chart patterns
### detect double top / double bottom
enables the search for double top and double bottom structures.
### twin-peak tolerance
defines the maximum allowed distance between the two highs or two lows.
the tolerance is expressed as an atr multiple.
example:
* 0.3 atr: strict detection
* 0.6 atr: balanced setting
* 1.0 atr: more permissive detection
---
## ichimoku kinko hyo
### ichimoku cloud
enables the ichimoku system.
### tenkan-sen
defines the period of the fast conversion line.
the classical setting is 9.
### kijun-sen
defines the period of the base line.
the classical setting is 26.
### senkou span b
defines the period used for the second cloud boundary.
the classical setting is 52.
### cloud displacement
defines how far the cloud is projected into the future.
the classical setting is 26.
### chikou span
enables the current close displayed backward according to the ichimoku displacement.
---
## andrews pitchfork
### andrews pitchfork from last 3 anchors
enables the pitchfork built from the latest three confirmed alternating pivots.
---
## vwap
### session / rolling vwap
enables the standard session vwap.
### anchored vwap
enables the vwap calculated from a specific date.
### anchor date
defines the starting point of the anchored vwap.
it is better to choose a date linked to an event that had real importance on the chart.
---
## volume profile
### volume profile
enables the profile, poc, vah and val.
### profile lookback
defines the number of bars included in the calculation.
a short lookback follows recent structure.
a long lookback describes a broader market area but reacts more slowly.
### number of price bins
defines the vertical resolution of the profile.
fewer bins:
* simpler profile
* wider levels
* lighter calculation
more bins:
* more detailed profile
* more precise levels
* greater sensitivity to noise
### value area %
defines the percentage of allocated volume included around the poc.
the classical setting is 70%.
### draw the profile histogram
shows or hides the horizontal profile bars while keeping the main levels.
---
## regression channel
### linear regression channel
enables the regression channel.
### regression length
defines the number of bars used to calculate the linear trend.
a small value follows price quickly.
a large value represents a slower and more structural trend.
### channel width
multiplies the dispersion of residuals around the center line.
a low value produces a narrow channel.
a high value produces a wider channel.
---
## market cycles
### project the next cycle low
enables the projection of the next time window based on the average spacing between confirmed swing lows.
---
## relative strength
### benchmark symbol
selects the asset used as the reference.
examples:
* btc to compare an altcoin
* a broad market index to compare a stock
* a sector index to compare a company with its industry
* another currency pair to study relative rotation
### rs lookback
defines the period used to measure the change in the asset-to-benchmark ratio.
a low value reacts quickly.
a high value measures a more persistent relative trend.
---
## education ui
### panel · geometry dashboard
displays the main dashboard.
it summarizes:
* ichimoku regime
* tenkan and kijun relationship
* nearest fibonacci level
* poc
* vah and val
* price position inside the value area
* pitchfork median
* anchored vwap
* regression position
* ab=cd target
* relative strength
### dashboard position
defines the position of the main dashboard.
### panel · level-confluence scanner
enables the scanner that compares current price with the calculated levels.
### confluence position
defines the position of the confluence scanner.
### confluence cluster tolerance
defines the maximum distance between current price and a level for that level to be considered nearby.
the distance is expressed in atr.
example:
* 0.25 atr: very tight confluence
* 0.5 atr: precise confluence
* 0.75 atr: balanced setting
* 1.0 atr or more: wide zone
a tolerance that is too large may classify too many levels as nearby.
### panel · deep lesson
enables the panel containing a detailed educational lesson.
### lesson topic
allows the selection of one of twelve subjects:
1. fibonacci retracement
2. fibonacci extension
3. ab=cd and harmonic patterns
4. chart patterns
5. elliott wave
6. ichimoku
7. andrews pitchfork
8. vwap and anchored vwap
9. volume profile
10. regression channels
11. market cycles
12. relative strength
### panel · source curriculum
displays the main historical and methodological references associated with the modules.
### panel · glossary
displays quick definitions of the terms used in the indicator.
---
## style
### bull / support
defines the color used for bullish information and support areas.
### bear / resistance
defines the color used for bearish information and resistance areas.
### accent / value
defines the color used for value levels, poc, medians and important elements.
### geometry accent
defines the main color of the geometry tools and panel titles.
### secondary text
defines the color of secondary text and neutral information.
### panel background
defines the background color of the panels and selected labels.
---
# mini tutorial
## step 1 — begin with the default settings
keep the following values for a first use:
* swing left: 8
* swing right: 8
* fibonacci enabled
* ichimoku enabled
* pitchfork enabled
* vwap enabled
* volume profile enabled
* regression length: 120
* confluence tolerance: 0.75 atr
these settings provide a balanced view of structure, levels and context.
## step 2 — identify the regime
begin by observing the kumo:
* above the cloud: mainly bullish context
* below the cloud: mainly bearish context
* inside the cloud: uncertain context
then check tenkan and kijun.
a bullish projection should not be interpreted the same way in a bearish regime.
## step 3 — locate price
observe:
* the active fibonacci retracement
* the golden pocket
* vah and val
* poc
* vwap
* anchored vwap
* pitchfork median
* regression bands
the objective is to determine whether price is:
* inside a value zone
* inside an extension zone
* near a potential reaction level
* in the middle of an area with no clear advantage
## step 4 — check confluence
open the confluence scanner.
several tools located near the same price may identify an area worth monitoring.
example:
* 0.618 fibonacci
* val
* anchored vwap
* lower regression band
this combination does not guarantee a bounce, but it describes a technically more important zone than a single isolated level.
## step 5 — wait for the reaction
then observe actual price behavior:
* wick rejection
* close above or below the level
* vwap reclaim
* neckline break
* structure change
* volatility expansion
* improvement or deterioration in relative strength
geometry provides the area. price provides the confirmation.
---
# use cases
## example 1 — pullback in a bullish trend
context:
* price above the kumo
* tenkan above kijun
* latest confirmed movement is bullish
* price is retracing
procedure:
1. identify the 0.382, 0.5, 0.618 and 0.786 levels
2. check whether the golden pocket aligns with val or anchored vwap
3. check the pitchfork median
4. consult the confluence scanner
5. wait for a bullish close or reaction around the zone
an entry in the middle of the movement generally provides less structure than an entry studied around a pullback into confluence.
## example 2 — range market
context:
* price inside the kumo
* nearly flat regression
* price between vah and val
* frequent returns toward poc
procedure:
1. treat poc as the center of rotation
2. observe vah as the upper value boundary
3. observe val as the lower value boundary
4. avoid interpreting every internal move as a new trend
5. wait for a close and acceptance outside the value area before considering a breakout
in this context, fibonacci extensions are often less useful than volume profile and regression.
## example 3 — double top
context:
* first confirmed high
* pullback toward a pivot low
* second high close to the first one
procedure:
1. confirm that both highs respect the atr tolerance
2. identify the neckline at the intermediate pivot low
3. do not treat the pattern as confirmed at the second high
4. wait for a close below the neckline
5. use the height of the structure as a theoretical projection
6. check whether the target aligns with val, an extension or previous support
## example 4 — studying an altcoin against btc
context:
* chart symbol: an altcoin
* benchmark: binance:btcusdt
procedure:
1. study the normal trend of the asset
2. study its relative strength against btc
3. favor assets that are also gaining against the benchmark
4. remain cautious when the asset rises in usd but underperforms btc
5. combine relative strength with structure, volume profile and ichimoku
## example 5 — projection target
context:
* valid ab=cd structure
* point d close to a 1.618 extension
* vah or a previous high in the same area
* upper regression band nearby
procedure:
1. treat the area as a potential objective
2. do not automatically assume a reversal
3. observe price reaction on arrival
4. distinguish a simple pause from a real structure break
5. use confluence to organize the analysis
---
# available alerts
## price entered bullish regime
triggers when price closes above the ichimoku cloud.
## price entered bearish regime
triggers when price closes below the ichimoku cloud.
## tenkan/kijun bullish cross
triggers when tenkan crosses above kijun.
## tenkan/kijun bearish cross
triggers when tenkan crosses below kijun.
## avwap reclaimed
triggers when price reclaims anchored vwap.
## avwap lost
triggers when price loses anchored vwap.
## relative strength turned up
triggers when relative strength begins rising again.
## relative strength turned down
triggers when relative strength begins falling again.
to reduce intrabar alerts, use a bar-close frequency in the tradingview alert settings.
---
# multi-timeframe use
a simple method is to separate context from execution.
swing example:
* daily chart: ichimoku regime, volume profile and relative strength
* 4-hour chart: fibonacci, pitchfork and regression
* 1-hour chart: price reaction and confirmation
intraday example:
* 1-hour chart: general structure
* 15-minute chart: value area, vwap and fibonacci levels
* 5-minute chart: reaction around the zone
pivot settings should be adapted to the timeframe.
on a low timeframe, slightly increasing the pivot values may reduce noise.
on a high timeframe, pivot settings that are too large may produce very few new structures.
---
# data behavior
pivots are confirmed only after several bars.
a pivot may therefore appear on an earlier bar only after its confirmation.
fibonacci levels, pitchfork and ab=cd projection change when a new confirmed pivot updates the active geometry.
volume profile, vwap, regression, cycles and relative strength are rolling calculations. their values change as each new bar is added.
no projection tool should be interpreted as certainty about the future.
---
# good practices
* begin with only a few visible modules
* add tools gradually
* do not use one line as a complete signal
* identify the regime before looking for an entry
* separate projection from confirmation
* adapt pivot settings to the timeframe
* choose a meaningful anchored vwap date
* choose a coherent benchmark
* keep a reasonable confluence tolerance
* study price reaction before making a decision
* use the lessons and glossary to understand each tool
geometry academy is designed as an educational and analytical environment. it helps connect structure, value, geometry, timing and relative strength inside an organized market-reading process.
geometry academy is an educational indicator dedicated to market geometry, price levels, projections and timing.
it combines several classical methods inside a single interface:
* fibonacci retracements and extensions
* golden pocket
* ab=cd projection
* double top and double bottom
* ichimoku system
* andrews pitchfork
* session vwap
* anchored vwap
* approximate volume profile
* poc, vah and val
* linear regression channel
* cycle interval estimation
* relative strength against a benchmark
* confluence scanner
* educational lessons
* reference curriculum
* built-in glossary
the objective is not to generate automatic entries or promise a result. the indicator is designed to explain where important zones are located, why they exist and how several independent methods can converge around the same area.
a single line represents one piece of information. several independent levels grouped in the same area form a confluence zone worth studying.
---
## general operation
geometry academy uses confirmed pivots to build its geometry.
a pivot high or pivot low becomes available only after the number of bars defined in the “swing · right bars” setting has closed.
this means a swing is never known exactly when it forms. it is confirmed several bars later and then displayed on its original bar.
this behavior prevents an unfinished high or low from being treated as a definitive pivot.
rolling tools such as vwap, volume profile, regression and relative strength naturally continue to update as new bars are added.
---
# indicator modules
## fibonacci retracement
the fibonacci module measures the retracement depth of the latest confirmed leg.
the available levels are:
* 0.0
* 0.236
* 0.382
* 0.5
* 0.618
* 0.786
* 1.0
on a bullish leg, the levels help study pullback zones below the latest high.
on a bearish leg, they help study rebound zones above the latest low.
the levels are not buy or sell signals. they only identify areas where a reaction may become relevant.
## golden pocket
the golden pocket is the zone between the 0.618 and 0.65 retracement levels.
it is displayed as a zone rather than a precise line because market reactions do not always occur at one exact price.
a trade should not be decided only because price touches this area. price reaction, structure and other nearby levels must also be studied.
## fibonacci extensions
the 1.272, 1.618 and 2.0 extensions project targets beyond the reference leg.
they are mainly intended for studying potential objectives after the original movement resumes.
an extension is generally more useful when it aligns with:
* a previous high or low
* a vah or val
* a poc
* a pitchfork median
* an ab=cd projection
* a regression band
## ab=cd projection
the ab=cd model studies symmetry between two price legs.
the distance from a to b is projected from point c to estimate a potential point d.
point d is a mathematical completion zone. it does not guarantee a reversal.
a projection becomes more relevant when:
* bc is a coherent retracement of ab
* cd moves in the same direction as ab
* point d aligns with another important zone
* the duration of cd remains close to the duration of ab
* price shows a confirmed reaction around d
## double top and double bottom
the module looks for structures such as:
* high, low, high for a double top
* low, high, low for a double bottom
the tolerance between the two highs or two lows is calculated with atr.
the second high or low only creates the initial structure.
a double top is confirmed when price closes below the neckline.
a double bottom is confirmed when price closes above the neckline.
before the neckline breaks, the pattern remains a possibility rather than a confirmed setup.
## ichimoku kinko hyo
the ichimoku system is displayed with:
* tenkan-sen
* kijun-sen
* senkou span a
* senkou span b
* kumo
* chikou span
simplified interpretation:
* price above the kumo: bullish regime
* price below the kumo: bearish regime
* price inside the kumo: neutral or uncertain regime
* tenkan above kijun: positive short-term momentum
* tenkan below kijun: negative short-term momentum
the cloud is intentionally projected forward. chikou is intentionally shifted backward. these displacements are part of the standard ichimoku construction.
a tenkan and kijun cross must always be interpreted within context. a bullish cross below a bearish cloud does not carry the same meaning as a bullish cross above a bullish cloud.
## andrews pitchfork
the pitchfork is built from three alternating confirmed pivots.
the median line begins at the first pivot and passes through the midpoint of the next two pivots.
the two outer lines are parallel to the median.
the pitchfork helps study:
* the geometric direction of the swing
* returns toward the median
* acceleration toward an outer line
* structural weakness after a breakout
* areas where the median aligns with another level
the pitchfork depends directly on the quality of the three selected pivots. when a new significant swing is confirmed, the geometry may be recalculated.
## session vwap
vwap represents the session’s volume-weighted average price.
simplified interpretation:
* price above a rising vwap: intraday advantage for buyers
* price below a falling vwap: intraday advantage for sellers
* return toward vwap: return toward the session’s weighted average
* loss and reclaim of vwap: potential intraday control change
vwap is especially useful on markets with meaningful volume data.
## anchored vwap
anchored vwap begins its calculation from the selected date.
it can be used to study the volume-weighted average price since a specific event:
* origin of a movement
* breakout
* important high or low
* monthly open
* asset launch
* fundamental event
* regime change
anchored vwap does not reveal the exact price paid by every market participant. it represents a weighted average from the selected anchor.
the quality of the level therefore depends directly on the relevance of the selected date.
## volume profile
the volume profile distributes the lookback volume across several price zones.
it provides:
* poc
* vah
* val
* an optional horizontal histogram
the poc represents the profile row that received the largest allocated volume.
the vah is the upper boundary of the value area.
the val is the lower boundary of the value area.
simplified interpretation:
* price near poc: potential high-acceptance zone
* price between vah and val: price located inside the value area
* price above vah: price above the studied value zone
* price below val: price below the studied value zone
this profile is an approximation calculated from the ohlcv data available on the chart. it does not replace a native profile built from more detailed intrabar data.
## linear regression channel
the center line represents the best-fit linear trend over the selected period.
the bands are calculated using the dispersion of residuals around that line.
the module helps study:
* the statistical direction of price
* the distance between price and its central trend
* periods of extension
* returns toward the mean
* slope changes
a band touch is not automatically a reversal signal.
in a strong trend, price may remain close to an outer band for several bars.
## cycle projection
the cycle module measures the intervals between several confirmed swing lows.
it uses their average spacing to project a potential future time window.
this projection represents an area of attention rather than a guaranteed reversal date.
cycles may contract, expand or disappear during a regime change.
price level must always be studied separately from timing.
## relative strength
relative strength compares the chart symbol with a benchmark.
it is calculated using the ratio:
asset divided by benchmark
simplified interpretation:
* rising ratio: the asset is outperforming the benchmark
* falling ratio: the asset is underperforming the benchmark
* bullish turn in the ratio: improving relative performance
* bearish turn in the ratio: weakening relative performance
this relative strength measure is not the rsi oscillator.
for an altcoin, btc may be used as the benchmark. for a stock, a sector index or broad market index may be more appropriate.
---
# explanation of every input
## anchors
### swing · left bars
defines the number of bars located to the left of the pivot.
a higher value selects more significant swings and reduces the number of detected pivots.
a lower value detects more minor movements.
### swing · right bars
defines the number of bars required after the pivot before it becomes confirmed.
a higher value produces more stable geometry but increases confirmation delay.
a lower value reacts faster but includes more market noise.
---
## fibonacci
### auto-fibonacci on the active leg
enables or disables the automatic fibonacci drawn on the latest confirmed leg.
### extension targets
enables the 1.272, 1.618 and 2.0 projections.
### highlight the golden pocket
displays the area between 0.618 and 0.65.
### 0.0
displays the reference end of the movement.
### 0.236
displays a shallow retracement, mainly useful in strong trends.
### 0.382
displays a moderate retracement.
### 0.5
displays the midpoint of the movement. this is not a pure fibonacci ratio, but it is widely used.
### 0.618
displays the retracement related to the inverse golden ratio.
### 0.786
displays a deep retracement near the full invalidation of the leg.
---
## ab=cd symmetry
### project the ab=cd completion
enables or disables the point d projection based on the latest compatible pivots.
---
## chart patterns
### detect double top / double bottom
enables the search for double top and double bottom structures.
### twin-peak tolerance
defines the maximum allowed distance between the two highs or two lows.
the tolerance is expressed as an atr multiple.
example:
* 0.3 atr: strict detection
* 0.6 atr: balanced setting
* 1.0 atr: more permissive detection
---
## ichimoku kinko hyo
### ichimoku cloud
enables the ichimoku system.
### tenkan-sen
defines the period of the fast conversion line.
the classical setting is 9.
### kijun-sen
defines the period of the base line.
the classical setting is 26.
### senkou span b
defines the period used for the second cloud boundary.
the classical setting is 52.
### cloud displacement
defines how far the cloud is projected into the future.
the classical setting is 26.
### chikou span
enables the current close displayed backward according to the ichimoku displacement.
---
## andrews pitchfork
### andrews pitchfork from last 3 anchors
enables the pitchfork built from the latest three confirmed alternating pivots.
---
## vwap
### session / rolling vwap
enables the standard session vwap.
### anchored vwap
enables the vwap calculated from a specific date.
### anchor date
defines the starting point of the anchored vwap.
it is better to choose a date linked to an event that had real importance on the chart.
---
## volume profile
### volume profile
enables the profile, poc, vah and val.
### profile lookback
defines the number of bars included in the calculation.
a short lookback follows recent structure.
a long lookback describes a broader market area but reacts more slowly.
### number of price bins
defines the vertical resolution of the profile.
fewer bins:
* simpler profile
* wider levels
* lighter calculation
more bins:
* more detailed profile
* more precise levels
* greater sensitivity to noise
### value area %
defines the percentage of allocated volume included around the poc.
the classical setting is 70%.
### draw the profile histogram
shows or hides the horizontal profile bars while keeping the main levels.
---
## regression channel
### linear regression channel
enables the regression channel.
### regression length
defines the number of bars used to calculate the linear trend.
a small value follows price quickly.
a large value represents a slower and more structural trend.
### channel width
multiplies the dispersion of residuals around the center line.
a low value produces a narrow channel.
a high value produces a wider channel.
---
## market cycles
### project the next cycle low
enables the projection of the next time window based on the average spacing between confirmed swing lows.
---
## relative strength
### benchmark symbol
selects the asset used as the reference.
examples:
* btc to compare an altcoin
* a broad market index to compare a stock
* a sector index to compare a company with its industry
* another currency pair to study relative rotation
### rs lookback
defines the period used to measure the change in the asset-to-benchmark ratio.
a low value reacts quickly.
a high value measures a more persistent relative trend.
---
## education ui
### panel · geometry dashboard
displays the main dashboard.
it summarizes:
* ichimoku regime
* tenkan and kijun relationship
* nearest fibonacci level
* poc
* vah and val
* price position inside the value area
* pitchfork median
* anchored vwap
* regression position
* ab=cd target
* relative strength
### dashboard position
defines the position of the main dashboard.
### panel · level-confluence scanner
enables the scanner that compares current price with the calculated levels.
### confluence position
defines the position of the confluence scanner.
### confluence cluster tolerance
defines the maximum distance between current price and a level for that level to be considered nearby.
the distance is expressed in atr.
example:
* 0.25 atr: very tight confluence
* 0.5 atr: precise confluence
* 0.75 atr: balanced setting
* 1.0 atr or more: wide zone
a tolerance that is too large may classify too many levels as nearby.
### panel · deep lesson
enables the panel containing a detailed educational lesson.
### lesson topic
allows the selection of one of twelve subjects:
1. fibonacci retracement
2. fibonacci extension
3. ab=cd and harmonic patterns
4. chart patterns
5. elliott wave
6. ichimoku
7. andrews pitchfork
8. vwap and anchored vwap
9. volume profile
10. regression channels
11. market cycles
12. relative strength
### panel · source curriculum
displays the main historical and methodological references associated with the modules.
### panel · glossary
displays quick definitions of the terms used in the indicator.
---
## style
### bull / support
defines the color used for bullish information and support areas.
### bear / resistance
defines the color used for bearish information and resistance areas.
### accent / value
defines the color used for value levels, poc, medians and important elements.
### geometry accent
defines the main color of the geometry tools and panel titles.
### secondary text
defines the color of secondary text and neutral information.
### panel background
defines the background color of the panels and selected labels.
---
# mini tutorial
## step 1 — begin with the default settings
keep the following values for a first use:
* swing left: 8
* swing right: 8
* fibonacci enabled
* ichimoku enabled
* pitchfork enabled
* vwap enabled
* volume profile enabled
* regression length: 120
* confluence tolerance: 0.75 atr
these settings provide a balanced view of structure, levels and context.
## step 2 — identify the regime
begin by observing the kumo:
* above the cloud: mainly bullish context
* below the cloud: mainly bearish context
* inside the cloud: uncertain context
then check tenkan and kijun.
a bullish projection should not be interpreted the same way in a bearish regime.
## step 3 — locate price
observe:
* the active fibonacci retracement
* the golden pocket
* vah and val
* poc
* vwap
* anchored vwap
* pitchfork median
* regression bands
the objective is to determine whether price is:
* inside a value zone
* inside an extension zone
* near a potential reaction level
* in the middle of an area with no clear advantage
## step 4 — check confluence
open the confluence scanner.
several tools located near the same price may identify an area worth monitoring.
example:
* 0.618 fibonacci
* val
* anchored vwap
* lower regression band
this combination does not guarantee a bounce, but it describes a technically more important zone than a single isolated level.
## step 5 — wait for the reaction
then observe actual price behavior:
* wick rejection
* close above or below the level
* vwap reclaim
* neckline break
* structure change
* volatility expansion
* improvement or deterioration in relative strength
geometry provides the area. price provides the confirmation.
---
# use cases
## example 1 — pullback in a bullish trend
context:
* price above the kumo
* tenkan above kijun
* latest confirmed movement is bullish
* price is retracing
procedure:
1. identify the 0.382, 0.5, 0.618 and 0.786 levels
2. check whether the golden pocket aligns with val or anchored vwap
3. check the pitchfork median
4. consult the confluence scanner
5. wait for a bullish close or reaction around the zone
an entry in the middle of the movement generally provides less structure than an entry studied around a pullback into confluence.
## example 2 — range market
context:
* price inside the kumo
* nearly flat regression
* price between vah and val
* frequent returns toward poc
procedure:
1. treat poc as the center of rotation
2. observe vah as the upper value boundary
3. observe val as the lower value boundary
4. avoid interpreting every internal move as a new trend
5. wait for a close and acceptance outside the value area before considering a breakout
in this context, fibonacci extensions are often less useful than volume profile and regression.
## example 3 — double top
context:
* first confirmed high
* pullback toward a pivot low
* second high close to the first one
procedure:
1. confirm that both highs respect the atr tolerance
2. identify the neckline at the intermediate pivot low
3. do not treat the pattern as confirmed at the second high
4. wait for a close below the neckline
5. use the height of the structure as a theoretical projection
6. check whether the target aligns with val, an extension or previous support
## example 4 — studying an altcoin against btc
context:
* chart symbol: an altcoin
* benchmark: binance:btcusdt
procedure:
1. study the normal trend of the asset
2. study its relative strength against btc
3. favor assets that are also gaining against the benchmark
4. remain cautious when the asset rises in usd but underperforms btc
5. combine relative strength with structure, volume profile and ichimoku
## example 5 — projection target
context:
* valid ab=cd structure
* point d close to a 1.618 extension
* vah or a previous high in the same area
* upper regression band nearby
procedure:
1. treat the area as a potential objective
2. do not automatically assume a reversal
3. observe price reaction on arrival
4. distinguish a simple pause from a real structure break
5. use confluence to organize the analysis
---
# available alerts
## price entered bullish regime
triggers when price closes above the ichimoku cloud.
## price entered bearish regime
triggers when price closes below the ichimoku cloud.
## tenkan/kijun bullish cross
triggers when tenkan crosses above kijun.
## tenkan/kijun bearish cross
triggers when tenkan crosses below kijun.
## avwap reclaimed
triggers when price reclaims anchored vwap.
## avwap lost
triggers when price loses anchored vwap.
## relative strength turned up
triggers when relative strength begins rising again.
## relative strength turned down
triggers when relative strength begins falling again.
to reduce intrabar alerts, use a bar-close frequency in the tradingview alert settings.
---
# multi-timeframe use
a simple method is to separate context from execution.
swing example:
* daily chart: ichimoku regime, volume profile and relative strength
* 4-hour chart: fibonacci, pitchfork and regression
* 1-hour chart: price reaction and confirmation
intraday example:
* 1-hour chart: general structure
* 15-minute chart: value area, vwap and fibonacci levels
* 5-minute chart: reaction around the zone
pivot settings should be adapted to the timeframe.
on a low timeframe, slightly increasing the pivot values may reduce noise.
on a high timeframe, pivot settings that are too large may produce very few new structures.
---
# data behavior
pivots are confirmed only after several bars.
a pivot may therefore appear on an earlier bar only after its confirmation.
fibonacci levels, pitchfork and ab=cd projection change when a new confirmed pivot updates the active geometry.
volume profile, vwap, regression, cycles and relative strength are rolling calculations. their values change as each new bar is added.
no projection tool should be interpreted as certainty about the future.
---
# good practices
* begin with only a few visible modules
* add tools gradually
* do not use one line as a complete signal
* identify the regime before looking for an entry
* separate projection from confirmation
* adapt pivot settings to the timeframe
* choose a meaningful anchored vwap date
* choose a coherent benchmark
* keep a reasonable confluence tolerance
* study price reaction before making a decision
* use the lessons and glossary to understand each tool
geometry academy is designed as an educational and analytical environment. it helps connect structure, value, geometry, timing and relative strength inside an organized market-reading process.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Light the candle that sleeps within you.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Light the candle that sleeps within you.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.