ATR - Is It Worth Anything As A Breakout Filter?

If you don't know where to start, start here! Don't be afraid to ask questions.

Moderator: moderators

User avatar
Techguy
rank: <50 posts
rank: <50 posts
Posts: 17
Joined: Tue Nov 25, 2008 12:45 am
Reputation: 6
Location: Washington State
Real name: Denton Hess
Gender: None specified
Contact:

ATR - Is It Worth Anything As A Breakout Filter?

Postby Techguy » Mon Mar 25, 2019 3:06 pm

I'm currently conducting an optimization test on whether or not the ATR can filter out bad breakout trades due to low volatility.

My initial premise was that if the ATR is under 2 pips on 1 minute bars, that would be a good way to filter out trading during times of low volatility.

My suspicion is that low volatility makes for poor trading conditions, especially during break outs.

My thinking is that Instead of making trading hour filters, just let the ATR filter out the low volatility time periods.

Your thoughts???

I will post my results when I have them.
"Everything can be taken from a man but one thing: the last of human freedoms - to choose one's attitude in any given set of circumstances, to choose one's own way." Viktor Frankl

Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.

User avatar
LeMercenaire
rank: 1000+ posts
rank: 1000+ posts
Posts: 2598
Joined: Tue Sep 27, 2016 12:11 am
Reputation: 1963
Gender: None specified

Re: ATR - Is It Worth Anything As A Breakout Filter?

Postby LeMercenaire » Mon Mar 25, 2019 3:23 pm

Techguy wrote:I'm currently conducting an optimization test on whether or not the ATR can filter out bad breakout trades due to low volatility.

My initial premise was that if the ATR is under 2 pips on 1 minute bars, that would be a good way to filter out trading during times of low volatility.

My suspicion is that low volatility makes for poor trading conditions, especially during break outs.

My thinking is that Instead of making trading hour filters, just let the ATR filter out the low volatility time periods.

Your thoughts???


I will post my results when I have them.


Seems like a worthwhile way to spend your time. I look forward to seeing how it goes.

User avatar
Techguy
rank: <50 posts
rank: <50 posts
Posts: 17
Joined: Tue Nov 25, 2008 12:45 am
Reputation: 6
Location: Washington State
Real name: Denton Hess
Gender: None specified
Contact:

Re: ATR - Is It Worth Anything As A Breakout Filter?

Postby Techguy » Mon Mar 25, 2019 5:15 pm

Test Data Set: EURUSD Jan 01, 2017 to June 01, 2017, using 5 min bar data. Based on a lot size of 1.00.

The results were a mixed bag:
For my breakout code, the data distribution was only generally conclusive, as the scatter plot showed that parameters did not always correlate to like results.

However in general the test results were:

Very Low ATR's of 1 to 2 pips yielded lots of trades (880), low profit factor (1.02-1.04), and typically high drawdowns up to 31% (29 to 31%)

Lower ATR's, for example in the 3 to 5 pip range yielded typically about 200 fewer trades on average (514 - 902) the highest profit factor (1.08 to 1.14), medium drawdown (17 - 30%)

High ATR's, for example 7 to 9 pips, yielded low trades, low profit, and the lowest drawdown.

NOTE: RETESTING IN THE STRATEGY TESTER HAD WORSENING RESULTS USING ATR OPTIMIZED PARAMETERS.

My conclusion:
Don't use it.
I used an ATR filter of 3 pips, with an averaging of 1 bar. Results were bad for me. Multiple bar averaging in the ATR calculation did not appear to make trading worse or better.

See attached report to draw your own conclusions.
OptimizationReport-ATR-Sort by Profit.gif
ATR Testing Results Gif
OptimizationReport-ATR-Sort by Profit.gif (5.5 KiB) Viewed 1257 times
Attachments
Break Out ATR Data.pdf
ATR Testing Results Sort by Profit
(93.09 KiB) Downloaded 54 times
"Everything can be taken from a man but one thing: the last of human freedoms - to choose one's attitude in any given set of circumstances, to choose one's own way." Viktor Frankl

User avatar
LeMercenaire
rank: 1000+ posts
rank: 1000+ posts
Posts: 2598
Joined: Tue Sep 27, 2016 12:11 am
Reputation: 1963
Gender: None specified

Re: ATR - Is It Worth Anything As A Breakout Filter?

Postby LeMercenaire » Mon Mar 25, 2019 6:58 pm

Techguy wrote:Test Data Set: EURUSD Jan 01, 2017 to June 01, 2017, using 5 min bar data. Based on a lot size of 1.00.

The results were a mixed bag:
For my breakout code, the data distribution was only generally conclusive, as the scatter plot showed that parameters did not always correlate to like results.

However in general the test results were:

