DNC Averages strategy

Strategies are published here.

Moderator: admin

DNC Averages strategy

Postby Apprentice » Thu Aug 23, 2018 3:22 am

1.png

2.png

Based on request.
viewtopic.php?f=27&t=66592

Entry Long
After DNC breaks wait for the average to change color then enter a trade crossunder

Exit Long
Either on the price/center line or price/top bottom line crossunder

Viceversa for short
DNC Averages strategy.lua
(30.52 KiB) Downloaded 653 times

DNC.lua is available here.
viewtopic.php?f=17&t=20
AVERAGES.lua is available here.
viewtopic.php?f=17&t=2430
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: DNC Averages strategy

Postby chai88888 » Thu Aug 23, 2018 3:36 am

thanks apprentice :)
chai88888
FXCodeBase: Graduate
 
Posts: 228
Joined: Tue Jun 07, 2016 7:18 am

Re: DNC Averages strategy

Postby chai88888 » Thu Aug 23, 2018 3:48 am

thanks apprentice i noticed that it dosent have exit on the center line of the dnc thanks
chai88888
FXCodeBase: Graduate
 
Posts: 228
Joined: Tue Jun 07, 2016 7:18 am

Re: DNC Averages strategy

Postby chai88888 » Thu Aug 23, 2018 4:19 am

apprentice the exit type will be the dnc line either center or top bottom not the average thanks
chai88888
FXCodeBase: Graduate
 
Posts: 228
Joined: Tue Jun 07, 2016 7:18 am

Re: DNC Averages strategy

Postby Apprentice » Thu Aug 23, 2018 8:33 am

For Exit Long we have
(Source.close[period] < DNC.DM[period] and Source.close[period-1] >= DNC.DM[period-1])
or
(Source.close[period] < DNC.DU[period] and Source.close[period-1] >= DNC.DU[period-1] )
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: DNC Averages strategy

Postby chai88888 » Thu Aug 23, 2018 8:55 am

hi apprentice i dont see option of exit type to chooose from center or top bottom
thanks
chai88888
FXCodeBase: Graduate
 
Posts: 228
Joined: Tue Jun 07, 2016 7:18 am



Return to Custom Strategies

Who is online

Users browsing this forum: No registered users and 25 guests