Multi IND Dashboard [Skiploss]
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © Skiploss

//@version=5

indicator(title = "Multi IND Dashboard [Skiploss]", shorttitle = "MINDD v0.77", overlay = true)  // Overlay ON
//indicator(title = "Multi IND Dashboard [Skiploss]", shorttitle = "MINDD v0.77")                // Overlay OFF

// Input System symbol

input_symbol            =   syminfo.tickerid

// Input Bools Indicator

input_indicator_ticker_01     =   input(true,      "Change", group = "Indicator")
input_indicator_ticker_02     =   input(true,         "RSI", group = "Indicator")
input_indicator_ticker_03     =   input(true,         "ATR", group = "Indicator")
input_indicator_ticker_04     =   input(true,    "Aligator", group = "Indicator")
input_indicator_ticker_05     =   input(true, "Super Trend", group = "Indicator")

// Relative Strength Index Setting

relative_strength_index_length      =   input.int(title = "Length", defval = 14, minval = 2,    maxval = 365,   group = 'RSI Setting')
relative_strength_index_source      =   input.source(close, "Source", group = 'RSI Setting')

relative_strength_index_overbought_max  =   input.int(title = "Overbought Max Level", defval = 75, minval = 51,   maxval = 100,   group = 'RSI Setting')
color_status_overbought_max   =   input(#8ebbff,  'Color Max', group = 'RSI Setting')
relative_strength_index_overbought_med  =   input.int(title = "Overbought Med Level", defval = 65, minval = 51,   maxval = 100,  group = 'RSI Setting')
color_status_overbought_med   =   input(#b0cfff,  'Color Med', group = 'RSI Setting')
relative_strength_index_overbought_min  =   input.int(title = "Overbought Min Level", defval = 55, minval = 51,   maxval = 100,   group = 'RSI Setting')
color_status_overbought_min   =   input(#c7ddff,  'Color Min', group = 'RSI Setting')

relative_strength_index_oversold_max    =   input.int(title = "Oversold Max Level",   defval = 25, minval = 0,    maxval = 50,    group = 'RSI Setting')
color_status_oversold_max     =   input(#ff8e8e,    'Color Max', group = 'RSI Setting')
relative_strength_index_oversold_med    =   input.int(title = "Oversold Med Level",   defval = 35, minval = 0,    maxval = 50,    group = 'RSI Setting')
color_status_oversold_med     =   input(#ffb0b0,    'Color Med', group = 'RSI Setting')
relative_strength_index_oversold_min    =   input.int(title = "Oversold Min Level",   defval = 45, minval = 0,    maxval = 50,    group = 'RSI Setting')
color_status_oversold_min     =   input(#ffc7c7,    'Color Min', group = 'RSI Setting')

relative_strength_index                 =   ta.rsi(relative_strength_index_source, relative_strength_index_length)


// ATR Setting

atr_length = input.int(title = "Length", defval = 14, minval = 1, group = 'ATR Setting')
atr_smoothing = input.string(title = "Smoothing", defval = "RMA", options = ["RMA", "SMA", "EMA", "WMA"], group = 'ATR Setting')
ma_function(atr_source, atr_length) =>
	switch atr_smoothing
		"RMA" => ta.rma(atr_source, atr_length)
		"SMA" => ta.sma(atr_source, atr_length)
		"EMA" => ta.ema(atr_source, atr_length)
		=> ta.wma(atr_source, atr_length)
atr_formula    = ma_function(ta.tr(true),atr_length)


// Alligator Setting
var alligator_status_text = ''
var alligator_status_color = color.white
jaw_length    = input.int(13, minval=1, title="Jaw Length", group = 'Alligator Setting')
teeth_length  = input.int(8, minval=1, title="Teeth Length", group = 'Alligator Setting')
lips_length   = input.int(5, minval=1, title="Lips Length", group = 'Alligator Setting')

smma(src, length) =>
    smma = 0.0
    smma := na(smma[1]) ? ta.sma(src, length) : (smma[1] * (length - 1) + src) / length
    smma
jaw = smma(hl2, jaw_length)
teeth = smma(hl2, teeth_length)
lips = smma(hl2, lips_length)


// Super Trend Sitting 

supertrend_atr_length = input(10, "ATR Length", group = 'Supertrend Setting')
supertrend_factor = input.float(3.0, "Factor", step = 0.01, group = 'Supertrend Setting')

Supertrend_(supertrend_factor, supertrend_atr_length) => 
    [supertrend, trend] = ta.supertrend(supertrend_factor, supertrend_atr_length)
    supertrend_formula = trend == 1 ? false : true
    [supertrend_formula]

[supertrend_formula] = Supertrend_(supertrend_factor, supertrend_atr_length)


// Style Setting

dashboard_location  =   input.session("Bottom Left",  "Dashboard Location",   options = ["Top Right","Bottom Right","Top Left","Bottom Left", "Middle Right","Bottom Center"], group = 'Style Settings')
dashboard_text_size =   input.session(     'Normal',      "Dashboard Size",   options = ["Tiny","Small","Normal","Large"], group = 'Style Settings')
transparency          =   input.int(35, 'Transparency', minval = 0, maxval = 100, group = 'Style Settings')
color_status_bullish  =   input(#8ebbff, 'Bullish Color', group = 'Style Settings')
color_status_bearish  =   input(#ff8e8e, 'Bearish Color', group = 'Style Settings')
color_status_neutral  =   input(#ffffff, 'Neutral Color', group = 'Style Settings')


// Timeframes

timeframe_01    =   input.timeframe(  "1",  title =  "1st", group = "Resolution")
timeframe_02    =   input.timeframe(  "5",  title =  "2nd", group = "Resolution")
timeframe_03    =   input.timeframe( "15",  title =  "3rd", group = "Resolution")
timeframe_04    =   input.timeframe( "30",  title =  "4th", group = "Resolution")
timeframe_05    =   input.timeframe( "60",  title =  "5th", group = "Resolution")
timeframe_06    =   input.timeframe("120",  title =  "6th", group = "Resolution")
timeframe_07    =   input.timeframe("240",  title =  "7th", group = "Resolution")
timeframe_08    =   input.timeframe("480",  title =  "8th", group = "Resolution")
timeframe_09    =   input.timeframe(  "D",  title =  "9th", group = "Resolution")
timeframe_10    =   input.timeframe(  "W",  title = "10th", group = "Resolution")


// indicator_01_value_XX : Change
// indicator_02_value_XX : RSI
// indicator_03_value_XX : ATR
// indicator_04_value_XX : Aligator (jaw/teeth/lips)
// indicator_05_value_XX : Supper Trend

[indicator_01_value_01, indicator_02_value_01, indicator_03_value_01, indicator_04_value_01_jaw, indicator_04_value_01_teeth, indicator_04_value_01_lips, indicator_05_value_01]  =   request.security(input_symbol, timeframe_01, [close-close[1], ta.rsi(close,relative_strength_index_length), atr_formula, jaw, teeth, lips, supertrend_formula])
[indicator_01_value_02, indicator_02_value_02, indicator_03_value_02, indicator_04_value_02_jaw, indicator_04_value_02_teeth, indicator_04_value_02_lips, indicator_05_value_02]  =   request.security(input_symbol, timeframe_02, [close-close[1], ta.rsi(close,relative_strength_index_length), atr_formula, jaw, teeth, lips, supertrend_formula])
[indicator_01_value_03, indicator_02_value_03, indicator_03_value_03, indicator_04_value_03_jaw, indicator_04_value_03_teeth, indicator_04_value_03_lips, indicator_05_value_03]  =   request.security(input_symbol, timeframe_03, [close-close[1], ta.rsi(close,relative_strength_index_length), atr_formula, jaw, teeth, lips, supertrend_formula])
[indicator_01_value_04, indicator_02_value_04, indicator_03_value_04, indicator_04_value_04_jaw, indicator_04_value_04_teeth, indicator_04_value_04_lips, indicator_05_value_04]  =   request.security(input_symbol, timeframe_04, [close-close[1], ta.rsi(close,relative_strength_index_length), atr_formula, jaw, teeth, lips, supertrend_formula])
[indicator_01_value_05, indicator_02_value_05, indicator_03_value_05, indicator_04_value_05_jaw, indicator_04_value_05_teeth, indicator_04_value_05_lips, indicator_05_value_05]  =   request.security(input_symbol, timeframe_05, [close-close[1], ta.rsi(close,relative_strength_index_length), atr_formula, jaw, teeth, lips, supertrend_formula])
[indicator_01_value_06, indicator_02_value_06, indicator_03_value_06, indicator_04_value_06_jaw, indicator_04_value_06_teeth, indicator_04_value_06_lips, indicator_05_value_06]  =   request.security(input_symbol, timeframe_06, [close-close[1], ta.rsi(close,relative_strength_index_length), atr_formula, jaw, teeth, lips, supertrend_formula])
[indicator_01_value_07, indicator_02_value_07, indicator_03_value_07, indicator_04_value_07_jaw, indicator_04_value_07_teeth, indicator_04_value_07_lips, indicator_05_value_07]  =   request.security(input_symbol, timeframe_07, [close-close[1], ta.rsi(close,relative_strength_index_length), atr_formula, jaw, teeth, lips, supertrend_formula])
[indicator_01_value_08, indicator_02_value_08, indicator_03_value_08, indicator_04_value_08_jaw, indicator_04_value_08_teeth, indicator_04_value_08_lips, indicator_05_value_08]  =   request.security(input_symbol, timeframe_08, [close-close[1], ta.rsi(close,relative_strength_index_length), atr_formula, jaw, teeth, lips, supertrend_formula])
[indicator_01_value_09, indicator_02_value_09, indicator_03_value_09, indicator_04_value_09_jaw, indicator_04_value_09_teeth, indicator_04_value_09_lips, indicator_05_value_09]  =   request.security(input_symbol, timeframe_09, [close-close[1], ta.rsi(close,relative_strength_index_length), atr_formula, jaw, teeth, lips, supertrend_formula])
[indicator_01_value_10, indicator_02_value_10, indicator_03_value_10, indicator_04_value_10_jaw, indicator_04_value_10_teeth, indicator_04_value_10_lips, indicator_05_value_10]  =   request.security(input_symbol, timeframe_10, [close-close[1], ta.rsi(close,relative_strength_index_length), atr_formula, jaw, teeth, lips, supertrend_formula])


// Dashboard Create

var table_position  =   dashboard_location  == 'Top Left' ? position.top_left :
  dashboard_location == 'Bottom Left'   ? position.bottom_left :
  dashboard_location == 'Middle Right'  ? position.middle_right :
  dashboard_location == 'Bottom Center' ? position.bottom_center :
  dashboard_location == 'Top Right'     ? position.top_right : position.bottom_right

var table_text_size  = dashboard_text_size == 'Tiny' ? size.tiny :
  dashboard_text_size == 'Small' ? size.small :
  dashboard_text_size == 'Normal' ? size.normal : size.large

var dashboard = table.new(table_position,12,6,
  frame_color = #141823,
  frame_width = 1,
  border_color= #141823,
  border_width= 1)

if (barstate.islast)
    
    //Headings
    
    table.cell(dashboard,  1, 0,       ' Info.', width = 5, text_color = color.white, text_size = table_text_size, bgcolor = color.black)
    table.cell(dashboard,  2, 0,   timeframe_01, width = 3, text_color = color.white, text_size = table_text_size, bgcolor = color.black)
    table.cell(dashboard,  3, 0,   timeframe_02, width = 3, text_color = color.white, text_size = table_text_size, bgcolor = color.black)
    table.cell(dashboard,  4, 0,   timeframe_03, width = 3, text_color = color.white, text_size = table_text_size, bgcolor = color.black)
    table.cell(dashboard,  5, 0,   timeframe_04, width = 3, text_color = color.white, text_size = table_text_size, bgcolor = color.black)
    table.cell(dashboard,  6, 0,   timeframe_05, width = 3, text_color = color.white, text_size = table_text_size, bgcolor = color.black)  
    table.cell(dashboard,  7, 0,   timeframe_06, width = 3, text_color = color.white, text_size = table_text_size, bgcolor = color.black)
    table.cell(dashboard,  8, 0,   timeframe_07, width = 3, text_color = color.white, text_size = table_text_size, bgcolor = color.black)
    table.cell(dashboard,  9, 0,   timeframe_08, width = 3, text_color = color.white, text_size = table_text_size, bgcolor = color.black)
    table.cell(dashboard, 10, 0,   timeframe_09, width = 3, text_color = color.white, text_size = table_text_size, bgcolor = color.black)
    table.cell(dashboard, 11, 0,   timeframe_10, width = 3, text_color = color.white, text_size = table_text_size, bgcolor = color.black) 
    
    // Indicator 01
    
    if input_indicator_ticker_01
        table.cell(dashboard,  1, 1, "Change", text_color = color.white, text_size = table_text_size, bgcolor = color.black)
        table.cell(dashboard,  2, 1, str.tostring(indicator_01_value_01, '#.#####'), text_color = color.new(indicator_01_value_01 > 0 ? color_status_bullish : color_status_bearish, 0), text_size = table_text_size, bgcolor = color.black)
        table.cell(dashboard,  3, 1, str.tostring(indicator_01_value_02, '#.#####'), text_color = color.new(indicator_01_value_02 > 0 ? color_status_bullish : color_status_bearish, 0), text_size = table_text_size, bgcolor = color.black)
        table.cell(dashboard,  4, 1, str.tostring(indicator_01_value_03, '#.#####'), text_color = color.new(indicator_01_value_03 > 0 ? color_status_bullish : color_status_bearish, 0), text_size = table_text_size, bgcolor = color.black)
        table.cell(dashboard,  5, 1, str.tostring(indicator_01_value_04, '#.#####'), text_color = color.new(indicator_01_value_04 > 0 ? color_status_bullish : color_status_bearish, 0), text_size = table_text_size, bgcolor = color.black)
        table.cell(dashboard,  6, 1, str.tostring(indicator_01_value_05, '#.#####'), text_color = color.new(indicator_01_value_05 > 0 ? color_status_bullish : color_status_bearish, 0), text_size = table_text_size, bgcolor = color.black)
        table.cell(dashboard,  7, 1, str.tostring(indicator_01_value_06, '#.#####'), text_color = color.new(indicator_01_value_06 > 0 ? color_status_bullish : color_status_bearish, 0), text_size = table_text_size, bgcolor = color.black)
        table.cell(dashboard,  8, 1, str.tostring(indicator_01_value_07, '#.#####'), text_color = color.new(indicator_01_value_07 > 0 ? color_status_bullish : color_status_bearish, 0), text_size = table_text_size, bgcolor = color.black)
        table.cell(dashboard,  9, 1, str.tostring(indicator_01_value_08, '#.#####'), text_color = color.new(indicator_01_value_08 > 0 ? color_status_bullish : color_status_bearish, 0), text_size = table_text_size, bgcolor = color.black)
        table.cell(dashboard, 10, 1, str.tostring(indicator_01_value_09, '#.#####'), text_color = color.new(indicator_01_value_09 > 0 ? color_status_bullish : color_status_bearish, 0), text_size = table_text_size, bgcolor = color.black)
        table.cell(dashboard, 11, 1, str.tostring(indicator_01_value_10, '#.#####'), text_color = color.new(indicator_01_value_10 > 0 ? color_status_bullish : color_status_bearish, 0), text_size = table_text_size, bgcolor = color.black)
    
    // Indicator 02
    
    if input_indicator_ticker_02
        table.cell(dashboard,  1, 2, "RSI", text_color = color.white, text_size = table_text_size, bgcolor = color.black)
        table.cell(dashboard,  2, 2, str.tostring(indicator_02_value_01, '#.##'), text_color = color.new(indicator_02_value_01 >= relative_strength_index_overbought_max ? color_status_overbought_max : indicator_02_value_01 >= relative_strength_index_overbought_med ? color_status_overbought_med : indicator_02_value_01 >= relative_strength_index_overbought_min ? color_status_overbought_min : indicator_02_value_01 <= relative_strength_index_oversold_max ? color_status_oversold_max : indicator_02_value_01 <= relative_strength_index_oversold_med ? color_status_oversold_med : indicator_02_value_01 <= relative_strength_index_oversold_min ? color_status_oversold_min : color_status_neutral, 0), text_size = table_text_size, bgcolor = color.black)
        table.cell(dashboard,  3, 2, str.tostring(indicator_02_value_02, '#.##'), text_color = color.new(indicator_02_value_02 >= relative_strength_index_overbought_max ? color_status_overbought_max : indicator_02_value_02 >= relative_strength_index_overbought_med ? color_status_overbought_med : indicator_02_value_02 >= relative_strength_index_overbought_min ? color_status_overbought_min : indicator_02_value_02 <= relative_strength_index_oversold_max ? color_status_oversold_max : indicator_02_value_02 <= relative_strength_index_oversold_med ? color_status_oversold_med : indicator_02_value_02 <= relative_strength_index_oversold_min ? color_status_oversold_min : color_status_neutral, 0), text_size = table_text_size, bgcolor = color.black)
        table.cell(dashboard,  4, 2, str.tostring(indicator_02_value_03, '#.##'), text_color = color.new(indicator_02_value_03 >= relative_strength_index_overbought_max ? color_status_overbought_max : indicator_02_value_03 >= relative_strength_index_overbought_med ? color_status_overbought_med : indicator_02_value_03 >= relative_strength_index_overbought_min ? color_status_overbought_min : indicator_02_value_03 <= relative_strength_index_oversold_max ? color_status_oversold_max : indicator_02_value_03 <= relative_strength_index_oversold_med ? color_status_oversold_med : indicator_02_value_03 <= relative_strength_index_oversold_min ? color_status_oversold_min : color_status_neutral, 0), text_size = table_text_size, bgcolor = color.black)
        table.cell(dashboard,  5, 2, str.tostring(indicator_02_value_04, '#.##'), text_color = color.new(indicator_02_value_04 >= relative_strength_index_overbought_max ? color_status_overbought_max : indicator_02_value_04 >= relative_strength_index_overbought_med ? color_status_overbought_med : indicator_02_value_04 >= relative_strength_index_overbought_min ? color_status_overbought_min : indicator_02_value_04 <= relative_strength_index_oversold_max ? color_status_oversold_max : indicator_02_value_04 <= relative_strength_index_oversold_med ? color_status_oversold_med : indicator_02_value_04 <= relative_strength_index_oversold_min ? color_status_oversold_min : color_status_neutral, 0), text_size = table_text_size, bgcolor = color.black)
        table.cell(dashboard,  6, 2, str.tostring(indicator_02_value_05, '#.##'), text_color = color.new(indicator_02_value_05 >= relative_strength_index_overbought_max ? color_status_overbought_max : indicator_02_value_05 >= relative_strength_index_overbought_med ? color_status_overbought_med : indicator_02_value_05 >= relative_strength_index_overbought_min ? color_status_overbought_min : indicator_02_value_05 <= relative_strength_index_oversold_max ? color_status_oversold_max : indicator_02_value_05 <= relative_strength_index_oversold_med ? color_status_oversold_med : indicator_02_value_05 <= relative_strength_index_oversold_min ? color_status_oversold_min : color_status_neutral, 0), text_size = table_text_size, bgcolor = color.black)
        table.cell(dashboard,  7, 2, str.tostring(indicator_02_value_06, '#.##'), text_color = color.new(indicator_02_value_06 >= relative_strength_index_overbought_max ? color_status_overbought_max : indicator_02_value_06 >= relative_strength_index_overbought_med ? color_status_overbought_med : indicator_02_value_06 >= relative_strength_index_overbought_min ? color_status_overbought_min : indicator_02_value_06 <= relative_strength_index_oversold_max ? color_status_oversold_max : indicator_02_value_06 <= relative_strength_index_oversold_med ? color_status_oversold_med : indicator_02_value_06 <= relative_strength_index_oversold_min ? color_status_oversold_min : color_status_neutral, 0), text_size = table_text_size, bgcolor = color.black)
        table.cell(dashboard,  8, 2, str.tostring(indicator_02_value_07, '#.##'), text_color = color.new(indicator_02_value_07 >= relative_strength_index_overbought_max ? color_status_overbought_max : indicator_02_value_07 >= relative_strength_index_overbought_med ? color_status_overbought_med : indicator_02_value_07 >= relative_strength_index_overbought_min ? color_status_overbought_min : indicator_02_value_07 <= relative_strength_index_oversold_max ? color_status_oversold_max : indicator_02_value_07 <= relative_strength_index_oversold_med ? color_status_oversold_med : indicator_02_value_07 <= relative_strength_index_oversold_min ? color_status_oversold_min : color_status_neutral, 0), text_size = table_text_size, bgcolor = color.black)
        table.cell(dashboard,  9, 2, str.tostring(indicator_02_value_08, '#.##'), text_color = color.new(indicator_02_value_08 >= relative_strength_index_overbought_max ? color_status_overbought_max : indicator_02_value_08 >= relative_strength_index_overbought_med ? color_status_overbought_med : indicator_02_value_08 >= relative_strength_index_overbought_min ? color_status_overbought_min : indicator_02_value_08 <= relative_strength_index_oversold_max ? color_status_oversold_max : indicator_02_value_08 <= relative_strength_index_oversold_med ? color_status_oversold_med : indicator_02_value_08 <= relative_strength_index_oversold_min ? color_status_oversold_min : color_status_neutral, 0), text_size = table_text_size, bgcolor = color.black)
        table.cell(dashboard, 10, 2, str.tostring(indicator_02_value_09, '#.##'), text_color = color.new(indicator_02_value_09 >= relative_strength_index_overbought_max ? color_status_overbought_max : indicator_02_value_09 >= relative_strength_index_overbought_med ? color_status_overbought_med : indicator_02_value_09 >= relative_strength_index_overbought_min ? color_status_overbought_min : indicator_02_value_09 <= relative_strength_index_oversold_max ? color_status_oversold_max : indicator_02_value_09 <= relative_strength_index_oversold_med ? color_status_oversold_med : indicator_02_value_09 <= relative_strength_index_oversold_min ? color_status_oversold_min : color_status_neutral, 0), text_size = table_text_size, bgcolor = color.black)
        table.cell(dashboard, 11, 2, str.tostring(indicator_02_value_10, '#.##'), text_color = color.new(indicator_02_value_10 >= relative_strength_index_overbought_max ? color_status_overbought_max : indicator_02_value_10 >= relative_strength_index_overbought_med ? color_status_overbought_med : indicator_02_value_10 >= relative_strength_index_overbought_min ? color_status_overbought_min : indicator_02_value_10 <= relative_strength_index_oversold_max ? color_status_oversold_max : indicator_02_value_10 <= relative_strength_index_oversold_med ? color_status_oversold_med : indicator_02_value_10 <= relative_strength_index_oversold_min ? color_status_oversold_min : color_status_neutral, 0), text_size = table_text_size, bgcolor = color.black)
    
    // Indicator 03
    
    if input_indicator_ticker_03
        table.cell(dashboard,  1, 3, "ATR", text_color = color.white, text_size = table_text_size, bgcolor = color.black)
        table.cell(dashboard,  2, 3, str.tostring(indicator_03_value_01, '#.#####'), text_color = color.white, text_size = table_text_size, bgcolor = color.black)
        table.cell(dashboard,  3, 3, str.tostring(indicator_03_value_02, '#.#####'), text_color = color.white, text_size = table_text_size, bgcolor = color.black)
        table.cell(dashboard,  4, 3, str.tostring(indicator_03_value_03, '#.#####'), text_color = color.white, text_size = table_text_size, bgcolor = color.black)
        table.cell(dashboard,  5, 3, str.tostring(indicator_03_value_04, '#.#####'), text_color = color.white, text_size = table_text_size, bgcolor = color.black)
        table.cell(dashboard,  6, 3, str.tostring(indicator_03_value_05, '#.#####'), text_color = color.white, text_size = table_text_size, bgcolor = color.black)
        table.cell(dashboard,  7, 3, str.tostring(indicator_03_value_06, '#.#####'), text_color = color.white, text_size = table_text_size, bgcolor = color.black)
        table.cell(dashboard,  8, 3, str.tostring(indicator_03_value_07, '#.#####'), text_color = color.white, text_size = table_text_size, bgcolor = color.black)
        table.cell(dashboard,  9, 3, str.tostring(indicator_03_value_08, '#.#####'), text_color = color.white, text_size = table_text_size, bgcolor = color.black)
        table.cell(dashboard, 10, 3, str.tostring(indicator_03_value_09, '#.#####'), text_color = color.white, text_size = table_text_size, bgcolor = color.black)
        table.cell(dashboard, 11, 3, str.tostring(indicator_03_value_10, '#.#####'), text_color = color.white, text_size = table_text_size, bgcolor = color.black)
    
    // Indicator 04    

    if input_indicator_ticker_04
        table.cell(dashboard,   1, 4, "Alligator",text_color=color.white,text_size=table_text_size,bgcolor=color.black)
        if indicator_04_value_01_lips > indicator_04_value_01_teeth and indicator_04_value_01_teeth > indicator_04_value_01_jaw
            alligator_status_text  := "Bullish"
            alligator_status_color := color_status_bullish
        if indicator_04_value_01_lips < indicator_04_value_01_teeth and indicator_04_value_01_teeth < indicator_04_value_01_jaw
            alligator_status_text  := "Bearish"
            alligator_status_color := color_status_bearish
        else if indicator_04_value_01_lips > indicator_04_value_01_teeth and indicator_04_value_01_teeth < indicator_04_value_01_jaw or indicator_04_value_01_lips < indicator_04_value_01_teeth and indicator_04_value_01_teeth > indicator_04_value_01_jaw
            alligator_status_text := "Neutral"
            alligator_status_color := color_status_neutral
        table.cell(dashboard,   2, 4, str.tostring(alligator_status_text),text_color = alligator_status_color,text_size=table_text_size, bgcolor = color.black)
        if indicator_04_value_02_lips > indicator_04_value_02_teeth and indicator_04_value_02_teeth > indicator_04_value_02_jaw
            alligator_status_text  := "Bullish"
            alligator_status_color := color_status_bullish
        if indicator_04_value_02_lips < indicator_04_value_02_teeth and indicator_04_value_02_teeth < indicator_04_value_02_jaw
            alligator_status_text  := "Bearish"
            alligator_status_color := color_status_bearish
        else if indicator_04_value_02_lips > indicator_04_value_02_teeth and indicator_04_value_02_teeth < indicator_04_value_02_jaw or indicator_04_value_02_lips < indicator_04_value_02_teeth and indicator_04_value_02_teeth > indicator_04_value_02_jaw
            alligator_status_text  := "Neutral"
            alligator_status_color := color_status_neutral
        table.cell(dashboard,   3, 4, str.tostring(alligator_status_text),text_color = alligator_status_color,text_size=table_text_size, bgcolor = color.black)
        if indicator_04_value_03_lips > indicator_04_value_03_teeth and indicator_04_value_03_teeth > indicator_04_value_03_jaw
            alligator_status_text  := "Bullish"
            alligator_status_color := color_status_bullish
        if indicator_04_value_03_lips < indicator_04_value_03_teeth and indicator_04_value_03_teeth < indicator_04_value_03_jaw
            alligator_status_text  := "Bearish"
            alligator_status_color := color_status_bearish
        else if indicator_04_value_03_lips > indicator_04_value_03_teeth and indicator_04_value_03_teeth < indicator_04_value_03_jaw or indicator_04_value_03_lips < indicator_04_value_03_teeth and indicator_04_value_03_teeth > indicator_04_value_03_jaw
            alligator_status_text  := "Neutral"
            alligator_status_color := color_status_neutral
        table.cell(dashboard,   4, 4, str.tostring(alligator_status_text),text_color = alligator_status_color,text_size=table_text_size, bgcolor = color.black)
        if indicator_04_value_04_lips > indicator_04_value_04_teeth and indicator_04_value_04_teeth > indicator_04_value_04_jaw
            alligator_status_text  := "Bullish"
            alligator_status_color := color_status_bullish
        if indicator_04_value_04_lips < indicator_04_value_04_teeth and indicator_04_value_04_teeth < indicator_04_value_04_jaw
            alligator_status_text  := "Bearish"
            alligator_status_color := color_status_bearish
        else if indicator_04_value_04_lips > indicator_04_value_04_teeth and indicator_04_value_04_teeth < indicator_04_value_04_jaw or indicator_04_value_04_lips < indicator_04_value_04_teeth and indicator_04_value_04_teeth > indicator_04_value_04_jaw
            alligator_status_text  := "Neutral"
            alligator_status_color := color_status_neutral
        table.cell(dashboard,   5, 4, str.tostring(alligator_status_text),text_color = alligator_status_color,text_size=table_text_size, bgcolor = color.black)
        if indicator_04_value_05_lips > indicator_04_value_05_teeth and indicator_04_value_05_teeth > indicator_04_value_05_jaw
            alligator_status_text  := "Bullish"
            alligator_status_color := color_status_bullish
        if indicator_04_value_05_lips < indicator_04_value_05_teeth and indicator_04_value_05_teeth < indicator_04_value_05_jaw
            alligator_status_text  := "Bearish"
            alligator_status_color := color_status_bearish
        else if indicator_04_value_05_lips > indicator_04_value_05_teeth and indicator_04_value_05_teeth < indicator_04_value_05_jaw or indicator_04_value_05_lips < indicator_04_value_05_teeth and indicator_04_value_05_teeth > indicator_04_value_05_jaw
            alligator_status_text  := "Neutral"
            alligator_status_color := color_status_neutral
        table.cell(dashboard,   6, 4, str.tostring(alligator_status_text),text_color = alligator_status_color,text_size=table_text_size, bgcolor = color.black)
        if indicator_04_value_06_lips > indicator_04_value_06_teeth and indicator_04_value_06_teeth > indicator_04_value_06_jaw
            alligator_status_text  := "Bullish"
            alligator_status_color := color_status_bullish
        if indicator_04_value_06_lips < indicator_04_value_06_teeth and indicator_04_value_06_teeth < indicator_04_value_06_jaw
            alligator_status_text  := "Bearish"
            alligator_status_color := color_status_bearish
        else if indicator_04_value_06_lips > indicator_04_value_06_teeth and indicator_04_value_06_teeth < indicator_04_value_06_jaw or indicator_04_value_06_lips < indicator_04_value_06_teeth and indicator_04_value_06_teeth > indicator_04_value_06_jaw
            alligator_status_text  := "Neutral"
            alligator_status_color := color_status_neutral
        table.cell(dashboard,   7, 4, str.tostring(alligator_status_text),text_color = alligator_status_color,text_size=table_text_size, bgcolor = color.black)
        if indicator_04_value_07_lips > indicator_04_value_07_teeth and indicator_04_value_07_teeth > indicator_04_value_07_jaw
            alligator_status_text  := "Bullish"
            alligator_status_color := color_status_bullish
        if indicator_04_value_07_lips < indicator_04_value_07_teeth and indicator_04_value_07_teeth < indicator_04_value_07_jaw
            alligator_status_text  := "Bearish"
            alligator_status_color := color_status_bearish
        else if indicator_04_value_07_lips > indicator_04_value_07_teeth and indicator_04_value_07_teeth < indicator_04_value_07_jaw or indicator_04_value_07_lips < indicator_04_value_07_teeth and indicator_04_value_07_teeth > indicator_04_value_07_jaw
            alligator_status_text  := "Neutral"
            alligator_status_color := color_status_neutral
        table.cell(dashboard,   8, 4, str.tostring(alligator_status_text),text_color = alligator_status_color,text_size=table_text_size, bgcolor = color.black)
        if indicator_04_value_08_lips > indicator_04_value_08_teeth and indicator_04_value_08_teeth > indicator_04_value_08_jaw
            alligator_status_text  := "Bullish"
            alligator_status_color := color_status_bullish
        if indicator_04_value_08_lips < indicator_04_value_08_teeth and indicator_04_value_08_teeth < indicator_04_value_08_jaw
            alligator_status_text  := "Bearish"
            alligator_status_color := color_status_bearish
        else if indicator_04_value_08_lips > indicator_04_value_08_teeth and indicator_04_value_08_teeth < indicator_04_value_08_jaw or indicator_04_value_08_lips < indicator_04_value_08_teeth and indicator_04_value_08_teeth > indicator_04_value_08_jaw
            alligator_status_text  := "Neutral"
            alligator_status_color := color_status_neutral
        table.cell(dashboard,   9, 4, str.tostring(alligator_status_text),text_color = alligator_status_color,text_size=table_text_size, bgcolor = color.black)
        if indicator_04_value_09_lips > indicator_04_value_09_teeth and indicator_04_value_09_teeth > indicator_04_value_09_jaw
            alligator_status_text  := "Bullish"
            alligator_status_color := color_status_bullish
        if indicator_04_value_09_lips < indicator_04_value_09_teeth and indicator_04_value_09_teeth < indicator_04_value_09_jaw
            alligator_status_text  := "Bearish"
            alligator_status_color := color_status_bearish
        else if indicator_04_value_09_lips > indicator_04_value_09_teeth and indicator_04_value_09_teeth < indicator_04_value_09_jaw or indicator_04_value_09_lips < indicator_04_value_09_teeth and indicator_04_value_09_teeth > indicator_04_value_09_jaw
            alligator_status_text  := "Neutral"
            alligator_status_color := color_status_neutral
        table.cell(dashboard,  10, 4, str.tostring(alligator_status_text),text_color = alligator_status_color,text_size=table_text_size, bgcolor = color.black)
        if indicator_04_value_10_lips > indicator_04_value_10_teeth and indicator_04_value_10_teeth > indicator_04_value_10_jaw
            alligator_status_text  := "Bullish"
            alligator_status_color := color_status_bullish
        if indicator_04_value_10_lips < indicator_04_value_10_teeth and indicator_04_value_10_teeth < indicator_04_value_10_jaw
            alligator_status_text  := "Bearish"
            alligator_status_color := color_status_bearish
        else if indicator_04_value_10_lips > indicator_04_value_10_teeth and indicator_04_value_10_teeth < indicator_04_value_10_jaw or indicator_04_value_10_lips < indicator_04_value_10_teeth and indicator_04_value_10_teeth > indicator_04_value_10_jaw
            alligator_status_text  := "Neutral"
            alligator_status_color := color_status_neutral
        table.cell(dashboard,  11, 4, str.tostring(alligator_status_text),text_color=alligator_status_color,text_size=table_text_size, bgcolor = color.black)

    // Indicator 05

    if input_indicator_ticker_05
        table.cell(dashboard,  1, 5, "Supertrend", text_color = color.white, text_size = table_text_size, bgcolor = color.black)
        table.cell(dashboard,  2, 5, indicator_05_value_01 ? str.tostring('Bullish') : str.tostring('Bearish'), text_color = color.new(indicator_05_value_01 == true ? color_status_bullish : color_status_bearish, 0), text_size = table_text_size, bgcolor = color.black)
        table.cell(dashboard,  3, 5, indicator_05_value_02 ? str.tostring('Bullish') : str.tostring('Bearish'), text_color = color.new(indicator_05_value_02 == true ? color_status_bullish : color_status_bearish, 0), text_size = table_text_size, bgcolor = color.black)
        table.cell(dashboard,  4, 5, indicator_05_value_03 ? str.tostring('Bullish') : str.tostring('Bearish'), text_color = color.new(indicator_05_value_03 == true ? color_status_bullish : color_status_bearish, 0), text_size = table_text_size, bgcolor = color.black)
        table.cell(dashboard,  5, 5, indicator_05_value_04 ? str.tostring('Bullish') : str.tostring('Bearish'), text_color = color.new(indicator_05_value_04 == true ? color_status_bullish : color_status_bearish, 0), text_size = table_text_size, bgcolor = color.black)
        table.cell(dashboard,  6, 5, indicator_05_value_05 ? str.tostring('Bullish') : str.tostring('Bearish'), text_color = color.new(indicator_05_value_05 == true ? color_status_bullish : color_status_bearish, 0), text_size = table_text_size, bgcolor = color.black)
        table.cell(dashboard,  7, 5, indicator_05_value_06 ? str.tostring('Bullish') : str.tostring('Bearish'), text_color = color.new(indicator_05_value_06 == true ? color_status_bullish : color_status_bearish, 0), text_size = table_text_size, bgcolor = color.black)
        table.cell(dashboard,  8, 5, indicator_05_value_07 ? str.tostring('Bullish') : str.tostring('Bearish'), text_color = color.new(indicator_05_value_07 == true ? color_status_bullish : color_status_bearish, 0), text_size = table_text_size, bgcolor = color.black)
        table.cell(dashboard,  9, 5, indicator_05_value_08 ? str.tostring('Bullish') : str.tostring('Bearish'), text_color = color.new(indicator_05_value_08 == true ? color_status_bullish : color_status_bearish, 0), text_size = table_text_size, bgcolor = color.black)
        table.cell(dashboard, 10, 5, indicator_05_value_09 ? str.tostring('Bullish') : str.tostring('Bearish'), text_color = color.new(indicator_05_value_09 == true ? color_status_bullish : color_status_bearish, 0), text_size = table_text_size, bgcolor = color.black)
        table.cell(dashboard, 11, 5, indicator_05_value_10 ? str.tostring('Bullish') : str.tostring('Bearish'), text_color = color.new(indicator_05_value_10 == true ? color_status_bullish : color_status_bearish, 0), text_size = table_text_size, bgcolor = color.black)