OPEN-SOURCE SCRIPT

Candle Theory

Updated
Description: The theory behind this script is that if within the last 10 candles, if the majority of them are green and the average length (wick to wick) of those majority green candles is greater than the average length of the minority red candles then it will signal that this is a bullish move within the market and signal you to buy. The opposite is true for bearish moves.

Inputs:
  • Length - this allows you to decide how many candles to look back, default/recommended is 10
  • Show First Signal In Series Only - using this indicator without this checked will show many more signals in a row. This allows you to just get a signal for the first candle that is the predicted bullish or bearish move
Release Notes
Adding in an alertcondition that allows you to set up one alert for short or long signals rather than having to set up two different alerts.
candleCandlestick Analysiscandlestickpattern

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