Indicator · Pine Script v5 · On the chart

Live Tick Counter

by morindok

This indicator calculates and plots a multi-factor order-flow analysis using tick counts, volume ratios, big player volume, recent delta momentum, and a K-nearest neighbors pattern matching algorithm.

View on GitHub

Repaints

GitHub stars1on the repository
Pine versionv5runs as is
Lines of code332
Settings22inputs
LicenceNone stated
Last update7 weeks ago6 Sep 2026

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
  2. 2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
  3. 3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
  4. 4Add it to the chartPress Add to chart, then adjust the settings with the gear icon next to its name.

Source Code

The code stays on GitHub. The author has not published this script under an open licence, so ForexR does not show its code. Copy script reads the file straight from GitHub into your clipboard, so you can still try it on your own chart. Ask the author before reusing the code anywhere else.

Overview

Live Tick Counter evaluates bull and bear thresholds across multiple weighted factors and includes a factor dashboard table on the price chart. Notable limits include repainting behavior on live bars.

Details

Published by

morindok on GitHub

Draws

On the price chart

Markets

Any symbol

Timeframes

M1-M5, M15-H1

Risk Notes

  • Signals can change on the live bar or after it closes (repainting)

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
History Lookback (bars)int50lookback
Min Ticks Before Valid Signalint10minTicks
Seed Pattern Memory From Chart HistorybooltrueuseSeed
Show Factor DashboardbooltrueshowTable
W1: Tick Count Ratiofloat0.16wTick
W2: Volume Ratiofloat0.20wVol
W3: Big Player Volumefloat0.13wBig
W4: Recent Delta Momentumfloat0.13wMom
W5: Tick Streakfloat0.08wStreak
W6: Pattern Match (KNN)float0.15wKnn
W7: Trend Contextfloat0.15wCtx
Strong Bull Threshold %float65strongUp
Show all 22 settings
SettingTypeDefaultVariable
Strong Bear Threshold %float35strongDn
Dynamic Z-Score Thresholdfloat1.3zTh
Min Factor Agreement (of 7)int4minAgree
Price/Delta Divergence PenaltybooltrueuseDiv
Adaptive Accuracy ScalingbooltrueuseAdapt
Auto-Weight + Factor InversionbooltrueuseAutoW
Probability Calibration (bins)booltrueuseCalib
KNN Neighborsint8knnK
Momentum Window (ticks)int20momWin
Big Tick Multiplier (x avg size)float1.5bigMult
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.

Similar Pine Scripts

Medallion Cipher

by ricksimpsontrading
3 stars

Medallion Cipher is a separate-pane indicator that combines a four-state hidden Markov model (bull, bear, range, and crisis) with weighted confluence signals. It can include mean reversion, trend, session timing, pattern matching, Hurst exponent, Shannon entro

Indicator v6 AI / machine learningMean reversion
Updated 10 days ago · None stated GitHub repository of Medallion Cipher

This overlay indicator screens a pasted list of up to forty symbols and draws a table on the price chart. It classifies bullish or bearish setups from the percent change between the current candle and the candle 250 bars back, then shows RSI with a simple movi

Indicator v5 Oscillators & momentumVolume
Updated 1 year ago · MPL-2.0 GitHub repository of Momentum Setup - Ankush Bajaj Momentum Investing Setup
114 stars

Volume Weighted Distance applies statistical and machine learning distance metrics between source prices and their rolling mean, weighted by volume, to identify local trend reversals. Users can select from Manhattan, Euclidean, Mahalanobis, Cosine Similarity,

Indicator v4 Oscillators & momentumVolume Repaints
Updated 1 year ago · None stated GitHub repository of Volume Weighted Distance
46 stars

This indicator uses a Hidden Markov Model (HMM) framework combined with an adaptive dual moving average engine and Directional Movement Index (DMI) features to identify market regimes (bullish, bearish, or ranging/chop). It calculates regime probabilities on e

Indicator v5 AI / machine learningTrend
Updated 8 weeks ago · None stated GitHub repository of HMM Enhanced: Regime Probability

Daily Volume

by benso87
24 stars

Daily Volume is an overlay indicator that displays current daily volume statistics inside an on-chart table in the top-right corner. It fetches higher-timeframe daily data to report real-time current daily volume, yesterday's total volume, and a simple moving

Indicator v5 VolumeScreeners & dashboards
Updated 4 years ago · MPL-2.0 GitHub repository of Daily Volume

More Volume scripts

Related on ForexR

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers