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の精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。

チャートでこのスクリプトを利用したいですか?

免責事項