Maurosmartins

Histogram - Price Action - Dy Calculator

Maurosmartins Updated   
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.

Release Notes:
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.
Open-source script

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.

Disclaimer

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.

Want to use this script on a chart?