Benford's Law DeviationThis Study uses Benford's Law , which states that unmanipulated numerical real-life data sets should contain a certain distribution of leading digits. This Mathematical Law may be useful to identify whether there is market-manipulation going on and to which degree. The higher the value the script outputs, the higher the deviation from the expected leading-digit distribution - indicating a possibly higher probability of market manipulation going on. The script fetches the leading digits of the volume and percentage price change and calculates their distribution to compute the deviation from the expected distribution according to Benford's Law.
Benfordslaw
Benford's LawBenford's Law
This is a classical use of the famous Benford's Law .
Also called the "Law of Anomalous Numbers" , "First Digit Law", or the "First Digit Phenomenon", Newcomb–Benford law states that in many naturally occurring data sets, the leading digit is more likely to be a low number, despite probabilistic reasoning that each leading digit between 1 and 9 should be uniformly distributed at 11.1%.
For example, in data sets that obey the law, the leading number of 1 occurs approximately 30.1% of the time while the leading digit of 9 occurs only 5% of the time.
The mind-blowing distribution of Benford's Law is as follows.
Leading Digit --------- Occurrence
1 -------------------------- 30.1%
2 -------------------------- 17.6%
3 -------------------------- 12.5%
4 -------------------------- 9.7%
5 -------------------------- 7.9%
6 -------------------------- 6.7%
7 -------------------------- 5.8%
8 -------------------------- 5.1%
9 -------------------------- 4.6%
About
As seen in "Digits", the fourth episode of the Netflix series Connected , Benford's Law is applicable to almost every data set that is said to be randomly occurring such as the global financial markets. The law is most frequently used for surveillance and detection of fraud, money laundering, and manipulation of data.
Auditors world-wide have studied and are aware of the phenomenal application of this law and it's magic-like capability to detect accounting, legal, election, or scientific fraud.
Now, Benford's Law can be utilised by anyone and observed across any financial data-set. Apply this to prices, financial data, or health statistics on TradingView!
Future releases of this indicator will be fully equipped with time-specific windows to apply Benford's Law and identify price manipulation.
Additionally, tick boxes are available in the settings window to see the data and view each leading digit!