OPEN-SOURCE SCRIPT

Trap Trading - SwaG

Zaktualizowano
This is an intraday indicator
  • Set timeframe to 5 min
  • Take long entry on the high brakes of selling traps
  • Take short entry on the low brakes of buying traps
  • ignore traps left to red zones
  • Use the nearest trap
  • take profit/loss on a 1:2 risk-to-reward basis.


Trap Trading
Trap trading is a trading strategy that seeks to profit from false breakouts in financial markets. This strategy is based on the idea that when the market breaks through a key level of support or resistance, many traders will take that as a signal to enter or exit trades, causing the price to move further in the breakout direction.

However, in some cases, the market will quickly reverse course and move in the opposite direction, trapping those traders who entered the trade based on the breakout. This can create a trading opportunity for those who are able to identify the false breakout and trade in the opposite direction.

The trap trading strategy typically involves identifying a key level of support or resistance on a price chart and then waiting for the market to break through that level. If the price continues to move in the breakout direction, the trader may enter a trade in that direction with a stop loss set just below the breakout level.

However, if the market quickly reverses and moves back below the breakout level, the trader may enter a trade in the opposite direction with a stop loss set just above the breakout level. The idea is to take advantage of the trapped traders who entered the trade based on the false breakout, and profit from the market's reversal.

As with any trading strategy, there are risks and potential drawbacks to trap trading. False breakouts can be difficult to identify, and there is always the risk that the market will continue to move in the breakout direction, resulting in losses for the trader. Additionally, trap trading requires a solid understanding of technical analysis and market trends, which may take time and experience to develop.
Informacje o Wersji
* New features
[I]
- For additional confirmation try to avoid buying traps that are above or touching the red line
- For additional confirmation try to avoid selling traps that are below or touching the green line
Informacje o Wersji
  • The script also looks for intraday support and resistance levels and draws boxes around them.
  • The script takes into account support and resistance levels, and also has options to avoid traps at these levels and to highlight previous day's support and resistance levels.


When using this indicator, it's important to note that it's not a reversal indicator. Therefore, it's necessary to analyze the market trend using the previous day's support and resistance levels or by identifying HL (higher lows) creation or LH (lower highs) creation that indicates whether the market is building strength or showing weakness. This will help you make an informed decision about whether you want to take a long or short entry.

Once you have made your decision, it's recommended that you wait for a trap to take an entry. Traps can help you identify the right time to enter the market and avoid any potential losses.

It's also important to avoid buyer/seller traps in intraday support and resistance lines to avoid buying/selling trends, respectively. This will help you avoid getting caught in the wrong direction of the trend.

Lastly, it's advisable to avoid traps at red zones when the intraday range has not been confirmed. This will help you avoid taking any unnecessary risks and ensure that you're making informed decisions based on market trends and indicators
Candlestick analysistradingsignalsTRAPtrappedtrapped-traderstrappedtraderstrappingtrappings

Skrypt open-source

W prawdziwym duchu TradingView autor tego skryptu opublikował go jako open source, aby inwestorzy mogli go zrozumieć i zweryfikować. Pozdrowienia dla autora! Możesz go używać bezpłatnie, ale ponowne użycie tego kodu w publikacji podlega Zasadom Regulaminu. Możesz go oznaczyć jako ulubione, aby użyć go na wykresie.

Chcesz użyć tego skryptu na wykresie?

Wyłączenie odpowiedzialności