This is my "PSv4.0 Limited Array Support Super Hack", derived from MichelT's Workaround for Arrays in pine and Bubble sort script, except this utilizes line.new() to obtain one array with up to 100 indices. I provided functions that may be syntactically comparable in operation to the array class we should get with PSv5.0 when that arrives. I have no clue when...
This is a custom Tradingview indicator that automatically plots descending trend lines above price bars. It will alert when the price closes above the trend line.
The concept is straightforward: the trend line is formed by two adjacent peaks when the price is in a downtrend. It will save a lot of time for people (just like me) who uses trendline often.
By...