OPEN-SOURCE SCRIPT

3_SMA_Strategy_V-Singhal by Parthib

Aktualisiert
Indicator Name: 3_SMA_Strategy_V-Singhal by Parthib

Description:

The 3_SMA_Strategy_V-Singhal by Parthib is a dynamic trend-following strategy that combines three key simple moving averages (SMA) — SMA 20, SMA 50, and SMA 200 — to generate buy and sell signals. This strategy uses these SMAs to capture and follow market trends, helping traders identify optimal entry (buy) and exit (sell) points. Additionally, the strategy highlights the closing price (CP), which plays a critical role in confirming buy and sell signals.

The strategy also features a Second Buy Signal triggered if the price falls more than 10% after an initial buy signal, providing a re-entry opportunity with a different visual highlight for the second buy signal.

Features:

Three Simple Moving Averages (SMA):

SMA 20: Short-term moving average reflecting immediate market trends.
SMA 50: Medium-term moving average showing the prevailing trend.
SMA 200: Long-term moving average that indicates the overall market trend.

Buy Signal (B1):

Triggered when:

SMA 200 > SMA 50 > SMA 20, indicating a bullish market structure.

The closing price is positioned below all three SMAs, confirming a potential upward reversal.
A green label appears at the low of the bar with the text B1-Price, indicating the price at which the buy signal is generated.

Second Buy Signal (B2):

Triggered if the price falls more than 10% after the first buy signal, providing an opportunity to re-enter the market at a potentially better price.
A blue label appears at the low of the bar with the text B2-Price, showing the price at which the second buy opportunity arises.

Sell Signal (S):

Triggered when:

SMA 20 > SMA 50 > SMA 200, indicating a bearish trend.
The closing price (CP) is positioned above all three SMAs, confirming a potential downward movement.

A red label appears at the high of the bar with the text S-Price, showing the price at which the sell signal is triggered.

How It Works:

Buy Conditions:

SMA 200 > SMA 50 > SMA 20: Indicates a bullish market where the long-term trend (SMA 200) is above the medium-term (SMA 50), and the medium-term trend is above the short-term (SMA 20).

Closing price below all three SMAs: Confirms that the price is in a favorable position for a potential upward reversal.

Sell Conditions:

SMA 20 > SMA 50 > SMA 200: This setup indicates a bearish trend.

Closing price above all three SMAs: Confirms that the price is in a favorable position for a potential downward movement.

Second Buy Signal (B2): If the price falls more than 10% after the first buy signal, the strategy triggers a second buy opportunity (B2) at a potentially better price. This helps traders take advantage of pullbacks or corrections after an initial favorable entry.

Labeling System:

B1-Price: The first buy signal label, appearing when the market is bullish and the closing price is below all three SMAs.
B2-Price: The second buy signal label, triggered if the price falls more than 10% after the initial buy signal.
S-Price: The sell signal label, appearing when the market turns bearish and the closing price is above all three SMAs.

How to Use:

Add the Indicator: Add "3_SMA_Strategy_V-Singhal by Parthib" to your chart on TradingView.
Interpret Buy Signals (B1): Look for green labels with the text "B1-Price" when the closing price (CP) is below all three SMAs and the trend is bullish.
Interpret Second Buy Signals (B2): If the price falls more than 10% after the first buy, look for blue labels with "B2-Price" and a re-entry opportunity.
Interpret Sell Signals (S): Look for red labels with the text "S-Price" when the market turns bearish, and the closing price (CP) is above all three SMAs.

Conclusion:

The 3_SMA_Strategy_V-Singhal by Parthib is an efficient and simple trend-following tool for traders looking to make informed buy and sell decisions. By combining the power of three SMAs and the closing price (CP) confirmation, this strategy helps traders to buy when the market shows a strong bullish setup and sell when the trend turns bearish. Additionally, the second buy signal feature ensures that traders don’t miss out on re-entry opportunities after price corrections, giving them a chance to re-enter the market at a favorable price.
Versionshinweise
Indicator Name: 3_SMA_Strategy_V-Singhal by Parthib

Description:

