OPEN-SOURCE SCRIPT

[EmreKb] Supertrend Fakeout

Supertrend Fakeout

This script is an enhanced version of the classic Supertrend indicator. It incorporates an additional feature that ensures trend reversals are more reliable by introducing a Fakeout Index Limit and a Fakeout ATR Mult. This helps avoid false trend changes that could occur due to short-term price fluctuations or market noise.

How It Works:

  • The Supertrend indicator uses Average True Range (ATR) and a multiplier to determine the direction of the trend. When the price is above the Supertrend line, it indicates an uptrend; when the price is below the Supertrend line, it signals a downtrend.
  • This version goes a step further by adding the following checks before confirming a trend reversal:
    • The script will monitor if the price moves "Fakeout ATR Mult" ATR away from the Supertrend line after a potential breach. This distance helps ensure that the trend change is significant and not just a minor fluctuation.
    • In addition, the script checks the price action for a specific number of bars, which is controlled by the Fakeout Index Limit. This limit determines how many bars the price must remain below (for a downtrend) or above (for an uptrend) the Supertrend line before the trend is officially reversed.
fakeoutsupertrendTrend Analysis

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明