OPEN-SOURCE SCRIPT
Updated March-May Oct-Dec bank stocks strategy

In the Indian market, banking stocks have some sort of cyclic nature.
If you buy at the start of March and sell at the start of May and then buy at the start of Oct and sell at the start of December, you can make gains close to to "buy and hold", while being invested only for 4 months out of 12.
This seems to backtest well for post 2021 on all Bank stocks I tested, including BANKNIFTY as well
Caveat: Not calculating STCG and other expenses caused by selling and buying 2 times every year.
If you buy at the start of March and sell at the start of May and then buy at the start of Oct and sell at the start of December, you can make gains close to to "buy and hold", while being invested only for 4 months out of 12.
This seems to backtest well for post 2021 on all Bank stocks I tested, including BANKNIFTY as well
Caveat: Not calculating STCG and other expenses caused by selling and buying 2 times every year.
Release Notes
In the Indian market, banking stocks have some sort of cyclic nature.If you buy at the start of March and sell at the start of May and then buy at the start of Oct and sell at the start of December, you can make gains close to to "buy and hold", while being invested only for 4 months out of 12.
This seems to backtest well for post 2021 on all Bank stocks I tested, including BANKNIFTY as well
Caveat: Not calculating STCG and other expenses caused by selling and buying 2 times every year.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.