repo32

Spinning Tops

This is my script for a spinning top. It is just another form of a doji. It is an indecision bar. Enjoy.
Script de código abierto

Siguiendo el verdadero espíritu de TradingView, el autor de este script lo ha publicado en código abierto, para que los traders puedan entenderlo y verificarlo. ¡Un hurra por el autor! Puede utilizarlo de forma gratuita, aunque si vuelve a utilizar este código en una publicación, debe cumplir con lo establecido en las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

Exención de responsabilidad

La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.

¿Quiere utilizar este script en un gráfico?
//Created by Robert Nance 7/13/15
//This script is for spinning tops.  I have another script with all the major candlesticks.  This one is to simply identify spinning top candlesticks

stsize=input(.5, minval=.1, title="Spinning Top Size")
study(title = "Spinning Tops", overlay = true)
spinningtop=(open>close) and ((high-low)>(3*(open-close))and(((high-open)/(.001+high-low))< stsize)and (((close-low)/(.001+high-low))< stsize))or
            (close>open) and ((high-low)>(3*(close-open))and(((high-close)/(.001+high-low))< stsize)and (((open-low)/(.001+high-low))< stsize))

plotchar(spinningtop, title="Spinning Top", text='ST', color=yellow, char='+')