0

in pine script (tradingview)

How can I put in a table the time (hh:mm) in which it gave me a signal of the rsi when crossing in long?

I don't know how it reflected the time the crossing occurred

if barstate.islast and dispS
    //TITULOS COLUMNAS
    table.cell(tbl, 0, 0, 'Bullish Instruments, Timeframe : '  + timeframe.period, text_color=color.rgb(252, 227, 2), bgcolor=color.new(color.gray, 100), text_halign=text.align_center, text_size=size.normal, tooltip = 'based on volatility boundaries & price distance to its moving average')
    table.merge_cells(tbl, 0, 0, 3, 0)
    table.cell(tbl, 0, 1, 'Symbol',  width = col_width,     text_halign = text.align_center, bgcolor = color.gray, text_color = color.white, text_size = size.small)
    table.cell(tbl, 1, 1, 'RSI',     width = col_width,     text_halign = text.align_center, bgcolor = color.gray, text_color = color.white, text_size = size.small)
    table.cell(tbl, 2, 1, 'STATUS',  width = col_width,     text_halign = text.align_center, bgcolor = color.gray, text_color = color.white, text_size = size.small)
    table.cell(tbl, 3, 1, 'Hora',    width = col_width,     text_halign = text.align_center, bgcolor = color.gray, text_color = color.white, text_size = size.small)
General Grievance
  • 4,555
  • 31
  • 31
  • 45
Apophis
  • 1
  • 1

0 Answers0