Donchian Channel Middle line Strategy

Strategies are published here.

Moderator: admin

Re: Donchian Channel Middle line Strategy

Postby yolerap » Sat Sep 07, 2019 9:26 am

Hi apprentice,

I saw lot of strategies based on the middle Line of Donchian Channel but i've never seen this ( simple ) strategy :

If the middle line of Donchian Channel is positive -> Open a long position
If the middle line of Donchian Channel is negative -> Open a short position

Could you create this strategy ?

If it's possible , for best results , could you please add this option :

1) If the middle line is neutral -> Choose "close position" or "do nothing"

2) Timeframe trading

3) Timeframe for the Donchian Channel

4) Day profit -> If its reach , close all position and don't open any others positions

5) Time to trade

6) Close on opposite

Simple but effective according to my analyzes

Thanks a lot !
yolerap
FXCodeBase: Initiate
 
Posts: 103
Joined: Sat Aug 17, 2019 9:44 pm

Re: Donchian Channel Middle line Strategy

Postby Apprentice » Tue Sep 10, 2019 8:15 am

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

Re: Donchian Channel Middle line Strategy

Postby Apprentice » Wed Sep 11, 2019 6:13 am

What is a positive/negative/neutral middle line?
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Donchian Channel Middle line Strategy

Postby yolerap » Wed Sep 11, 2019 7:35 am

Hi,

Look the picture ;

The first arrow shows the negative middle line
The second arrow shows the neutral middle line
And the third arroww shows the positive line

I don't know if the language LUA can integrate and recognize these specifics aspects.

Thank you for your help,
Attachments
DNC_LI.jpg
yolerap
FXCodeBase: Initiate
 
Posts: 103
Joined: Sat Aug 17, 2019 9:44 pm


Re: Donchian Channel Middle line Strategy

Postby yolerap » Wed Sep 25, 2019 6:14 pm

Hi again !

Thanks a lot for the strategy ! It works very good but I have just one request about it ;
Could you add an option for open and close position please ?
The strategy open buy position when the middle line is neutral and sometimes, close the position when the middle line is always neutral.. But it's not I want.. And conversely...
You can see an example on the picture at the first and second arrows.

So, is it possible add this option :
The positions are open when there are "X" pip's of difference ;
If the middle line increase "X" pip's -> Buy position
If the middle line down "X" pip's -> Short position

this will prevent the strategy from opening and closing positions while the middle line does not move like on the picture.

Thank you :)
Attachments
Apprentice_LI.jpg
yolerap
FXCodeBase: Initiate
 
Posts: 103
Joined: Sat Aug 17, 2019 9:44 pm

Re: Donchian Channel Middle line Strategy

Postby Apprentice » Sat Sep 28, 2019 4:07 pm

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

Re: Donchian Channel Middle line Strategy

Postby Apprentice » Fri Oct 04, 2019 5:55 am

There is a parameter for that - "Close on neutral"
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Donchian Channel Middle line Strategy

Postby yolerap » Fri Oct 04, 2019 6:42 am

No, the parameters are on " Not closing positions on the neutral line " but it's also closing positions..
yolerap
FXCodeBase: Initiate
 
Posts: 103
Joined: Sat Aug 17, 2019 9:44 pm

Previous

Return to Custom Strategies

Who is online

Users browsing this forum: No registered users and 14 guests