Very Low ATR's of 1 to 2 pips yielded lots of trades (880), low profit factor (1.02-1.04), and typically high drawdowns up to 31% (29 to 31%)

Lower ATR's, for example in the 3 to 5 pip range yielded typically about 200 fewer trades on average (514 - 902) the highest profit factor (1.08 to 1.14), medium drawdown (17 - 30%)

High ATR's, for example 7 to 9 pips, yielded low trades, low profit, and the lowest drawdown.

NOTE: RETESTING IN THE STRATEGY TESTER HAD WORSENING RESULTS USING ATR OPTIMIZED PARAMETERS.

My conclusion:
Don't use it.
I used an ATR filter of 3 pips, with an averaging of 1 bar. Results were bad for me. Multiple bar averaging in the ATR calculation did not appear to make trading worse or better.

See attached report to draw your own conclusions.
OptimizationReport-ATR-Sort by Profit.gif



That's too bad - on to the next one!

User avatar
Leoheart
rank: 150+ posts
rank: 150+ posts
Posts: 432
Joined: Thu Feb 23, 2017 10:54 pm
Reputation: 404
Gender: None specified

Re: ATR - Is It Worth Anything As A Breakout Filter?

Postby Leoheart » Mon Mar 25, 2019 7:38 pm

Techguy wrote:Test Data Set: EURUSD Jan 01, 2017 to June 01, 2017, using 5 min bar data. Based on a lot size of 1.00.

The results were a mixed bag:
For my breakout code, the data distribution was only generally conclusive, as the scatter plot showed that parameters did not always correlate to like results.

However in general the test results were:

Very Low ATR's of 1 to 2 pips yielded lots of trades (880), low profit factor (1.02-1.04), and typically high drawdowns up to 31% (29 to 31%)

Lower ATR's, for example in the 3 to 5 pip range yielded typically about 200 fewer trades on average (514 - 902) the highest profit factor (1.08 to 1.14), medium drawdown (17 - 30%)

High ATR's, for example 7 to 9 pips, yielded low trades, low profit, and the lowest drawdown.

NOTE: RETESTING IN THE STRATEGY TESTER HAD WORSENING RESULTS USING ATR OPTIMIZED PARAMETERS.

My conclusion:
Don't use it.
I used an ATR filter of 3 pips, with an averaging of 1 bar. Results were bad for me. Multiple bar averaging in the ATR calculation did not appear to make trading worse or better.

See attached report to draw your own conclusions.
OptimizationReport-ATR-Sort by Profit.gif


Thanks your the effort.
Soon all of this will be a long time ago. Be Humble, Be Playful.

Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.

henrybrewer
rank: <50 posts
rank: <50 posts
Posts: 1
Joined: Fri Nov 08, 2019 9:06 am
Reputation: 0
Gender: None specified

Re: ATR - Is It Worth Anything As A Breakout Filter?

Postby henrybrewer » Fri Nov 08, 2019 9:11 am

Thank you for your time and effort in this
run 3 online

sanavigupta
rank: <50 posts
rank: <50 posts
Posts: 1
Joined: Thu Nov 14, 2019 11:19 am
Reputation: 0
Gender: None specified
Contact:

Re: ATR - Is It Worth Anything As A Breakout Filter?

Postby sanavigupta » Thu Nov 14, 2019 11:23 am

Great Post

User avatar
sourlemon
rank: <50 posts
rank: <50 posts
Posts: 3
Joined: Mon Nov 25, 2019 6:51 am
Reputation: 0
Gender: None specified
Contact:

Re: ATR - Is It Worth Anything As A Breakout Filter?

Postby sourlemon » Fri Apr 17, 2020 12:44 pm

Your sharing is really helpful, thank you so much.

User avatar
TheRumpledOne
rank: 10000+ posts
rank: 10000+ posts
Posts: 13969
Joined: Sun May 14, 2006 9:31 pm
Reputation: 2245
Location: Oregon
Real name: Avery T. Horton, Jr.
Gender: None specified
Contact:

Re: ATR - Is It Worth Anything As A Breakout Filter?

Postby TheRumpledOne » Fri Apr 17, 2020 4:41 pm

TRO001.png
TRO001.png (61.12 KiB) Viewed 336 times


I don't know if you watch my videos or not.

I coded an indicator to show how many times the range is above or below a threshold for each hour of the day and you can filter by day of week.

The chart above shows High - Low for Fridays with a threshold of 13 pips.

You can see what hours to trade and what hours to avoid.

My broker doesn't have data for 23:00 on Friday because they close at 22:00.
IT'S NOT WHAT YOU TRADE, IT'S HOW YOU TRADE IT!

Please do NOT PM me with trading or coding questions, post them in a thread.

Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.


Return to “beginners forum”