What are 'ticks'? ... Once the script’s execution reaches the rightmost bar in the dataset, if trading is currently active on the chart’s symbol, then Pine indicators will execute once every time an update occurs, i.e., price or volume changes ... (tradingview.com/pine-script-docs/en/v5/language/Execution_model.html)
This script has 2 parts:
1) Option: ' Tick up/down' This is a further progression of previous work. During bar development, every time there is an update (tick), a dot is placed. If for example there is 1 tick (first of new bar), a dot will be placed on 1, if it is the 8th tick off that bar, there will be a dot placed on 8.
For each bar this is better, it has to be mentioned though that looking in history, once the limit of 500 has been reached, you'll notice the last ones are being deleted. This is one of the reasons the script is not suitable for higher timeframes (1h and higher, even higher than 5 minutes can give some issues if it is a highly traded ticker), if a bar would have more than 500 ticks, they won't be drawn anymore (which is not desirable of course)
Caveats: - Labels and text will not always be exactly on the price itself - The scripts needs more testings, possibly some ticks don't always get drawn as they should. The lower the timeframe, the more possible issues can occur - Since (candle option) the dots move to the right, the higher the timeframe and/or the more ticks, the sooner ticks will go in the area of next candle. That's why I made a separate 'start symbol' -> This is the very first tick on each candle, then you can zoom in/out more easily until the dots don't merge into each other candle area: https://www.tradingview.com/x/0xx1IH3Q/ https://www.tradingview.com/x/YaJMnk8X/
A timeframe higher than 5 minutes mostly won't be feasible I believe
진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.