INVITE-ONLY SCRIPT
已更新 Volatility Simulation & Analysis

🙏🏻 The main purpose of this tool is to define your stop-losses and take-profits, even tho it's really fast (time complexity O(n)), it does Monte Carlo simulations inside, providing you the Way higher info gain.
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?
∞
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?
∞
版本注释
Now along with simulated volatility estimates (solid lines) the script also outputs the actual empirical volatility estimates (dashed lines)....
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.
// ∞
仅限邀请脚本
只有作者授权的用户才能访问此脚本。您需要申请并获得使用许可。通常情况下,付款后即可获得许可。更多详情,请按照下方作者的说明操作,或直接联系gorx1。
TradingView不建议您付费购买或使用任何脚本,除非您完全信任其作者并了解其工作原理。您也可以在我们的社区脚本找到免费的开源替代方案。
作者的说明
Please contact me via my business links if you're interested in gaining access to this script || source code || interested in a port
Gor Dragongor
t.me/synchro1_channel
linkedin.com/company/synchro1
t.me/synchro1_channel
linkedin.com/company/synchro1
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
仅限邀请脚本
只有作者授权的用户才能访问此脚本。您需要申请并获得使用许可。通常情况下,付款后即可获得许可。更多详情,请按照下方作者的说明操作,或直接联系gorx1。
TradingView不建议您付费购买或使用任何脚本,除非您完全信任其作者并了解其工作原理。您也可以在我们的社区脚本找到免费的开源替代方案。
作者的说明
Please contact me via my business links if you're interested in gaining access to this script || source code || interested in a port
Gor Dragongor
t.me/synchro1_channel
linkedin.com/company/synchro1
t.me/synchro1_channel
linkedin.com/company/synchro1
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。