OPEN-SOURCE SCRIPT

False Breakout

已更新
A false breakout is when the price temporarily moves above or below a key support or resistance level, but then later retreats back to the same side as it started.

The “False Breakout” indicator reveals false breakouts in comparison to the previous candle.
In case we're looking to trade the stock for long this would mean that the price of the stock broke the previous low (support) and then got back above that low.
In case we're looking to trade the stock for short then a false breakout would mean the stock broke the previous high (resistance) and then got back below that high.

How to use the indicator?
First choose the direction you're looking to trade, meaning either long or short.
Then choose how strict you want to be about the Falls brakes.
There are three options:
  • The first option named “All“ means that it's enough that the stock broke the previous level and then get back to the original side.
  • The second option is “Supporting Change” meaning not only that the stock broke the previous key level (support or resistance), but also the change at the end of the candle is supporting the main direction - meaning the change is positive for long or negative for short.
  • The third option is “Engulfing”. This is a well-known candle, but to make it clear, in our case “Engulfing” means that not only the stock broke the previous level but it also ended the day on the other side of the candle - higher than the previous high, in case of long, and lower than the previous low, in case of short.


When you choose the level of strictness you determine how many indications you're going to get on the chart.
If you choose the highest level of strictness, meaning “Engulfing”, you would only see the red flags indicating engulfing candles.
If you choose the lowest level of strictness, meaning “All”, you will get more indications on your chart, including every false breakout.

When the direction you're looking for is long, all indications would appear below the candles.
When the direction you're looking for is short, then all indications would appear above the candles.

The Engulfing candles are represented by Red flags, and the Simple breakouts candles are represented by yellow. All colors may be adjusted to your preference.

Explaining the example above:
In the chart above we can see two consolidations. At the end of each consolidation, we can see a candle with an indication from the indicator that points out that this could be the end of the consolidation and the stock might continue its move.
In “consolidation 1” we can see that there is an orange flag below the candle right before the stock began to move up again.
In “consolidation 2” we can see that there is a red flag below the candle, right before the stock began another move.

Wishing you all the best :)
發行說明
now you can use Alerts in a more convenient way
just set "False Breakout Signal" alert, and you'll get an alert as soon as there's a false breakout
buskilaCandlestick Analysisfalse_breakfalse_breakoutfalsebreakoutfalsebreaks

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?

免責聲明