ATR Break on chart

This script is putting one of my old trading method, ATR Break, on chart.

It used to win many times in Dukascopy strategy contest a few years ago.

Pine script is quite easy to learn and very powerful. So I coded it to have a quick view for ATR break on chart.

The rule is simple:

- Current close - open / Previous ATR(5) > alertlevel (1.2), long signal
- Current open - close / Previous ATR(5) > alertlevel (1.2), short signal

The script will display label on the chart with the value of abs(close - open) / Previous ATR(5) to feel the strength.

I used to use the method on 5-min even 1-min chart. SL for 200 points and TP for 5-10 points

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.