TradingView Development: Automating PDH/PDL
Using PineScript to automate marking out my daily highs and lows on TradingView charts
Summary
Marking out daily highs/lows can be cumbersome when you do it every day, so I'm taking the lazy route and having an indicator do it for me.
Having daily highs/lows on the charts is essential to trading daily profiles. Traders who trade daily profiles (like myself) mark out their daily highs/lows every day to see if there's potential for a trade opportunity. Having to do this day after day when there are no trading opportunities visible can drain your mental capital. I don't like having my mental capital drained just by drawing on the charts, so I automate my drawings with PineScript.
trading viewpinescript
