Quick dirty code for personal use. Plots previous OHLC levels based on a selected time-frame on the chart.
Not bad if you want to see different time-frame levels.
Fill function can serve to highlight the daily range (high-low or open-close) on non-standard charts
Uses base code from JayRogers
I have recently been reading How to Day Trade for a Living by Andrew Aziz and one of the important support and resistance levels he talks about is the Previous Day Close Price.
I did not find an indicator that would simply plot this so I wrote a short simple pine script to plot the indicator.
Please feel free to edit or suggest improvements.
It's just levels of previous periods, with the inclusion of 4 hour and and month. Nothing special.
Should be mostly self explanatory... but selecting either the 4 hour or month check boxes will override the dropdown selection.
Checking both the 4 hour and month boxes together will cause it to default to whatever has been selected in...
This will plot your choice of OHLC (or any of the averaging choices) of the current candle compared to the previous candle.
For example if you choose "high" for the input and set the chart to daily, you'll see the currently daily high vs the previous daily high.
Green candle represent a higher high and the length of the candle represents how much higher.
HG Scalpius - Previous Bar Highlight
This indicator highlights the 20th bar from the current bar and has the below applications for trading the HG Scalpius system:
- Determining if trend mode off switch is triggered, failing to set a new higher (lower) close in the trend with 20 bars
- Determining the highest (lowest) bar in the previous range to decide if a...