h00ch71

hTU Stop

The idea of this script is to identify candles that have made new highs and have closed above the selected moving average or have made new lows and have closed below the selected moving average. It's a stop method I've been using lately that works best on trending days and I find it helps to keep you from getting stopped out of consolidation periods.

What I do if long is trail my stop using the latest completed candle's 8sma plus a few cents cushion. I will keep moving my stop up for every new candle, but ONLY if that candle's high is higher than the candle I am currently using for a stop. With this script, the candles that have made a new high over a period of the last "x" (default is 4) candles will be labelled with an "L". The same is applied in the opposite direction for a short position. Those candles are marked with an "S".

オープンソーススクリプト

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

免責事項

これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。

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