Trend Stop Strategy

Strategies are published here.

Moderator: admin

Trend Stop Strategy

Postby Apprentice » Tue Apr 24, 2012 9:10 am

TrendStop.png

Trend Stop Strategy.lua
(17.48 KiB) Downloaded 2343 times


You need to install Trend Stop Indicator
viewtopic.php?f=17&t=12728&hilit=trend+stop

Highly adaptable Trend Stop Strategy.lua
(22.38 KiB) Downloaded 1441 times


The Strategy was revised and updated on January 21, 2019.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 37677
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Trend Stop Strategy

Postby Apprentice » Sun May 27, 2012 5:33 am

TS.png

Trend Stop Strategy with Filters.lua
(20.92 KiB) Downloaded 1733 times


Filter one (MA Filter)
Long if Price > MA
Short if Price < MA

Filter one (MA Filter) "Reverse"
Long if Price < MA
Short if Price > MA

Filter Two (Trend Stop)
Long only if Price > TS Filter
Short only if Price < TS Filter
If Simultaneous is on, Both TS cross must happen in a single period

Trailing stop
Close Long
Price < TS - Trailing stop
Close Short
Price > TS + Trailing stop
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 37677
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Trend Stop Strategy

Postby Falkor » Tue Jul 02, 2013 3:35 am

Hello Apprentice,

This is an excellent one but somehow this is just not practical as it tends to blow up during the ranging phase which as you know is almost 80% of the time. The filter of MA is also useless in most cases for understandable reasons. No matter what I use with the secondary trendstop confirmation, this too is insufficient. To summarise, this is an excellent one, perhaps the best here, but tends to blow up almost always.

Can we:

1. Add some more filters like MACD and /or

2. Add the features of the Breakout systems (like the highs or lows of nth period) to this strategy.

I am imagining that you haven't built up or modified the system here. If you have improved on this, please let me know the link to the new one.

IMO, these changes could really strengthen the strategy. Please share your thoughts on this, and if time permits create an update so that we can use summer time to study and backtest.

Thanks and regards,
Falkor
Falkor
 
Posts: 30
Joined: Thu Dec 20, 2012 11:57 pm

Re: Trend Stop Strategy

Postby Apprentice » Wed Jul 03, 2013 2:23 am

Your request is added to the development list.

Unfortunately not, in my trading, I do not I use strategies, indicators.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 37677
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Trend Stop Strategy

Postby Falkor » Wed Jul 10, 2013 8:21 am

Thank you, look forward for this one.

Falkor
Falkor
 
Posts: 30
Joined: Thu Dec 20, 2012 11:57 pm

Re: Trend Stop Strategy

Postby Falkor » Thu Jul 11, 2013 3:37 am

Hello Apprentice,

One more point I would like to add:

I have noticed that the MTF TS tends to exit the positions ONLY when the reverse criteria is met i.e. buy position is closed only when the sell signal is generated (and vice versa). This is actually good in many ways as it avoids the chop but also gives back lots of gains and time till the reverse signal is generated.

Is it possible / feasible to modify the strategy along with the above modifications requests (trendfilter + breakout), so that the exit of the trade is made when one 'special' TS (among the four and of higher TF) goes reverse (and not have to wait for all the four filters to reverse in same direction)

I hope I am not confusing you. But I do know I am asking quite a bit here but thats becoz I think this strategy has some good potential.


Thanks a lot,
Falkor

Ps:
For instance:- TS1,15m=Buy, TS2,15m=Buy, TS3,15m=Buy, SpecialTS4,4H=Buy then Strategy buys.
Later> TS1,15m=Buy, TS2,15m=Buy, TS3,15m=Sell, SpecialTS4,4H=Sell [This would remain a buy-position since the "Sell" is not generated but we will lose on pips becoz major trend has changed. Therefore we should ideally close or exit the position. However, the reverse position is (and should be) initiated only when all the TS's are back in the same direction.)

In other words, the trade is always in the direction Special (larger timeframe) TS)

I hope I am not confusing :?: . I am excited about this, hope I can see this soon. Thanks. :D :D
Falkor
 
Posts: 30
Joined: Thu Dec 20, 2012 11:57 pm

Re: Trend Stop Strategy

Postby Apprentice » Sun Jul 14, 2013 2:24 am

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

Re: Trend Stop Strategy

Postby Halfloaf » Sat Feb 15, 2014 3:15 pm

Hi Apprentice
Thanks for this fantastic Strategy it gets consistently good P/L!

I would like to request some additions if possible:

1 additional filter for a 'Slower MVA'
1 additional 'Trend Stop Trailing Stops' Parameter

If the 'Fast MVA' is going the same direction as 'Slow MVA' 1 Parameter is used and if the 'Fast MVA' is going against the 'Slow MVA' then the other Parameter is used.

This would in effect give the ability to take reduced Profit whilst going against the longer term market direction without losing the higher profit available with the Market.

I think having 2 sets of Profit and Loss stops could work too but could get messy! :)

Thanks again for all your great work!!!
Halfloaf
 
Posts: 1
Joined: Sat Feb 15, 2014 2:46 pm

Re: Trend Stop Strategy

Postby Apprentice » Sun Feb 16, 2014 3:58 am

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

Re: Trend Stop Strategy

Postby amazon1a » Tue Apr 22, 2014 3:58 am

Hi Apprentice,

I am not able to find the MTF TS Strategy referenced here, but could you create one similar to the latest MTF HA Strategy where it is possible to limit the number of multiple entries?

viewtopic.php?f=31&t=24198&hilit=mtf+ha&start=10

Many thanks for all your great work, AG
User avatar
amazon1a
 
Posts: 90
Joined: Wed Oct 05, 2011 10:47 am

Next

Return to Custom Strategies

Who is online

Users browsing this forum: No registered users and 4 guests