Maurosmartins

Histogram - Price Action - Dy Calculator

1963 vizualizações
103
This script aims to help users of Price Action robot, for Smarttbot (brazilian site that automates Brazilian market (B3)).

You can use on any symbol.
The script will follow price action principles. It will calculate the absolute value of last candle and compare with actual candle. Colors are:
- Red - If the actual candle absolute value is higher than previous one, and the price is lower than last candle. It would be a short entry.
- Blue - If the actual candle absolute value is higher than previous one, and the price is higher than last candle. It would be a long entry.
- Black - The actual candle absolute value is lower than previous one, so there is no entry.

If there is a candle that is higher than previous one, and both high and low values are outside boundaries of previous one, it will calculate which boundary is bigger and will apply the collor accordingly.

Notas de Lançamento: V4 - Better candle rupture detection, now it only marks as a rupture when last candle price (high-low) is bigger than dy and it had a rupture.
Script de código aberto

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Quer usar esse script no gráfico?