mgibson91

Pivot trend indicator

This is a LAGGING indicator which can provide a good indication of trend. It require a certain (configurable) number of candles to have closed before it can determine whether a pivot has formed.

It provides a 20 period SMA for the timeframe of your choice which is color coded to show the trend according to confirmed pivots.

Anticipated usage:
  • Long / Short bias is determined by pivot trend
  • Trader seeks entries according to their strategy
  • Black consolidation areas may trigger a re-evaluation of the trade and can serve as good profit taking areas

The SMA colors:
  • Green -> Higher highs & Higher lows
  • Red -> Lower highs & Lowers lows
  • Black -> No clear trend from the pivots

Why the 20 SMA?
Feel free to adjust it for your purposes. I personally find that using a higher time frame 20 SMA is a better indication of trend than longer period MAs on shorter time frames. This can be seen from comparing the 20 daily SMA and 200 hourly SMA.

Pivot adjustment
The pivots use the selected time frame (not) the MA trend time frame. You can specify the left and right candles required to confirm a pivot
オープンソーススクリプト

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

免責事項

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

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