OPEN-SOURCE SCRIPT

Smart Money Concept [TradingFinder] Major OB + FVG + Liquidity

🔵Introduction

"Smart Money" refers to funds under the control of institutional investors, central banks, funds, market makers, and other financial entities. Ordinary people recognize investments made by those who have a deep understanding of market performance and possess information typically inaccessible to regular investors as "Smart Money".

Consequently, when market movements often diverge from expectations, traders identify the footprints of smart money. For example, when a classic pattern forms in the market, traders take short positions. However, the market might move upward instead. They attribute this contradiction to smart money and seek to capitalize on such inconsistencies in their trades.

The "Smart Money Concept" (SMC) is one of the primary styles of technical analysis that falls under the subset of "Price Action". Price action encompasses various subcategories, with one of the most significant being "Supply and Demand", in which SMC is categorized.

The SMC method aims to identify trading opportunities by emphasizing the impact of large traders (Smart Money) on the market, offering specific patterns, techniques, and trading strategies.


🟣Key Terms of Smart Money Concept (SMC)

• Market Structure (Trend)
• Change of Character (ChoCh)
• Break of Structure (BoS)
• Order Blocks (Supply and Demand)
• Imbalance (IMB)
• Inefficiency (IFC)
• Fair Value Gap (FVG)
• Liquidity
• Premium and Discount



🔵How Does the "Smart Money Concept Indicator" Work?

🟣Market Structure
a. Accumulation
b. Market-Up
c. Distribution
d. Market-Down

a) Accumulation Phase: During the accumulation period, typically following a downtrend, smart money enters the market without significantly affecting the pricing trend.

b) Market-Up Phase: In this phase, the price of an asset moves upward from the accumulation range and begins to rise. Usually, the buying by retail investors is the main driver of this trend, and due to positive market sentiment, it continues.

c) Distribution Phase: The distribution phase, unlike the accumulation stage, occurs after an uptrend. In this phase, smart money attempts to exit the market without causing significant price fluctuations.

d) Market-Down Phase: In this stage, the price of an asset moves downward from the distribution phase, initiating a prolonged downtrend. Smart money liquidates all its positions by creating selling pressure, trapping latecomer investors.

The result of these four phases in the market becomes the market trend.

captura


Types of Trends in Financial Markets:
a. Up-Trend
b. Down Trend
c. Range (No Trend)

a) Up-Trend: The market breaks consecutive highs.
b) Down Trend: The market breaks consecutive lows.
c) No Trend or Range: The market oscillates within a range without breaking either highs or lows.


captura


captura


🟣Change of Character (ChoCh)

The "ChoCh" or "Change of Character" pattern indicates an initial change in order flow in financial markets. This structural change occurs when a major pivot in the opposite direction of the market trend fails. It signals a potential change in the market trend and can serve as a signal for short-term or long-term trend changes in a trading symbol.


🟣Break of Structure (BoS)

The "BoS" or "Break of Structure" pattern indicates the continuation of the trend in financial markets. This structure forms when, in an uptrend, the price breaks its ceiling or, in a downtrend, the price breaks its floor.


captura


captura



🟣Order Blocks (Supply and Demand)

Order blocks consist of supply and demand areas where the likelihood of price reversal is higher. There are six order blocks in this indicator, categorized based on their origin and formation reasons.

a. Demand Main Zone, "ChoCh" Origin.
b. Demand Sub Zone, "ChoCh" Origin.
c. Demand All Zone, "BoS" Origin.
d. Supply Main Zone, "ChoCh" Origin.
e. Supply Sub Zone, "ChoCh" Origin.
f. Supply All Zone, "BoS" Origin.


captura


captura



🟣FVG | Inefficiency | Imbalance

These three terms are almost synonymous. They describe the presence of gaps between consecutive candle shadows. This inefficiency occurs when the market moves rapidly. Primarily, imbalances and these rapid movements stem from the entry of smart money and the imbalance between buyer and seller power. Therefore, identifying these movements is crucial for traders.

These areas are significant because prices often return to fill these gaps or even before they occur to fill price gaps.

captura


🟣Liquidity

Liquidity zones are areas where there is a likelihood of congestion of stop-loss orders. Liquidity is considered the driving force of the entire market, and market makers may manipulate the market using these zones. However, in many cases, this does not happen because there is insufficient liquidity in some areas.

Types of Liquidity in Financial Markets:
a. Trend Lines
b. Double Tops | Double Bottoms
c. Triple Tops | Triple Bottoms
d. Support Lines | Resistance Lines

All four types of liquidity in this indicator are automatically identified.


captura


captura



🟣Premium and Discount

Premium and discount zones can assist traders in making better decisions. For instance, they may sell positions in expensive ranges and buy in cheaper ranges. The closer the price is to the major resistance, the more expensive it is, and the closer it is to the major support, the cheaper it is.


🔵How to Use


🟣Change of Character (ChoCh) and Break of Structure (BoS)

