ATR Strategy

Strategies are published here.

Moderator: admin

ATR Strategy

Postby vstrelnikov » Thu Apr 07, 2011 10:02 am

The strategy based on modified version of ATRTS.lua indicator attached below. The only difference of ATRTSHL, is that line is flipped over/under price when High/Low value touched the line (instead of Close value in plain ATRTS).

The strategy opens short/long positions when ATRTSHL indicator crosses the price.

You don't have to install ATRTSHL indicator to run Strategy, but you can use it for visual representation of stratgey entry/exit points.

ATRTSHL.png


ATRTSHL.lua
(2.99 KiB) Downloaded 1341 times


ATRStrategy.lua
(10.65 KiB) Downloaded 1397 times


The Strategy was revised and updated on November 22, 2018.
vstrelnikov
 
Posts: 59
Joined: Tue Jul 06, 2010 8:31 pm

Re: ATR Strategy

Postby vstrelnikov » Tue Apr 12, 2011 8:27 pm

Updated.

Option "Act on Close/Break Out" added. The option determines should the strategy opens new position after candle closing or immediately after ATRTS indicator breakout.
vstrelnikov
 
Posts: 59
Joined: Tue Jul 06, 2010 8:31 pm

Re: ATR Strategy

Postby kgsmith69 » Tue Jan 24, 2012 9:25 pm

I get this while backtesting.
ATRSTRATEGT.PNG
kgsmith
User avatar
kgsmith69
 
Posts: 24
Joined: Thu May 05, 2011 9:52 pm
Location: USA

Re: ATR Strategy

Postby sunshine » Wed Jan 25, 2012 7:14 am

Please tell me the parameters you set in Wizard. I have no issues with backtesting of this strategy.
sunshine
 

Re: ATR Strategy

Postby kgsmith69 » Wed Jan 25, 2012 1:31 pm

I've restarted the platform a few times and I can't seem to reproduce the error. Still having same issue back testing STRATEGY 5 though.
[url]http://fxcodebase.com/code/search.php?fid[]=31[/url]
kgsmith
User avatar
kgsmith69
 
Posts: 24
Joined: Thu May 05, 2011 9:52 pm
Location: USA

Re: ATR Strategy

Postby robmsan » Tue Mar 13, 2012 4:36 pm

can u add "allowed side (both.buy,sell)" to this strategy thank you
robmsan
 
Posts: 4
Joined: Sun Feb 12, 2012 10:47 pm

Re: ATR Strategy

Postby Apprentice » Wed Mar 14, 2012 2:24 am

Your request is added to the development list.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36476
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia



Return to Custom Strategies

Who is online

Users browsing this forum: No registered users and 38 guests