// Condiciones de compra y venta longCondition = bullishDivergence shortCondition = bearishDivergence
// Colores para las flechas en el gráfico plotshape(series=longCondition, location=location.belowbar, color=color.green, style=shape.triangleup, title="Compra") plotshape(series=shortCondition, location=location.abovebar, color=color.red, style=shape.triangledown, title="Venta")
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.