This indicator detects "ChoCh" and "BoS" in both Minor and Major states. You can turn on the display of these lines by referring to the last part of the settings.

captura



🟣Order Blocks (Supply and Demand)

Order blocks are Zones where the probability of price reversal is higher. In demand Zones you can buy opportunities and in supply Zones you can check sell opportunities.

The "Refinement" feature allows you to adjust the width of the order block according to your strategy. There are two modes, "Aggressive" and "Defensive," in the "Order Block Refine". The difference between "Aggressive" and "Defensive" lies in the width of the order block.

For risk-averse traders, the "Defensive" mode is suitable as it provides a lower loss limit and a greater reward-to-risk ratio. For risk-taking traders, the "Aggressive" mode is more appropriate. These traders prefer to enter trades at higher prices, and this mode, which has a wider order block width, is more suitable for this group of individuals.


captura


captura



🟣Fair Value Gap (FVG) | Imbalance (IMB) | Inefficiency (IFC)

In order to identify the "fair value gap" on the chart, it must be analyzed candle by candle. In this process, it is important to pay attention to candles with a large size, and a candle and a candle should be examined before that.

Candles before and after this central candle should have long shadows and their bodies should not overlap with the central candle body. The distance between the shadows of the first and third candles is known as the FVG range.

These areas work in two ways:

Supply and demand area: In this case, the price reacts to these areas and the trend is reversed.
Liquidity zone: In this scenario, the price "fills" the zone and then reaches the order block.


Important note: In most cases, the FVG zone of very small width acts as a supply and demand zone, while the zone of significant width acts as a liquidity zone and absorbs price.


When the FVG filter is activated, the FVG regions are filtered based on the specified algorithm.


FVG filter types include the following:

1.Very Aggressive Mode: In addition to the initial condition, an additional condition is considered. For bullish FVG, the maximum price of the last candle must be greater than the maximum price of the middle candle.

Similarly, for a bearish FVG, the minimum price of the last candle must be lower than the minimum price of the middle candle. This mode removes the minimum number of FVGs.

2.Aggressive: In addition to the very aggressive condition, the size of the middle candle is also considered. The size of the center candle should not be small and therefore more FVGs are removed in this case.

3.Defensive: In addition to the conditions of the very aggressive mode, this mode also considers the size of the middle pile, which should be relatively large and make up the majority of the body.

Also, to identify bullish FVGs, the second and third candles must be positive, while for bearish FVGs, the second and third candles must be negative. This mode filters out a significant number of FVGs and keeps only those of good quality.

4.Very Defensive: In addition to the conditions of the defensive mode, in this mode the first and third candles should not be very small-bodied doji candles. This mode filters out most FVGs and only the best quality ones remain.


captura



🟣Liquidity


These levels are where traders intend to exit their trades. "Market makers" or smart money usually accumulate or distribute their trading positions near these levels, where many retail traders have placed their "stop loss" orders. When liquidity is collected from these losses, the price often reverses.

A "Stop hunt" is a move designed to offset liquidity generated by established stop losses. Banks often use major news events to trigger stop hunts and capture liquidity released into the market. For example, if they intend to execute heavy buy orders, they encourage others to sell through stop-hots.

Consequently, if there is liquidity in the market before reaching the order block area, the validity of that order block is higher. Conversely, if the liquidity is close to the order block, that is, the price reaches the order block before reaching the liquidity limit, the validity of that order block is lower.

captura


captura


captura



🟣Alert

With the new alert functionality in this indicator, you won't miss any important trading signals. Alerts are activated when the price hits the last order block.

1. It is possible to set alerts for each "symbol" and "time frame". The system will automatically detect both and include them in the warning message.

2. Each alert provides the exact date and time it was triggered. This helps you measure the timeliness of the signal and evaluate its relevance.

3. Alerts include target order block price ranges. The "Proximal" level represents the initial price level strike, while the "Distal" level represents the maximum price gap in the block. These details are included in the warning message.

4. You can customize the alert name through the "Alert Name" entry.

5. Create custom messages for "long" and "short" alerts to be sent with notifications.

captura



🔵Setting

a. Pivot Period of Order Blocks Detector:
Using this parameter, you can set the zigzag period that is formed based on the pivots.

b. Order Blocks Validity Period (Bar):
You can set the validity period of each Order Block based on the number of candles that have passed since the origin of the Order Block.

c. Demand Main Zone, "ChoCh" Origin:
You can control the display or not display as well as the color of Demand Main Zone, "ChoCh" Origin.

d. Demand Sub Zone, "ChoCh" Origin:
You can control the display or not display as well as the color of Demand Sub Zone, "ChoCh" Origin.

e. Demand All Zone, "BoS" Origin:
You can control the display or not display as well as the color of Demand All Zone, "BoS" Origin.

f. Supply Main Zone, "ChoCh" Origin:
You can control the display or not display as well as the color of Supply Main Zone, "ChoCh" Origin.

