ATR_Stop_Dots_Strategy

Strategies are published here.

Moderator: admin

ATR_Stop_Dots_Strategy

Postby Apprentice » Sun Jan 21, 2018 6:00 am

Based on the request.
viewtopic.php?f=17&t=63153
ATR_Stop_Dots_Strategy.lua
(24.66 KiB) Downloaded 166 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 19866
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Re: ATR_Stop_Dots_Strategy

Postby spinemaligna » Tue Jan 23, 2018 6:15 am

Hi Apprentice,

Slight tweak required. The strategy is trailing the profit (blue) dot instead of the stop {red} dot. I hope this can be fixed.

Ross
spinemaligna
 
Posts: 77
Joined: Sun Sep 12, 2010 2:42 am

Re: ATR_Stop_Dots_Strategy

Postby Apprentice » Sun Jan 28, 2018 9:11 am

Try it now.
Please re-download both files, ATR_Stop_Dots_Strategy & ATR_Stop_Dots.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 19866
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: ATR_Stop_Dots_Strategy

Postby spinemaligna » Wed Jan 31, 2018 4:11 pm

Great work Apprentice.

I understand that the lot size option is impossible until this strategy is integrated with another one. That will be the next step once this is performing well.
What is now missing is the option to trail the stop in line with the red dot. Is this feasible?

Ross
spinemaligna
 
Posts: 77
Joined: Sun Sep 12, 2010 2:42 am

Re: ATR_Stop_Dots_Strategy

Postby spinemaligna » Tue Feb 06, 2018 7:57 am

Nearly there.

As far as I can see the only problem remaining is the fact that the strategy trails the stop dot in both directions at the close of every candle instead of acting like a ratchet and only moves the stop one way.
Hope this can be fixed.

Ross
spinemaligna
 
Posts: 77
Joined: Sun Sep 12, 2010 2:42 am


Return to Custom Strategies

Who is online

Users browsing this forum: No registered users and 8 guests