sherwind

ZigZag HiLo

5130 vizualizações
590
Remover dos scripts favoritos Adicionar aos scripts favoritos

Comentários

does this repaint?
+1 Resposta
Pine Script 4 complains line 36: zigzag = na with this error: "Value with NA type cannot be assigned to a variable that was defined without type keyword".
Figured out to modify it to this:

36| float zigzag = na

to get it passed.
Resposta
Did you intend to reproduce or emulate the built in zigzag indicator?
Nice initiative but your script does not work when I compare both on the same chart, and peak/trough are odd
Resposta
Hi this is great, However when I ran the code there was an error compiling "Script could not be translated from: |B|trend := na(trend", I shall be please if you kindly tell me how this could be solved please
Resposta
Hi @asikoge, it sounds like a copy-pasting issue. Try adding the script to favorites as described at https://blog.tradingview.com/en/importing-custom-indicators-in-tradingview-charts-video-265/ Hope that helps.
Resposta
Início Rastreador de Fundamentos Rastreador Forex Rastreador de Criptomoedas Calendário Econômico Como Funciona Recursos gráficos Preços Indique um Amigo Regras da Casa Central de Ajuda Soluções para Sites & Corretoras Widgets Soluções em Gráficos Biblioteca de Gráficos Lightweight Blog & Notícias Twitter
Perfil Configurações de perfil Conta e cobrança Indique um Amigo Meus Tíquetes de Suporte Central de Ajuda Ideias Publicadas Seguidores Seguindo Mensagens Privadas Conversa Deslogar