Apprentice wrote:Master_Candle_bruno2017.lua
Try this version.
In this example an inside bar configuration was identified when the second candle in the configuration closed inside the High/Low range of the previous candle. The first candle, often called "outside bar" (grey background) allows to establish a price channel based on the highest and lowest of this bar outside bar. The price channel is traced until a candle closes over the canal, indicating a buying opportunity (green background).
In this example an inside bar configuration was identified when the second candle in the configuration closed inside the High/Low range of the previous candle. The first candle, often called "outside bar" (grey background) allows to establish a price channel based on the highest and lowest of this bar outside bar. The price channel is traced until a candle closes below the channel, indicating a sales opportunity (red background).