If you are interested in trading gaps in DAX, then DOW plotted in DAX's trading hours, will help you know whether the smoothed candle was a gap or not. Use a different script to plot yesterday's closing price. This will help you see the target for the gap close. Let me know if you find it helpful or not!

Script de código aberto

Dentro do verdadeiro espírito TradingView, o autor deste script publicou ele como um script de código aberto, para que os traders possam compreender e checar ele. Um viva ao autor! Você pode usá-lo gratuitamente, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.

Quer usar esse script no gráfico?
study("DOW GAP")
higherRes = input("15", type=resolution) 
is_newbar(res) =>
    t = time(res)
    change(t) != 0 ? 1 : 0
o = security("US30", higherRes, open)
h = security("US30", higherRes, high)
l = security("US30", higherRes, low)
c = security("US30", higherRes, close) 
plotcandle(is_newbar(higherRes) ? o : na, h, l, c, color=c >= o ? lime : red)