OPEN-SOURCE SCRIPT

ATR Break on chart

3 870
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

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.