@krigutrading, By itself, it doesn't do anything. It plots a dot for a date you set.
E.g. If you want to add a 40 day through on September 5th, 2018 you just add a line and put in a date. Like this:
plotshape(time == timestamp(2018,10,5,0,0) ? 60 : na, color=blue, style=shape.diamond, text="", location=location.absolute, size=size.small)
The last line (it is two lines for 20 and 40 day cycles) adds a future through based on Hursts nominal model. You need to update the dates for the calculation manually.
I released this script on request. Realistically it is very bad because I couldn't solve a lot of problems with Pine script. Why did the script get 11 likes I have no idea...
tomj2417
⋅
@redevil5k, Maybe the likes are for effort. At least someone tried even if not all that successful.
user1928374560XYZ
⋅
@redevil5k, any help or advice on updating to today's date? i just came across this and think it'd be interesting to try. thanks
redevil5k
⋅
@Uni_ve12se, Hursts' cycles are very complicated, and it takes a lot of time to do an analysis like this. Search for SentientTrader on youtube. Check those videos if you are interested in more. They helped a lot when I was learning. NOTE: I don't own the software, and I don't sell it. His early videos about Hurst Cycle analysis are probably the best on the web.