Plots the cumulative line of gaps to see extremes in psychology.
Plenty of Gap-UP's where the Open is higher than the previous bar's close get the market excited.
Plenty of Gap-DOWN's where the Open is lower than the previous bar's close get the market scared and depressed.
Look for the Gap Line to peak prior to an important peak in the market...
This is the bare bones of what I'm trying to achieve through pine script. The purpose of the script is to:
1. On a 15m chart, calculate and plot upper & lower Bollinger bands and simple moving average of 20 periods. (DONE)
2. On a new day, when the first 15m candle of a session forms, I want to check if a) the low of the new candle is outside the upper Bollinger...
I am a new Trading View user. I am trying to gain some reputation so that I can start contributing more to the community and start learning more. Therefore I have written this very simple pine script that simply adds a label to the first bar of the day if there is a gap between 2% and 8% or a gap between -2* and -8%.
1) Lots of missing candlesticks...