DCS Strategy

If you need an Indicator or Signal developed or translated from other language, please post all Indicator development REQUESTS to this section here.

Moderator: admin

Re: DCS Strategy

Postby Apprentice » Fri Nov 16, 2018 6:44 am

Try this version.
DCS Strategy.lua
(99.59 KiB) Downloaded 479 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: DCS Strategy

Postby spinemaligna » Fri Nov 16, 2018 10:51 am

Hi Apprentice,

I am confused as to which settings I should use to achieve my aims.
What should I set for the following parameters?

Trailing stop order
Trailing in pips
Break even activation value
Break even to
Trailing after break even

I think we are not far away.

Ross
spinemaligna
FXCodeBase: Initiate
 
Posts: 112
Joined: Sun Sep 12, 2010 2:42 am

Re: DCS Strategy

Postby Apprentice » Sun Nov 18, 2018 7:44 am

== Trailing stop order
True/false. It used to enable trailing for a stop (gradually moving stop in a favorable direction).
== Trailing in pips
Step for the trailing in pip. The stop will be moved on this amount when the price will move on exactly the same amount in a favorable direction.
== Use Breakeven
True/false. Move stop to no-loss positon + shift when the profit of the trade reaches a certain amount.
== Breakeven Activation Value, in pips
The stop will be moved to the breakeven point + shift when the trade reaches this number of pips of profit.
== Breakeven To, in pips
A shift from the 0 profit point in a favorable direction (to fix this number of pips of profit).
== Trailing after breakeven
You can create a trade without trailing stop and activate the trailing only after the stop will be moved to the breakeven point.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: DCS Strategy

Postby spinemaligna » Tue Nov 20, 2018 5:26 am

Thanks Apprentice,
Can now work on optimize the strategy.
Ross
spinemaligna
FXCodeBase: Initiate
 
Posts: 112
Joined: Sun Sep 12, 2010 2:42 am

Re: DCS Strategy

Postby spinemaligna » Tue Nov 27, 2018 7:28 am

Sir,

Unfortunately the strategy is not responding as anticipated.
1 Although I have selected one trade only it is opening trades on every new candle.
2 It is opening trades when the ADX is clearly below the trigger level.
3 It is opening trades when CC1 is below trigger level.
4 When it does open trades it is setting the stop at the ATR take profit dot (blue) instead of the stoploss dot (red).

Not managed to test money management aspect as there are so many trades to handle.

Not sure if this can be sorted but live in hope.

Ross
spinemaligna
FXCodeBase: Initiate
 
Posts: 112
Joined: Sun Sep 12, 2010 2:42 am

Re: DCS Strategy

Postby Apprentice » Sat Dec 01, 2018 5:12 am

Try this version.
DCS Strategy v4.lua
(100.46 KiB) Downloaded 474 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Previous

Return to Indicator and Signal Requests

Who is online

Users browsing this forum: No registered users and 14 guests