OPEN-SOURCE SCRIPT

Bollinger Band Breakout

已更新
It is a long only strategy.

1. Buy when price breaks out of the upper band.
2. Exit has two options. Option 1 allows you to exit using lower band. Option 2 allows you to exit using moving average.
3. Option 1 preferred over option 2 if the instrument is highly volatile.
4. Slippage and commissions are not considered in the return calculation.
版本注释
Modified the position sizing. Now it is based on the available capital.
Bollinger Bands (BB)bollingerbandstrategybollingersbuybuysetupLONGlongonlylongpositionSimple Moving Average (SMA)Standard Deviation

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?


更多:

免责声明