TRSTN Profile picture
Mar 14 24 tweets 9 min read
Alright, let’s talk Lorentzian Classification.

As most of you are aware, I’m fascinated with the study of Algorithmic Theory in Finance. I study a wide range of Algorithmic concepts, ranging from Chaos Theory & the Core Pricing Mechanism to Risk-Management & individual Trading… twitter.com/i/web/status/1…
Recently, I came across a video by @JustinDehorty, where he explains the idea of Lorentzian Classification and showcases an Indicator that utilizes this model as a Proof-of-Concept.

Below is a Summary of his video, followed by an overview of potential twitter.com/i/web/status/1…
When you have an Indicator, such as an RSI or a Moving Average, there are actually a lot of issues that come from the data these derive - and most of you have actually probably analyzed this yourself. It’s a very well-known issue.
First, ask yourself how a Moving Average derives its data…

It averages out - simple. Hence, the name.

If you are looking at a dataset and you are to take the average of that dataset, then you are completely blocking out any peak event that takes place.
If you have an RSI that is showing ‘Oversold’, you ask yourself “What is the *relative* historical significance?”

Historically, when this RSI became oversold, what happened every other time the RSI became oversold?

If you have a Moving Average saying $150, price is currently at… twitter.com/i/web/status/1…
If price moves on average ~$10/Day, and one day, you get a move of $100 (10x Historical Average), there is something extreme that has taken place on that day.

If you use an indicator, it will not account for this data well, because it’s outside of its historical average. Got it?
This Phenomenon is what Justin describes as “Price-Time Distortion”, in reference to “Space-Time Distortion”.

He relates this concept to Gravity, where one event has far more significant mass than the others, causing a distortion in “Price-Time”. This throws Indicators off. twitter.com/i/web/status/1…
This is called “Euclidean Distance”, and below is a picture describing RSI, ADX, and CCI Data through this Distance. Visually, it appears as a tight cluster of thousands of datapoints.

This is basically how normal Algorithms interpret data; There is no structure to it. ImageImage
This is where the “K-Nearest Neighbors ML Algorithm” comes into play.

First, let’s talk Machine Learning vs Deep Learning:

Machine Learning uses Machine Code & Structured Data to automatically adapt or predict w/ minimal human interaction.

Deep Learning uses Artificial Neural… twitter.com/i/web/status/1…
The “K-Nearest Neighbors Algorithm” is used as an extremely simple method of Data Classification / Prediction.

The kNN Algorithm actually specializes in large and significant datasets, which is what makes this concept so robust.

For those with a Computer Science background,… twitter.com/i/web/status/1…
As described above with the RSI example - if you are looking at an RSI, you are only interested in the precedence of it reaching an Oversold or Overbought value.

This is what kNN does.

Those extremes are classified as this datasets “Nearest Neighbors”, and it compares them. Image
This gets significantly harder to do manually when you include multiple indicators together…

Basically, you’d need to analyze the relative neighborhood of data for each individual indicator, and then compare all points together to manually find a pattern.

Basically impossible.
Well, on the other hand, this is that same data depicted through Lorentzian Distance. As you can see, there actually is structure to this data, and everything seems very organized and well-distributed. ImageImage
When we lower the total points, focus in on that Red Dot where the mouse is hovering over.

The RSI value here was SIGNIFICANT compared to its other values (height), yet, it shares an equivalent value for both the CCI & ADX…

It structures by Relative Significance. Image
This cancels out this phenomenon of “Price-Time Distortion” entirely, as the weight or mass of one event is counteracted by the total weight or mass of the other events it’s taking into account (In this case: CCI, RSI, and ADX).
Well, okay - that’s cool I guess. But, this is all about Indicators… If you utilize ICT Concepts, you definitely don’t want anything to do with any indicators.

This is not what I find significant.
Let’s take a look at my teaser from a couple days ago…

As you can see, this algorithm attaches a value to each individual candlestick. You can consider this to be that value that’s related to Gravity, or the value of “Price-Time Distortion” that measures relative significance. Image
Let’s go deeper though, and see if we can visualize it. Below is the Beta-Version of this script, which attributes Colors to a Value.

Below are my settings; I want to make clear, I am *NOT* focused on the Indicator. I only care about the Classifications.

Now, what do you see? Image
Pay attention to the Values, Trend, and Market Structure.

Notice how *incredibly* well it is able to interpret a new Trend. Notice how incredibly perfect it is able to classify a Market-Structure Shift from a Retracement…

Within a Bearish Trend, the colors (values) will be… twitter.com/i/web/status/1… Image
This Algorithm is able to classify Candles to an absurd degree with extraordinary accuracy.

Now, let’s replace the “Features”.

Rather than Indicators, let’s use:
- Orderflow
- Volume
- Volatility
- Liquidity
- Points of Interest
- Interest Rates / COT
- Seasonality Image
What would that look like? Well, sadly, I can only Hypothesize.

However, what I have just explained to you is a major key in automating Smart-Money Concepts to achieve absurd accuracy.

