OPEN-SOURCE SCRIPT

Inside Candle alert V1 By HARSH DEO SINGH

A breakout long signal is generated when the current high crosses above the previous mother bar's high, and it's an inside bar.

A breakdown short signal is generated when the current low crosses below the previous mother bar's low, and it's an inside bar.

The script plots triangle shapes below breakout long signals and above breakdown short signals.

Alert conditions are added for inside bars, breakout long, and breakdown short.

Please note that this is a basic example, and you can further refine and optimize your strategy based on your specific trading rules and preferences. Always remember to backtest and paper trade any strategy before using it with real money.
educational

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer