OPEN-SOURCE SCRIPT

Full Candle Outside BB [Bishnu103]

已更新
Bollinger band defines volatility range based on the current market condition. If a full candle is created outside BB then it is highly volatile and it may reverse to the mean, i.e. middle BB.

Buy - when a green candle is created below lower BB (alert candle) and price goes above high of it.
Buy SL - low of alert candle
Target 1 - middle band
Target 2- upper band

Sell - when a red candle is cerated above upper BB (alert candle) and price goes below low of it
Sell SL - high of alert candle
Target 1 - middle band
Target 2 - lower band

************************************************************************************************************************************************************************************
Disclaimer: This is in-progress strategy. I plan to work further and improve this. So please use this in the live market very carefully and based on your own risk factors.
************************************************************************************************************************************************************************************
版本注释
There was an issue with intraday exit feature due to which it was not working on timeframes other than 15 min. Now it is resolved. It should work fine now for minutes and hourly timeframes if exit intraday option is marked.
版本注释
1. Added a control "Risk Limit (%)" to limit entries if SL is more than the defined risk %.
2. Fixed an issue with the control to define "Entry Distance From Alert".
3. Fixed an issue which was causing multiple exists due to pending orders not being cancelled.

Upcoming feature:
1. Improved exit rule - 50% quantity will exit at middle band and remaining 50% will exit at upper/ lower band.
版本注释
Exit enhanced -
1. Target options given -
(a) BB - 50% quantity will be booked at middle BB and rest of it will be booked at outer BB.
(b) Profit % - A target percenage mentioned in the box "Profit %" will be used to exit the full trade.

Happy trading!
Bollinger Bands (BB)Volatility

开源脚本

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

想在图表上使用此脚本?

免责声明