Trader Pressure Index (TPX)

This is my take on the script by RedK

I kept the algorithm exactly the same, but changed the layout and the default look back period. Most important is that the resulting line, the TPX, is now a histogram with green and red staves.
To put the histogram on a logical place in the graph, I changed the way the control/dominance level is implemented, it now lowers or highers the whole graph, this way the zero level becomes the ‘no interest’ level.
I added two horizontal lines at a distance of 40 because I feel that this is sort of an oversold / overbought indication. In practice not very convincing, but provides a visual comparison.
In this layout I explain that grass is growing on bull hills peaking up behind the foreground and blood is dripping from the bear hills.

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