apozdnyakov

Three horizontal lines on condition

3235 vizualizações
133
3235 13
A script to plot few horizontal lines on some condition
Jun 26
Notas de Lançamento: in pine v4 these lines became much more simple, and less limited :)
Remover dos scripts favoritos Adicionar aos scripts favoritos
Hey! Is it possible to set alerts on those lines as well? I mean by using functions such as crossunder / crossover.
+2 Resposta
Hello sir, how to put condition which apply for "particular day only" to draw horizontal lines.
Resposta
can we fill color between these horizontal lines?
Resposta
thank you so much for this!!!
Resposta
is it possible for this indicator to only plot body to body and make more than 3 ?
+1 Resposta
Quick Question: How to get that the three closes on condition (crsi > 95) into three different floating point variables? In other words, how to get the three prices on condition (crsi > 95)?
Resposta
apozdnyakov mansiinator
@mansiinator, last_crsi_close(_1|_2) is already series variable. And hline doesn't accept "series' only "float" which is constant float value. But plot+trackprice - does accept series.
Resposta
How to get that close on condition (crsi > 95) into a floating point variable, say ‘last_crsi_close_price’? In other words, how to get the price on condition (crsi > 95)? Once that close is in a floating point variable, the following could be used

hline(last_crsi_close_price, title='OB_Resistance', color=red, linestyle=dotted, linewidth=2)
Resposta
apozdnyakov mansiinator
@mansiinator, chznge three plots to

plot(max(max(last_crsi_close, last_crsi_close_2), last_crsi_close_3), style=cross, trackprice=true, linewidth=3, offset=-9000)
plot(close, color=#ffffffff)
Resposta
mansiinator apozdnyakov
@apozdnyakov, Thank you :)
Resposta
Início Rastreador de Fundamentos Rastreador Forex Rastreador de criptomoedas Calendário econômico Shows Como Funciona Recursos gráficos Preços Regras da Casa Pine Wizards Moderadores Soluções para sites e corretoras Widgets Soluções em Gráficos Biblioteca de Gráficos Lightweight Central de Ajuda Indique um amigo Solicitação de recurso 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