OPEN-SOURCE SCRIPT

Tick Time/Speed

By fikira
Wizard
The Tick Time/Speed indicator highlights the latest TradingView feature, Tick Charts (beta), and aims to provide a visual representation of the speed.

🔶 USAGE

snapshot
1-minute chart

Unlike regular charts, where the time difference between two bars is relatively equal, the time difference between two tick bars can vary.

snapshot
1T chart

snapshot
snapshot
10T chart (ticks groups per 10)

snapshot
100T chart (ticks groups per 100)

(zoom in to see the time scale, as can be seen in the above two examples, higher values represent more ticks in a shorter period of time)

The difference in time (speed) against previous tick(s) is added to an array and sorted. The measured speed is compared against every value in the array and then plotted.

A smaller difference in time against other ticks (more ticks in less time) is plotted higher, while a more prominent time difference is plotted at a lower level.

The amount of data (to compare with) can be set by "Calculated Bars".

snapshot

The above example uses data from the last 5000, 100, and 77 bars.

🔶 SETTINGS

• Color & transparency setting
• Calculated Bars: sets the size of the array; in other words, sets the amount of available data for 'speed' comparison

🔶 NOTES

  • At this point of time, Tick Charts are only reserved for Professional-tier plans – Expert, Elite, or Ultimate plan.
  • The indicator can only be used with Tick Data.
  • Not all exchanges have tick data at the moment, this means not every ticker will have Tick Data.
Trend AnalysisVolatility
fikira
Wizard
LuxAlgo Dev: luxalgo.com
PineCoder: pinecoders.com

- We cannot control our emotions,
but we can control our keyboard -

Skript med en öppen källkod

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. Du kan ange den som favorit för att använda den i ett diagram.

Vill du använda det här skriptet i ett diagram?

Frånsägelse av ansvar