g. Supply Sub Zone, "ChoCh" Origin:
You can control the display or not display as well as the color of Supply Sub Zone, "ChoCh" Origin.

h. Supply All Zone, "BoS" Origin:
You can control the display or not display as well as the color of Supply All Zone, "BoS" Origin.

i. Refine Demand Main: You can choose to be refined or not and also the type of refining.

j. Refine Demand Sub: You can choose to be refined or not and also the type of refining.

k. Refine Demand BoS: You can choose to be refined or not and also the type of refining.

l. Refine Supply Main: You can choose to be refined or not and also the type of refining.

m. Refine Supply Sub: You can choose to be refined or not and also the type of refining.

n. Refine Supply BoS: You can choose to be refined or not and also the type of refining.

o. Show Demand FVG: You can choose to show or not show Demand FVG.

p. Show Supply FVG: You can choose to show or not show Supply FVG

q. FVG Filter: You can choose whether FVG is filtered or not. Also specify the type of filter you want to use.

r. Show Statics High Liquidity Line: Show or not show Statics High Liquidity Line.

s. Show Statics Low Liquidity Line: Show or not show Statics Low Liquidity Line.

t. Show Dynamics High Liquidity Line: Show or not show Dynamics High Liquidity Line.

u. Show Dynamics Low Liquidity Line: Show or not show Dynamics Low Liquidity Line.

v. Statics Period Pivot:
Using this parameter, you can set the Swing period that is formed based on Static Liquidity Lines.

w. Dynamics Period Pivot:
Using this parameter, you can set the Swing period that is formed based Dynamics Liquidity Lines.

x. Statics Liquidity Line Sensitivity:
is a number between 0 and 0.4. Increasing this number decreases the sensitivity of the "Statics Liquidity Line Detection" function and increases the number of lines identified. The default value is 0.3.

y. Dynamics Liquidity Line Sensitivity:
is a number between 0.4 and 1.95. Increasing this number increases the sensitivity of the "Dynamics Liquidity Line Detection" function and decreases the number of lines identified. The default value is 1.

z. Alerts Name: You can customize the alert name using this input and set it to your desired name.
aa. Alert Demand Main Mitigation:
If you want to receive the alert about Demand Main 's mitigation after setting the alerts, leave this tick on. Otherwise, turn it off.

bb. Alert Demand Sub Mitigation:
If you want to receive the alert about Demand Sub's mitigation after setting the alerts, leave this tick on. Otherwise, turn it off.

cc. Alert Demand BoS Mitigation:
If you want to receive the alert about Demand BoS's mitigation after setting the alerts, leave this tick on. Otherwise, turn it off.

dd. Alert Supply Main Mitigation:
If you want to receive the alert about Supply Main's mitigation after setting the alerts, leave this tick on. Otherwise, turn it off.

ee. Alert Supply Sub Mitigation:
If you want to receive the alert about Supply Sub's mitigation after setting the alerts, leave this tick on. Otherwise, turn it off.

ff. Alert Supply BoS Mitigation:
If you want to receive the alert about Supply BoS's mitigation after setting the alerts, leave this tick on. Otherwise, turn it off.

gg. Message Frequency:
This parameter, represented as a string, determines the frequency of announcements. Options include: 'All' (triggers the alert every time the function is called), 'Once Per Bar' (triggers the alert only on the first call within the bar), and 'Once Per Bar Close' (activates the alert only during the final script execution of the real-time bar upon closure). The default setting is 'Once per Bar'.

hh. Show Alert time by Time Zone:
The date, hour, and minute displayed in alert messages can be configured to reflect any chosen time zone. For instance, if you prefer London time, you should input 'UTC+1'. By default, this input is configured to the 'UTC' time zone.

ii.Display More Info: The 'Display More Info' option provides details regarding the price range of the order blocks (Zone Price), along with the date, hour, and minute. If you prefer not to include this information in the alert message, you should set it to 'Off'.

You also have access to display or not to display, choose the Style and Color of all the lines below:

a. Major Bullish "BoS" Lines
b. Major Bearish "BoS" Lines
c. Minor Bullish "BoS" Lines
d. Minor Bearish "BoS" Lines
e. Major Bullish "ChoCh" Lines
f. Major Bearish "ChoCh" Lines
g. Minor Bullish "ChoCh" Lines
h. Minor Bearish "ChoCh" Lines
i. Last Major Support Line
j. Last Major Resistance Line
k. Last Minor Support Line
l. Last Minor Resistance Line
educationalsmartmoneysmartmoneyconceptsmartmoneyconceptssmartmoneyindicatorsmartmoneysetupsmartmoneytradingSMCsmcanalysissmctradingSupport and ResistanceTrend Analysis

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?


Get Access to TradingFinder indicators and Education for FREE: tradingFinder.com/

Forex, Crypto, Stocks, Futures & Index informational materials and Trading Tools in Turkish language: tradingFinder.com/tr/
Também em:

Aviso legal