Volatility Simulation & Analysis

This method is more advanced than using structural volatility analysis, such as stdev on raw data, in a sense that the outputs have lower variance but higher bias. However, in return for that, it provides means to know where to look for breakeven exits, smth you can't really do non-arbitrary with structural volatility.
...
How to use:
The script outputs 4 lines, 2 outer lines are used for hard stop-losses and take-profits distances, and inner 2 lines are used for the soft stop-losses and take-profits distances.
Hard ones are used to setup final SLs and TP.
Soft ones are used to trigger attempts to exit at breakeven.
The choice of direction (blue/red line) should be based according to your initial position direction. So for longs you'll need blue lines for soft & hard take profits, and red lines for soft & hard stop-losses. Vice versa for shorts.
Feel free to improve it, but that's the baseline ruleset and tbh it's more than enough.
...
How it works
It's fully O(N).
This method is closely related to Monte Carlo and VaR, but adapts them to live use for more practical tasks rather than offline simulations & post analysis. The method fully resides in L2.
I use 2 separate streams of innovations from MFPM model (explained here).
From each stream I learn it's parameters, and generate numerous Gamma distributed noise instances, that unlike Exponential noise are more flexible and allow to use both location and scale as separate parameters. Synthetic data generation is the Only part of the method that degrades it to O(N), everything else is O(1).
Then I process data cross-sectionally (all samples per one time-stamp), to discover location and scale of each section. These 2 streams then smoothed with attributing higher weights to higher values, so even tho we smooth, we still are honest to the higher importance of higher values.
Finally I construct soft and hard volatility envelopes, and scale them from local to global frame. Soft (inner) envelopes model the typical max excursions, while outer (hard) envelopes model rare extreme excursions.
...
be cool aye?
∞
...
I also improved the method further by using another smoothing variant, and I think it's as far as it can go in terms of improvements.
// ∞
Skrip hanya-undangan
Hanya pengguna yang disetujui oleh penulis yang dapat mengakses skrip ini. Anda perlu meminta dan mendapatkan izin untuk menggunakannya. Izin ini biasanya diberikan setelah pembayaran. Untuk detail selengkapnya, ikuti petunjuk penulis di bawah ini atau hubungi gorx1 secara langsung.
TradingView TIDAK menyarankan untuk membayar atau menggunakan skrip kecuali Anda sepenuhnya mempercayai pembuatnya dan memahami cara kerjanya. Anda juga dapat menemukan alternatif yang gratis dan sumber terbuka di skrip komunitas kami.
Instruksi penulis
t.me/synchro1_channel
linkedin.com/company/synchro1
Pernyataan Penyangkalan
Skrip hanya-undangan
Hanya pengguna yang disetujui oleh penulis yang dapat mengakses skrip ini. Anda perlu meminta dan mendapatkan izin untuk menggunakannya. Izin ini biasanya diberikan setelah pembayaran. Untuk detail selengkapnya, ikuti petunjuk penulis di bawah ini atau hubungi gorx1 secara langsung.
TradingView TIDAK menyarankan untuk membayar atau menggunakan skrip kecuali Anda sepenuhnya mempercayai pembuatnya dan memahami cara kerjanya. Anda juga dapat menemukan alternatif yang gratis dan sumber terbuka di skrip komunitas kami.
Instruksi penulis
t.me/synchro1_channel
linkedin.com/company/synchro1