The 3_SMA_Strategy_V-Singhal by Parthib is a dynamic trend-following strategy that combines three key simple moving averages (SMA) — SMA 20, SMA 50, and SMA 200 — to generate buy and sell signals. This strategy uses these SMAs to capture and follow market trends, helping traders identify optimal entry (buy) and exit (sell) points. Additionally, the strategy highlights the closing price (CP), which plays a critical role in confirming buy and sell signals.

The strategy also features a Second Buy Signal triggered if the price falls more than 10% after an initial buy signal, providing a re-entry opportunity with a different visual highlight for the second buy signal.

Features:

Three Simple Moving Averages (SMA):

SMA 20: Short-term moving average reflecting immediate market trends.
SMA 50: Medium-term moving average showing the prevailing trend.
SMA 200: Long-term moving average that indicates the overall market trend.

Buy Signal (B1):

Triggered when:

SMA 200 > SMA 50 > SMA 20, indicating a bullish market structure.

The closing price is positioned below all three SMAs, confirming a potential upward reversal.
A green label appears at the low of the bar with the text B1-Price, indicating the price at which the buy signal is generated.

Second Buy Signal (B2):

Triggered if the price falls more than 10% after the first buy signal, providing an opportunity to re-enter the market at a potentially better price.
A blue label appears at the low of the bar with the text B2-Price, showing the price at which the second buy opportunity arises.

Sell Signal (S):

Triggered when:

SMA 20 > SMA 50 > SMA 200, indicating a bearish trend.
The closing price (CP) is positioned above all three SMAs, confirming a potential downward movement.

A red label appears at the high of the bar with the text S-Price, showing the price at which the sell signal is triggered.

How It Works:

Buy Conditions:

SMA 200 > SMA 50 > SMA 20: Indicates a bullish market where the long-term trend (SMA 200) is above the medium-term (SMA 50), and the medium-term trend is above the short-term (SMA 20).

Closing price below all three SMAs: Confirms that the price is in a favorable position for a potential upward reversal.

Sell Conditions:

SMA 20 > SMA 50 > SMA 200: This setup indicates a bearish trend.

Closing price above all three SMAs: Confirms that the price is in a favorable position for a potential downward movement.

Second Buy Signal (B2): If the price falls more than 10% after the first buy signal, the strategy triggers a second buy opportunity (B2) at a potentially better price. This helps traders take advantage of pullbacks or corrections after an initial favorable entry.

Labeling System:

B1-Price: The first buy signal label, appearing when the market is bullish and the closing price is below all three SMAs.

B2-Price: The second buy signal label, triggered if the price falls more than 10% after the initial buy signal.

S-Price: The sell signal label, appearing when the market turns bearish and the closing price is above all three SMAs.

How to Use:

Add the Indicator: Add "3_SMA_Strategy_V-Singhal by Parthib" to your chart on TradingView.

Interpret Buy Signals (B1): Look for green labels with the text "B1-Price" when the closing price is below all three SMAs and the trend is bullish.

Interpret Second Buy Signals (B2): If the price falls more than 10% after the first buy, look for blue labels with "B2-Price" and a re-entry opportunity.

Interpret Sell Signals (S): Look for red labels with the text "S-Price" when the market turns bearish, and the closing price is above all three SMAs.

Conclusion:

The 3_SMA_Strategy_V-Singhal by Parthib is an efficient and simple trend-following tool for traders looking to make informed buy and sell decisions. By combining the power of three SMAs and the closing price (CP) confirmation, this strategy helps traders to buy when the market shows a strong bullish setup and sell when the trend turns bearish. Additionally, the second buy signal feature ensures that traders don’t miss out on re-entry opportunities after price corrections, giving them a chance to re-enter the market at a favorable price.
Candlestick analysisMoving AveragesTrend Analysisviveksinghalvsinghal

Open-source Skript

Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun das Script auch andere Trader verstehen und prüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden. Die Nutzung dieses Codes in einer Veröffentlichung wird in unseren Hausregeln reguliert. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Möchten Sie dieses Skript auf einem Chart verwenden?

Haftungsausschluss