Fort Lauderdale
Posts: 7 since Mar 2020
Thanks Given: 3
Thanks Received: 1
|
Hello not sure if someone has posted this as I couldn't find it. Can someone help with creating a thinkscript that plots swing high and swing low points on intraday timeframes? I have seen that there are thinkscripts for plotting daily highs and lows but I would want to plot each swing point on a specific timeframe. Example on a 5 minute chart, basically every time stock makes new peaks and valleys a horizontal line is plotted for the peak and a line for the valley. I would only need it to go back and plot as far as the previous day and everything up through the current day.
If this has already been posted please point me in the right direction.
Thanks in advance!
|