OPEN-SOURCE SCRIPT
更新済 Stop Loss

Added input to change bar number each side of swing
リリースノート
In this script I've removed the subjectivity involved when placing your trailing stop loss.In a uptrend stop losses are often placed just below the higher low. The problem is we don't know whether the current pullback has formed a higher low or whether the pullback will continue.
This script places a yellow dot below the current candle at the stop loss level only when the higher low has been confirmed, allowing you to place your new stop loss at the earliest possible time.
Works in the opposite way when shorting the pair.
My trend analysis is based on significant swings requiring two candles either side of the low/high that confirm the swing. You can change this if you like.
オープンソーススクリプト
TradingViewの精神に則り、この作者はスクリプトのソースコードを公開しているので、その内容を理解し検証することができます。作者に感謝です!無料でお使いいただけますが、このコードを投稿に再利用する際にはハウスルールに従うものとします。
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、この作者はスクリプトのソースコードを公開しているので、その内容を理解し検証することができます。作者に感謝です!無料でお使いいただけますが、このコードを投稿に再利用する際にはハウスルールに従うものとします。
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。