You can take it a step further, and after implementing the kNN ML Algorithm, you then take… twitter.com/i/web/status/1…
Basically, I’m calling on *ALL* PineScript Coders that want to automate Smart-Money Concepts:

This Library is OPEN-SOURCED.

I advise that you heavily look into the applications of this Library, it is not to be neglected. This will improve algorithmic efficiency exponentially.
I’ve hit the thread limit, so this concludes my overview of Lorentzian Classification.

Please watch @JustinDehorty full video on the Model, and please check out his ML Library below to utilize it in future experimental scripts.

Link to Library: tradingview.com/script/ia5ozyM…
As you may know, I’m currently working towards various projects, such as an ICT-GPT that allows users to ask questions about the Core Content Mentorship.

If you are interested in my future works, please turn on notifications, share my page, and give me a follow!

Thank you!

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with TRSTN

TRSTN Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @TRSTNGLRD

Mar 11
There is a lot going on Economically right now… I have a few thoughts about the current situation, and I want to give a little summary of some of the more important things to keep an eye on.

This is only my personal opinion; The situation is volatile and things are changing…
When the Pandemic began, we shut everything down in the Economy and things began taking a turn for the worse. People lost income, and the Government began printing money and sending every citizen in the U.S. ‘Stimulus’ payments, causing an employment shock over a couple years.
In States like California, Fraud is so massive that individual States are in more debt than some small Countries / Nations.

The Prison system even took massive advantage of various stimulus checks & PPP Loans, amounting to Fraud upwards of an estimated $30B in CA alone
Read 22 tweets
Feb 27
GUYS I JUST MADE A BIG CHANGE AND HOLY FUCK, WHAT THE HELL HAVE I CREATED

Prompt: What is the Dealing Range? Image
There’s obviously a shit ton of stuff in here that’s not correct - but the fact that it actually has personality now is fucking insane.
I need to lower the sensitivity massively and figure out a way to stop hallucinations. Once I have that, I have a working bot that can generate paragraph-responses from simple questions.
Read 4 tweets
Feb 16
Previously, I’ve mentioned a few times in various threads something described as an “Unstable Periodic Orbit”.

In this thread, we’ll discuss these orbits and theorize about how these orbits may play a significant role in the Core Pricing Mechanism of the Financial Markets…
First, what exactly is a Periodic Orbit in Nonlinear Dynamics?

Think of our main example - a Pendulum. One full cycle of a swing is the motion forward, and the motion backwards as it falls.

The completion of this movement is one cycle, or one orbit around its equilibrium.
The orbit above is that of a planetary orbit; These orbits are continuous and stable. They do not fall out of orbit or into a different one.

The movement of this orbit is entirely deterministic. The previous position defines the next when accounting for all Factors of Chaos.
Read 8 tweets
Feb 5
Alright… Today, we’re going ignite a conversation on the topic of “Time Distortion”.

Specifically, I want to discuss the concept of “Time Distortion” through the perspective of Chaos Theory.

Lightbulbs will go off.

First, let’s begin with the original definition:
Time Distortion is simply falsified / chaotic Price-Action in a range.

There’s three main concepts that play into this; They are the Accumulation, Manipulation, and Distribution of Price within a single Candlestick.

Well, what specifically is Manipulation?
The Webster Dictionary defines “Manipulation” as the following:

To control or play upon by artful, unfair, or insidious means especially to one’s own advantage

Well, with this definition, we can see that Manipulation is exactly what it sounds like - it’s Fraudulent.
Read 17 tweets
Jan 22
Want a new Toolkit to add to your Trading Arsenal?
The Minimalistic Trade-Management Suite:
Link: tinyurl.com/yukb9skb

This Workspace is designed specifically for the use of @I_Am_The_ICT Concepts, where you can back-test every piece of your Trading Model.

Let's Explore it:
In the Image above, you'll find the main Entry Database. This is where you enter all of the details of every single trade you take.

Well - that's pretty much it! The entire system will do the rest for you! All Statistics are automatically calculated in the datasets below.
Starting off, you have the main section for Account, Market, and Ticker Analytics. This is one of the most important Sections, which is why it's sitting right at the top.

Each of these columns in all of the Datasets are connected to the main Database Entry Table at the top.
Read 13 tweets
Jan 22
Goodmorning Twitter - just wanted to post a little update for everybody:

I apologize for not posting as much as I would like to, I’ve been very, very busy.

This last week, I was recently promoted to “Head Laboratory Manager” at my company’s Manufacturing & Extraction facility.
I’m now being tasked with growing our Manufacturing Capacity by a Factor of 10+, re-structuring our Supply Chain from the ground up, switching us to a full-auto Track-N’-Trace system, and preparing our Facility for upcoming Health Inspections from the State.
Over the next few weeks, I’m going to have very little time to watch the Markets, Study, and post content on Social Media.

My goal is to post atleast once a week, but I don’t want to make any promises until everything I need to focus on is complete.
Read 7 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(