OPEN-SOURCE SCRIPT

Relative Price Position Flow (RPPF)

Updated
Market work by short and long players positions. By commodities, players buy or sell positions based in market expectations. The volume of negotiations defines the optimum point to buy or sell. It means how much more volume in a price line, much of the players thinking this is the real value. So, in this indicator I calculate the volume of trades for some price line. And divide it to the total volume, to define whats the historical price line optimum. The diference between the actual price to the historical optimum trade, define some directions of the market. Some times the price is bigger, and sometimes it is smaller.
By experience, after some times the price is deviated to the flow price, it will search a compensation, starting a reversion movement.
Release Notes
Update Chart
Release Notes
Suavization by cumulating sum desviation
Release Notes
Now the script considers the tan() of the movement. So, the flow change direction, it's better to see.
Release Notes
Update. Now the tan value is cumulative. To see linear max amplitude.
Release Notes
Update. Ponderation by the real dimension.
Release Notes
Update Chart
Release Notes
Fix calculus
Release Notes
return to tan visualization
Centered OscillatorsTrend AnalysisVolume

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer