OPEN-SOURCE SCRIPT
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
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
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
遁一子交易入道 jesselau.com/
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
遁一子交易入道 jesselau.com/
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.