stripykitteh

stripykitteh's DeMark indicator

A thin stripe means the 9 consecutive bar setup is complete (each bar closes lower than the low 4 bars ago for buy setups, the reverse for sell setups).

The medium stripe increases in length as the count to 13 starts (each time a bar closes below the low 2 bars ago the counter is incremented).

When the count reaches 13 the signal is printed (thickest stripe).

For simplicity I've zeroed all the counts once the signal prints, strictly speaking the count may continue higher before the low or high is reached. I've also arbitrarily added a rule that if the signal hasn't printed 40 bars from the setup the whole thing should abort. The chart looks cleaner that way.

This is the first script I've written in Pine; I know it could be improved, this was a quick attempt at getting something working.
Oct 06
Notas de prensa: Minor logic change and made variable names more meaningful.
Eliminar de Scripts favoritos. Añadir a Scripts favoritos.

Comentarios

really nice, like the histogram
Responder
Inicio Analizador de acciones Analizador de Forex Crypto Screener Calendario económico Cómo funciona Funcionalidades del gráfico Precios Recomendar a un amigo Normas Centro de ayuda Soluciones broker y sitio web Widgets Soluciones gráficas Biblioteca de gráficos ligeros Blog y Noticias Twitter
Perfil Opciones de configuración del perfil Cuenta y facturación Recomendar a un amigo Mis Tickets de Soporte Centro de ayuda Ideas publicadas Seguidores Siguiendo Mensajes privados Chat Cerrar sesión