OPEN-SOURCE SCRIPT
Price Volume Trend Crosses

This script is a modified version of the Price Volume Trend (PVT) that uses a moving average of the PVT as a signal (sig) line.
Logic behind this script:
PVTC should not be used on its own but in conjunction with other indicators!
- The length of the signal line can be adjusted as needed by changing the "PVTC Signal Length" value inside the indicator settings menu.
- "PVTC Signal Type" allows you to pick between EMA and SMA as the signal line.
Logic behind this script:
- If PVT > sig it indicates an bullish environment and gets coloured with the UP color.
- If PVT < sig it indicates a bearish environment and get coloured with the DOWN color.
- Colors can be modified in the indicator settings menu.
- Crosses can be highlighted by ticking the "Highlight Crosses" box in the indicator settings menu.
- "Fill Gaps" fills the gap between PVT and sig with the prevailing trends color.
PVTC should not be used on its own but in conjunction with other indicators!
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.