w0051977

GapAnalysis

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%.

Questions:
1) Lots of missing candlesticks e.g. at 16:30 and 08:00 meaning the candlestick may not of truely gapped up or down. Why are there missing bars? Is it because I have the free version? Are there any missing candlesticks on the paid for version?
2) Does the Gap filter always look at the first bar of the day and compare it to the last bar the previous day? (assuming you select 1d above the filters).
3) How does the Gap filter work if you select 1w above the filters?
4) The filter columns save for me, however the filter values do not. For example, if I select the Gap filter and select the values 'between 2% and 6%', then the column is saved but the values are not. Is this correct?
Open-source Skript

Ganz im Spirit von TradingView hat der Autor dieses Skripts es als Open-Source veröffentlicht, damit Trader es besser verstehen und überprüfen können. Herzlichen Glückwunsch an den Autor! Sie können es kostenlos verwenden, aber die Wiederverwendung dieses Codes in einer Veröffentlichung unterliegt den Hausregeln. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.

Möchten Sie dieses Skript auf einem Chart verwenden?