//version=5
indicator('⫷⫸ FBC Setup ⫷⫸ ', overlay=true)
// Calculate the conditions for the bullish candlestick setup
isBullishSetup = close > open and open[1] < open and close[1] < close and close > close[1] and low < low[1] and low < open[1]
// Plot a shape and label when the bullish candlestick setup is detected
plotshape(isBullishSetup, color=color.new(#42e9ff, 0), title='Bullish', style=shape.labelup, location=location.belowbar, text='Bullish', textcolor=color.new(#000000, 0))
// Plotting a background color to highlight the pattern
bgcolor(isBullishSetup ? color.new(#4c9baf, 90) : na)
// Calculate the conditions for the descending candlestick setup
isDescendingSetup = open > close and open[1] > open and close[1] > close and close < close[1] and high > high[1] and high > open[1]
// Plot a shape and label when the descending candlestick setup is detected
plotshape(isDescendingSetup, color=color.new(#ff3ea5, 0), title='bearish', style=shape.labeldown, location=location.abovebar, text='bearish', textcolor=color.new(#000000, 0))
// Plotting a background color to highlight the pattern
bgcolor(isDescendingSetup ? color.new(#ff52cb, 90) : na)
indicator('⫷⫸ FBC Setup ⫷⫸ ', overlay=true)
// Calculate the conditions for the bullish candlestick setup
isBullishSetup = close > open and open[1] < open and close[1] < close and close > close[1] and low < low[1] and low < open[1]
// Plot a shape and label when the bullish candlestick setup is detected
plotshape(isBullishSetup, color=color.new(#42e9ff, 0), title='Bullish', style=shape.labelup, location=location.belowbar, text='Bullish', textcolor=color.new(#000000, 0))
// Plotting a background color to highlight the pattern
bgcolor(isBullishSetup ? color.new(#4c9baf, 90) : na)
// Calculate the conditions for the descending candlestick setup
isDescendingSetup = open > close and open[1] > open and close[1] > close and close < close[1] and high > high[1] and high > open[1]
// Plot a shape and label when the descending candlestick setup is detected
plotshape(isDescendingSetup, color=color.new(#ff3ea5, 0), title='bearish', style=shape.labeldown, location=location.abovebar, text='bearish', textcolor=color.new(#000000, 0))
// Plotting a background color to highlight the pattern
bgcolor(isDescendingSetup ? color.new(#ff52cb, 90) : na)
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.